Debian Codegraph @

googleapis/apps/drive/labels/v2beta/label.pb.go

raw
1 // Copyright 2025 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 v4.24.4
19 // source: google/apps/drive/labels/v2beta/label.proto
20
21 package labels
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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 // The type of this label.
41 type Label_LabelType int32
42
43 const (
44 // Unknown label type.
45 Label_LABEL_TYPE_UNSPECIFIED Label_LabelType = 0
46 // Shared labels may be shared with users to apply to Drive items.
47 Label_SHARED Label_LabelType = 1
48 // Admin-owned label. Only creatable and editable by admins. Supports some
49 // additional admin-only features.
50 Label_ADMIN Label_LabelType = 2
51 // A label owned by an internal Google application rather than a customer.
52 // These labels are read-only.
53 Label_GOOGLE_APP Label_LabelType = 3
54 )
55
56 // Enum value maps for Label_LabelType.
57 var (
58 Label_LabelType_name = map[int32]string{
59 0: "LABEL_TYPE_UNSPECIFIED",
60 1: "SHARED",
61 2: "ADMIN",
62 3: "GOOGLE_APP",
63 }
64 Label_LabelType_value = map[string]int32{
65 "LABEL_TYPE_UNSPECIFIED": 0,
66 "SHARED": 1,
67 "ADMIN": 2,
68 "GOOGLE_APP": 3,
69 }
70 )
71
72 func (x Label_LabelType) Enum() *Label_LabelType {
73 p := new(Label_LabelType)
74 *p = x
75 return p
76 }
77
78 func (x Label_LabelType) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (Label_LabelType) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_apps_drive_labels_v2beta_label_proto_enumTypes[0].Descriptor()
84 }
85
86 func (Label_LabelType) Type() protoreflect.EnumType {
87 return &file_google_apps_drive_labels_v2beta_label_proto_enumTypes[0]
88 }
89
90 func (x Label_LabelType) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use Label_LabelType.Descriptor instead.
95 func (Label_LabelType) EnumDescriptor() ([]byte, []int) {
96 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 0}
97 }
98
99 // Indicates how the applied label and field values should be copied when
100 // a Drive item is copied.
101 type Label_AppliedLabelPolicy_CopyMode int32
102
103 const (
104 // Copy mode unspecified.
105 Label_AppliedLabelPolicy_COPY_MODE_UNSPECIFIED Label_AppliedLabelPolicy_CopyMode = 0
106 // The applied label and field values are not copied by default when
107 // the Drive item it's applied to is copied.
108 Label_AppliedLabelPolicy_DO_NOT_COPY Label_AppliedLabelPolicy_CopyMode = 1
109 // The applied label and field values are always copied when the
110 // Drive item it's applied to is copied.
111 // Only admins can use this mode.
112 Label_AppliedLabelPolicy_ALWAYS_COPY Label_AppliedLabelPolicy_CopyMode = 2
113 // The applied label and field values are copied if the
114 // label is appliable by the user making the copy.
115 Label_AppliedLabelPolicy_COPY_APPLIABLE Label_AppliedLabelPolicy_CopyMode = 3
116 )
117
118 // Enum value maps for Label_AppliedLabelPolicy_CopyMode.
119 var (
120 Label_AppliedLabelPolicy_CopyMode_name = map[int32]string{
121 0: "COPY_MODE_UNSPECIFIED",
122 1: "DO_NOT_COPY",
123 2: "ALWAYS_COPY",
124 3: "COPY_APPLIABLE",
125 }
126 Label_AppliedLabelPolicy_CopyMode_value = map[string]int32{
127 "COPY_MODE_UNSPECIFIED": 0,
128 "DO_NOT_COPY": 1,
129 "ALWAYS_COPY": 2,
130 "COPY_APPLIABLE": 3,
131 }
132 )
133
134 func (x Label_AppliedLabelPolicy_CopyMode) Enum() *Label_AppliedLabelPolicy_CopyMode {
135 p := new(Label_AppliedLabelPolicy_CopyMode)
136 *p = x
137 return p
138 }
139
140 func (x Label_AppliedLabelPolicy_CopyMode) String() string {
141 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
142 }
143
144 func (Label_AppliedLabelPolicy_CopyMode) Descriptor() protoreflect.EnumDescriptor {
145 return file_google_apps_drive_labels_v2beta_label_proto_enumTypes[1].Descriptor()
146 }
147
148 func (Label_AppliedLabelPolicy_CopyMode) Type() protoreflect.EnumType {
149 return &file_google_apps_drive_labels_v2beta_label_proto_enumTypes[1]
150 }
151
152 func (x Label_AppliedLabelPolicy_CopyMode) Number() protoreflect.EnumNumber {
153 return protoreflect.EnumNumber(x)
154 }
155
156 // Deprecated: Use Label_AppliedLabelPolicy_CopyMode.Descriptor instead.
157 func (Label_AppliedLabelPolicy_CopyMode) EnumDescriptor() ([]byte, []int) {
158 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 4, 0}
159 }
160
161 // A label defines a taxonomy that can be applied to Drive items in order to
162 // organize and search across items. Labels can be simple strings, or can
163 // contain fields that describe additional metadata that can be further used to
164 // organize and search Drive items.
165 type Label struct {
166 state protoimpl.MessageState
167 sizeCache protoimpl.SizeCache
168 unknownFields protoimpl.UnknownFields
169
170 // Output only. Resource name of the label. Will be in the form of either:
171 // `labels/{id}` or `labels/{id}@{revision_id}` depending on the request.
172 // See `id` and `revision_id` below.
173 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
174 // Output only. Globally unique identifier of this label. ID makes up part of
175 // the label `name`, but unlike `name`, ID is consistent between revisions.
176 // Matches the regex: `([a-zA-Z0-9])+`
177 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
178 // Output only. Revision ID of the label. Revision ID might be part of the
179 // label `name` depending on the request issued. A new revision is created
180 // whenever revisioned properties of a label are changed. Matches the regex:
181 // `([a-zA-Z0-9])+`
182 RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
183 // Required. The type of label.
184 LabelType Label_LabelType `protobuf:"varint,4,opt,name=label_type,json=labelType,proto3,enum=google.apps.drive.labels.v2beta.Label_LabelType" json:"label_type,omitempty"`
185 // Output only. The user who created this label.
186 Creator *UserInfo `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
187 // Output only. The time this label was created.
188 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
189 // Output only. The user who created this label revision.
190 RevisionCreator *UserInfo `protobuf:"bytes,7,opt,name=revision_creator,json=revisionCreator,proto3" json:"revision_creator,omitempty"`
191 // Output only. The time this label revision was created.
192 RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
193 // Output only. The user who published this label. This value has no meaning
194 // when the label is not published.
195 Publisher *UserInfo `protobuf:"bytes,9,opt,name=publisher,proto3" json:"publisher,omitempty"`
196 // Output only. The time this label was published. This value has no meaning
197 // when the label is not published.
198 PublishTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
199 // Output only. The user who disabled this label. This value has no meaning
200 // when the label is not disabled.
201 Disabler *UserInfo `protobuf:"bytes,11,opt,name=disabler,proto3" json:"disabler,omitempty"`
202 // Output only. The time this label was disabled. This value has no meaning
203 // when the label is not disabled.
204 DisableTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=disable_time,json=disableTime,proto3" json:"disable_time,omitempty"`
205 // Output only. The customer this label belongs to.
206 // For example: "customers/123abc789."
207 Customer string `protobuf:"bytes,13,opt,name=customer,proto3" json:"customer,omitempty"`
208 // Required. The basic properties of the label.
209 Properties *Label_Properties `protobuf:"bytes,14,opt,name=properties,proto3" json:"properties,omitempty"`
210 // Output only. The lifecycle state of the label including whether it's
211 // published, deprecated, and has draft changes.
212 Lifecycle *Lifecycle `protobuf:"bytes,15,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
213 // Output only. UI display hints for rendering the label.
214 DisplayHints *Label_DisplayHints `protobuf:"bytes,16,opt,name=display_hints,json=displayHints,proto3" json:"display_hints,omitempty"`
215 // Output only. The capabilities related to this label on applied metadata.
216 AppliedCapabilities *Label_AppliedCapabilities `protobuf:"bytes,17,opt,name=applied_capabilities,json=appliedCapabilities,proto3" json:"applied_capabilities,omitempty"`
217 // Output only. The capabilities the user has on this label.
218 SchemaCapabilities *Label_SchemaCapabilities `protobuf:"bytes,18,opt,name=schema_capabilities,json=schemaCapabilities,proto3" json:"schema_capabilities,omitempty"`
219 // Output only. Behavior of this label when it's applied to Drive items.
220 AppliedLabelPolicy *Label_AppliedLabelPolicy `protobuf:"bytes,19,opt,name=applied_label_policy,json=appliedLabelPolicy,proto3" json:"applied_label_policy,omitempty"`
221 // List of fields in descending priority order.
222 Fields []*Field `protobuf:"bytes,20,rep,name=fields,proto3" json:"fields,omitempty"`
223 // Custom URL to present to users to allow them to learn more about this label
224 // and how it should be used.
225 LearnMoreUri string `protobuf:"bytes,21,opt,name=learn_more_uri,json=learnMoreUri,proto3" json:"learn_more_uri,omitempty"`
226 // Output only. The LockStatus of this label.
227 LockStatus *LockStatus `protobuf:"bytes,22,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
228 }
229
230 func (x *Label) Reset() {
231 *x = Label{}
232 if protoimpl.UnsafeEnabled {
233 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[0]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237 }
238
239 func (x *Label) String() string {
240 return protoimpl.X.MessageStringOf(x)
241 }
242
243 func (*Label) ProtoMessage() {}
244
245 func (x *Label) ProtoReflect() protoreflect.Message {
246 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[0]
247 if protoimpl.UnsafeEnabled && x != nil {
248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
249 if ms.LoadMessageInfo() == nil {
250 ms.StoreMessageInfo(mi)
251 }
252 return ms
253 }
254 return mi.MessageOf(x)
255 }
256
257 // Deprecated: Use Label.ProtoReflect.Descriptor instead.
258 func (*Label) Descriptor() ([]byte, []int) {
259 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0}
260 }
261
262 func (x *Label) GetName() string {
263 if x != nil {
264 return x.Name
265 }
266 return ""
267 }
268
269 func (x *Label) GetId() string {
270 if x != nil {
271 return x.Id
272 }
273 return ""
274 }
275
276 func (x *Label) GetRevisionId() string {
277 if x != nil {
278 return x.RevisionId
279 }
280 return ""
281 }
282
283 func (x *Label) GetLabelType() Label_LabelType {
284 if x != nil {
285 return x.LabelType
286 }
287 return Label_LABEL_TYPE_UNSPECIFIED
288 }
289
290 func (x *Label) GetCreator() *UserInfo {
291 if x != nil {
292 return x.Creator
293 }
294 return nil
295 }
296
297 func (x *Label) GetCreateTime() *timestamppb.Timestamp {
298 if x != nil {
299 return x.CreateTime
300 }
301 return nil
302 }
303
304 func (x *Label) GetRevisionCreator() *UserInfo {
305 if x != nil {
306 return x.RevisionCreator
307 }
308 return nil
309 }
310
311 func (x *Label) GetRevisionCreateTime() *timestamppb.Timestamp {
312 if x != nil {
313 return x.RevisionCreateTime
314 }
315 return nil
316 }
317
318 func (x *Label) GetPublisher() *UserInfo {
319 if x != nil {
320 return x.Publisher
321 }
322 return nil
323 }
324
325 func (x *Label) GetPublishTime() *timestamppb.Timestamp {
326 if x != nil {
327 return x.PublishTime
328 }
329 return nil
330 }
331
332 func (x *Label) GetDisabler() *UserInfo {
333 if x != nil {
334 return x.Disabler
335 }
336 return nil
337 }
338
339 func (x *Label) GetDisableTime() *timestamppb.Timestamp {
340 if x != nil {
341 return x.DisableTime
342 }
343 return nil
344 }
345
346 func (x *Label) GetCustomer() string {
347 if x != nil {
348 return x.Customer
349 }
350 return ""
351 }
352
353 func (x *Label) GetProperties() *Label_Properties {
354 if x != nil {
355 return x.Properties
356 }
357 return nil
358 }
359
360 func (x *Label) GetLifecycle() *Lifecycle {
361 if x != nil {
362 return x.Lifecycle
363 }
364 return nil
365 }
366
367 func (x *Label) GetDisplayHints() *Label_DisplayHints {
368 if x != nil {
369 return x.DisplayHints
370 }
371 return nil
372 }
373
374 func (x *Label) GetAppliedCapabilities() *Label_AppliedCapabilities {
375 if x != nil {
376 return x.AppliedCapabilities
377 }
378 return nil
379 }
380
381 func (x *Label) GetSchemaCapabilities() *Label_SchemaCapabilities {
382 if x != nil {
383 return x.SchemaCapabilities
384 }
385 return nil
386 }
387
388 func (x *Label) GetAppliedLabelPolicy() *Label_AppliedLabelPolicy {
389 if x != nil {
390 return x.AppliedLabelPolicy
391 }
392 return nil
393 }
394
395 func (x *Label) GetFields() []*Field {
396 if x != nil {
397 return x.Fields
398 }
399 return nil
400 }
401
402 func (x *Label) GetLearnMoreUri() string {
403 if x != nil {
404 return x.LearnMoreUri
405 }
406 return ""
407 }
408
409 func (x *Label) GetLockStatus() *LockStatus {
410 if x != nil {
411 return x.LockStatus
412 }
413 return nil
414 }
415
416 // Basic properties of the label.
417 type Label_Properties struct {
418 state protoimpl.MessageState
419 sizeCache protoimpl.SizeCache
420 unknownFields protoimpl.UnknownFields
421
422 // Required. Title of the label.
423 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
424 // The description of the label.
425 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
426 }
427
428 func (x *Label_Properties) Reset() {
429 *x = Label_Properties{}
430 if protoimpl.UnsafeEnabled {
431 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[1]
432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433 ms.StoreMessageInfo(mi)
434 }
435 }
436
437 func (x *Label_Properties) String() string {
438 return protoimpl.X.MessageStringOf(x)
439 }
440
441 func (*Label_Properties) ProtoMessage() {}
442
443 func (x *Label_Properties) ProtoReflect() protoreflect.Message {
444 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[1]
445 if protoimpl.UnsafeEnabled && x != nil {
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 if ms.LoadMessageInfo() == nil {
448 ms.StoreMessageInfo(mi)
449 }
450 return ms
451 }
452 return mi.MessageOf(x)
453 }
454
455 // Deprecated: Use Label_Properties.ProtoReflect.Descriptor instead.
456 func (*Label_Properties) Descriptor() ([]byte, []int) {
457 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 0}
458 }
459
460 func (x *Label_Properties) GetTitle() string {
461 if x != nil {
462 return x.Title
463 }
464 return ""
465 }
466
467 func (x *Label_Properties) GetDescription() string {
468 if x != nil {
469 return x.Description
470 }
471 return ""
472 }
473
474 // UI display hints for rendering the label.
475 type Label_DisplayHints struct {
476 state protoimpl.MessageState
477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
479
480 // Whether the label should be shown in the UI as disabled.
481 Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
482 // This label should be hidden in the search menu when searching for Drive
483 // items.
484 HiddenInSearch bool `protobuf:"varint,2,opt,name=hidden_in_search,json=hiddenInSearch,proto3" json:"hidden_in_search,omitempty"`
485 // This label should be shown in the apply menu when applying values to a
486 // Drive item.
487 ShownInApply bool `protobuf:"varint,3,opt,name=shown_in_apply,json=shownInApply,proto3" json:"shown_in_apply,omitempty"`
488 // Order to display label in a list.
489 Priority int64 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
490 }
491
492 func (x *Label_DisplayHints) Reset() {
493 *x = Label_DisplayHints{}
494 if protoimpl.UnsafeEnabled {
495 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[2]
496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
497 ms.StoreMessageInfo(mi)
498 }
499 }
500
501 func (x *Label_DisplayHints) String() string {
502 return protoimpl.X.MessageStringOf(x)
503 }
504
505 func (*Label_DisplayHints) ProtoMessage() {}
506
507 func (x *Label_DisplayHints) ProtoReflect() protoreflect.Message {
508 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[2]
509 if protoimpl.UnsafeEnabled && x != nil {
510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
511 if ms.LoadMessageInfo() == nil {
512 ms.StoreMessageInfo(mi)
513 }
514 return ms
515 }
516 return mi.MessageOf(x)
517 }
518
519 // Deprecated: Use Label_DisplayHints.ProtoReflect.Descriptor instead.
520 func (*Label_DisplayHints) Descriptor() ([]byte, []int) {
521 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 1}
522 }
523
524 func (x *Label_DisplayHints) GetDisabled() bool {
525 if x != nil {
526 return x.Disabled
527 }
528 return false
529 }
530
531 func (x *Label_DisplayHints) GetHiddenInSearch() bool {
532 if x != nil {
533 return x.HiddenInSearch
534 }
535 return false
536 }
537
538 func (x *Label_DisplayHints) GetShownInApply() bool {
539 if x != nil {
540 return x.ShownInApply
541 }
542 return false
543 }
544
545 func (x *Label_DisplayHints) GetPriority() int64 {
546 if x != nil {
547 return x.Priority
548 }
549 return 0
550 }
551
552 // The capabilities a user has on this label's applied metadata.
553 type Label_AppliedCapabilities struct {
554 state protoimpl.MessageState
555 sizeCache protoimpl.SizeCache
556 unknownFields protoimpl.UnknownFields
557
558 // Whether the user can read applied metadata related to this label.
559 CanRead bool `protobuf:"varint,1,opt,name=can_read,json=canRead,proto3" json:"can_read,omitempty"`
560 // Whether the user can apply this label to items.
561 CanApply bool `protobuf:"varint,2,opt,name=can_apply,json=canApply,proto3" json:"can_apply,omitempty"`
562 // Whether the user can remove this label from items.
563 CanRemove bool `protobuf:"varint,3,opt,name=can_remove,json=canRemove,proto3" json:"can_remove,omitempty"`
564 }
565
566 func (x *Label_AppliedCapabilities) Reset() {
567 *x = Label_AppliedCapabilities{}
568 if protoimpl.UnsafeEnabled {
569 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[3]
570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
571 ms.StoreMessageInfo(mi)
572 }
573 }
574
575 func (x *Label_AppliedCapabilities) String() string {
576 return protoimpl.X.MessageStringOf(x)
577 }
578
579 func (*Label_AppliedCapabilities) ProtoMessage() {}
580
581 func (x *Label_AppliedCapabilities) ProtoReflect() protoreflect.Message {
582 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[3]
583 if protoimpl.UnsafeEnabled && x != nil {
584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585 if ms.LoadMessageInfo() == nil {
586 ms.StoreMessageInfo(mi)
587 }
588 return ms
589 }
590 return mi.MessageOf(x)
591 }
592
593 // Deprecated: Use Label_AppliedCapabilities.ProtoReflect.Descriptor instead.
594 func (*Label_AppliedCapabilities) Descriptor() ([]byte, []int) {
595 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 2}
596 }
597
598 func (x *Label_AppliedCapabilities) GetCanRead() bool {
599 if x != nil {
600 return x.CanRead
601 }
602 return false
603 }
604
605 func (x *Label_AppliedCapabilities) GetCanApply() bool {
606 if x != nil {
607 return x.CanApply
608 }
609 return false
610 }
611
612 func (x *Label_AppliedCapabilities) GetCanRemove() bool {
613 if x != nil {
614 return x.CanRemove
615 }
616 return false
617 }
618
619 // The capabilities related to this label when editing the label.
620 type Label_SchemaCapabilities struct {
621 state protoimpl.MessageState
622 sizeCache protoimpl.SizeCache
623 unknownFields protoimpl.UnknownFields
624
625 // Whether the user can change this label.
626 CanUpdate bool `protobuf:"varint,1,opt,name=can_update,json=canUpdate,proto3" json:"can_update,omitempty"`
627 // Whether the user can delete this label.
628 // The user must have permission and the label must be disabled.
629 CanDelete bool `protobuf:"varint,2,opt,name=can_delete,json=canDelete,proto3" json:"can_delete,omitempty"`
630 // Whether the user can disable this label.
631 // The user must have permission and this label must not already be
632 // disabled.
633 CanDisable bool `protobuf:"varint,3,opt,name=can_disable,json=canDisable,proto3" json:"can_disable,omitempty"`
634 // Whether the user can enable this label.
635 // The user must have permission and this label must be disabled.
636 CanEnable bool `protobuf:"varint,4,opt,name=can_enable,json=canEnable,proto3" json:"can_enable,omitempty"`
637 }
638
639 func (x *Label_SchemaCapabilities) Reset() {
640 *x = Label_SchemaCapabilities{}
641 if protoimpl.UnsafeEnabled {
642 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[4]
643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
644 ms.StoreMessageInfo(mi)
645 }
646 }
647
648 func (x *Label_SchemaCapabilities) String() string {
649 return protoimpl.X.MessageStringOf(x)
650 }
651
652 func (*Label_SchemaCapabilities) ProtoMessage() {}
653
654 func (x *Label_SchemaCapabilities) ProtoReflect() protoreflect.Message {
655 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[4]
656 if protoimpl.UnsafeEnabled && x != nil {
657 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
658 if ms.LoadMessageInfo() == nil {
659 ms.StoreMessageInfo(mi)
660 }
661 return ms
662 }
663 return mi.MessageOf(x)
664 }
665
666 // Deprecated: Use Label_SchemaCapabilities.ProtoReflect.Descriptor instead.
667 func (*Label_SchemaCapabilities) Descriptor() ([]byte, []int) {
668 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 3}
669 }
670
671 func (x *Label_SchemaCapabilities) GetCanUpdate() bool {
672 if x != nil {
673 return x.CanUpdate
674 }
675 return false
676 }
677
678 func (x *Label_SchemaCapabilities) GetCanDelete() bool {
679 if x != nil {
680 return x.CanDelete
681 }
682 return false
683 }
684
685 func (x *Label_SchemaCapabilities) GetCanDisable() bool {
686 if x != nil {
687 return x.CanDisable
688 }
689 return false
690 }
691
692 func (x *Label_SchemaCapabilities) GetCanEnable() bool {
693 if x != nil {
694 return x.CanEnable
695 }
696 return false
697 }
698
699 // Behavior of this label when it's applied to Drive items.
700 type Label_AppliedLabelPolicy struct {
701 state protoimpl.MessageState
702 sizeCache protoimpl.SizeCache
703 unknownFields protoimpl.UnknownFields
704
705 // Indicates how the applied label and field values should be copied when
706 // a Drive item is copied.
707 CopyMode Label_AppliedLabelPolicy_CopyMode `protobuf:"varint,1,opt,name=copy_mode,json=copyMode,proto3,enum=google.apps.drive.labels.v2beta.Label_AppliedLabelPolicy_CopyMode" json:"copy_mode,omitempty"`
708 }
709
710 func (x *Label_AppliedLabelPolicy) Reset() {
711 *x = Label_AppliedLabelPolicy{}
712 if protoimpl.UnsafeEnabled {
713 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[5]
714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
715 ms.StoreMessageInfo(mi)
716 }
717 }
718
719 func (x *Label_AppliedLabelPolicy) String() string {
720 return protoimpl.X.MessageStringOf(x)
721 }
722
723 func (*Label_AppliedLabelPolicy) ProtoMessage() {}
724
725 func (x *Label_AppliedLabelPolicy) ProtoReflect() protoreflect.Message {
726 mi := &file_google_apps_drive_labels_v2beta_label_proto_msgTypes[5]
727 if protoimpl.UnsafeEnabled && x != nil {
728 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
729 if ms.LoadMessageInfo() == nil {
730 ms.StoreMessageInfo(mi)
731 }
732 return ms
733 }
734 return mi.MessageOf(x)
735 }
736
737 // Deprecated: Use Label_AppliedLabelPolicy.ProtoReflect.Descriptor instead.
738 func (*Label_AppliedLabelPolicy) Descriptor() ([]byte, []int) {
739 return file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP(), []int{0, 4}
740 }
741
742 func (x *Label_AppliedLabelPolicy) GetCopyMode() Label_AppliedLabelPolicy_CopyMode {
743 if x != nil {
744 return x.CopyMode
745 }
746 return Label_AppliedLabelPolicy_COPY_MODE_UNSPECIFIED
747 }
748
749 var File_google_apps_drive_labels_v2beta_label_proto protoreflect.FileDescriptor
750
751 var file_google_apps_drive_labels_v2beta_label_proto_rawDesc = []byte{
752 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
753 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
754 0x61, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67,
755 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65,
756 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f,
757 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
758 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
759 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
760 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67,
761 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61,
762 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
763 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
764 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65,
765 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e,
766 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
767 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
768 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x13, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c,
769 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
770 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18,
771 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24,
772 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
773 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,
774 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x74, 0x79,
775 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
776 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
777 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
778 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
779 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x07, 0x63, 0x72,
780 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
781 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
782 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73,
783 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65,
784 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
785 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
786 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
787 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
788 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,
789 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
790 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
791 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
792 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03,
793 0x52, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f,
794 0x72, 0x12, 0x51, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72,
795 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
796 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
797 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
798 0x52, 0x12, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
799 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65,
800 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
801 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65,
802 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
803 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
804 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69,
805 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
806 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
807 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69,
808 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
809 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
810 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
811 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49,
812 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
813 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x69,
814 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
815 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
816 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62,
817 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
818 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x27,
819 0x0a, 0x25, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
820 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
821 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
822 0x72, 0x12, 0x56, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18,
823 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
824 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
825 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x50, 0x72,
826 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x70,
827 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x09, 0x6c, 0x69, 0x66,
828 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67,
829 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65,
830 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c,
831 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6c,
832 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70,
833 0x6c, 0x61, 0x79, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32,
834 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72,
835 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
836 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x48,
837 0x69, 0x6e, 0x74, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c,
838 0x61, 0x79, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x72, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69,
839 0x65, 0x64, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18,
840 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
841 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
842 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x41, 0x70,
843 0x70, 0x6c, 0x69, 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
844 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x43,
845 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x6f, 0x0a, 0x13, 0x73,
846 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69,
847 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
848 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
849 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
850 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
851 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
852 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x70, 0x0a, 0x14,
853 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x6f,
854 0x6c, 0x69, 0x63, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f,
855 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c,
856 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62,
857 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50,
858 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c,
859 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e,
860 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
861 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69,
862 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
863 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x24,
864 0x0a, 0x0e, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x72, 0x69,
865 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x4d, 0x6f, 0x72,
866 0x65, 0x55, 0x72, 0x69, 0x12, 0x51, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61,
867 0x74, 0x75, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
868 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
869 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x63, 0x6b,
870 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x6c, 0x6f, 0x63,
871 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x49, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x70, 0x65,
872 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01,
873 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
874 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
875 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
876 0x6f, 0x6e, 0x1a, 0x96, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x48, 0x69,
877 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18,
878 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12,
879 0x28, 0x0a, 0x10, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x61,
880 0x72, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x69, 0x64, 0x64, 0x65,
881 0x6e, 0x49, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x68, 0x6f,
882 0x77, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
883 0x08, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12,
884 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
885 0x03, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x6c, 0x0a, 0x13, 0x41,
886 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69,
887 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x18, 0x01,
888 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x0a,
889 0x09, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
890 0x52, 0x08, 0x63, 0x61, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61,
891 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
892 0x63, 0x61, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x92, 0x01, 0x0a, 0x12, 0x53, 0x63,
893 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73,
894 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01,
895 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
896 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20,
897 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1f,
898 0x0a, 0x0b, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20,
899 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x61, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12,
900 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20,
901 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0xd2,
902 0x01, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50,
903 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5f, 0x0a, 0x09, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x6d, 0x6f,
904 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
905 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
906 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
907 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c,
908 0x69, 0x63, 0x79, 0x2e, 0x43, 0x6f, 0x70, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x6f,
909 0x70, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x5b, 0x0a, 0x08, 0x43, 0x6f, 0x70, 0x79, 0x4d, 0x6f,
910 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x50, 0x59, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f,
911 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a,
912 0x0b, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x50, 0x59, 0x10, 0x01, 0x12, 0x0f,
913 0x0a, 0x0b, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, 0x5f, 0x43, 0x4f, 0x50, 0x59, 0x10, 0x02, 0x12,
914 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x50, 0x59, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x41, 0x42, 0x4c,
915 0x45, 0x10, 0x03, 0x22, 0x4e, 0x0a, 0x09, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65,
916 0x12, 0x1a, 0x0a, 0x16, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
917 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
918 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49,
919 0x4e, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x41, 0x50,
920 0x50, 0x10, 0x03, 0x3a, 0x32, 0xea, 0x41, 0x2f, 0x0a, 0x20, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6c,
921 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
922 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x0b, 0x6c, 0x61, 0x62, 0x65,
923 0x6c, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xc1, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e,
924 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
925 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42,
926 0x0a, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67,
927 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
928 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
929 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f,
930 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6c, 0x61,
931 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, 0x42, 0x4c, 0xea, 0x41, 0x3d, 0x0a, 0x25,
932 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f,
933 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73,
934 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73,
935 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f,
936 0x74, 0x6f, 0x33,
937 }
938
939 var (
940 file_google_apps_drive_labels_v2beta_label_proto_rawDescOnce sync.Once
941 file_google_apps_drive_labels_v2beta_label_proto_rawDescData = file_google_apps_drive_labels_v2beta_label_proto_rawDesc
942 )
943
944 func file_google_apps_drive_labels_v2beta_label_proto_rawDescGZIP() []byte {
945 file_google_apps_drive_labels_v2beta_label_proto_rawDescOnce.Do(func() {
946 file_google_apps_drive_labels_v2beta_label_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2beta_label_proto_rawDescData)
947 })
948 return file_google_apps_drive_labels_v2beta_label_proto_rawDescData
949 }
950
951 var file_google_apps_drive_labels_v2beta_label_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
952 var file_google_apps_drive_labels_v2beta_label_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
953 var file_google_apps_drive_labels_v2beta_label_proto_goTypes = []interface{}{
954 (Label_LabelType)(0), // 0: google.apps.drive.labels.v2beta.Label.LabelType
955 (Label_AppliedLabelPolicy_CopyMode)(0), // 1: google.apps.drive.labels.v2beta.Label.AppliedLabelPolicy.CopyMode
956 (*Label)(nil), // 2: google.apps.drive.labels.v2beta.Label
957 (*Label_Properties)(nil), // 3: google.apps.drive.labels.v2beta.Label.Properties
958 (*Label_DisplayHints)(nil), // 4: google.apps.drive.labels.v2beta.Label.DisplayHints
959 (*Label_AppliedCapabilities)(nil), // 5: google.apps.drive.labels.v2beta.Label.AppliedCapabilities
960 (*Label_SchemaCapabilities)(nil), // 6: google.apps.drive.labels.v2beta.Label.SchemaCapabilities
961 (*Label_AppliedLabelPolicy)(nil), // 7: google.apps.drive.labels.v2beta.Label.AppliedLabelPolicy
962 (*UserInfo)(nil), // 8: google.apps.drive.labels.v2beta.UserInfo
963 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
964 (*Lifecycle)(nil), // 10: google.apps.drive.labels.v2beta.Lifecycle
965 (*Field)(nil), // 11: google.apps.drive.labels.v2beta.Field
966 (*LockStatus)(nil), // 12: google.apps.drive.labels.v2beta.LockStatus
967 }
968 var file_google_apps_drive_labels_v2beta_label_proto_depIdxs = []int32{
969 0, // 0: google.apps.drive.labels.v2beta.Label.label_type:type_name -> google.apps.drive.labels.v2beta.Label.LabelType
970 8, // 1: google.apps.drive.labels.v2beta.Label.creator:type_name -> google.apps.drive.labels.v2beta.UserInfo
971 9, // 2: google.apps.drive.labels.v2beta.Label.create_time:type_name -> google.protobuf.Timestamp
972 8, // 3: google.apps.drive.labels.v2beta.Label.revision_creator:type_name -> google.apps.drive.labels.v2beta.UserInfo
973 9, // 4: google.apps.drive.labels.v2beta.Label.revision_create_time:type_name -> google.protobuf.Timestamp
974 8, // 5: google.apps.drive.labels.v2beta.Label.publisher:type_name -> google.apps.drive.labels.v2beta.UserInfo
975 9, // 6: google.apps.drive.labels.v2beta.Label.publish_time:type_name -> google.protobuf.Timestamp
976 8, // 7: google.apps.drive.labels.v2beta.Label.disabler:type_name -> google.apps.drive.labels.v2beta.UserInfo
977 9, // 8: google.apps.drive.labels.v2beta.Label.disable_time:type_name -> google.protobuf.Timestamp
978 3, // 9: google.apps.drive.labels.v2beta.Label.properties:type_name -> google.apps.drive.labels.v2beta.Label.Properties
979 10, // 10: google.apps.drive.labels.v2beta.Label.lifecycle:type_name -> google.apps.drive.labels.v2beta.Lifecycle
980 4, // 11: google.apps.drive.labels.v2beta.Label.display_hints:type_name -> google.apps.drive.labels.v2beta.Label.DisplayHints
981 5, // 12: google.apps.drive.labels.v2beta.Label.applied_capabilities:type_name -> google.apps.drive.labels.v2beta.Label.AppliedCapabilities
982 6, // 13: google.apps.drive.labels.v2beta.Label.schema_capabilities:type_name -> google.apps.drive.labels.v2beta.Label.SchemaCapabilities
983 7, // 14: google.apps.drive.labels.v2beta.Label.applied_label_policy:type_name -> google.apps.drive.labels.v2beta.Label.AppliedLabelPolicy
984 11, // 15: google.apps.drive.labels.v2beta.Label.fields:type_name -> google.apps.drive.labels.v2beta.Field
985 12, // 16: google.apps.drive.labels.v2beta.Label.lock_status:type_name -> google.apps.drive.labels.v2beta.LockStatus
986 1, // 17: google.apps.drive.labels.v2beta.Label.AppliedLabelPolicy.copy_mode:type_name -> google.apps.drive.labels.v2beta.Label.AppliedLabelPolicy.CopyMode
987 18, // [18:18] is the sub-list for method output_type
988 18, // [18:18] is the sub-list for method input_type
989 18, // [18:18] is the sub-list for extension type_name
990 18, // [18:18] is the sub-list for extension extendee
991 0, // [0:18] is the sub-list for field type_name
992 }
993
994 func init() { file_google_apps_drive_labels_v2beta_label_proto_init() }
995 func file_google_apps_drive_labels_v2beta_label_proto_init() {
996 if File_google_apps_drive_labels_v2beta_label_proto != nil {
997 return
998 }
999 file_google_apps_drive_labels_v2beta_common_proto_init()
1000 file_google_apps_drive_labels_v2beta_field_proto_init()
1001 if !protoimpl.UnsafeEnabled {
1002 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1003 switch v := v.(*Label); i {
1004 case 0:
1005 return &v.state
1006 case 1:
1007 return &v.sizeCache
1008 case 2:
1009 return &v.unknownFields
1010 default:
1011 return nil
1012 }
1013 }
1014 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1015 switch v := v.(*Label_Properties); i {
1016 case 0:
1017 return &v.state
1018 case 1:
1019 return &v.sizeCache
1020 case 2:
1021 return &v.unknownFields
1022 default:
1023 return nil
1024 }
1025 }
1026 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1027 switch v := v.(*Label_DisplayHints); i {
1028 case 0:
1029 return &v.state
1030 case 1:
1031 return &v.sizeCache
1032 case 2:
1033 return &v.unknownFields
1034 default:
1035 return nil
1036 }
1037 }
1038 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1039 switch v := v.(*Label_AppliedCapabilities); i {
1040 case 0:
1041 return &v.state
1042 case 1:
1043 return &v.sizeCache
1044 case 2:
1045 return &v.unknownFields
1046 default:
1047 return nil
1048 }
1049 }
1050 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1051 switch v := v.(*Label_SchemaCapabilities); i {
1052 case 0:
1053 return &v.state
1054 case 1:
1055 return &v.sizeCache
1056 case 2:
1057 return &v.unknownFields
1058 default:
1059 return nil
1060 }
1061 }
1062 file_google_apps_drive_labels_v2beta_label_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1063 switch v := v.(*Label_AppliedLabelPolicy); i {
1064 case 0:
1065 return &v.state
1066 case 1:
1067 return &v.sizeCache
1068 case 2:
1069 return &v.unknownFields
1070 default:
1071 return nil
1072 }
1073 }
1074 }
1075 type x struct{}
1076 out := protoimpl.TypeBuilder{
1077 File: protoimpl.DescBuilder{
1078 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1079 RawDescriptor: file_google_apps_drive_labels_v2beta_label_proto_rawDesc,
1080 NumEnums: 2,
1081 NumMessages: 6,
1082 NumExtensions: 0,
1083 NumServices: 0,
1084 },
1085 GoTypes: file_google_apps_drive_labels_v2beta_label_proto_goTypes,
1086 DependencyIndexes: file_google_apps_drive_labels_v2beta_label_proto_depIdxs,
1087 EnumInfos: file_google_apps_drive_labels_v2beta_label_proto_enumTypes,
1088 MessageInfos: file_google_apps_drive_labels_v2beta_label_proto_msgTypes,
1089 }.Build()
1090 File_google_apps_drive_labels_v2beta_label_proto = out.File
1091 file_google_apps_drive_labels_v2beta_label_proto_rawDesc = nil
1092 file_google_apps_drive_labels_v2beta_label_proto_goTypes = nil
1093 file_google_apps_drive_labels_v2beta_label_proto_depIdxs = nil
1094 }