| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/apps/drive/labels/v2/label_limits.proto |
| 20 |
|
| 21 |
package labels |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
date "google.golang.org/genproto/googleapis/type/date" |
| 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 |
// Label constraints governing the structure of a Label; such as, the maximum |
| 41 |
// number of Fields allowed and maximum length of the label title. |
| 42 |
type LabelLimits struct { |
| 43 |
state protoimpl.MessageState |
| 44 |
sizeCache protoimpl.SizeCache |
| 45 |
unknownFields protoimpl.UnknownFields |
| 46 |
|
| 47 |
// Resource name. |
| 48 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 49 |
// The maximum number of characters allowed for the title. |
| 50 |
MaxTitleLength int32 `protobuf:"varint,2,opt,name=max_title_length,json=maxTitleLength,proto3" json:"max_title_length,omitempty"` |
| 51 |
// The maximum number of characters allowed for the description. |
| 52 |
MaxDescriptionLength int32 `protobuf:"varint,3,opt,name=max_description_length,json=maxDescriptionLength,proto3" json:"max_description_length,omitempty"` |
| 53 |
// The maximum number of Fields allowed within the label. |
| 54 |
MaxFields int32 `protobuf:"varint,4,opt,name=max_fields,json=maxFields,proto3" json:"max_fields,omitempty"` |
| 55 |
// The maximum number of published Fields that can be deleted. |
| 56 |
MaxDeletedFields int32 `protobuf:"varint,5,opt,name=max_deleted_fields,json=maxDeletedFields,proto3" json:"max_deleted_fields,omitempty"` |
| 57 |
// The maximum number of draft revisions that will be kept before deleting |
| 58 |
// old drafts. |
| 59 |
MaxDraftRevisions int32 `protobuf:"varint,6,opt,name=max_draft_revisions,json=maxDraftRevisions,proto3" json:"max_draft_revisions,omitempty"` |
| 60 |
// The limits for Fields. |
| 61 |
FieldLimits *FieldLimits `protobuf:"bytes,7,opt,name=field_limits,json=fieldLimits,proto3" json:"field_limits,omitempty"` |
| 62 |
} |
| 63 |
|
| 64 |
func (x *LabelLimits) Reset() { |
| 65 |
*x = LabelLimits{} |
| 66 |
if protoimpl.UnsafeEnabled { |
| 67 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[0] |
| 68 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 69 |
ms.StoreMessageInfo(mi) |
| 70 |
} |
| 71 |
} |
| 72 |
|
| 73 |
func (x *LabelLimits) String() string { |
| 74 |
return protoimpl.X.MessageStringOf(x) |
| 75 |
} |
| 76 |
|
| 77 |
func (*LabelLimits) ProtoMessage() {} |
| 78 |
|
| 79 |
func (x *LabelLimits) ProtoReflect() protoreflect.Message { |
| 80 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[0] |
| 81 |
if protoimpl.UnsafeEnabled && x != nil { |
| 82 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 83 |
if ms.LoadMessageInfo() == nil { |
| 84 |
ms.StoreMessageInfo(mi) |
| 85 |
} |
| 86 |
return ms |
| 87 |
} |
| 88 |
return mi.MessageOf(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use LabelLimits.ProtoReflect.Descriptor instead. |
| 92 |
func (*LabelLimits) Descriptor() ([]byte, []int) { |
| 93 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{0} |
| 94 |
} |
| 95 |
|
| 96 |
func (x *LabelLimits) GetName() string { |
| 97 |
if x != nil { |
| 98 |
return x.Name |
| 99 |
} |
| 100 |
return "" |
| 101 |
} |
| 102 |
|
| 103 |
func (x *LabelLimits) GetMaxTitleLength() int32 { |
| 104 |
if x != nil { |
| 105 |
return x.MaxTitleLength |
| 106 |
} |
| 107 |
return 0 |
| 108 |
} |
| 109 |
|
| 110 |
func (x *LabelLimits) GetMaxDescriptionLength() int32 { |
| 111 |
if x != nil { |
| 112 |
return x.MaxDescriptionLength |
| 113 |
} |
| 114 |
return 0 |
| 115 |
} |
| 116 |
|
| 117 |
func (x *LabelLimits) GetMaxFields() int32 { |
| 118 |
if x != nil { |
| 119 |
return x.MaxFields |
| 120 |
} |
| 121 |
return 0 |
| 122 |
} |
| 123 |
|
| 124 |
func (x *LabelLimits) GetMaxDeletedFields() int32 { |
| 125 |
if x != nil { |
| 126 |
return x.MaxDeletedFields |
| 127 |
} |
| 128 |
return 0 |
| 129 |
} |
| 130 |
|
| 131 |
func (x *LabelLimits) GetMaxDraftRevisions() int32 { |
| 132 |
if x != nil { |
| 133 |
return x.MaxDraftRevisions |
| 134 |
} |
| 135 |
return 0 |
| 136 |
} |
| 137 |
|
| 138 |
func (x *LabelLimits) GetFieldLimits() *FieldLimits { |
| 139 |
if x != nil { |
| 140 |
return x.FieldLimits |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
// Field constants governing the structure of a Field; such as, the maximum |
| 146 |
// title length, minimum and maximum field values or length, etc. |
| 147 |
type FieldLimits struct { |
| 148 |
state protoimpl.MessageState |
| 149 |
sizeCache protoimpl.SizeCache |
| 150 |
unknownFields protoimpl.UnknownFields |
| 151 |
|
| 152 |
// Max length for the id. |
| 153 |
MaxIdLength int32 `protobuf:"varint,1,opt,name=max_id_length,json=maxIdLength,proto3" json:"max_id_length,omitempty"` |
| 154 |
// Limits for Field title. |
| 155 |
MaxDisplayNameLength int32 `protobuf:"varint,2,opt,name=max_display_name_length,json=maxDisplayNameLength,proto3" json:"max_display_name_length,omitempty"` |
| 156 |
// Limits for Field description, also called help text. |
| 157 |
MaxDescriptionLength int32 `protobuf:"varint,3,opt,name=max_description_length,json=maxDescriptionLength,proto3" json:"max_description_length,omitempty"` |
| 158 |
// The relevant limits for the specified Field.Type. |
| 159 |
// Text Field limits. |
| 160 |
TextLimits *TextLimits `protobuf:"bytes,4,opt,name=text_limits,json=textLimits,proto3" json:"text_limits,omitempty"` |
| 161 |
// Long text Field limits. |
| 162 |
LongTextLimits *LongTextLimits `protobuf:"bytes,5,opt,name=long_text_limits,json=longTextLimits,proto3" json:"long_text_limits,omitempty"` |
| 163 |
// Integer Field limits. |
| 164 |
IntegerLimits *IntegerLimits `protobuf:"bytes,6,opt,name=integer_limits,json=integerLimits,proto3" json:"integer_limits,omitempty"` |
| 165 |
// Date Field limits. |
| 166 |
DateLimits *DateLimits `protobuf:"bytes,7,opt,name=date_limits,json=dateLimits,proto3" json:"date_limits,omitempty"` |
| 167 |
// User Field limits. |
| 168 |
UserLimits *UserLimits `protobuf:"bytes,8,opt,name=user_limits,json=userLimits,proto3" json:"user_limits,omitempty"` |
| 169 |
// Selection Field limits. |
| 170 |
SelectionLimits *SelectionLimits `protobuf:"bytes,9,opt,name=selection_limits,json=selectionLimits,proto3" json:"selection_limits,omitempty"` |
| 171 |
} |
| 172 |
|
| 173 |
func (x *FieldLimits) Reset() { |
| 174 |
*x = FieldLimits{} |
| 175 |
if protoimpl.UnsafeEnabled { |
| 176 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[1] |
| 177 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 178 |
ms.StoreMessageInfo(mi) |
| 179 |
} |
| 180 |
} |
| 181 |
|
| 182 |
func (x *FieldLimits) String() string { |
| 183 |
return protoimpl.X.MessageStringOf(x) |
| 184 |
} |
| 185 |
|
| 186 |
func (*FieldLimits) ProtoMessage() {} |
| 187 |
|
| 188 |
func (x *FieldLimits) ProtoReflect() protoreflect.Message { |
| 189 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[1] |
| 190 |
if protoimpl.UnsafeEnabled && x != nil { |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
if ms.LoadMessageInfo() == nil { |
| 193 |
ms.StoreMessageInfo(mi) |
| 194 |
} |
| 195 |
return ms |
| 196 |
} |
| 197 |
return mi.MessageOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
// Deprecated: Use FieldLimits.ProtoReflect.Descriptor instead. |
| 201 |
func (*FieldLimits) Descriptor() ([]byte, []int) { |
| 202 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{1} |
| 203 |
} |
| 204 |
|
| 205 |
func (x *FieldLimits) GetMaxIdLength() int32 { |
| 206 |
if x != nil { |
| 207 |
return x.MaxIdLength |
| 208 |
} |
| 209 |
return 0 |
| 210 |
} |
| 211 |
|
| 212 |
func (x *FieldLimits) GetMaxDisplayNameLength() int32 { |
| 213 |
if x != nil { |
| 214 |
return x.MaxDisplayNameLength |
| 215 |
} |
| 216 |
return 0 |
| 217 |
} |
| 218 |
|
| 219 |
func (x *FieldLimits) GetMaxDescriptionLength() int32 { |
| 220 |
if x != nil { |
| 221 |
return x.MaxDescriptionLength |
| 222 |
} |
| 223 |
return 0 |
| 224 |
} |
| 225 |
|
| 226 |
func (x *FieldLimits) GetTextLimits() *TextLimits { |
| 227 |
if x != nil { |
| 228 |
return x.TextLimits |
| 229 |
} |
| 230 |
return nil |
| 231 |
} |
| 232 |
|
| 233 |
func (x *FieldLimits) GetLongTextLimits() *LongTextLimits { |
| 234 |
if x != nil { |
| 235 |
return x.LongTextLimits |
| 236 |
} |
| 237 |
return nil |
| 238 |
} |
| 239 |
|
| 240 |
func (x *FieldLimits) GetIntegerLimits() *IntegerLimits { |
| 241 |
if x != nil { |
| 242 |
return x.IntegerLimits |
| 243 |
} |
| 244 |
return nil |
| 245 |
} |
| 246 |
|
| 247 |
func (x *FieldLimits) GetDateLimits() *DateLimits { |
| 248 |
if x != nil { |
| 249 |
return x.DateLimits |
| 250 |
} |
| 251 |
return nil |
| 252 |
} |
| 253 |
|
| 254 |
func (x *FieldLimits) GetUserLimits() *UserLimits { |
| 255 |
if x != nil { |
| 256 |
return x.UserLimits |
| 257 |
} |
| 258 |
return nil |
| 259 |
} |
| 260 |
|
| 261 |
func (x *FieldLimits) GetSelectionLimits() *SelectionLimits { |
| 262 |
if x != nil { |
| 263 |
return x.SelectionLimits |
| 264 |
} |
| 265 |
return nil |
| 266 |
} |
| 267 |
|
| 268 |
// Limits for list-variant of a Field type. |
| 269 |
type ListLimits struct { |
| 270 |
state protoimpl.MessageState |
| 271 |
sizeCache protoimpl.SizeCache |
| 272 |
unknownFields protoimpl.UnknownFields |
| 273 |
|
| 274 |
// Maximum number of values allowed for the Field type. |
| 275 |
MaxEntries int32 `protobuf:"varint,1,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"` |
| 276 |
} |
| 277 |
|
| 278 |
func (x *ListLimits) Reset() { |
| 279 |
*x = ListLimits{} |
| 280 |
if protoimpl.UnsafeEnabled { |
| 281 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[2] |
| 282 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 283 |
ms.StoreMessageInfo(mi) |
| 284 |
} |
| 285 |
} |
| 286 |
|
| 287 |
func (x *ListLimits) String() string { |
| 288 |
return protoimpl.X.MessageStringOf(x) |
| 289 |
} |
| 290 |
|
| 291 |
func (*ListLimits) ProtoMessage() {} |
| 292 |
|
| 293 |
func (x *ListLimits) ProtoReflect() protoreflect.Message { |
| 294 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[2] |
| 295 |
if protoimpl.UnsafeEnabled && x != nil { |
| 296 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 297 |
if ms.LoadMessageInfo() == nil { |
| 298 |
ms.StoreMessageInfo(mi) |
| 299 |
} |
| 300 |
return ms |
| 301 |
} |
| 302 |
return mi.MessageOf(x) |
| 303 |
} |
| 304 |
|
| 305 |
// Deprecated: Use ListLimits.ProtoReflect.Descriptor instead. |
| 306 |
func (*ListLimits) Descriptor() ([]byte, []int) { |
| 307 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{2} |
| 308 |
} |
| 309 |
|
| 310 |
func (x *ListLimits) GetMaxEntries() int32 { |
| 311 |
if x != nil { |
| 312 |
return x.MaxEntries |
| 313 |
} |
| 314 |
return 0 |
| 315 |
} |
| 316 |
|
| 317 |
// Limits for text Field type. |
| 318 |
type TextLimits struct { |
| 319 |
state protoimpl.MessageState |
| 320 |
sizeCache protoimpl.SizeCache |
| 321 |
unknownFields protoimpl.UnknownFields |
| 322 |
|
| 323 |
// Minimum length allowed for a text Field type. |
| 324 |
MinLength int32 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` |
| 325 |
// Maximum length allowed for a text Field type. |
| 326 |
MaxLength int32 `protobuf:"varint,2,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` |
| 327 |
} |
| 328 |
|
| 329 |
func (x *TextLimits) Reset() { |
| 330 |
*x = TextLimits{} |
| 331 |
if protoimpl.UnsafeEnabled { |
| 332 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[3] |
| 333 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 334 |
ms.StoreMessageInfo(mi) |
| 335 |
} |
| 336 |
} |
| 337 |
|
| 338 |
func (x *TextLimits) String() string { |
| 339 |
return protoimpl.X.MessageStringOf(x) |
| 340 |
} |
| 341 |
|
| 342 |
func (*TextLimits) ProtoMessage() {} |
| 343 |
|
| 344 |
func (x *TextLimits) ProtoReflect() protoreflect.Message { |
| 345 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[3] |
| 346 |
if protoimpl.UnsafeEnabled && x != nil { |
| 347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 |
if ms.LoadMessageInfo() == nil { |
| 349 |
ms.StoreMessageInfo(mi) |
| 350 |
} |
| 351 |
return ms |
| 352 |
} |
| 353 |
return mi.MessageOf(x) |
| 354 |
} |
| 355 |
|
| 356 |
// Deprecated: Use TextLimits.ProtoReflect.Descriptor instead. |
| 357 |
func (*TextLimits) Descriptor() ([]byte, []int) { |
| 358 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{3} |
| 359 |
} |
| 360 |
|
| 361 |
func (x *TextLimits) GetMinLength() int32 { |
| 362 |
if x != nil { |
| 363 |
return x.MinLength |
| 364 |
} |
| 365 |
return 0 |
| 366 |
} |
| 367 |
|
| 368 |
func (x *TextLimits) GetMaxLength() int32 { |
| 369 |
if x != nil { |
| 370 |
return x.MaxLength |
| 371 |
} |
| 372 |
return 0 |
| 373 |
} |
| 374 |
|
| 375 |
// Limits for long text Field type. |
| 376 |
type LongTextLimits struct { |
| 377 |
state protoimpl.MessageState |
| 378 |
sizeCache protoimpl.SizeCache |
| 379 |
unknownFields protoimpl.UnknownFields |
| 380 |
|
| 381 |
// Minimum length allowed for a long text Field type. |
| 382 |
MinLength int32 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` |
| 383 |
// Maximum length allowed for a long text Field type. |
| 384 |
MaxLength int32 `protobuf:"varint,2,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` |
| 385 |
} |
| 386 |
|
| 387 |
func (x *LongTextLimits) Reset() { |
| 388 |
*x = LongTextLimits{} |
| 389 |
if protoimpl.UnsafeEnabled { |
| 390 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[4] |
| 391 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 392 |
ms.StoreMessageInfo(mi) |
| 393 |
} |
| 394 |
} |
| 395 |
|
| 396 |
func (x *LongTextLimits) String() string { |
| 397 |
return protoimpl.X.MessageStringOf(x) |
| 398 |
} |
| 399 |
|
| 400 |
func (*LongTextLimits) ProtoMessage() {} |
| 401 |
|
| 402 |
func (x *LongTextLimits) ProtoReflect() protoreflect.Message { |
| 403 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[4] |
| 404 |
if protoimpl.UnsafeEnabled && x != nil { |
| 405 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 406 |
if ms.LoadMessageInfo() == nil { |
| 407 |
ms.StoreMessageInfo(mi) |
| 408 |
} |
| 409 |
return ms |
| 410 |
} |
| 411 |
return mi.MessageOf(x) |
| 412 |
} |
| 413 |
|
| 414 |
// Deprecated: Use LongTextLimits.ProtoReflect.Descriptor instead. |
| 415 |
func (*LongTextLimits) Descriptor() ([]byte, []int) { |
| 416 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{4} |
| 417 |
} |
| 418 |
|
| 419 |
func (x *LongTextLimits) GetMinLength() int32 { |
| 420 |
if x != nil { |
| 421 |
return x.MinLength |
| 422 |
} |
| 423 |
return 0 |
| 424 |
} |
| 425 |
|
| 426 |
func (x *LongTextLimits) GetMaxLength() int32 { |
| 427 |
if x != nil { |
| 428 |
return x.MaxLength |
| 429 |
} |
| 430 |
return 0 |
| 431 |
} |
| 432 |
|
| 433 |
// Limits for integer Field type. |
| 434 |
type IntegerLimits struct { |
| 435 |
state protoimpl.MessageState |
| 436 |
sizeCache protoimpl.SizeCache |
| 437 |
unknownFields protoimpl.UnknownFields |
| 438 |
|
| 439 |
// Minimum value for an integer Field type. |
| 440 |
MinValue int64 `protobuf:"varint,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` |
| 441 |
// Maximum value for an integer Field type. |
| 442 |
MaxValue int64 `protobuf:"varint,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` |
| 443 |
} |
| 444 |
|
| 445 |
func (x *IntegerLimits) Reset() { |
| 446 |
*x = IntegerLimits{} |
| 447 |
if protoimpl.UnsafeEnabled { |
| 448 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[5] |
| 449 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 450 |
ms.StoreMessageInfo(mi) |
| 451 |
} |
| 452 |
} |
| 453 |
|
| 454 |
func (x *IntegerLimits) String() string { |
| 455 |
return protoimpl.X.MessageStringOf(x) |
| 456 |
} |
| 457 |
|
| 458 |
func (*IntegerLimits) ProtoMessage() {} |
| 459 |
|
| 460 |
func (x *IntegerLimits) ProtoReflect() protoreflect.Message { |
| 461 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[5] |
| 462 |
if protoimpl.UnsafeEnabled && x != nil { |
| 463 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 464 |
if ms.LoadMessageInfo() == nil { |
| 465 |
ms.StoreMessageInfo(mi) |
| 466 |
} |
| 467 |
return ms |
| 468 |
} |
| 469 |
return mi.MessageOf(x) |
| 470 |
} |
| 471 |
|
| 472 |
// Deprecated: Use IntegerLimits.ProtoReflect.Descriptor instead. |
| 473 |
func (*IntegerLimits) Descriptor() ([]byte, []int) { |
| 474 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{5} |
| 475 |
} |
| 476 |
|
| 477 |
func (x *IntegerLimits) GetMinValue() int64 { |
| 478 |
if x != nil { |
| 479 |
return x.MinValue |
| 480 |
} |
| 481 |
return 0 |
| 482 |
} |
| 483 |
|
| 484 |
func (x *IntegerLimits) GetMaxValue() int64 { |
| 485 |
if x != nil { |
| 486 |
return x.MaxValue |
| 487 |
} |
| 488 |
return 0 |
| 489 |
} |
| 490 |
|
| 491 |
// Limits for date Field type. |
| 492 |
type DateLimits struct { |
| 493 |
state protoimpl.MessageState |
| 494 |
sizeCache protoimpl.SizeCache |
| 495 |
unknownFields protoimpl.UnknownFields |
| 496 |
|
| 497 |
// Minimum value for the date Field type. |
| 498 |
MinValue *date.Date `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` |
| 499 |
// Maximum value for the date Field type. |
| 500 |
MaxValue *date.Date `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` |
| 501 |
} |
| 502 |
|
| 503 |
func (x *DateLimits) Reset() { |
| 504 |
*x = DateLimits{} |
| 505 |
if protoimpl.UnsafeEnabled { |
| 506 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[6] |
| 507 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 508 |
ms.StoreMessageInfo(mi) |
| 509 |
} |
| 510 |
} |
| 511 |
|
| 512 |
func (x *DateLimits) String() string { |
| 513 |
return protoimpl.X.MessageStringOf(x) |
| 514 |
} |
| 515 |
|
| 516 |
func (*DateLimits) ProtoMessage() {} |
| 517 |
|
| 518 |
func (x *DateLimits) ProtoReflect() protoreflect.Message { |
| 519 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[6] |
| 520 |
if protoimpl.UnsafeEnabled && x != nil { |
| 521 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 522 |
if ms.LoadMessageInfo() == nil { |
| 523 |
ms.StoreMessageInfo(mi) |
| 524 |
} |
| 525 |
return ms |
| 526 |
} |
| 527 |
return mi.MessageOf(x) |
| 528 |
} |
| 529 |
|
| 530 |
// Deprecated: Use DateLimits.ProtoReflect.Descriptor instead. |
| 531 |
func (*DateLimits) Descriptor() ([]byte, []int) { |
| 532 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{6} |
| 533 |
} |
| 534 |
|
| 535 |
func (x *DateLimits) GetMinValue() *date.Date { |
| 536 |
if x != nil { |
| 537 |
return x.MinValue |
| 538 |
} |
| 539 |
return nil |
| 540 |
} |
| 541 |
|
| 542 |
func (x *DateLimits) GetMaxValue() *date.Date { |
| 543 |
if x != nil { |
| 544 |
return x.MaxValue |
| 545 |
} |
| 546 |
return nil |
| 547 |
} |
| 548 |
|
| 549 |
// Limits for selection Field type. |
| 550 |
type SelectionLimits struct { |
| 551 |
state protoimpl.MessageState |
| 552 |
sizeCache protoimpl.SizeCache |
| 553 |
unknownFields protoimpl.UnknownFields |
| 554 |
|
| 555 |
// Limits for list-variant of a Field type. |
| 556 |
ListLimits *ListLimits `protobuf:"bytes,1,opt,name=list_limits,json=listLimits,proto3" json:"list_limits,omitempty"` |
| 557 |
// Maximum ID length for a selection options. |
| 558 |
MaxIdLength int32 `protobuf:"varint,2,opt,name=max_id_length,json=maxIdLength,proto3" json:"max_id_length,omitempty"` |
| 559 |
// Maximum length for display name. |
| 560 |
MaxDisplayNameLength int32 `protobuf:"varint,3,opt,name=max_display_name_length,json=maxDisplayNameLength,proto3" json:"max_display_name_length,omitempty"` |
| 561 |
// The max number of choices. |
| 562 |
MaxChoices int32 `protobuf:"varint,4,opt,name=max_choices,json=maxChoices,proto3" json:"max_choices,omitempty"` |
| 563 |
// Maximum number of deleted choices. |
| 564 |
MaxDeletedChoices int32 `protobuf:"varint,5,opt,name=max_deleted_choices,json=maxDeletedChoices,proto3" json:"max_deleted_choices,omitempty"` |
| 565 |
} |
| 566 |
|
| 567 |
func (x *SelectionLimits) Reset() { |
| 568 |
*x = SelectionLimits{} |
| 569 |
if protoimpl.UnsafeEnabled { |
| 570 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[7] |
| 571 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 572 |
ms.StoreMessageInfo(mi) |
| 573 |
} |
| 574 |
} |
| 575 |
|
| 576 |
func (x *SelectionLimits) String() string { |
| 577 |
return protoimpl.X.MessageStringOf(x) |
| 578 |
} |
| 579 |
|
| 580 |
func (*SelectionLimits) ProtoMessage() {} |
| 581 |
|
| 582 |
func (x *SelectionLimits) ProtoReflect() protoreflect.Message { |
| 583 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[7] |
| 584 |
if protoimpl.UnsafeEnabled && x != nil { |
| 585 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 586 |
if ms.LoadMessageInfo() == nil { |
| 587 |
ms.StoreMessageInfo(mi) |
| 588 |
} |
| 589 |
return ms |
| 590 |
} |
| 591 |
return mi.MessageOf(x) |
| 592 |
} |
| 593 |
|
| 594 |
// Deprecated: Use SelectionLimits.ProtoReflect.Descriptor instead. |
| 595 |
func (*SelectionLimits) Descriptor() ([]byte, []int) { |
| 596 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{7} |
| 597 |
} |
| 598 |
|
| 599 |
func (x *SelectionLimits) GetListLimits() *ListLimits { |
| 600 |
if x != nil { |
| 601 |
return x.ListLimits |
| 602 |
} |
| 603 |
return nil |
| 604 |
} |
| 605 |
|
| 606 |
func (x *SelectionLimits) GetMaxIdLength() int32 { |
| 607 |
if x != nil { |
| 608 |
return x.MaxIdLength |
| 609 |
} |
| 610 |
return 0 |
| 611 |
} |
| 612 |
|
| 613 |
func (x *SelectionLimits) GetMaxDisplayNameLength() int32 { |
| 614 |
if x != nil { |
| 615 |
return x.MaxDisplayNameLength |
| 616 |
} |
| 617 |
return 0 |
| 618 |
} |
| 619 |
|
| 620 |
func (x *SelectionLimits) GetMaxChoices() int32 { |
| 621 |
if x != nil { |
| 622 |
return x.MaxChoices |
| 623 |
} |
| 624 |
return 0 |
| 625 |
} |
| 626 |
|
| 627 |
func (x *SelectionLimits) GetMaxDeletedChoices() int32 { |
| 628 |
if x != nil { |
| 629 |
return x.MaxDeletedChoices |
| 630 |
} |
| 631 |
return 0 |
| 632 |
} |
| 633 |
|
| 634 |
// Limits for Field.Type.USER. |
| 635 |
type UserLimits struct { |
| 636 |
state protoimpl.MessageState |
| 637 |
sizeCache protoimpl.SizeCache |
| 638 |
unknownFields protoimpl.UnknownFields |
| 639 |
|
| 640 |
// Limits for list-variant of a Field type. |
| 641 |
ListLimits *ListLimits `protobuf:"bytes,1,opt,name=list_limits,json=listLimits,proto3" json:"list_limits,omitempty"` |
| 642 |
} |
| 643 |
|
| 644 |
func (x *UserLimits) Reset() { |
| 645 |
*x = UserLimits{} |
| 646 |
if protoimpl.UnsafeEnabled { |
| 647 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[8] |
| 648 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 649 |
ms.StoreMessageInfo(mi) |
| 650 |
} |
| 651 |
} |
| 652 |
|
| 653 |
func (x *UserLimits) String() string { |
| 654 |
return protoimpl.X.MessageStringOf(x) |
| 655 |
} |
| 656 |
|
| 657 |
func (*UserLimits) ProtoMessage() {} |
| 658 |
|
| 659 |
func (x *UserLimits) ProtoReflect() protoreflect.Message { |
| 660 |
mi := &file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[8] |
| 661 |
if protoimpl.UnsafeEnabled && x != nil { |
| 662 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 663 |
if ms.LoadMessageInfo() == nil { |
| 664 |
ms.StoreMessageInfo(mi) |
| 665 |
} |
| 666 |
return ms |
| 667 |
} |
| 668 |
return mi.MessageOf(x) |
| 669 |
} |
| 670 |
|
| 671 |
// Deprecated: Use UserLimits.ProtoReflect.Descriptor instead. |
| 672 |
func (*UserLimits) Descriptor() ([]byte, []int) { |
| 673 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP(), []int{8} |
| 674 |
} |
| 675 |
|
| 676 |
func (x *UserLimits) GetListLimits() *ListLimits { |
| 677 |
if x != nil { |
| 678 |
return x.ListLimits |
| 679 |
} |
| 680 |
return nil |
| 681 |
} |
| 682 |
|
| 683 |
var File_google_apps_drive_labels_v2_label_limits_proto protoreflect.FileDescriptor |
| 684 |
|
| 685 |
var file_google_apps_drive_labels_v2_label_limits_proto_rawDesc = []byte{ |
| 686 |
0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, |
| 687 |
0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x61, |
| 688 |
0x62, 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 689 |
0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, |
| 690 |
0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67, |
| 691 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 692 |
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 693 |
0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 694 |
0x22, 0x86, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, |
| 695 |
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 696 |
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x69, 0x74, 0x6c, |
| 697 |
0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, |
| 698 |
0x6d, 0x61, 0x78, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x34, |
| 699 |
0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 700 |
0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, |
| 701 |
0x6d, 0x61, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, |
| 702 |
0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x65, 0x6c, |
| 703 |
0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x65, |
| 704 |
0x6c, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, |
| 705 |
0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 706 |
0x10, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, |
| 707 |
0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x72, |
| 708 |
0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, |
| 709 |
0x6d, 0x61, 0x78, 0x44, 0x72, 0x61, 0x66, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 710 |
0x73, 0x12, 0x4b, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, |
| 711 |
0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 712 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, |
| 713 |
0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 714 |
0x73, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x3a, 0x39, |
| 715 |
0xea, 0x41, 0x36, 0x0a, 0x26, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, |
| 716 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 717 |
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x0c, 0x6c, 0x69, 0x6d, |
| 718 |
0x69, 0x74, 0x73, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0xff, 0x04, 0x0a, 0x0b, 0x46, 0x69, |
| 719 |
0x65, 0x6c, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, |
| 720 |
0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, |
| 721 |
0x52, 0x0b, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x35, 0x0a, |
| 722 |
0x17, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, |
| 723 |
0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, |
| 724 |
0x6d, 0x61, 0x78, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x4c, 0x65, |
| 725 |
0x6e, 0x67, 0x74, 0x68, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x73, 0x63, |
| 726 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, |
| 727 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 728 |
0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x0b, 0x74, 0x65, |
| 729 |
0x78, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 730 |
0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, |
| 731 |
0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, |
| 732 |
0x78, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x4c, 0x69, |
| 733 |
0x6d, 0x69, 0x74, 0x73, 0x12, 0x55, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x78, |
| 734 |
0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, |
| 735 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, |
| 736 |
0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x6e, |
| 737 |
0x67, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0e, 0x6c, 0x6f, 0x6e, |
| 738 |
0x67, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x69, |
| 739 |
0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, |
| 740 |
0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 741 |
0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, |
| 742 |
0x32, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, |
| 743 |
0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x48, |
| 744 |
0x0a, 0x0b, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, |
| 745 |
0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 746 |
0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, |
| 747 |
0x32, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0a, 0x64, 0x61, |
| 748 |
0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, |
| 749 |
0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, |
| 750 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, |
| 751 |
0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, |
| 752 |
0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, |
| 753 |
0x74, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 754 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, |
| 755 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, |
| 756 |
0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, |
| 757 |
0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x73, 0x65, 0x6c, 0x65, |
| 758 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x2d, 0x0a, 0x0a, 0x4c, |
| 759 |
0x69, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, |
| 760 |
0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, |
| 761 |
0x6d, 0x61, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x0a, 0x54, 0x65, |
| 762 |
0x78, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, |
| 763 |
0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x69, |
| 764 |
0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c, |
| 765 |
0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, |
| 766 |
0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x4e, 0x0a, 0x0e, 0x4c, 0x6f, 0x6e, 0x67, 0x54, 0x65, |
| 767 |
0x78, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, |
| 768 |
0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x69, |
| 769 |
0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c, |
| 770 |
0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, |
| 771 |
0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x49, 0x0a, 0x0d, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, |
| 772 |
0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, |
| 773 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, |
| 774 |
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, |
| 775 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, |
| 776 |
0x65, 0x22, 0x6c, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, |
| 777 |
0x2e, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 778 |
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, |
| 779 |
0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, |
| 780 |
0x2e, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 781 |
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, |
| 782 |
0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, |
| 783 |
0x87, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, |
| 784 |
0x69, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, |
| 785 |
0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 786 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, |
| 787 |
0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 788 |
0x73, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x22, 0x0a, |
| 789 |
0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, |
| 790 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x4c, 0x65, 0x6e, 0x67, 0x74, |
| 791 |
0x68, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, |
| 792 |
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, |
| 793 |
0x28, 0x05, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, |
| 794 |
0x6d, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, |
| 795 |
0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, |
| 796 |
0x61, 0x78, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x78, |
| 797 |
0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x73, |
| 798 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x6c, 0x65, 0x74, |
| 799 |
0x65, 0x64, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x0a, 0x55, 0x73, 0x65, |
| 800 |
0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x5f, |
| 801 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, |
| 802 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, |
| 803 |
0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, |
| 804 |
0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 805 |
0x73, 0x42, 0x7f, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 806 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, |
| 807 |
0x73, 0x2e, 0x76, 0x32, 0x42, 0x10, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 808 |
0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 809 |
0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, |
| 810 |
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, |
| 811 |
0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, |
| 812 |
0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04, 0x44, 0x4c, |
| 813 |
0x42, 0x4c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 814 |
} |
| 815 |
|
| 816 |
var ( |
| 817 |
file_google_apps_drive_labels_v2_label_limits_proto_rawDescOnce sync.Once |
| 818 |
file_google_apps_drive_labels_v2_label_limits_proto_rawDescData = file_google_apps_drive_labels_v2_label_limits_proto_rawDesc |
| 819 |
) |
| 820 |
|
| 821 |
func file_google_apps_drive_labels_v2_label_limits_proto_rawDescGZIP() []byte { |
| 822 |
file_google_apps_drive_labels_v2_label_limits_proto_rawDescOnce.Do(func() { |
| 823 |
file_google_apps_drive_labels_v2_label_limits_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2_label_limits_proto_rawDescData) |
| 824 |
}) |
| 825 |
return file_google_apps_drive_labels_v2_label_limits_proto_rawDescData |
| 826 |
} |
| 827 |
|
| 828 |
var file_google_apps_drive_labels_v2_label_limits_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| 829 |
var file_google_apps_drive_labels_v2_label_limits_proto_goTypes = []interface{}{ |
| 830 |
(*LabelLimits)(nil), // 0: google.apps.drive.labels.v2.LabelLimits |
| 831 |
(*FieldLimits)(nil), // 1: google.apps.drive.labels.v2.FieldLimits |
| 832 |
(*ListLimits)(nil), // 2: google.apps.drive.labels.v2.ListLimits |
| 833 |
(*TextLimits)(nil), // 3: google.apps.drive.labels.v2.TextLimits |
| 834 |
(*LongTextLimits)(nil), // 4: google.apps.drive.labels.v2.LongTextLimits |
| 835 |
(*IntegerLimits)(nil), // 5: google.apps.drive.labels.v2.IntegerLimits |
| 836 |
(*DateLimits)(nil), // 6: google.apps.drive.labels.v2.DateLimits |
| 837 |
(*SelectionLimits)(nil), // 7: google.apps.drive.labels.v2.SelectionLimits |
| 838 |
(*UserLimits)(nil), // 8: google.apps.drive.labels.v2.UserLimits |
| 839 |
(*date.Date)(nil), // 9: google.type.Date |
| 840 |
} |
| 841 |
var file_google_apps_drive_labels_v2_label_limits_proto_depIdxs = []int32{ |
| 842 |
1, // 0: google.apps.drive.labels.v2.LabelLimits.field_limits:type_name -> google.apps.drive.labels.v2.FieldLimits |
| 843 |
3, // 1: google.apps.drive.labels.v2.FieldLimits.text_limits:type_name -> google.apps.drive.labels.v2.TextLimits |
| 844 |
4, // 2: google.apps.drive.labels.v2.FieldLimits.long_text_limits:type_name -> google.apps.drive.labels.v2.LongTextLimits |
| 845 |
5, // 3: google.apps.drive.labels.v2.FieldLimits.integer_limits:type_name -> google.apps.drive.labels.v2.IntegerLimits |
| 846 |
6, // 4: google.apps.drive.labels.v2.FieldLimits.date_limits:type_name -> google.apps.drive.labels.v2.DateLimits |
| 847 |
8, // 5: google.apps.drive.labels.v2.FieldLimits.user_limits:type_name -> google.apps.drive.labels.v2.UserLimits |
| 848 |
7, // 6: google.apps.drive.labels.v2.FieldLimits.selection_limits:type_name -> google.apps.drive.labels.v2.SelectionLimits |
| 849 |
9, // 7: google.apps.drive.labels.v2.DateLimits.min_value:type_name -> google.type.Date |
| 850 |
9, // 8: google.apps.drive.labels.v2.DateLimits.max_value:type_name -> google.type.Date |
| 851 |
2, // 9: google.apps.drive.labels.v2.SelectionLimits.list_limits:type_name -> google.apps.drive.labels.v2.ListLimits |
| 852 |
2, // 10: google.apps.drive.labels.v2.UserLimits.list_limits:type_name -> google.apps.drive.labels.v2.ListLimits |
| 853 |
11, // [11:11] is the sub-list for method output_type |
| 854 |
11, // [11:11] is the sub-list for method input_type |
| 855 |
11, // [11:11] is the sub-list for extension type_name |
| 856 |
11, // [11:11] is the sub-list for extension extendee |
| 857 |
0, // [0:11] is the sub-list for field type_name |
| 858 |
} |
| 859 |
|
| 860 |
func init() { file_google_apps_drive_labels_v2_label_limits_proto_init() } |
| 861 |
func file_google_apps_drive_labels_v2_label_limits_proto_init() { |
| 862 |
if File_google_apps_drive_labels_v2_label_limits_proto != nil { |
| 863 |
return |
| 864 |
} |
| 865 |
if !protoimpl.UnsafeEnabled { |
| 866 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 867 |
switch v := v.(*LabelLimits); i { |
| 868 |
case 0: |
| 869 |
return &v.state |
| 870 |
case 1: |
| 871 |
return &v.sizeCache |
| 872 |
case 2: |
| 873 |
return &v.unknownFields |
| 874 |
default: |
| 875 |
return nil |
| 876 |
} |
| 877 |
} |
| 878 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 879 |
switch v := v.(*FieldLimits); i { |
| 880 |
case 0: |
| 881 |
return &v.state |
| 882 |
case 1: |
| 883 |
return &v.sizeCache |
| 884 |
case 2: |
| 885 |
return &v.unknownFields |
| 886 |
default: |
| 887 |
return nil |
| 888 |
} |
| 889 |
} |
| 890 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 891 |
switch v := v.(*ListLimits); i { |
| 892 |
case 0: |
| 893 |
return &v.state |
| 894 |
case 1: |
| 895 |
return &v.sizeCache |
| 896 |
case 2: |
| 897 |
return &v.unknownFields |
| 898 |
default: |
| 899 |
return nil |
| 900 |
} |
| 901 |
} |
| 902 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 903 |
switch v := v.(*TextLimits); i { |
| 904 |
case 0: |
| 905 |
return &v.state |
| 906 |
case 1: |
| 907 |
return &v.sizeCache |
| 908 |
case 2: |
| 909 |
return &v.unknownFields |
| 910 |
default: |
| 911 |
return nil |
| 912 |
} |
| 913 |
} |
| 914 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 915 |
switch v := v.(*LongTextLimits); i { |
| 916 |
case 0: |
| 917 |
return &v.state |
| 918 |
case 1: |
| 919 |
return &v.sizeCache |
| 920 |
case 2: |
| 921 |
return &v.unknownFields |
| 922 |
default: |
| 923 |
return nil |
| 924 |
} |
| 925 |
} |
| 926 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 927 |
switch v := v.(*IntegerLimits); i { |
| 928 |
case 0: |
| 929 |
return &v.state |
| 930 |
case 1: |
| 931 |
return &v.sizeCache |
| 932 |
case 2: |
| 933 |
return &v.unknownFields |
| 934 |
default: |
| 935 |
return nil |
| 936 |
} |
| 937 |
} |
| 938 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 939 |
switch v := v.(*DateLimits); i { |
| 940 |
case 0: |
| 941 |
return &v.state |
| 942 |
case 1: |
| 943 |
return &v.sizeCache |
| 944 |
case 2: |
| 945 |
return &v.unknownFields |
| 946 |
default: |
| 947 |
return nil |
| 948 |
} |
| 949 |
} |
| 950 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 951 |
switch v := v.(*SelectionLimits); i { |
| 952 |
case 0: |
| 953 |
return &v.state |
| 954 |
case 1: |
| 955 |
return &v.sizeCache |
| 956 |
case 2: |
| 957 |
return &v.unknownFields |
| 958 |
default: |
| 959 |
return nil |
| 960 |
} |
| 961 |
} |
| 962 |
file_google_apps_drive_labels_v2_label_limits_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 963 |
switch v := v.(*UserLimits); i { |
| 964 |
case 0: |
| 965 |
return &v.state |
| 966 |
case 1: |
| 967 |
return &v.sizeCache |
| 968 |
case 2: |
| 969 |
return &v.unknownFields |
| 970 |
default: |
| 971 |
return nil |
| 972 |
} |
| 973 |
} |
| 974 |
} |
| 975 |
type x struct{} |
| 976 |
out := protoimpl.TypeBuilder{ |
| 977 |
File: protoimpl.DescBuilder{ |
| 978 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 979 |
RawDescriptor: file_google_apps_drive_labels_v2_label_limits_proto_rawDesc, |
| 980 |
NumEnums: 0, |
| 981 |
NumMessages: 9, |
| 982 |
NumExtensions: 0, |
| 983 |
NumServices: 0, |
| 984 |
}, |
| 985 |
GoTypes: file_google_apps_drive_labels_v2_label_limits_proto_goTypes, |
| 986 |
DependencyIndexes: file_google_apps_drive_labels_v2_label_limits_proto_depIdxs, |
| 987 |
MessageInfos: file_google_apps_drive_labels_v2_label_limits_proto_msgTypes, |
| 988 |
}.Build() |
| 989 |
File_google_apps_drive_labels_v2_label_limits_proto = out.File |
| 990 |
file_google_apps_drive_labels_v2_label_limits_proto_rawDesc = nil |
| 991 |
file_google_apps_drive_labels_v2_label_limits_proto_goTypes = nil |
| 992 |
file_google_apps_drive_labels_v2_label_limits_proto_depIdxs = nil |
| 993 |
} |