...

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

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

     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/v2beta/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_v2beta_common_proto_enumTypes[0].Descriptor()
    91  }
    92  
    93  func (Lifecycle_State) Type() protoreflect.EnumType {
    94  	return &file_google_apps_drive_labels_v2beta_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_v2beta_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.v2beta.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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_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_v2beta_common_proto protoreflect.FileDescriptor
   494  
   495  var file_google_apps_drive_labels_v2beta_common_proto_rawDesc = []byte{
   496  	0x0a, 0x2c, 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, 0x62, 0x65, 0x74,
   498  	0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f,
   499  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
   500  	0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a,
   501  	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
   502  	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   503  	0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
   504  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
   505  	0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70,
   506  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x03, 0x0a, 0x09, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63,
   507  	0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   508  	0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   509  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62,
   510  	0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x53, 0x74,
   511  	0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
   512  	0x3b, 0x0a, 0x17, 0x68, 0x61, 0x73, 0x5f, 0x75, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
   513  	0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
   514  	0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x68, 0x61, 0x73, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c,
   515  	0x69, 0x73, 0x68, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x0f,
   516  	0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,
   517  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   518  	0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   519  	0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c,
   520  	0x65, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   521  	0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   522  	0x1a, 0x5a, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69,
   523  	0x63, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65,
   524  	0x61, 0x72, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x69, 0x64, 0x65,
   525  	0x49, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x77,
   526  	0x5f, 0x69, 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
   527  	0x0b, 0x73, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x22, 0x5f, 0x0a, 0x05,
   528  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
   529  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11,
   530  	0x55, 0x4e, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x44, 0x52, 0x41, 0x46,
   531  	0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44,
   532  	0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x03,
   533  	0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 0x22, 0x45, 0x0a,
   534  	0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x65, 0x72,
   535  	0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x41, 0x1e, 0x0a, 0x1c,
   536  	0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
   537  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65,
   538  	0x72, 0x73, 0x6f, 0x6e, 0x22, 0x64, 0x0a, 0x0b, 0x42, 0x61, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e,
   539  	0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
   540  	0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65,
   541  	0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x2b, 0x0a,
   542  	0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
   543  	0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
   544  	0x74, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x0b, 0x42,
   545  	0x61, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x12, 0x42, 0x0a, 0x10, 0x62, 0x61,
   546  	0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01,
   547  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79,
   548  	0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x62,
   549  	0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x42,
   550  	0x0a, 0x10, 0x66, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c,
   551  	0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   552  	0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41,
   553  	0x03, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c,
   554  	0x6f, 0x72, 0x12, 0x36, 0x0a, 0x0a, 0x73, 0x6f, 0x6c, 0x6f, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
   555  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   556  	0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   557  	0x09, 0x73, 0x6f, 0x6c, 0x6f, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x0a, 0x4c, 0x6f,
   558  	0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x6b,
   559  	0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6c,
   560  	0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0xb5, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   561  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
   562  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0b, 0x43,
   563  	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f,
   564  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   565  	0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   566  	0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c,
   567  	0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6c, 0x61, 0x62,
   568  	0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, 0x42, 0x4c, 0xea, 0x41, 0x30, 0x0a, 0x1c, 0x70,
   569  	0x65, 0x6f, 0x70, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   570  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x70, 0x65, 0x72,
   571  	0x73, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x7d, 0x62, 0x06, 0x70,
   572  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   573  }
   574  
   575  var (
   576  	file_google_apps_drive_labels_v2beta_common_proto_rawDescOnce sync.Once
   577  	file_google_apps_drive_labels_v2beta_common_proto_rawDescData = file_google_apps_drive_labels_v2beta_common_proto_rawDesc
   578  )
   579  
   580  func file_google_apps_drive_labels_v2beta_common_proto_rawDescGZIP() []byte {
   581  	file_google_apps_drive_labels_v2beta_common_proto_rawDescOnce.Do(func() {
   582  		file_google_apps_drive_labels_v2beta_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2beta_common_proto_rawDescData)
   583  	})
   584  	return file_google_apps_drive_labels_v2beta_common_proto_rawDescData
   585  }
   586  
   587  var file_google_apps_drive_labels_v2beta_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   588  var file_google_apps_drive_labels_v2beta_common_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   589  var file_google_apps_drive_labels_v2beta_common_proto_goTypes = []interface{}{
   590  	(Lifecycle_State)(0),             // 0: google.apps.drive.labels.v2beta.Lifecycle.State
   591  	(*Lifecycle)(nil),                // 1: google.apps.drive.labels.v2beta.Lifecycle
   592  	(*UserInfo)(nil),                 // 2: google.apps.drive.labels.v2beta.UserInfo
   593  	(*BadgeConfig)(nil),              // 3: google.apps.drive.labels.v2beta.BadgeConfig
   594  	(*BadgeColors)(nil),              // 4: google.apps.drive.labels.v2beta.BadgeColors
   595  	(*LockStatus)(nil),               // 5: google.apps.drive.labels.v2beta.LockStatus
   596  	(*Lifecycle_DisabledPolicy)(nil), // 6: google.apps.drive.labels.v2beta.Lifecycle.DisabledPolicy
   597  	(*color.Color)(nil),              // 7: google.type.Color
   598  }
   599  var file_google_apps_drive_labels_v2beta_common_proto_depIdxs = []int32{
   600  	0, // 0: google.apps.drive.labels.v2beta.Lifecycle.state:type_name -> google.apps.drive.labels.v2beta.Lifecycle.State
   601  	6, // 1: google.apps.drive.labels.v2beta.Lifecycle.disabled_policy:type_name -> google.apps.drive.labels.v2beta.Lifecycle.DisabledPolicy
   602  	7, // 2: google.apps.drive.labels.v2beta.BadgeConfig.color:type_name -> google.type.Color
   603  	7, // 3: google.apps.drive.labels.v2beta.BadgeColors.background_color:type_name -> google.type.Color
   604  	7, // 4: google.apps.drive.labels.v2beta.BadgeColors.foreground_color:type_name -> google.type.Color
   605  	7, // 5: google.apps.drive.labels.v2beta.BadgeColors.solo_color:type_name -> google.type.Color
   606  	6, // [6:6] is the sub-list for method output_type
   607  	6, // [6:6] is the sub-list for method input_type
   608  	6, // [6:6] is the sub-list for extension type_name
   609  	6, // [6:6] is the sub-list for extension extendee
   610  	0, // [0:6] is the sub-list for field type_name
   611  }
   612  
   613  func init() { file_google_apps_drive_labels_v2beta_common_proto_init() }
   614  func file_google_apps_drive_labels_v2beta_common_proto_init() {
   615  	if File_google_apps_drive_labels_v2beta_common_proto != nil {
   616  		return
   617  	}
   618  	if !protoimpl.UnsafeEnabled {
   619  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   620  			switch v := v.(*Lifecycle); i {
   621  			case 0:
   622  				return &v.state
   623  			case 1:
   624  				return &v.sizeCache
   625  			case 2:
   626  				return &v.unknownFields
   627  			default:
   628  				return nil
   629  			}
   630  		}
   631  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   632  			switch v := v.(*UserInfo); i {
   633  			case 0:
   634  				return &v.state
   635  			case 1:
   636  				return &v.sizeCache
   637  			case 2:
   638  				return &v.unknownFields
   639  			default:
   640  				return nil
   641  			}
   642  		}
   643  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   644  			switch v := v.(*BadgeConfig); i {
   645  			case 0:
   646  				return &v.state
   647  			case 1:
   648  				return &v.sizeCache
   649  			case 2:
   650  				return &v.unknownFields
   651  			default:
   652  				return nil
   653  			}
   654  		}
   655  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   656  			switch v := v.(*BadgeColors); i {
   657  			case 0:
   658  				return &v.state
   659  			case 1:
   660  				return &v.sizeCache
   661  			case 2:
   662  				return &v.unknownFields
   663  			default:
   664  				return nil
   665  			}
   666  		}
   667  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   668  			switch v := v.(*LockStatus); i {
   669  			case 0:
   670  				return &v.state
   671  			case 1:
   672  				return &v.sizeCache
   673  			case 2:
   674  				return &v.unknownFields
   675  			default:
   676  				return nil
   677  			}
   678  		}
   679  		file_google_apps_drive_labels_v2beta_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   680  			switch v := v.(*Lifecycle_DisabledPolicy); i {
   681  			case 0:
   682  				return &v.state
   683  			case 1:
   684  				return &v.sizeCache
   685  			case 2:
   686  				return &v.unknownFields
   687  			default:
   688  				return nil
   689  			}
   690  		}
   691  	}
   692  	type x struct{}
   693  	out := protoimpl.TypeBuilder{
   694  		File: protoimpl.DescBuilder{
   695  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   696  			RawDescriptor: file_google_apps_drive_labels_v2beta_common_proto_rawDesc,
   697  			NumEnums:      1,
   698  			NumMessages:   6,
   699  			NumExtensions: 0,
   700  			NumServices:   0,
   701  		},
   702  		GoTypes:           file_google_apps_drive_labels_v2beta_common_proto_goTypes,
   703  		DependencyIndexes: file_google_apps_drive_labels_v2beta_common_proto_depIdxs,
   704  		EnumInfos:         file_google_apps_drive_labels_v2beta_common_proto_enumTypes,
   705  		MessageInfos:      file_google_apps_drive_labels_v2beta_common_proto_msgTypes,
   706  	}.Build()
   707  	File_google_apps_drive_labels_v2beta_common_proto = out.File
   708  	file_google_apps_drive_labels_v2beta_common_proto_rawDesc = nil
   709  	file_google_apps_drive_labels_v2beta_common_proto_goTypes = nil
   710  	file_google_apps_drive_labels_v2beta_common_proto_depIdxs = nil
   711  }
   712  

View as plain text