Debian Codegraph @

googleapis/cloud/contentwarehouse/v1/common.pb.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/cloud/contentwarehouse/v1/common.proto
20
21 package contentwarehouse
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Update type of the requests.
41 type UpdateType int32
42
43 const (
44 // Defaults to full replace behavior, ie. FULL_REPLACE.
45 UpdateType_UPDATE_TYPE_UNSPECIFIED UpdateType = 0
46 // Fully replace all the fields. Any field masks will be ignored.
47 UpdateType_UPDATE_TYPE_REPLACE UpdateType = 1
48 // Merge the fields into the existing entities.
49 UpdateType_UPDATE_TYPE_MERGE UpdateType = 2
50 // Inserts the properties by names.
51 UpdateType_UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES UpdateType = 3
52 // Replace the properties by names.
53 UpdateType_UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES UpdateType = 4
54 // Delete the properties by names.
55 UpdateType_UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES UpdateType = 5
56 )
57
58 // Enum value maps for UpdateType.
59 var (
60 UpdateType_name = map[int32]string{
61 0: "UPDATE_TYPE_UNSPECIFIED",
62 1: "UPDATE_TYPE_REPLACE",
63 2: "UPDATE_TYPE_MERGE",
64 3: "UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES",
65 4: "UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES",
66 5: "UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES",
67 }
68 UpdateType_value = map[string]int32{
69 "UPDATE_TYPE_UNSPECIFIED": 0,
70 "UPDATE_TYPE_REPLACE": 1,
71 "UPDATE_TYPE_MERGE": 2,
72 "UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES": 3,
73 "UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES": 4,
74 "UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES": 5,
75 }
76 )
77
78 func (x UpdateType) Enum() *UpdateType {
79 p := new(UpdateType)
80 *p = x
81 return p
82 }
83
84 func (x UpdateType) String() string {
85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
86 }
87
88 func (UpdateType) Descriptor() protoreflect.EnumDescriptor {
89 return file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[0].Descriptor()
90 }
91
92 func (UpdateType) Type() protoreflect.EnumType {
93 return &file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[0]
94 }
95
96 func (x UpdateType) Number() protoreflect.EnumNumber {
97 return protoreflect.EnumNumber(x)
98 }
99
100 // Deprecated: Use UpdateType.Descriptor instead.
101 func (UpdateType) EnumDescriptor() ([]byte, []int) {
102 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{0}
103 }
104
105 // Type of database used by the customer
106 type DatabaseType int32
107
108 const (
109 // This value is required by protobuf best practices
110 DatabaseType_DB_UNKNOWN DatabaseType = 0
111 // Internal Spanner
112 DatabaseType_DB_INFRA_SPANNER DatabaseType = 1
113 // Cloud Sql with a Postgres Sql instance
114 DatabaseType_DB_CLOUD_SQL_POSTGRES DatabaseType = 2
115 )
116
117 // Enum value maps for DatabaseType.
118 var (
119 DatabaseType_name = map[int32]string{
120 0: "DB_UNKNOWN",
121 1: "DB_INFRA_SPANNER",
122 2: "DB_CLOUD_SQL_POSTGRES",
123 }
124 DatabaseType_value = map[string]int32{
125 "DB_UNKNOWN": 0,
126 "DB_INFRA_SPANNER": 1,
127 "DB_CLOUD_SQL_POSTGRES": 2,
128 }
129 )
130
131 func (x DatabaseType) Enum() *DatabaseType {
132 p := new(DatabaseType)
133 *p = x
134 return p
135 }
136
137 func (x DatabaseType) String() string {
138 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
139 }
140
141 func (DatabaseType) Descriptor() protoreflect.EnumDescriptor {
142 return file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[1].Descriptor()
143 }
144
145 func (DatabaseType) Type() protoreflect.EnumType {
146 return &file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[1]
147 }
148
149 func (x DatabaseType) Number() protoreflect.EnumNumber {
150 return protoreflect.EnumNumber(x)
151 }
152
153 // Deprecated: Use DatabaseType.Descriptor instead.
154 func (DatabaseType) EnumDescriptor() ([]byte, []int) {
155 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{1}
156 }
157
158 // Access Control Mode.
159 type AccessControlMode int32
160
161 const (
162 // This value is required by protobuf best practices
163 AccessControlMode_ACL_MODE_UNKNOWN AccessControlMode = 0
164 // Universal Access: No document level access control.
165 AccessControlMode_ACL_MODE_UNIVERSAL_ACCESS AccessControlMode = 1
166 // Document level access control with customer own Identity Service.
167 AccessControlMode_ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID AccessControlMode = 2
168 // Document level access control using Google Cloud Identity.
169 AccessControlMode_ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI AccessControlMode = 3
170 )
171
172 // Enum value maps for AccessControlMode.
173 var (
174 AccessControlMode_name = map[int32]string{
175 0: "ACL_MODE_UNKNOWN",
176 1: "ACL_MODE_UNIVERSAL_ACCESS",
177 2: "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID",
178 3: "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI",
179 }
180 AccessControlMode_value = map[string]int32{
181 "ACL_MODE_UNKNOWN": 0,
182 "ACL_MODE_UNIVERSAL_ACCESS": 1,
183 "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID": 2,
184 "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI": 3,
185 }
186 )
187
188 func (x AccessControlMode) Enum() *AccessControlMode {
189 p := new(AccessControlMode)
190 *p = x
191 return p
192 }
193
194 func (x AccessControlMode) String() string {
195 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
196 }
197
198 func (AccessControlMode) Descriptor() protoreflect.EnumDescriptor {
199 return file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[2].Descriptor()
200 }
201
202 func (AccessControlMode) Type() protoreflect.EnumType {
203 return &file_google_cloud_contentwarehouse_v1_common_proto_enumTypes[2]
204 }
205
206 func (x AccessControlMode) Number() protoreflect.EnumNumber {
207 return protoreflect.EnumNumber(x)
208 }
209
210 // Deprecated: Use AccessControlMode.Descriptor instead.
211 func (AccessControlMode) EnumDescriptor() ([]byte, []int) {
212 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{2}
213 }
214
215 // Meta information is used to improve the performance of the service.
216 type RequestMetadata struct {
217 state protoimpl.MessageState
218 sizeCache protoimpl.SizeCache
219 unknownFields protoimpl.UnknownFields
220
221 // Provides user unique identification and groups information.
222 UserInfo *UserInfo `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
223 }
224
225 func (x *RequestMetadata) Reset() {
226 *x = RequestMetadata{}
227 if protoimpl.UnsafeEnabled {
228 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[0]
229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230 ms.StoreMessageInfo(mi)
231 }
232 }
233
234 func (x *RequestMetadata) String() string {
235 return protoimpl.X.MessageStringOf(x)
236 }
237
238 func (*RequestMetadata) ProtoMessage() {}
239
240 func (x *RequestMetadata) ProtoReflect() protoreflect.Message {
241 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[0]
242 if protoimpl.UnsafeEnabled && x != nil {
243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
244 if ms.LoadMessageInfo() == nil {
245 ms.StoreMessageInfo(mi)
246 }
247 return ms
248 }
249 return mi.MessageOf(x)
250 }
251
252 // Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.
253 func (*RequestMetadata) Descriptor() ([]byte, []int) {
254 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{0}
255 }
256
257 func (x *RequestMetadata) GetUserInfo() *UserInfo {
258 if x != nil {
259 return x.UserInfo
260 }
261 return nil
262 }
263
264 // Additional information returned to client, such as debugging information.
265 type ResponseMetadata struct {
266 state protoimpl.MessageState
267 sizeCache protoimpl.SizeCache
268 unknownFields protoimpl.UnknownFields
269
270 // A unique id associated with this call. This id is logged for tracking
271 // purpose.
272 RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
273 }
274
275 func (x *ResponseMetadata) Reset() {
276 *x = ResponseMetadata{}
277 if protoimpl.UnsafeEnabled {
278 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[1]
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 ms.StoreMessageInfo(mi)
281 }
282 }
283
284 func (x *ResponseMetadata) String() string {
285 return protoimpl.X.MessageStringOf(x)
286 }
287
288 func (*ResponseMetadata) ProtoMessage() {}
289
290 func (x *ResponseMetadata) ProtoReflect() protoreflect.Message {
291 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[1]
292 if protoimpl.UnsafeEnabled && x != nil {
293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294 if ms.LoadMessageInfo() == nil {
295 ms.StoreMessageInfo(mi)
296 }
297 return ms
298 }
299 return mi.MessageOf(x)
300 }
301
302 // Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.
303 func (*ResponseMetadata) Descriptor() ([]byte, []int) {
304 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{1}
305 }
306
307 func (x *ResponseMetadata) GetRequestId() string {
308 if x != nil {
309 return x.RequestId
310 }
311 return ""
312 }
313
314 type UserInfo struct {
315 state protoimpl.MessageState
316 sizeCache protoimpl.SizeCache
317 unknownFields protoimpl.UnknownFields
318
319 // A unique user identification string, as determined by the client.
320 // The maximum number of allowed characters is 255.
321 // Allowed characters include numbers 0 to 9, uppercase and lowercase letters,
322 // and restricted special symbols (:, @, +, -, _, ~)
323 // The format is "user:[email protected]";
324 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
325 // The unique group identifications which the user is belong to.
326 // The format is "group:[email protected]";
327 GroupIds []string `protobuf:"bytes,2,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
328 }
329
330 func (x *UserInfo) Reset() {
331 *x = UserInfo{}
332 if protoimpl.UnsafeEnabled {
333 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[2]
334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
335 ms.StoreMessageInfo(mi)
336 }
337 }
338
339 func (x *UserInfo) String() string {
340 return protoimpl.X.MessageStringOf(x)
341 }
342
343 func (*UserInfo) ProtoMessage() {}
344
345 func (x *UserInfo) ProtoReflect() protoreflect.Message {
346 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[2]
347 if protoimpl.UnsafeEnabled && x != nil {
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 if ms.LoadMessageInfo() == nil {
350 ms.StoreMessageInfo(mi)
351 }
352 return ms
353 }
354 return mi.MessageOf(x)
355 }
356
357 // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
358 func (*UserInfo) Descriptor() ([]byte, []int) {
359 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{2}
360 }
361
362 func (x *UserInfo) GetId() string {
363 if x != nil {
364 return x.Id
365 }
366 return ""
367 }
368
369 func (x *UserInfo) GetGroupIds() []string {
370 if x != nil {
371 return x.GroupIds
372 }
373 return nil
374 }
375
376 // Options for Update operations.
377 type UpdateOptions struct {
378 state protoimpl.MessageState
379 sizeCache protoimpl.SizeCache
380 unknownFields protoimpl.UnknownFields
381
382 // Type for update.
383 UpdateType UpdateType `protobuf:"varint,1,opt,name=update_type,json=updateType,proto3,enum=google.cloud.contentwarehouse.v1.UpdateType" json:"update_type,omitempty"`
384 // Field mask for merging Document fields.
385 // For the `FieldMask` definition,
386 // see
387 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
388 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
389 // Options for merging.
390 MergeFieldsOptions *MergeFieldsOptions `protobuf:"bytes,3,opt,name=merge_fields_options,json=mergeFieldsOptions,proto3" json:"merge_fields_options,omitempty"`
391 }
392
393 func (x *UpdateOptions) Reset() {
394 *x = UpdateOptions{}
395 if protoimpl.UnsafeEnabled {
396 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[3]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400 }
401
402 func (x *UpdateOptions) String() string {
403 return protoimpl.X.MessageStringOf(x)
404 }
405
406 func (*UpdateOptions) ProtoMessage() {}
407
408 func (x *UpdateOptions) ProtoReflect() protoreflect.Message {
409 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[3]
410 if protoimpl.UnsafeEnabled && x != nil {
411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
412 if ms.LoadMessageInfo() == nil {
413 ms.StoreMessageInfo(mi)
414 }
415 return ms
416 }
417 return mi.MessageOf(x)
418 }
419
420 // Deprecated: Use UpdateOptions.ProtoReflect.Descriptor instead.
421 func (*UpdateOptions) Descriptor() ([]byte, []int) {
422 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{3}
423 }
424
425 func (x *UpdateOptions) GetUpdateType() UpdateType {
426 if x != nil {
427 return x.UpdateType
428 }
429 return UpdateType_UPDATE_TYPE_UNSPECIFIED
430 }
431
432 func (x *UpdateOptions) GetUpdateMask() *fieldmaskpb.FieldMask {
433 if x != nil {
434 return x.UpdateMask
435 }
436 return nil
437 }
438
439 func (x *UpdateOptions) GetMergeFieldsOptions() *MergeFieldsOptions {
440 if x != nil {
441 return x.MergeFieldsOptions
442 }
443 return nil
444 }
445
446 // Options for merging updated fields.
447 type MergeFieldsOptions struct {
448 state protoimpl.MessageState
449 sizeCache protoimpl.SizeCache
450 unknownFields protoimpl.UnknownFields
451
452 // When merging message fields, the default behavior is to merge
453 // the content of two message fields together. If you instead want to use
454 // the field from the source message to replace the corresponding field in
455 // the destination message, set this flag to true. When this flag is set,
456 // specified submessage fields that are missing in source will be cleared in
457 // destination.
458 ReplaceMessageFields *bool `protobuf:"varint,1,opt,name=replace_message_fields,json=replaceMessageFields,proto3,oneof" json:"replace_message_fields,omitempty"`
459 // When merging repeated fields, the default behavior is to append
460 // entries from the source repeated field to the destination repeated field.
461 // If you instead want to keep only the entries from the source repeated
462 // field, set this flag to true.
463 //
464 // If you want to replace a repeated field within a message field on the
465 // destination message, you must set both replace_repeated_fields and
466 // replace_message_fields to true, otherwise the repeated fields will be
467 // appended.
468 ReplaceRepeatedFields *bool `protobuf:"varint,2,opt,name=replace_repeated_fields,json=replaceRepeatedFields,proto3,oneof" json:"replace_repeated_fields,omitempty"`
469 }
470
471 func (x *MergeFieldsOptions) Reset() {
472 *x = MergeFieldsOptions{}
473 if protoimpl.UnsafeEnabled {
474 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[4]
475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
476 ms.StoreMessageInfo(mi)
477 }
478 }
479
480 func (x *MergeFieldsOptions) String() string {
481 return protoimpl.X.MessageStringOf(x)
482 }
483
484 func (*MergeFieldsOptions) ProtoMessage() {}
485
486 func (x *MergeFieldsOptions) ProtoReflect() protoreflect.Message {
487 mi := &file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[4]
488 if protoimpl.UnsafeEnabled && x != nil {
489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
490 if ms.LoadMessageInfo() == nil {
491 ms.StoreMessageInfo(mi)
492 }
493 return ms
494 }
495 return mi.MessageOf(x)
496 }
497
498 // Deprecated: Use MergeFieldsOptions.ProtoReflect.Descriptor instead.
499 func (*MergeFieldsOptions) Descriptor() ([]byte, []int) {
500 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP(), []int{4}
501 }
502
503 func (x *MergeFieldsOptions) GetReplaceMessageFields() bool {
504 if x != nil && x.ReplaceMessageFields != nil {
505 return *x.ReplaceMessageFields
506 }
507 return false
508 }
509
510 func (x *MergeFieldsOptions) GetReplaceRepeatedFields() bool {
511 if x != nil && x.ReplaceRepeatedFields != nil {
512 return *x.ReplaceRepeatedFields
513 }
514 return false
515 }
516
517 var File_google_cloud_contentwarehouse_v1_common_proto protoreflect.FileDescriptor
518
519 var file_google_cloud_contentwarehouse_v1_common_proto_rawDesc = []byte{
520 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
521 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f,
522 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
523 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f,
524 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76,
525 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65,
526 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,
527 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69,
528 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a,
529 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
530 0x61, 0x12, 0x47, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01,
531 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
532 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
533 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
534 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x31, 0x0a, 0x10, 0x52, 0x65,
535 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d,
536 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
537 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x37, 0x0a,
538 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
539 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x6f,
540 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x67, 0x72,
541 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x22, 0x83, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74,
542 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
543 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e,
544 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
545 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
546 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70, 0x64,
547 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
548 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
549 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
550 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
551 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x66, 0x0a, 0x14, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x66, 0x69,
552 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
553 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
554 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75,
555 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
556 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x46,
557 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc3, 0x01, 0x0a,
558 0x12, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4f, 0x70, 0x74, 0x69,
559 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6d,
560 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20,
561 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x65,
562 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3b,
563 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
564 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48,
565 0x01, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74,
566 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x88, 0x01, 0x01, 0x42, 0x19, 0x0a, 0x17, 0x5f,
567 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
568 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61,
569 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c,
570 0x64, 0x73, 0x2a, 0xde, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70,
571 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
572 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17,
573 0x0a, 0x13, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45,
574 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x50, 0x44, 0x41, 0x54,
575 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x10, 0x02, 0x12, 0x2a,
576 0x0a, 0x26, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e,
577 0x53, 0x45, 0x52, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x49, 0x45, 0x53, 0x5f,
578 0x42, 0x59, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x50,
579 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43,
580 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x49, 0x45, 0x53, 0x5f, 0x42, 0x59, 0x5f,
581 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x10, 0x04, 0x12, 0x2a, 0x0a, 0x26, 0x55, 0x50, 0x44, 0x41, 0x54,
582 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x50, 0x52,
583 0x4f, 0x50, 0x45, 0x52, 0x54, 0x49, 0x45, 0x53, 0x5f, 0x42, 0x59, 0x5f, 0x4e, 0x41, 0x4d, 0x45,
584 0x53, 0x10, 0x05, 0x2a, 0x4f, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54,
585 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x42, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
586 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x42, 0x5f, 0x49, 0x4e, 0x46, 0x52, 0x41, 0x5f,
587 0x53, 0x50, 0x41, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x42, 0x5f,
588 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x47, 0x52,
589 0x45, 0x53, 0x10, 0x02, 0x2a, 0xaa, 0x01, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43,
590 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43,
591 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
592 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x43, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x49,
593 0x56, 0x45, 0x52, 0x53, 0x41, 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12,
594 0x30, 0x0a, 0x2c, 0x41, 0x43, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x55,
595 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53,
596 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x42, 0x59, 0x4f, 0x49, 0x44, 0x10,
597 0x02, 0x12, 0x2e, 0x0a, 0x2a, 0x41, 0x43, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x4f,
598 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x43, 0x43,
599 0x45, 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x47, 0x43, 0x49, 0x10,
600 0x03, 0x42, 0xdd, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
601 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
602 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d,
603 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
604 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
605 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
606 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
607 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65,
608 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0xea, 0x41, 0x53, 0x0a, 0x28,
609 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
610 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
611 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
612 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
613 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
614 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
615 }
616
617 var (
618 file_google_cloud_contentwarehouse_v1_common_proto_rawDescOnce sync.Once
619 file_google_cloud_contentwarehouse_v1_common_proto_rawDescData = file_google_cloud_contentwarehouse_v1_common_proto_rawDesc
620 )
621
622 func file_google_cloud_contentwarehouse_v1_common_proto_rawDescGZIP() []byte {
623 file_google_cloud_contentwarehouse_v1_common_proto_rawDescOnce.Do(func() {
624 file_google_cloud_contentwarehouse_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_common_proto_rawDescData)
625 })
626 return file_google_cloud_contentwarehouse_v1_common_proto_rawDescData
627 }
628
629 var file_google_cloud_contentwarehouse_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
630 var file_google_cloud_contentwarehouse_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
631 var file_google_cloud_contentwarehouse_v1_common_proto_goTypes = []interface{}{
632 (UpdateType)(0), // 0: google.cloud.contentwarehouse.v1.UpdateType
633 (DatabaseType)(0), // 1: google.cloud.contentwarehouse.v1.DatabaseType
634 (AccessControlMode)(0), // 2: google.cloud.contentwarehouse.v1.AccessControlMode
635 (*RequestMetadata)(nil), // 3: google.cloud.contentwarehouse.v1.RequestMetadata
636 (*ResponseMetadata)(nil), // 4: google.cloud.contentwarehouse.v1.ResponseMetadata
637 (*UserInfo)(nil), // 5: google.cloud.contentwarehouse.v1.UserInfo
638 (*UpdateOptions)(nil), // 6: google.cloud.contentwarehouse.v1.UpdateOptions
639 (*MergeFieldsOptions)(nil), // 7: google.cloud.contentwarehouse.v1.MergeFieldsOptions
640 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
641 }
642 var file_google_cloud_contentwarehouse_v1_common_proto_depIdxs = []int32{
643 5, // 0: google.cloud.contentwarehouse.v1.RequestMetadata.user_info:type_name -> google.cloud.contentwarehouse.v1.UserInfo
644 0, // 1: google.cloud.contentwarehouse.v1.UpdateOptions.update_type:type_name -> google.cloud.contentwarehouse.v1.UpdateType
645 8, // 2: google.cloud.contentwarehouse.v1.UpdateOptions.update_mask:type_name -> google.protobuf.FieldMask
646 7, // 3: google.cloud.contentwarehouse.v1.UpdateOptions.merge_fields_options:type_name -> google.cloud.contentwarehouse.v1.MergeFieldsOptions
647 4, // [4:4] is the sub-list for method output_type
648 4, // [4:4] is the sub-list for method input_type
649 4, // [4:4] is the sub-list for extension type_name
650 4, // [4:4] is the sub-list for extension extendee
651 0, // [0:4] is the sub-list for field type_name
652 }
653
654 func init() { file_google_cloud_contentwarehouse_v1_common_proto_init() }
655 func file_google_cloud_contentwarehouse_v1_common_proto_init() {
656 if File_google_cloud_contentwarehouse_v1_common_proto != nil {
657 return
658 }
659 if !protoimpl.UnsafeEnabled {
660 file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
661 switch v := v.(*RequestMetadata); 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_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
673 switch v := v.(*ResponseMetadata); 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 file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
685 switch v := v.(*UserInfo); i {
686 case 0:
687 return &v.state
688 case 1:
689 return &v.sizeCache
690 case 2:
691 return &v.unknownFields
692 default:
693 return nil
694 }
695 }
696 file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
697 switch v := v.(*UpdateOptions); i {
698 case 0:
699 return &v.state
700 case 1:
701 return &v.sizeCache
702 case 2:
703 return &v.unknownFields
704 default:
705 return nil
706 }
707 }
708 file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
709 switch v := v.(*MergeFieldsOptions); i {
710 case 0:
711 return &v.state
712 case 1:
713 return &v.sizeCache
714 case 2:
715 return &v.unknownFields
716 default:
717 return nil
718 }
719 }
720 }
721 file_google_cloud_contentwarehouse_v1_common_proto_msgTypes[4].OneofWrappers = []interface{}{}
722 type x struct{}
723 out := protoimpl.TypeBuilder{
724 File: protoimpl.DescBuilder{
725 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
726 RawDescriptor: file_google_cloud_contentwarehouse_v1_common_proto_rawDesc,
727 NumEnums: 3,
728 NumMessages: 5,
729 NumExtensions: 0,
730 NumServices: 0,
731 },
732 GoTypes: file_google_cloud_contentwarehouse_v1_common_proto_goTypes,
733 DependencyIndexes: file_google_cloud_contentwarehouse_v1_common_proto_depIdxs,
734 EnumInfos: file_google_cloud_contentwarehouse_v1_common_proto_enumTypes,
735 MessageInfos: file_google_cloud_contentwarehouse_v1_common_proto_msgTypes,
736 }.Build()
737 File_google_cloud_contentwarehouse_v1_common_proto = out.File
738 file_google_cloud_contentwarehouse_v1_common_proto_rawDesc = nil
739 file_google_cloud_contentwarehouse_v1_common_proto_goTypes = nil
740 file_google_cloud_contentwarehouse_v1_common_proto_depIdxs = nil
741 }