...

Source file src/google.golang.org/genproto/googleapis/apps/drive/labels/v2beta/label_lock.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/label_lock.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  // A description of a LabelLock's state.
    41  type LabelLock_State int32
    42  
    43  const (
    44  	// Unknown state.
    45  	LabelLock_STATE_UNSPECIFIED LabelLock_State = 0
    46  	// The LabelLock is active and is being enforced by the server.
    47  	LabelLock_ACTIVE LabelLock_State = 1
    48  	// The LabelLock is being deleted.  The LabelLock will continue to be
    49  	// enforced by the server until it has been fully removed.
    50  	LabelLock_DELETING LabelLock_State = 2
    51  )
    52  
    53  // Enum value maps for LabelLock_State.
    54  var (
    55  	LabelLock_State_name = map[int32]string{
    56  		0: "STATE_UNSPECIFIED",
    57  		1: "ACTIVE",
    58  		2: "DELETING",
    59  	}
    60  	LabelLock_State_value = map[string]int32{
    61  		"STATE_UNSPECIFIED": 0,
    62  		"ACTIVE":            1,
    63  		"DELETING":          2,
    64  	}
    65  )
    66  
    67  func (x LabelLock_State) Enum() *LabelLock_State {
    68  	p := new(LabelLock_State)
    69  	*p = x
    70  	return p
    71  }
    72  
    73  func (x LabelLock_State) String() string {
    74  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    75  }
    76  
    77  func (LabelLock_State) Descriptor() protoreflect.EnumDescriptor {
    78  	return file_google_apps_drive_labels_v2beta_label_lock_proto_enumTypes[0].Descriptor()
    79  }
    80  
    81  func (LabelLock_State) Type() protoreflect.EnumType {
    82  	return &file_google_apps_drive_labels_v2beta_label_lock_proto_enumTypes[0]
    83  }
    84  
    85  func (x LabelLock_State) Number() protoreflect.EnumNumber {
    86  	return protoreflect.EnumNumber(x)
    87  }
    88  
    89  // Deprecated: Use LabelLock_State.Descriptor instead.
    90  func (LabelLock_State) EnumDescriptor() ([]byte, []int) {
    91  	return file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescGZIP(), []int{0, 0}
    92  }
    93  
    94  // A Lock that can be applied to a Label, Field, or Choice.
    95  type LabelLock struct {
    96  	state         protoimpl.MessageState
    97  	sizeCache     protoimpl.SizeCache
    98  	unknownFields protoimpl.UnknownFields
    99  
   100  	// Output only. Resource name of this LabelLock.
   101  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   102  	// The ID of the Field that should be locked.  Empty if the whole
   103  	// Label should be locked.
   104  	FieldId string `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
   105  	// The ID of the Selection Field Choice that should be locked.  If present,
   106  	// `field_id` must also be present.
   107  	ChoiceId string `protobuf:"bytes,3,opt,name=choice_id,json=choiceId,proto3" json:"choice_id,omitempty"`
   108  	// Output only. The time this LabelLock was created.
   109  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   110  	// Output only. The user whose credentials were used to create the LabelLock.
   111  	// This will not be present if no user was responsible for creating the
   112  	// LabelLock.
   113  	Creator *UserInfo `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
   114  	// Output only. A timestamp indicating when this LabelLock was scheduled for
   115  	// deletion. This will be present only if this LabelLock is in the DELETING
   116  	// state.
   117  	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
   118  	// Output only. The user's capabilities on this LabelLock.
   119  	Capabilities *LabelLock_Capabilities `protobuf:"bytes,8,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
   120  	// Output only. This LabelLock's state.
   121  	State LabelLock_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.apps.drive.labels.v2beta.LabelLock_State" json:"state,omitempty"`
   122  }
   123  
   124  func (x *LabelLock) Reset() {
   125  	*x = LabelLock{}
   126  	if protoimpl.UnsafeEnabled {
   127  		mi := &file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[0]
   128  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   129  		ms.StoreMessageInfo(mi)
   130  	}
   131  }
   132  
   133  func (x *LabelLock) String() string {
   134  	return protoimpl.X.MessageStringOf(x)
   135  }
   136  
   137  func (*LabelLock) ProtoMessage() {}
   138  
   139  func (x *LabelLock) ProtoReflect() protoreflect.Message {
   140  	mi := &file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[0]
   141  	if protoimpl.UnsafeEnabled && x != nil {
   142  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   143  		if ms.LoadMessageInfo() == nil {
   144  			ms.StoreMessageInfo(mi)
   145  		}
   146  		return ms
   147  	}
   148  	return mi.MessageOf(x)
   149  }
   150  
   151  // Deprecated: Use LabelLock.ProtoReflect.Descriptor instead.
   152  func (*LabelLock) Descriptor() ([]byte, []int) {
   153  	return file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescGZIP(), []int{0}
   154  }
   155  
   156  func (x *LabelLock) GetName() string {
   157  	if x != nil {
   158  		return x.Name
   159  	}
   160  	return ""
   161  }
   162  
   163  func (x *LabelLock) GetFieldId() string {
   164  	if x != nil {
   165  		return x.FieldId
   166  	}
   167  	return ""
   168  }
   169  
   170  func (x *LabelLock) GetChoiceId() string {
   171  	if x != nil {
   172  		return x.ChoiceId
   173  	}
   174  	return ""
   175  }
   176  
   177  func (x *LabelLock) GetCreateTime() *timestamppb.Timestamp {
   178  	if x != nil {
   179  		return x.CreateTime
   180  	}
   181  	return nil
   182  }
   183  
   184  func (x *LabelLock) GetCreator() *UserInfo {
   185  	if x != nil {
   186  		return x.Creator
   187  	}
   188  	return nil
   189  }
   190  
   191  func (x *LabelLock) GetDeleteTime() *timestamppb.Timestamp {
   192  	if x != nil {
   193  		return x.DeleteTime
   194  	}
   195  	return nil
   196  }
   197  
   198  func (x *LabelLock) GetCapabilities() *LabelLock_Capabilities {
   199  	if x != nil {
   200  		return x.Capabilities
   201  	}
   202  	return nil
   203  }
   204  
   205  func (x *LabelLock) GetState() LabelLock_State {
   206  	if x != nil {
   207  		return x.State
   208  	}
   209  	return LabelLock_STATE_UNSPECIFIED
   210  }
   211  
   212  // A description of a user's capabilities on a LabelLock.
   213  type LabelLock_Capabilities struct {
   214  	state         protoimpl.MessageState
   215  	sizeCache     protoimpl.SizeCache
   216  	unknownFields protoimpl.UnknownFields
   217  
   218  	// True if the user is authorized to view the policy.
   219  	CanViewPolicy bool `protobuf:"varint,1,opt,name=can_view_policy,json=canViewPolicy,proto3" json:"can_view_policy,omitempty"`
   220  }
   221  
   222  func (x *LabelLock_Capabilities) Reset() {
   223  	*x = LabelLock_Capabilities{}
   224  	if protoimpl.UnsafeEnabled {
   225  		mi := &file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[1]
   226  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   227  		ms.StoreMessageInfo(mi)
   228  	}
   229  }
   230  
   231  func (x *LabelLock_Capabilities) String() string {
   232  	return protoimpl.X.MessageStringOf(x)
   233  }
   234  
   235  func (*LabelLock_Capabilities) ProtoMessage() {}
   236  
   237  func (x *LabelLock_Capabilities) ProtoReflect() protoreflect.Message {
   238  	mi := &file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[1]
   239  	if protoimpl.UnsafeEnabled && x != nil {
   240  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   241  		if ms.LoadMessageInfo() == nil {
   242  			ms.StoreMessageInfo(mi)
   243  		}
   244  		return ms
   245  	}
   246  	return mi.MessageOf(x)
   247  }
   248  
   249  // Deprecated: Use LabelLock_Capabilities.ProtoReflect.Descriptor instead.
   250  func (*LabelLock_Capabilities) Descriptor() ([]byte, []int) {
   251  	return file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescGZIP(), []int{0, 0}
   252  }
   253  
   254  func (x *LabelLock_Capabilities) GetCanViewPolicy() bool {
   255  	if x != nil {
   256  		return x.CanViewPolicy
   257  	}
   258  	return false
   259  }
   260  
   261  var File_google_apps_drive_labels_v2beta_label_lock_proto protoreflect.FileDescriptor
   262  
   263  var file_google_apps_drive_labels_v2beta_label_lock_proto_rawDesc = []byte{
   264  	0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
   265  	0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
   266  	0x61, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
   267  	0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   268  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62,
   269  	0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
   270  	0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
   271  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
   272  	0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   273  	0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69,
   274  	0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
   275  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
   276  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
   277  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93,
   278  	0x05, 0x0a, 0x09, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x04,
   279  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   280  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69,
   281  	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64,
   282  	0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
   283  	0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a,
   284  	0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
   285  	0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   286  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
   287  	0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
   288  	0x48, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
   289  	0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
   290  	0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
   291  	0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03,
   292  	0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c,
   293  	0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   294  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   295  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   296  	0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x60, 0x0a, 0x0c, 0x63,
   297  	0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
   298  	0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   299  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62,
   300  	0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x2e, 0x43, 0x61,
   301  	0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   302  	0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4b, 0x0a,
   303  	0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67,
   304  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65,
   305  	0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c,
   306  	0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03,
   307  	0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x36, 0x0a, 0x0c, 0x43, 0x61,
   308  	0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61,
   309  	0x6e, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20,
   310  	0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x50, 0x6f, 0x6c, 0x69,
   311  	0x63, 0x79, 0x22, 0x38, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53,
   312  	0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
   313  	0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c,
   314  	0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x3a, 0x46, 0xea, 0x41,
   315  	0x43, 0x0a, 0x24, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x67,
   316  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61,
   317  	0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x1b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f,
   318  	0x7b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x7b, 0x6c,
   319  	0x6f, 0x63, 0x6b, 0x7d, 0x42, 0x85, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
   320  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c,
   321  	0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0e, 0x4c, 0x61,
   322  	0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45,
   323  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   324  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   325  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65,
   326  	0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6c,
   327  	0x61, 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, 0x42, 0x4c, 0x62, 0x06, 0x70, 0x72,
   328  	0x6f, 0x74, 0x6f, 0x33,
   329  }
   330  
   331  var (
   332  	file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescOnce sync.Once
   333  	file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescData = file_google_apps_drive_labels_v2beta_label_lock_proto_rawDesc
   334  )
   335  
   336  func file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescGZIP() []byte {
   337  	file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescOnce.Do(func() {
   338  		file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescData)
   339  	})
   340  	return file_google_apps_drive_labels_v2beta_label_lock_proto_rawDescData
   341  }
   342  
   343  var file_google_apps_drive_labels_v2beta_label_lock_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   344  var file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   345  var file_google_apps_drive_labels_v2beta_label_lock_proto_goTypes = []interface{}{
   346  	(LabelLock_State)(0),           // 0: google.apps.drive.labels.v2beta.LabelLock.State
   347  	(*LabelLock)(nil),              // 1: google.apps.drive.labels.v2beta.LabelLock
   348  	(*LabelLock_Capabilities)(nil), // 2: google.apps.drive.labels.v2beta.LabelLock.Capabilities
   349  	(*timestamppb.Timestamp)(nil),  // 3: google.protobuf.Timestamp
   350  	(*UserInfo)(nil),               // 4: google.apps.drive.labels.v2beta.UserInfo
   351  }
   352  var file_google_apps_drive_labels_v2beta_label_lock_proto_depIdxs = []int32{
   353  	3, // 0: google.apps.drive.labels.v2beta.LabelLock.create_time:type_name -> google.protobuf.Timestamp
   354  	4, // 1: google.apps.drive.labels.v2beta.LabelLock.creator:type_name -> google.apps.drive.labels.v2beta.UserInfo
   355  	3, // 2: google.apps.drive.labels.v2beta.LabelLock.delete_time:type_name -> google.protobuf.Timestamp
   356  	2, // 3: google.apps.drive.labels.v2beta.LabelLock.capabilities:type_name -> google.apps.drive.labels.v2beta.LabelLock.Capabilities
   357  	0, // 4: google.apps.drive.labels.v2beta.LabelLock.state:type_name -> google.apps.drive.labels.v2beta.LabelLock.State
   358  	5, // [5:5] is the sub-list for method output_type
   359  	5, // [5:5] is the sub-list for method input_type
   360  	5, // [5:5] is the sub-list for extension type_name
   361  	5, // [5:5] is the sub-list for extension extendee
   362  	0, // [0:5] is the sub-list for field type_name
   363  }
   364  
   365  func init() { file_google_apps_drive_labels_v2beta_label_lock_proto_init() }
   366  func file_google_apps_drive_labels_v2beta_label_lock_proto_init() {
   367  	if File_google_apps_drive_labels_v2beta_label_lock_proto != nil {
   368  		return
   369  	}
   370  	file_google_apps_drive_labels_v2beta_common_proto_init()
   371  	if !protoimpl.UnsafeEnabled {
   372  		file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   373  			switch v := v.(*LabelLock); i {
   374  			case 0:
   375  				return &v.state
   376  			case 1:
   377  				return &v.sizeCache
   378  			case 2:
   379  				return &v.unknownFields
   380  			default:
   381  				return nil
   382  			}
   383  		}
   384  		file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   385  			switch v := v.(*LabelLock_Capabilities); i {
   386  			case 0:
   387  				return &v.state
   388  			case 1:
   389  				return &v.sizeCache
   390  			case 2:
   391  				return &v.unknownFields
   392  			default:
   393  				return nil
   394  			}
   395  		}
   396  	}
   397  	type x struct{}
   398  	out := protoimpl.TypeBuilder{
   399  		File: protoimpl.DescBuilder{
   400  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   401  			RawDescriptor: file_google_apps_drive_labels_v2beta_label_lock_proto_rawDesc,
   402  			NumEnums:      1,
   403  			NumMessages:   2,
   404  			NumExtensions: 0,
   405  			NumServices:   0,
   406  		},
   407  		GoTypes:           file_google_apps_drive_labels_v2beta_label_lock_proto_goTypes,
   408  		DependencyIndexes: file_google_apps_drive_labels_v2beta_label_lock_proto_depIdxs,
   409  		EnumInfos:         file_google_apps_drive_labels_v2beta_label_lock_proto_enumTypes,
   410  		MessageInfos:      file_google_apps_drive_labels_v2beta_label_lock_proto_msgTypes,
   411  	}.Build()
   412  	File_google_apps_drive_labels_v2beta_label_lock_proto = out.File
   413  	file_google_apps_drive_labels_v2beta_label_lock_proto_rawDesc = nil
   414  	file_google_apps_drive_labels_v2beta_label_lock_proto_goTypes = nil
   415  	file_google_apps_drive_labels_v2beta_label_lock_proto_depIdxs = nil
   416  }
   417  

View as plain text