...

Source file src/google.golang.org/genproto/googleapis/apps/drive/labels/v2/label_lock.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/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_v2_label_lock_proto_enumTypes[0].Descriptor()
    79  }
    80  
    81  func (LabelLock_State) Type() protoreflect.EnumType {
    82  	return &file_google_apps_drive_labels_v2_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_v2_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.v2.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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_label_lock_proto protoreflect.FileDescriptor
   262  
   263  var file_google_apps_drive_labels_v2_label_lock_proto_rawDesc = []byte{
   264  	0x0a, 0x2c, 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, 0x2f, 0x6c, 0x61,
   266  	0x62, 0x65, 0x6c, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
   267  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
   268  	0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
   269  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
   270  	0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
   271  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   272  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   273  	0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c,
   274  	0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   275  	0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   276  	0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
   277  	0x74, 0x6f, 0x22, 0x87, 0x05, 0x0a, 0x09, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b,
   278  	0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
   279  	0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x65,
   280  	0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x65,
   281  	0x6c, 0x64, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x69,
   282  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x49,
   283  	0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
   284  	0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   285  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   286  	0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
   287  	0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05,
   288  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   289  	0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
   290  	0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03,
   291  	0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c,
   292  	0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   293  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   294  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   295  	0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x0c, 0x63,
   296  	0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
   297  	0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   298  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e,
   299  	0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69,
   300  	0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x61, 0x70,
   301  	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74, 0x61,
   302  	0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   303  	0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
   304  	0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b,
   305  	0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61,
   306  	0x74, 0x65, 0x1a, 0x36, 0x0a, 0x0c, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69,
   307  	0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x70,
   308  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e,
   309  	0x56, 0x69, 0x65, 0x77, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x38, 0x0a, 0x05, 0x53, 0x74,
   310  	0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53,
   311  	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43,
   312  	0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49,
   313  	0x4e, 0x47, 0x10, 0x02, 0x3a, 0x46, 0xea, 0x41, 0x43, 0x0a, 0x24, 0x64, 0x72, 0x69, 0x76, 0x65,
   314  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
   315  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x12,
   316  	0x1b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x7d, 0x2f,
   317  	0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x6b, 0x7d, 0x42, 0x7d, 0x0a, 0x1f,
   318  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   319  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x42,
   320  	0x0e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   321  	0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
   322  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
   323  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
   324  	0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6c, 0x61,
   325  	0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, 0x42, 0x4c, 0x62, 0x06, 0x70, 0x72, 0x6f,
   326  	0x74, 0x6f, 0x33,
   327  }
   328  
   329  var (
   330  	file_google_apps_drive_labels_v2_label_lock_proto_rawDescOnce sync.Once
   331  	file_google_apps_drive_labels_v2_label_lock_proto_rawDescData = file_google_apps_drive_labels_v2_label_lock_proto_rawDesc
   332  )
   333  
   334  func file_google_apps_drive_labels_v2_label_lock_proto_rawDescGZIP() []byte {
   335  	file_google_apps_drive_labels_v2_label_lock_proto_rawDescOnce.Do(func() {
   336  		file_google_apps_drive_labels_v2_label_lock_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2_label_lock_proto_rawDescData)
   337  	})
   338  	return file_google_apps_drive_labels_v2_label_lock_proto_rawDescData
   339  }
   340  
   341  var file_google_apps_drive_labels_v2_label_lock_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   342  var file_google_apps_drive_labels_v2_label_lock_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   343  var file_google_apps_drive_labels_v2_label_lock_proto_goTypes = []interface{}{
   344  	(LabelLock_State)(0),           // 0: google.apps.drive.labels.v2.LabelLock.State
   345  	(*LabelLock)(nil),              // 1: google.apps.drive.labels.v2.LabelLock
   346  	(*LabelLock_Capabilities)(nil), // 2: google.apps.drive.labels.v2.LabelLock.Capabilities
   347  	(*timestamppb.Timestamp)(nil),  // 3: google.protobuf.Timestamp
   348  	(*UserInfo)(nil),               // 4: google.apps.drive.labels.v2.UserInfo
   349  }
   350  var file_google_apps_drive_labels_v2_label_lock_proto_depIdxs = []int32{
   351  	3, // 0: google.apps.drive.labels.v2.LabelLock.create_time:type_name -> google.protobuf.Timestamp
   352  	4, // 1: google.apps.drive.labels.v2.LabelLock.creator:type_name -> google.apps.drive.labels.v2.UserInfo
   353  	3, // 2: google.apps.drive.labels.v2.LabelLock.delete_time:type_name -> google.protobuf.Timestamp
   354  	2, // 3: google.apps.drive.labels.v2.LabelLock.capabilities:type_name -> google.apps.drive.labels.v2.LabelLock.Capabilities
   355  	0, // 4: google.apps.drive.labels.v2.LabelLock.state:type_name -> google.apps.drive.labels.v2.LabelLock.State
   356  	5, // [5:5] is the sub-list for method output_type
   357  	5, // [5:5] is the sub-list for method input_type
   358  	5, // [5:5] is the sub-list for extension type_name
   359  	5, // [5:5] is the sub-list for extension extendee
   360  	0, // [0:5] is the sub-list for field type_name
   361  }
   362  
   363  func init() { file_google_apps_drive_labels_v2_label_lock_proto_init() }
   364  func file_google_apps_drive_labels_v2_label_lock_proto_init() {
   365  	if File_google_apps_drive_labels_v2_label_lock_proto != nil {
   366  		return
   367  	}
   368  	file_google_apps_drive_labels_v2_common_proto_init()
   369  	if !protoimpl.UnsafeEnabled {
   370  		file_google_apps_drive_labels_v2_label_lock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   371  			switch v := v.(*LabelLock); i {
   372  			case 0:
   373  				return &v.state
   374  			case 1:
   375  				return &v.sizeCache
   376  			case 2:
   377  				return &v.unknownFields
   378  			default:
   379  				return nil
   380  			}
   381  		}
   382  		file_google_apps_drive_labels_v2_label_lock_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   383  			switch v := v.(*LabelLock_Capabilities); i {
   384  			case 0:
   385  				return &v.state
   386  			case 1:
   387  				return &v.sizeCache
   388  			case 2:
   389  				return &v.unknownFields
   390  			default:
   391  				return nil
   392  			}
   393  		}
   394  	}
   395  	type x struct{}
   396  	out := protoimpl.TypeBuilder{
   397  		File: protoimpl.DescBuilder{
   398  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   399  			RawDescriptor: file_google_apps_drive_labels_v2_label_lock_proto_rawDesc,
   400  			NumEnums:      1,
   401  			NumMessages:   2,
   402  			NumExtensions: 0,
   403  			NumServices:   0,
   404  		},
   405  		GoTypes:           file_google_apps_drive_labels_v2_label_lock_proto_goTypes,
   406  		DependencyIndexes: file_google_apps_drive_labels_v2_label_lock_proto_depIdxs,
   407  		EnumInfos:         file_google_apps_drive_labels_v2_label_lock_proto_enumTypes,
   408  		MessageInfos:      file_google_apps_drive_labels_v2_label_lock_proto_msgTypes,
   409  	}.Build()
   410  	File_google_apps_drive_labels_v2_label_lock_proto = out.File
   411  	file_google_apps_drive_labels_v2_label_lock_proto_rawDesc = nil
   412  	file_google_apps_drive_labels_v2_label_lock_proto_goTypes = nil
   413  	file_google_apps_drive_labels_v2_label_lock_proto_depIdxs = nil
   414  }
   415  

View as plain text