Debian Codegraph @

googleapis/apps/drive/labels/v2/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/v2/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_v2_label_proto_enumTypes[0].Descriptor()
84 }
85
86 func (Label_LabelType) Type() protoreflect.EnumType {
87 return &file_google_apps_drive_labels_v2_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_v2_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_v2_label_proto_enumTypes[1].Descriptor()
146 }
147
148 func (Label_AppliedLabelPolicy_CopyMode) Type() protoreflect.EnumType {
149 return &file_google_apps_drive_labels_v2_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_v2_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.v2.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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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.v2.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_v2_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_v2_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_v2_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_v2_label_proto protoreflect.FileDescriptor
750
751 var file_google_apps_drive_labels_v2_label_proto_rawDesc = []byte{
752 0x0a, 0x27, 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, 0x2f, 0x6c, 0x61,
754 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
755 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
756 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
757 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
758 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
759 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
760 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f,
761 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f,
762 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f,
763 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f,
764 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e,
765 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
766 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
767 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x12, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c,
768 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
769 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18,
770 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24,
771 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
772 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,
773 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x74, 0x79,
774 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
775 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
776 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x4c, 0x61, 0x62,
777 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6c, 0x61, 0x62,
778 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,
779 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
780 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65,
781 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03,
782 0xe0, 0x41, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b,
783 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
784 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
785 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
786 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x55,
787 0x0a, 0x10, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74,
788 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
789 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
790 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42,
791 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x72,
792 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x51, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
793 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20,
794 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
795 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
796 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x72,
797 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c,
798 0x69, 0x73, 0x68, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f,
799 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
800 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
801 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
802 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69,
803 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
804 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
805 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69,
806 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
807 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
808 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
809 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42,
810 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x72, 0x12, 0x42,
811 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c,
812 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
813 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
814 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69,
815 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x18, 0x0d,
816 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x63, 0x6c,
817 0x6f, 0x75, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
818 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f,
819 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x52, 0x0a,
820 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28,
821 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
822 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e,
823 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,
824 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
825 0x73, 0x12, 0x49, 0x0a, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0f,
826 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
827 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
828 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41,
829 0x03, 0x52, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x59, 0x0a, 0x0d,
830 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20,
831 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
832 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76,
833 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x48,
834 0x69, 0x6e, 0x74, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c,
835 0x61, 0x79, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6e, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69,
836 0x65, 0x64, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18,
837 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
838 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
839 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65,
840 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0,
841 0x41, 0x03, 0x52, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62,
842 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d,
843 0x61, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x12,
844 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
845 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
846 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43,
847 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03,
848 0x52, 0x12, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69,
849 0x74, 0x69, 0x65, 0x73, 0x12, 0x6c, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f,
850 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x13, 0x20, 0x01,
851 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
852 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
853 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61,
854 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12,
855 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
856 0x63, 0x79, 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x14, 0x20, 0x03,
857 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
858 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
859 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x24,
860 0x0a, 0x0e, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x72, 0x69,
861 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x4d, 0x6f, 0x72,
862 0x65, 0x55, 0x72, 0x69, 0x12, 0x4d, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61,
863 0x74, 0x75, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
864 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
865 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74,
866 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61,
867 0x74, 0x75, 0x73, 0x1a, 0x49, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
868 0x73, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
869 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b,
870 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
871 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x96,
872 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12,
873 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
874 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x68,
875 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x18,
876 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x49, 0x6e, 0x53,
877 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x5f, 0x69,
878 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73,
879 0x68, 0x6f, 0x77, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70,
880 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70,
881 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x6c, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x69,
882 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x19,
883 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
884 0x52, 0x07, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x6e,
885 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61,
886 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x65,
887 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x52,
888 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x92, 0x01, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
889 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
890 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
891 0x52, 0x09, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63,
892 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
893 0x09, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61,
894 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
895 0x0a, 0x63, 0x61, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63,
896 0x61, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
897 0x09, 0x63, 0x61, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0xce, 0x01, 0x0a, 0x12, 0x41,
898 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
899 0x79, 0x12, 0x5b, 0x0a, 0x09, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01,
900 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
901 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
902 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64,
903 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x43, 0x6f, 0x70, 0x79,
904 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x63, 0x6f, 0x70, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x5b,
905 0x0a, 0x08, 0x43, 0x6f, 0x70, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f,
906 0x50, 0x59, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
907 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f,
908 0x43, 0x4f, 0x50, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53,
909 0x5f, 0x43, 0x4f, 0x50, 0x59, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x50, 0x59, 0x5f,
910 0x41, 0x50, 0x50, 0x4c, 0x49, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x22, 0x4e, 0x0a, 0x09, 0x4c,
911 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4c, 0x41, 0x42, 0x45,
912 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
913 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x10, 0x01,
914 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47,
915 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x10, 0x03, 0x3a, 0x32, 0xea, 0x41, 0x2f,
916 0x0a, 0x20, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x67, 0x6f,
917 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x62,
918 0x65, 0x6c, 0x12, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42,
919 0xb9, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
920 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
921 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
922 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
923 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
924 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
925 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6c, 0x61,
926 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, 0x42, 0x4c, 0xea, 0x41, 0x3d, 0x0a, 0x25,
927 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f,
928 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73,
929 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73,
930 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f,
931 0x74, 0x6f, 0x33,
932 }
933
934 var (
935 file_google_apps_drive_labels_v2_label_proto_rawDescOnce sync.Once
936 file_google_apps_drive_labels_v2_label_proto_rawDescData = file_google_apps_drive_labels_v2_label_proto_rawDesc
937 )
938
939 func file_google_apps_drive_labels_v2_label_proto_rawDescGZIP() []byte {
940 file_google_apps_drive_labels_v2_label_proto_rawDescOnce.Do(func() {
941 file_google_apps_drive_labels_v2_label_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2_label_proto_rawDescData)
942 })
943 return file_google_apps_drive_labels_v2_label_proto_rawDescData
944 }
945
946 var file_google_apps_drive_labels_v2_label_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
947 var file_google_apps_drive_labels_v2_label_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
948 var file_google_apps_drive_labels_v2_label_proto_goTypes = []interface{}{
949 (Label_LabelType)(0), // 0: google.apps.drive.labels.v2.Label.LabelType
950 (Label_AppliedLabelPolicy_CopyMode)(0), // 1: google.apps.drive.labels.v2.Label.AppliedLabelPolicy.CopyMode
951 (*Label)(nil), // 2: google.apps.drive.labels.v2.Label
952 (*Label_Properties)(nil), // 3: google.apps.drive.labels.v2.Label.Properties
953 (*Label_DisplayHints)(nil), // 4: google.apps.drive.labels.v2.Label.DisplayHints
954 (*Label_AppliedCapabilities)(nil), // 5: google.apps.drive.labels.v2.Label.AppliedCapabilities
955 (*Label_SchemaCapabilities)(nil), // 6: google.apps.drive.labels.v2.Label.SchemaCapabilities
956 (*Label_AppliedLabelPolicy)(nil), // 7: google.apps.drive.labels.v2.Label.AppliedLabelPolicy
957 (*UserInfo)(nil), // 8: google.apps.drive.labels.v2.UserInfo
958 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
959 (*Lifecycle)(nil), // 10: google.apps.drive.labels.v2.Lifecycle
960 (*Field)(nil), // 11: google.apps.drive.labels.v2.Field
961 (*LockStatus)(nil), // 12: google.apps.drive.labels.v2.LockStatus
962 }
963 var file_google_apps_drive_labels_v2_label_proto_depIdxs = []int32{
964 0, // 0: google.apps.drive.labels.v2.Label.label_type:type_name -> google.apps.drive.labels.v2.Label.LabelType
965 8, // 1: google.apps.drive.labels.v2.Label.creator:type_name -> google.apps.drive.labels.v2.UserInfo
966 9, // 2: google.apps.drive.labels.v2.Label.create_time:type_name -> google.protobuf.Timestamp
967 8, // 3: google.apps.drive.labels.v2.Label.revision_creator:type_name -> google.apps.drive.labels.v2.UserInfo
968 9, // 4: google.apps.drive.labels.v2.Label.revision_create_time:type_name -> google.protobuf.Timestamp
969 8, // 5: google.apps.drive.labels.v2.Label.publisher:type_name -> google.apps.drive.labels.v2.UserInfo
970 9, // 6: google.apps.drive.labels.v2.Label.publish_time:type_name -> google.protobuf.Timestamp
971 8, // 7: google.apps.drive.labels.v2.Label.disabler:type_name -> google.apps.drive.labels.v2.UserInfo
972 9, // 8: google.apps.drive.labels.v2.Label.disable_time:type_name -> google.protobuf.Timestamp
973 3, // 9: google.apps.drive.labels.v2.Label.properties:type_name -> google.apps.drive.labels.v2.Label.Properties
974 10, // 10: google.apps.drive.labels.v2.Label.lifecycle:type_name -> google.apps.drive.labels.v2.Lifecycle
975 4, // 11: google.apps.drive.labels.v2.Label.display_hints:type_name -> google.apps.drive.labels.v2.Label.DisplayHints
976 5, // 12: google.apps.drive.labels.v2.Label.applied_capabilities:type_name -> google.apps.drive.labels.v2.Label.AppliedCapabilities
977 6, // 13: google.apps.drive.labels.v2.Label.schema_capabilities:type_name -> google.apps.drive.labels.v2.Label.SchemaCapabilities
978 7, // 14: google.apps.drive.labels.v2.Label.applied_label_policy:type_name -> google.apps.drive.labels.v2.Label.AppliedLabelPolicy
979 11, // 15: google.apps.drive.labels.v2.Label.fields:type_name -> google.apps.drive.labels.v2.Field
980 12, // 16: google.apps.drive.labels.v2.Label.lock_status:type_name -> google.apps.drive.labels.v2.LockStatus
981 1, // 17: google.apps.drive.labels.v2.Label.AppliedLabelPolicy.copy_mode:type_name -> google.apps.drive.labels.v2.Label.AppliedLabelPolicy.CopyMode
982 18, // [18:18] is the sub-list for method output_type
983 18, // [18:18] is the sub-list for method input_type
984 18, // [18:18] is the sub-list for extension type_name
985 18, // [18:18] is the sub-list for extension extendee
986 0, // [0:18] is the sub-list for field type_name
987 }
988
989 func init() { file_google_apps_drive_labels_v2_label_proto_init() }
990 func file_google_apps_drive_labels_v2_label_proto_init() {
991 if File_google_apps_drive_labels_v2_label_proto != nil {
992 return
993 }
994 file_google_apps_drive_labels_v2_common_proto_init()
995 file_google_apps_drive_labels_v2_field_proto_init()
996 if !protoimpl.UnsafeEnabled {
997 file_google_apps_drive_labels_v2_label_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
998 switch v := v.(*Label); i {
999 case 0:
1000 return &v.state
1001 case 1:
1002 return &v.sizeCache
1003 case 2:
1004 return &v.unknownFields
1005 default:
1006 return nil
1007 }
1008 }
1009 file_google_apps_drive_labels_v2_label_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1010 switch v := v.(*Label_Properties); i {
1011 case 0:
1012 return &v.state
1013 case 1:
1014 return &v.sizeCache
1015 case 2:
1016 return &v.unknownFields
1017 default:
1018 return nil
1019 }
1020 }
1021 file_google_apps_drive_labels_v2_label_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1022 switch v := v.(*Label_DisplayHints); i {
1023 case 0:
1024 return &v.state
1025 case 1:
1026 return &v.sizeCache
1027 case 2:
1028 return &v.unknownFields
1029 default:
1030 return nil
1031 }
1032 }
1033 file_google_apps_drive_labels_v2_label_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1034 switch v := v.(*Label_AppliedCapabilities); i {
1035 case 0:
1036 return &v.state
1037 case 1:
1038 return &v.sizeCache
1039 case 2:
1040 return &v.unknownFields
1041 default:
1042 return nil
1043 }
1044 }
1045 file_google_apps_drive_labels_v2_label_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1046 switch v := v.(*Label_SchemaCapabilities); i {
1047 case 0:
1048 return &v.state
1049 case 1:
1050 return &v.sizeCache
1051 case 2:
1052 return &v.unknownFields
1053 default:
1054 return nil
1055 }
1056 }
1057 file_google_apps_drive_labels_v2_label_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1058 switch v := v.(*Label_AppliedLabelPolicy); i {
1059 case 0:
1060 return &v.state
1061 case 1:
1062 return &v.sizeCache
1063 case 2:
1064 return &v.unknownFields
1065 default:
1066 return nil
1067 }
1068 }
1069 }
1070 type x struct{}
1071 out := protoimpl.TypeBuilder{
1072 File: protoimpl.DescBuilder{
1073 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1074 RawDescriptor: file_google_apps_drive_labels_v2_label_proto_rawDesc,
1075 NumEnums: 2,
1076 NumMessages: 6,
1077 NumExtensions: 0,
1078 NumServices: 0,
1079 },
1080 GoTypes: file_google_apps_drive_labels_v2_label_proto_goTypes,
1081 DependencyIndexes: file_google_apps_drive_labels_v2_label_proto_depIdxs,
1082 EnumInfos: file_google_apps_drive_labels_v2_label_proto_enumTypes,
1083 MessageInfos: file_google_apps_drive_labels_v2_label_proto_msgTypes,
1084 }.Build()
1085 File_google_apps_drive_labels_v2_label_proto = out.File
1086 file_google_apps_drive_labels_v2_label_proto_rawDesc = nil
1087 file_google_apps_drive_labels_v2_label_proto_goTypes = nil
1088 file_google_apps_drive_labels_v2_label_proto_depIdxs = nil
1089 }