...

Source file src/google.golang.org/genproto/googleapis/apps/drive/labels/v2/common.pb.go

Documentation: google.golang.org/genproto/googleapis/apps/drive/labels/v2

     1  // Copyright 2024 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/common.proto
    20  
    21  package labels
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	color "google.golang.org/genproto/googleapis/type/color"
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    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 state of the object associated with this lifecycle.
    41  type Lifecycle_State int32
    42  
    43  const (
    44  	// Unknown State.
    45  	Lifecycle_STATE_UNSPECIFIED Lifecycle_State = 0
    46  	// The initial state of an object. Once published, the object can never
    47  	// return to this state. Once an object is published, certain kinds of
    48  	// changes are no longer permitted.
    49  	Lifecycle_UNPUBLISHED_DRAFT Lifecycle_State = 1
    50  	// The object has been published. The object might have unpublished draft
    51  	// changes as indicated by `has_unpublished_changes`.
    52  	Lifecycle_PUBLISHED Lifecycle_State = 2
    53  	// The object has been published and has since been disabled. The object
    54  	// might have unpublished draft changes as indicated by
    55  	// `has_unpublished_changes`.
    56  	Lifecycle_DISABLED Lifecycle_State = 3
    57  	// The object has been deleted.
    58  	Lifecycle_DELETED Lifecycle_State = 4
    59  )
    60  
    61  // Enum value maps for Lifecycle_State.
    62  var (
    63  	Lifecycle_State_name = map[int32]string{
    64  		0: "STATE_UNSPECIFIED",
    65  		1: "UNPUBLISHED_DRAFT",
    66  		2: "PUBLISHED",
    67  		3: "DISABLED",
    68  		4: "DELETED",
    69  	}
    70  	Lifecycle_State_value = map[string]int32{
    71  		"STATE_UNSPECIFIED": 0,
    72  		"UNPUBLISHED_DRAFT": 1,
    73  		"PUBLISHED":         2,
    74  		"DISABLED":          3,
    75  		"DELETED":           4,
    76  	}
    77  )
    78  
    79  func (x Lifecycle_State) Enum() *Lifecycle_State {
    80  	p := new(Lifecycle_State)
    81  	*p = x
    82  	return p
    83  }
    84  
    85  func (x Lifecycle_State) String() string {
    86  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    87  }
    88  
    89  func (Lifecycle_State) Descriptor() protoreflect.EnumDescriptor {
    90  	return file_google_apps_drive_labels_v2_common_proto_enumTypes[0].Descriptor()
    91  }
    92  
    93  func (Lifecycle_State) Type() protoreflect.EnumType {
    94  	return &file_google_apps_drive_labels_v2_common_proto_enumTypes[0]
    95  }
    96  
    97  func (x Lifecycle_State) Number() protoreflect.EnumNumber {
    98  	return protoreflect.EnumNumber(x)
    99  }
   100  
   101  // Deprecated: Use Lifecycle_State.Descriptor instead.
   102  func (Lifecycle_State) EnumDescriptor() ([]byte, []int) {
   103  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{0, 0}
   104  }
   105  
   106  // The lifecycle state of an object, such as label, field, or choice. The
   107  // lifecycle enforces the following transitions:
   108  //
   109  // * `UNPUBLISHED_DRAFT` (starting state)
   110  // * `UNPUBLISHED_DRAFT` -> `PUBLISHED`
   111  // * `UNPUBLISHED_DRAFT` -> (Deleted)
   112  // * `PUBLISHED` -> `DISABLED`
   113  // * `DISABLED` -> `PUBLISHED`
   114  // * `DISABLED` -> (Deleted)
   115  //
   116  // The published and disabled states have some distinct characteristics:
   117  //
   118  //   - Published—Some kinds of changes might be made to an object in this state,
   119  //     in which case `has_unpublished_changes` will be true. Also, some kinds of
   120  //     changes are not permitted. Generally, any change that would invalidate or
   121  //     cause new restrictions on existing metadata related to the label are
   122  //     rejected.
   123  //   - Disabled—When disabled, the configured `DisabledPolicy` takes effect.
   124  type Lifecycle struct {
   125  	state         protoimpl.MessageState
   126  	sizeCache     protoimpl.SizeCache
   127  	unknownFields protoimpl.UnknownFields
   128  
   129  	// Output only. The state of the object associated with this lifecycle.
   130  	State Lifecycle_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.apps.drive.labels.v2.Lifecycle_State" json:"state,omitempty"`
   131  	// Output only. Whether the object associated with this lifecycle has
   132  	// unpublished changes.
   133  	HasUnpublishedChanges bool `protobuf:"varint,2,opt,name=has_unpublished_changes,json=hasUnpublishedChanges,proto3" json:"has_unpublished_changes,omitempty"`
   134  	// The policy that governs how to show a disabled label, field, or selection
   135  	// choice.
   136  	DisabledPolicy *Lifecycle_DisabledPolicy `protobuf:"bytes,3,opt,name=disabled_policy,json=disabledPolicy,proto3" json:"disabled_policy,omitempty"`
   137  }
   138  
   139  func (x *Lifecycle) Reset() {
   140  	*x = Lifecycle{}
   141  	if protoimpl.UnsafeEnabled {
   142  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[0]
   143  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   144  		ms.StoreMessageInfo(mi)
   145  	}
   146  }
   147  
   148  func (x *Lifecycle) String() string {
   149  	return protoimpl.X.MessageStringOf(x)
   150  }
   151  
   152  func (*Lifecycle) ProtoMessage() {}
   153  
   154  func (x *Lifecycle) ProtoReflect() protoreflect.Message {
   155  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[0]
   156  	if protoimpl.UnsafeEnabled && x != nil {
   157  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   158  		if ms.LoadMessageInfo() == nil {
   159  			ms.StoreMessageInfo(mi)
   160  		}
   161  		return ms
   162  	}
   163  	return mi.MessageOf(x)
   164  }
   165  
   166  // Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.
   167  func (*Lifecycle) Descriptor() ([]byte, []int) {
   168  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{0}
   169  }
   170  
   171  func (x *Lifecycle) GetState() Lifecycle_State {
   172  	if x != nil {
   173  		return x.State
   174  	}
   175  	return Lifecycle_STATE_UNSPECIFIED
   176  }
   177  
   178  func (x *Lifecycle) GetHasUnpublishedChanges() bool {
   179  	if x != nil {
   180  		return x.HasUnpublishedChanges
   181  	}
   182  	return false
   183  }
   184  
   185  func (x *Lifecycle) GetDisabledPolicy() *Lifecycle_DisabledPolicy {
   186  	if x != nil {
   187  		return x.DisabledPolicy
   188  	}
   189  	return nil
   190  }
   191  
   192  // Information about a user.
   193  type UserInfo struct {
   194  	state         protoimpl.MessageState
   195  	sizeCache     protoimpl.SizeCache
   196  	unknownFields protoimpl.UnknownFields
   197  
   198  	// The identifier for this user that can be used with the People API to get
   199  	// more information.
   200  	// For example, people/12345678.
   201  	Person string `protobuf:"bytes,1,opt,name=person,proto3" json:"person,omitempty"`
   202  }
   203  
   204  func (x *UserInfo) Reset() {
   205  	*x = UserInfo{}
   206  	if protoimpl.UnsafeEnabled {
   207  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[1]
   208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   209  		ms.StoreMessageInfo(mi)
   210  	}
   211  }
   212  
   213  func (x *UserInfo) String() string {
   214  	return protoimpl.X.MessageStringOf(x)
   215  }
   216  
   217  func (*UserInfo) ProtoMessage() {}
   218  
   219  func (x *UserInfo) ProtoReflect() protoreflect.Message {
   220  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[1]
   221  	if protoimpl.UnsafeEnabled && x != nil {
   222  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   223  		if ms.LoadMessageInfo() == nil {
   224  			ms.StoreMessageInfo(mi)
   225  		}
   226  		return ms
   227  	}
   228  	return mi.MessageOf(x)
   229  }
   230  
   231  // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
   232  func (*UserInfo) Descriptor() ([]byte, []int) {
   233  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{1}
   234  }
   235  
   236  func (x *UserInfo) GetPerson() string {
   237  	if x != nil {
   238  		return x.Person
   239  	}
   240  	return ""
   241  }
   242  
   243  // Badge status of the label.
   244  type BadgeConfig struct {
   245  	state         protoimpl.MessageState
   246  	sizeCache     protoimpl.SizeCache
   247  	unknownFields protoimpl.UnknownFields
   248  
   249  	// The color of the badge. When not specified, no badge is rendered.
   250  	// The background, foreground, and solo (light and dark mode) colors set here
   251  	// are changed in the Drive UI into the closest recommended supported color.
   252  	Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
   253  	// Override the default global priority of this badge.
   254  	// When set to 0, the default priority heuristic is used.
   255  	PriorityOverride int64 `protobuf:"varint,2,opt,name=priority_override,json=priorityOverride,proto3" json:"priority_override,omitempty"`
   256  }
   257  
   258  func (x *BadgeConfig) Reset() {
   259  	*x = BadgeConfig{}
   260  	if protoimpl.UnsafeEnabled {
   261  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[2]
   262  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   263  		ms.StoreMessageInfo(mi)
   264  	}
   265  }
   266  
   267  func (x *BadgeConfig) String() string {
   268  	return protoimpl.X.MessageStringOf(x)
   269  }
   270  
   271  func (*BadgeConfig) ProtoMessage() {}
   272  
   273  func (x *BadgeConfig) ProtoReflect() protoreflect.Message {
   274  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[2]
   275  	if protoimpl.UnsafeEnabled && x != nil {
   276  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   277  		if ms.LoadMessageInfo() == nil {
   278  			ms.StoreMessageInfo(mi)
   279  		}
   280  		return ms
   281  	}
   282  	return mi.MessageOf(x)
   283  }
   284  
   285  // Deprecated: Use BadgeConfig.ProtoReflect.Descriptor instead.
   286  func (*BadgeConfig) Descriptor() ([]byte, []int) {
   287  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{2}
   288  }
   289  
   290  func (x *BadgeConfig) GetColor() *color.Color {
   291  	if x != nil {
   292  		return x.Color
   293  	}
   294  	return nil
   295  }
   296  
   297  func (x *BadgeConfig) GetPriorityOverride() int64 {
   298  	if x != nil {
   299  		return x.PriorityOverride
   300  	}
   301  	return 0
   302  }
   303  
   304  // The color derived from BadgeConfig and changed to the closest recommended
   305  // supported color.
   306  type BadgeColors struct {
   307  	state         protoimpl.MessageState
   308  	sizeCache     protoimpl.SizeCache
   309  	unknownFields protoimpl.UnknownFields
   310  
   311  	// Output only. Badge background that pairs with the foreground.
   312  	BackgroundColor *color.Color `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
   313  	// Output only. Badge foreground that pairs with the background.
   314  	ForegroundColor *color.Color `protobuf:"bytes,2,opt,name=foreground_color,json=foregroundColor,proto3" json:"foreground_color,omitempty"`
   315  	// Output only. Color that can be used for text without a background.
   316  	SoloColor *color.Color `protobuf:"bytes,3,opt,name=solo_color,json=soloColor,proto3" json:"solo_color,omitempty"`
   317  }
   318  
   319  func (x *BadgeColors) Reset() {
   320  	*x = BadgeColors{}
   321  	if protoimpl.UnsafeEnabled {
   322  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[3]
   323  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   324  		ms.StoreMessageInfo(mi)
   325  	}
   326  }
   327  
   328  func (x *BadgeColors) String() string {
   329  	return protoimpl.X.MessageStringOf(x)
   330  }
   331  
   332  func (*BadgeColors) ProtoMessage() {}
   333  
   334  func (x *BadgeColors) ProtoReflect() protoreflect.Message {
   335  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[3]
   336  	if protoimpl.UnsafeEnabled && x != nil {
   337  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   338  		if ms.LoadMessageInfo() == nil {
   339  			ms.StoreMessageInfo(mi)
   340  		}
   341  		return ms
   342  	}
   343  	return mi.MessageOf(x)
   344  }
   345  
   346  // Deprecated: Use BadgeColors.ProtoReflect.Descriptor instead.
   347  func (*BadgeColors) Descriptor() ([]byte, []int) {
   348  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{3}
   349  }
   350  
   351  func (x *BadgeColors) GetBackgroundColor() *color.Color {
   352  	if x != nil {
   353  		return x.BackgroundColor
   354  	}
   355  	return nil
   356  }
   357  
   358  func (x *BadgeColors) GetForegroundColor() *color.Color {
   359  	if x != nil {
   360  		return x.ForegroundColor
   361  	}
   362  	return nil
   363  }
   364  
   365  func (x *BadgeColors) GetSoloColor() *color.Color {
   366  	if x != nil {
   367  		return x.SoloColor
   368  	}
   369  	return nil
   370  }
   371  
   372  // Contains information about whether a label component should be considered
   373  // locked.
   374  type LockStatus struct {
   375  	state         protoimpl.MessageState
   376  	sizeCache     protoimpl.SizeCache
   377  	unknownFields protoimpl.UnknownFields
   378  
   379  	// Output only. Indicates whether this label component is the (direct) target
   380  	// of a LabelLock.  A label component can be implicitly locked even if it's
   381  	// not the direct target of a LabelLock, in which case this field is set to
   382  	// false.
   383  	Locked bool `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
   384  }
   385  
   386  func (x *LockStatus) Reset() {
   387  	*x = LockStatus{}
   388  	if protoimpl.UnsafeEnabled {
   389  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[4]
   390  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   391  		ms.StoreMessageInfo(mi)
   392  	}
   393  }
   394  
   395  func (x *LockStatus) String() string {
   396  	return protoimpl.X.MessageStringOf(x)
   397  }
   398  
   399  func (*LockStatus) ProtoMessage() {}
   400  
   401  func (x *LockStatus) ProtoReflect() protoreflect.Message {
   402  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[4]
   403  	if protoimpl.UnsafeEnabled && x != nil {
   404  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   405  		if ms.LoadMessageInfo() == nil {
   406  			ms.StoreMessageInfo(mi)
   407  		}
   408  		return ms
   409  	}
   410  	return mi.MessageOf(x)
   411  }
   412  
   413  // Deprecated: Use LockStatus.ProtoReflect.Descriptor instead.
   414  func (*LockStatus) Descriptor() ([]byte, []int) {
   415  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{4}
   416  }
   417  
   418  func (x *LockStatus) GetLocked() bool {
   419  	if x != nil {
   420  		return x.Locked
   421  	}
   422  	return false
   423  }
   424  
   425  // The policy that governs how to treat a disabled label, field, or selection
   426  // choice in different contexts.
   427  type Lifecycle_DisabledPolicy struct {
   428  	state         protoimpl.MessageState
   429  	sizeCache     protoimpl.SizeCache
   430  	unknownFields protoimpl.UnknownFields
   431  
   432  	// Whether to hide this disabled object in the search menu for Drive items.
   433  	//
   434  	// * When `false`, the object is generally shown in the UI as disabled but
   435  	// it appears in the search results when searching for Drive items.
   436  	//   - When `true`, the object is generally hidden in the UI when
   437  	//     searching for Drive items.
   438  	HideInSearch bool `protobuf:"varint,1,opt,name=hide_in_search,json=hideInSearch,proto3" json:"hide_in_search,omitempty"`
   439  	// Whether to show this disabled object in the apply menu on Drive items.
   440  	//
   441  	//   - When `true`, the object is generally shown in the UI as disabled
   442  	//     and is unselectable.
   443  	//   - When `false`, the object is generally hidden in the UI.
   444  	ShowInApply bool `protobuf:"varint,2,opt,name=show_in_apply,json=showInApply,proto3" json:"show_in_apply,omitempty"`
   445  }
   446  
   447  func (x *Lifecycle_DisabledPolicy) Reset() {
   448  	*x = Lifecycle_DisabledPolicy{}
   449  	if protoimpl.UnsafeEnabled {
   450  		mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[5]
   451  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   452  		ms.StoreMessageInfo(mi)
   453  	}
   454  }
   455  
   456  func (x *Lifecycle_DisabledPolicy) String() string {
   457  	return protoimpl.X.MessageStringOf(x)
   458  }
   459  
   460  func (*Lifecycle_DisabledPolicy) ProtoMessage() {}
   461  
   462  func (x *Lifecycle_DisabledPolicy) ProtoReflect() protoreflect.Message {
   463  	mi := &file_google_apps_drive_labels_v2_common_proto_msgTypes[5]
   464  	if protoimpl.UnsafeEnabled && x != nil {
   465  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   466  		if ms.LoadMessageInfo() == nil {
   467  			ms.StoreMessageInfo(mi)
   468  		}
   469  		return ms
   470  	}
   471  	return mi.MessageOf(x)
   472  }
   473  
   474  // Deprecated: Use Lifecycle_DisabledPolicy.ProtoReflect.Descriptor instead.
   475  func (*Lifecycle_DisabledPolicy) Descriptor() ([]byte, []int) {
   476  	return file_google_apps_drive_labels_v2_common_proto_rawDescGZIP(), []int{0, 0}
   477  }
   478  
   479  func (x *Lifecycle_DisabledPolicy) GetHideInSearch() bool {
   480  	if x != nil {
   481  		return x.HideInSearch
   482  	}
   483  	return false
   484  }
   485  
   486  func (x *Lifecycle_DisabledPolicy) GetShowInApply() bool {
   487  	if x != nil {
   488  		return x.ShowInApply
   489  	}
   490  	return false
   491  }
   492  
   493  var File_google_apps_drive_labels_v2_common_proto protoreflect.FileDescriptor
   494  
   495  var file_google_apps_drive_labels_v2_common_proto_rawDesc = []byte{
   496  	0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
   497  	0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f,
   498  	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
   499  	0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
   500  	0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   501  	0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
   502  	0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   503  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
   504  	0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65,
   505  	0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x03, 0x0a,
   506  	0x09, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74,
   507  	0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   508  	0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
   509  	0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c,
   510  	0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74,
   511  	0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x17, 0x68, 0x61, 0x73, 0x5f, 0x75, 0x6e, 0x70, 0x75, 0x62,
   512  	0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02,
   513  	0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x68, 0x61, 0x73, 0x55, 0x6e,
   514  	0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73,
   515  	0x12, 0x5e, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6c,
   516  	0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   517  	0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
   518  	0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c,
   519  	0x65, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   520  	0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   521  	0x1a, 0x5a, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69,
   522  	0x63, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65,
   523  	0x61, 0x72, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x69, 0x64, 0x65,
   524  	0x49, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x77,
   525  	0x5f, 0x69, 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
   526  	0x0b, 0x73, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x22, 0x5f, 0x0a, 0x05,
   527  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
   528  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11,
   529  	0x55, 0x4e, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x44, 0x52, 0x41, 0x46,
   530  	0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44,
   531  	0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x03,
   532  	0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 0x22, 0x45, 0x0a,
   533  	0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x65, 0x72,
   534  	0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x41, 0x1e, 0x0a, 0x1c,
   535  	0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
   536  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65,
   537  	0x72, 0x73, 0x6f, 0x6e, 0x22, 0x64, 0x0a, 0x0b, 0x42, 0x61, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e,
   538  	0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
   539  	0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65,
   540  	0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x2b, 0x0a,
   541  	0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
   542  	0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
   543  	0x74, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x0b, 0x42,
   544  	0x61, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x12, 0x42, 0x0a, 0x10, 0x62, 0x61,
   545  	0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01,
   546  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79,
   547  	0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x62,
   548  	0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x42,
   549  	0x0a, 0x10, 0x66, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c,
   550  	0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   551  	0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41,
   552  	0x03, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c,
   553  	0x6f, 0x72, 0x12, 0x36, 0x0a, 0x0a, 0x73, 0x6f, 0x6c, 0x6f, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
   554  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   555  	0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   556  	0x09, 0x73, 0x6f, 0x6c, 0x6f, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x0a, 0x4c, 0x6f,
   557  	0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x6b,
   558  	0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6c,
   559  	0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0xad, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   560  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
   561  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
   562  	0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   563  	0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
   564  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
   565  	0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c,
   566  	0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c,
   567  	0x42, 0x4c, 0xea, 0x41, 0x30, 0x0a, 0x1c, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   568  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x65, 0x72,
   569  	0x73, 0x6f, 0x6e, 0x12, 0x10, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x65,
   570  	0x72, 0x73, 0x6f, 0x6e, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   571  }
   572  
   573  var (
   574  	file_google_apps_drive_labels_v2_common_proto_rawDescOnce sync.Once
   575  	file_google_apps_drive_labels_v2_common_proto_rawDescData = file_google_apps_drive_labels_v2_common_proto_rawDesc
   576  )
   577  
   578  func file_google_apps_drive_labels_v2_common_proto_rawDescGZIP() []byte {
   579  	file_google_apps_drive_labels_v2_common_proto_rawDescOnce.Do(func() {
   580  		file_google_apps_drive_labels_v2_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2_common_proto_rawDescData)
   581  	})
   582  	return file_google_apps_drive_labels_v2_common_proto_rawDescData
   583  }
   584  
   585  var file_google_apps_drive_labels_v2_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   586  var file_google_apps_drive_labels_v2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   587  var file_google_apps_drive_labels_v2_common_proto_goTypes = []interface{}{
   588  	(Lifecycle_State)(0),             // 0: google.apps.drive.labels.v2.Lifecycle.State
   589  	(*Lifecycle)(nil),                // 1: google.apps.drive.labels.v2.Lifecycle
   590  	(*UserInfo)(nil),                 // 2: google.apps.drive.labels.v2.UserInfo
   591  	(*BadgeConfig)(nil),              // 3: google.apps.drive.labels.v2.BadgeConfig
   592  	(*BadgeColors)(nil),              // 4: google.apps.drive.labels.v2.BadgeColors
   593  	(*LockStatus)(nil),               // 5: google.apps.drive.labels.v2.LockStatus
   594  	(*Lifecycle_DisabledPolicy)(nil), // 6: google.apps.drive.labels.v2.Lifecycle.DisabledPolicy
   595  	(*color.Color)(nil),              // 7: google.type.Color
   596  }
   597  var file_google_apps_drive_labels_v2_common_proto_depIdxs = []int32{
   598  	0, // 0: google.apps.drive.labels.v2.Lifecycle.state:type_name -> google.apps.drive.labels.v2.Lifecycle.State
   599  	6, // 1: google.apps.drive.labels.v2.Lifecycle.disabled_policy:type_name -> google.apps.drive.labels.v2.Lifecycle.DisabledPolicy
   600  	7, // 2: google.apps.drive.labels.v2.BadgeConfig.color:type_name -> google.type.Color
   601  	7, // 3: google.apps.drive.labels.v2.BadgeColors.background_color:type_name -> google.type.Color
   602  	7, // 4: google.apps.drive.labels.v2.BadgeColors.foreground_color:type_name -> google.type.Color
   603  	7, // 5: google.apps.drive.labels.v2.BadgeColors.solo_color:type_name -> google.type.Color
   604  	6, // [6:6] is the sub-list for method output_type
   605  	6, // [6:6] is the sub-list for method input_type
   606  	6, // [6:6] is the sub-list for extension type_name
   607  	6, // [6:6] is the sub-list for extension extendee
   608  	0, // [0:6] is the sub-list for field type_name
   609  }
   610  
   611  func init() { file_google_apps_drive_labels_v2_common_proto_init() }
   612  func file_google_apps_drive_labels_v2_common_proto_init() {
   613  	if File_google_apps_drive_labels_v2_common_proto != nil {
   614  		return
   615  	}
   616  	if !protoimpl.UnsafeEnabled {
   617  		file_google_apps_drive_labels_v2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   618  			switch v := v.(*Lifecycle); i {
   619  			case 0:
   620  				return &v.state
   621  			case 1:
   622  				return &v.sizeCache
   623  			case 2:
   624  				return &v.unknownFields
   625  			default:
   626  				return nil
   627  			}
   628  		}
   629  		file_google_apps_drive_labels_v2_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   630  			switch v := v.(*UserInfo); i {
   631  			case 0:
   632  				return &v.state
   633  			case 1:
   634  				return &v.sizeCache
   635  			case 2:
   636  				return &v.unknownFields
   637  			default:
   638  				return nil
   639  			}
   640  		}
   641  		file_google_apps_drive_labels_v2_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   642  			switch v := v.(*BadgeConfig); i {
   643  			case 0:
   644  				return &v.state
   645  			case 1:
   646  				return &v.sizeCache
   647  			case 2:
   648  				return &v.unknownFields
   649  			default:
   650  				return nil
   651  			}
   652  		}
   653  		file_google_apps_drive_labels_v2_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   654  			switch v := v.(*BadgeColors); i {
   655  			case 0:
   656  				return &v.state
   657  			case 1:
   658  				return &v.sizeCache
   659  			case 2:
   660  				return &v.unknownFields
   661  			default:
   662  				return nil
   663  			}
   664  		}
   665  		file_google_apps_drive_labels_v2_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   666  			switch v := v.(*LockStatus); i {
   667  			case 0:
   668  				return &v.state
   669  			case 1:
   670  				return &v.sizeCache
   671  			case 2:
   672  				return &v.unknownFields
   673  			default:
   674  				return nil
   675  			}
   676  		}
   677  		file_google_apps_drive_labels_v2_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   678  			switch v := v.(*Lifecycle_DisabledPolicy); i {
   679  			case 0:
   680  				return &v.state
   681  			case 1:
   682  				return &v.sizeCache
   683  			case 2:
   684  				return &v.unknownFields
   685  			default:
   686  				return nil
   687  			}
   688  		}
   689  	}
   690  	type x struct{}
   691  	out := protoimpl.TypeBuilder{
   692  		File: protoimpl.DescBuilder{
   693  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   694  			RawDescriptor: file_google_apps_drive_labels_v2_common_proto_rawDesc,
   695  			NumEnums:      1,
   696  			NumMessages:   6,
   697  			NumExtensions: 0,
   698  			NumServices:   0,
   699  		},
   700  		GoTypes:           file_google_apps_drive_labels_v2_common_proto_goTypes,
   701  		DependencyIndexes: file_google_apps_drive_labels_v2_common_proto_depIdxs,
   702  		EnumInfos:         file_google_apps_drive_labels_v2_common_proto_enumTypes,
   703  		MessageInfos:      file_google_apps_drive_labels_v2_common_proto_msgTypes,
   704  	}.Build()
   705  	File_google_apps_drive_labels_v2_common_proto = out.File
   706  	file_google_apps_drive_labels_v2_common_proto_rawDesc = nil
   707  	file_google_apps_drive_labels_v2_common_proto_goTypes = nil
   708  	file_google_apps_drive_labels_v2_common_proto_depIdxs = nil
   709  }
   710  

View as plain text