...

Source file src/google.golang.org/genproto/googleapis/apps/drive/labels/v2beta/error_details.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/error_details.proto
    20  
    21  package labels
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Possible reasons a field is invalid.
    39  type InvalidArgument_FieldViolation_Reason int32
    40  
    41  const (
    42  	// Unknown reason.
    43  	InvalidArgument_FieldViolation_REASON_UNSPECIFIED InvalidArgument_FieldViolation_Reason = 0
    44  	// The referenced field is required.
    45  	InvalidArgument_FieldViolation_FIELD_REQUIRED InvalidArgument_FieldViolation_Reason = 1
    46  	// The referenced value was invalid.
    47  	InvalidArgument_FieldViolation_INVALID_VALUE InvalidArgument_FieldViolation_Reason = 2
    48  	// The specified numeric value is out of the allowed range.
    49  	InvalidArgument_FieldViolation_VALUE_OUT_OF_RANGE InvalidArgument_FieldViolation_Reason = 3
    50  	// The specified string value was too long.
    51  	InvalidArgument_FieldViolation_STRING_VALUE_TOO_LONG InvalidArgument_FieldViolation_Reason = 4
    52  	// The number of entries exceeded the maximum.
    53  	InvalidArgument_FieldViolation_MAX_ENTRIES_EXCEEDED InvalidArgument_FieldViolation_Reason = 5
    54  	// The specified field is not found in the Label.
    55  	InvalidArgument_FieldViolation_FIELD_NOT_FOUND InvalidArgument_FieldViolation_Reason = 6
    56  	// The specified choice is not found in the Field.
    57  	InvalidArgument_FieldViolation_CHOICE_NOT_FOUND InvalidArgument_FieldViolation_Reason = 7
    58  )
    59  
    60  // Enum value maps for InvalidArgument_FieldViolation_Reason.
    61  var (
    62  	InvalidArgument_FieldViolation_Reason_name = map[int32]string{
    63  		0: "REASON_UNSPECIFIED",
    64  		1: "FIELD_REQUIRED",
    65  		2: "INVALID_VALUE",
    66  		3: "VALUE_OUT_OF_RANGE",
    67  		4: "STRING_VALUE_TOO_LONG",
    68  		5: "MAX_ENTRIES_EXCEEDED",
    69  		6: "FIELD_NOT_FOUND",
    70  		7: "CHOICE_NOT_FOUND",
    71  	}
    72  	InvalidArgument_FieldViolation_Reason_value = map[string]int32{
    73  		"REASON_UNSPECIFIED":    0,
    74  		"FIELD_REQUIRED":        1,
    75  		"INVALID_VALUE":         2,
    76  		"VALUE_OUT_OF_RANGE":    3,
    77  		"STRING_VALUE_TOO_LONG": 4,
    78  		"MAX_ENTRIES_EXCEEDED":  5,
    79  		"FIELD_NOT_FOUND":       6,
    80  		"CHOICE_NOT_FOUND":      7,
    81  	}
    82  )
    83  
    84  func (x InvalidArgument_FieldViolation_Reason) Enum() *InvalidArgument_FieldViolation_Reason {
    85  	p := new(InvalidArgument_FieldViolation_Reason)
    86  	*p = x
    87  	return p
    88  }
    89  
    90  func (x InvalidArgument_FieldViolation_Reason) String() string {
    91  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    92  }
    93  
    94  func (InvalidArgument_FieldViolation_Reason) Descriptor() protoreflect.EnumDescriptor {
    95  	return file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes[0].Descriptor()
    96  }
    97  
    98  func (InvalidArgument_FieldViolation_Reason) Type() protoreflect.EnumType {
    99  	return &file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes[0]
   100  }
   101  
   102  func (x InvalidArgument_FieldViolation_Reason) Number() protoreflect.EnumNumber {
   103  	return protoreflect.EnumNumber(x)
   104  }
   105  
   106  // Deprecated: Use InvalidArgument_FieldViolation_Reason.Descriptor instead.
   107  func (InvalidArgument_FieldViolation_Reason) EnumDescriptor() ([]byte, []int) {
   108  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{0, 0, 0}
   109  }
   110  
   111  // The possible reasons a the violation occurred.
   112  type PreconditionFailure_Violation_Reason int32
   113  
   114  const (
   115  	// Unknown violation type.
   116  	PreconditionFailure_Violation_REASON_UNSPECIFIED PreconditionFailure_Violation_Reason = 0
   117  	// This Resource cannot be Disabled. Only Published resources can be
   118  	// Disabled.
   119  	PreconditionFailure_Violation_CANNOT_DISABLE PreconditionFailure_Violation_Reason = 1
   120  	// This Resource cannot be Enabled. Only Disabled resources can be
   121  	// Enabled.
   122  	PreconditionFailure_Violation_CANNOT_ENABLE PreconditionFailure_Violation_Reason = 2
   123  	// This Resource cannot be Published. Only Draft or Disabled resources
   124  	// can be Published.
   125  	PreconditionFailure_Violation_CANNOT_PUBLISH PreconditionFailure_Violation_Reason = 3
   126  	// This Resource cannot be Unpublished. Once published, resources may
   127  	// not be set in "Draft" state.
   128  	PreconditionFailure_Violation_CANNOT_UNPUBLISH PreconditionFailure_Violation_Reason = 4
   129  	// This Resource cannot be Deleted. Only Disabled resources
   130  	// can be Deleted.
   131  	PreconditionFailure_Violation_CANNOT_DELETE PreconditionFailure_Violation_Reason = 5
   132  	// The request modified a range in a Field, but the new range does
   133  	// not include the previous range. When this error happens, `field` points
   134  	// at the Field where the violation occurred.
   135  	PreconditionFailure_Violation_CANNOT_RESTRICT_RANGE PreconditionFailure_Violation_Reason = 6
   136  	// The specified change cannot be made to published Resources.
   137  	PreconditionFailure_Violation_CANNOT_CHANGE_PUBLISHED_FIELD PreconditionFailure_Violation_Reason = 7
   138  	// The customer cannot create new labels because the maximum number
   139  	// of labels for the customer has been reached.
   140  	PreconditionFailure_Violation_CANNOT_CREATE_MORE_LABELS PreconditionFailure_Violation_Reason = 8
   141  	// The Field type cannot be changed because the Field has been published.
   142  	PreconditionFailure_Violation_CANNOT_CHANGE_PUBLISHED_FIELD_TYPE PreconditionFailure_Violation_Reason = 9
   143  	// The Label component is locked and cannot be modified
   144  	PreconditionFailure_Violation_CANNOT_MODIFY_LOCKED_COMPONENT PreconditionFailure_Violation_Reason = 10
   145  )
   146  
   147  // Enum value maps for PreconditionFailure_Violation_Reason.
   148  var (
   149  	PreconditionFailure_Violation_Reason_name = map[int32]string{
   150  		0:  "REASON_UNSPECIFIED",
   151  		1:  "CANNOT_DISABLE",
   152  		2:  "CANNOT_ENABLE",
   153  		3:  "CANNOT_PUBLISH",
   154  		4:  "CANNOT_UNPUBLISH",
   155  		5:  "CANNOT_DELETE",
   156  		6:  "CANNOT_RESTRICT_RANGE",
   157  		7:  "CANNOT_CHANGE_PUBLISHED_FIELD",
   158  		8:  "CANNOT_CREATE_MORE_LABELS",
   159  		9:  "CANNOT_CHANGE_PUBLISHED_FIELD_TYPE",
   160  		10: "CANNOT_MODIFY_LOCKED_COMPONENT",
   161  	}
   162  	PreconditionFailure_Violation_Reason_value = map[string]int32{
   163  		"REASON_UNSPECIFIED":                 0,
   164  		"CANNOT_DISABLE":                     1,
   165  		"CANNOT_ENABLE":                      2,
   166  		"CANNOT_PUBLISH":                     3,
   167  		"CANNOT_UNPUBLISH":                   4,
   168  		"CANNOT_DELETE":                      5,
   169  		"CANNOT_RESTRICT_RANGE":              6,
   170  		"CANNOT_CHANGE_PUBLISHED_FIELD":      7,
   171  		"CANNOT_CREATE_MORE_LABELS":          8,
   172  		"CANNOT_CHANGE_PUBLISHED_FIELD_TYPE": 9,
   173  		"CANNOT_MODIFY_LOCKED_COMPONENT":     10,
   174  	}
   175  )
   176  
   177  func (x PreconditionFailure_Violation_Reason) Enum() *PreconditionFailure_Violation_Reason {
   178  	p := new(PreconditionFailure_Violation_Reason)
   179  	*p = x
   180  	return p
   181  }
   182  
   183  func (x PreconditionFailure_Violation_Reason) String() string {
   184  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   185  }
   186  
   187  func (PreconditionFailure_Violation_Reason) Descriptor() protoreflect.EnumDescriptor {
   188  	return file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes[1].Descriptor()
   189  }
   190  
   191  func (PreconditionFailure_Violation_Reason) Type() protoreflect.EnumType {
   192  	return &file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes[1]
   193  }
   194  
   195  func (x PreconditionFailure_Violation_Reason) Number() protoreflect.EnumNumber {
   196  	return protoreflect.EnumNumber(x)
   197  }
   198  
   199  // Deprecated: Use PreconditionFailure_Violation_Reason.Descriptor instead.
   200  func (PreconditionFailure_Violation_Reason) EnumDescriptor() ([]byte, []int) {
   201  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{1, 0, 0}
   202  }
   203  
   204  // Describes violations in a request to create or update a Label or its
   205  // Fields.
   206  type InvalidArgument struct {
   207  	state         protoimpl.MessageState
   208  	sizeCache     protoimpl.SizeCache
   209  	unknownFields protoimpl.UnknownFields
   210  
   211  	// Describes all violations in a client request.
   212  	FieldViolations []*InvalidArgument_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"`
   213  }
   214  
   215  func (x *InvalidArgument) Reset() {
   216  	*x = InvalidArgument{}
   217  	if protoimpl.UnsafeEnabled {
   218  		mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[0]
   219  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  		ms.StoreMessageInfo(mi)
   221  	}
   222  }
   223  
   224  func (x *InvalidArgument) String() string {
   225  	return protoimpl.X.MessageStringOf(x)
   226  }
   227  
   228  func (*InvalidArgument) ProtoMessage() {}
   229  
   230  func (x *InvalidArgument) ProtoReflect() protoreflect.Message {
   231  	mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[0]
   232  	if protoimpl.UnsafeEnabled && x != nil {
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		if ms.LoadMessageInfo() == nil {
   235  			ms.StoreMessageInfo(mi)
   236  		}
   237  		return ms
   238  	}
   239  	return mi.MessageOf(x)
   240  }
   241  
   242  // Deprecated: Use InvalidArgument.ProtoReflect.Descriptor instead.
   243  func (*InvalidArgument) Descriptor() ([]byte, []int) {
   244  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{0}
   245  }
   246  
   247  func (x *InvalidArgument) GetFieldViolations() []*InvalidArgument_FieldViolation {
   248  	if x != nil {
   249  		return x.FieldViolations
   250  	}
   251  	return nil
   252  }
   253  
   254  // Describes what preconditions have failed.
   255  type PreconditionFailure struct {
   256  	state         protoimpl.MessageState
   257  	sizeCache     protoimpl.SizeCache
   258  	unknownFields protoimpl.UnknownFields
   259  
   260  	// Describes all violations in a client request.
   261  	Violation []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violation,proto3" json:"violation,omitempty"`
   262  }
   263  
   264  func (x *PreconditionFailure) Reset() {
   265  	*x = PreconditionFailure{}
   266  	if protoimpl.UnsafeEnabled {
   267  		mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[1]
   268  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   269  		ms.StoreMessageInfo(mi)
   270  	}
   271  }
   272  
   273  func (x *PreconditionFailure) String() string {
   274  	return protoimpl.X.MessageStringOf(x)
   275  }
   276  
   277  func (*PreconditionFailure) ProtoMessage() {}
   278  
   279  func (x *PreconditionFailure) ProtoReflect() protoreflect.Message {
   280  	mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[1]
   281  	if protoimpl.UnsafeEnabled && x != nil {
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		if ms.LoadMessageInfo() == nil {
   284  			ms.StoreMessageInfo(mi)
   285  		}
   286  		return ms
   287  	}
   288  	return mi.MessageOf(x)
   289  }
   290  
   291  // Deprecated: Use PreconditionFailure.ProtoReflect.Descriptor instead.
   292  func (*PreconditionFailure) Descriptor() ([]byte, []int) {
   293  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{1}
   294  }
   295  
   296  func (x *PreconditionFailure) GetViolation() []*PreconditionFailure_Violation {
   297  	if x != nil {
   298  		return x.Violation
   299  	}
   300  	return nil
   301  }
   302  
   303  // Describes the Field in which the violation occurred.
   304  type InvalidArgument_FieldViolation struct {
   305  	state         protoimpl.MessageState
   306  	sizeCache     protoimpl.SizeCache
   307  	unknownFields protoimpl.UnknownFields
   308  
   309  	// The path to the field where this violation occurred. This path is
   310  	// specified using `FieldMask` format:
   311  	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
   312  	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
   313  	// The detailed reason for this FieldViolation.
   314  	Reason InvalidArgument_FieldViolation_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=google.apps.drive.labels.v2beta.InvalidArgument_FieldViolation_Reason" json:"reason,omitempty"`
   315  	// A message that describes the violation. This message is intended to
   316  	// be shown to end users, and is localized into the requesting user's
   317  	// preferred language.
   318  	DisplayMessage string `protobuf:"bytes,3,opt,name=display_message,json=displayMessage,proto3" json:"display_message,omitempty"`
   319  }
   320  
   321  func (x *InvalidArgument_FieldViolation) Reset() {
   322  	*x = InvalidArgument_FieldViolation{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[2]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *InvalidArgument_FieldViolation) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*InvalidArgument_FieldViolation) ProtoMessage() {}
   335  
   336  func (x *InvalidArgument_FieldViolation) ProtoReflect() protoreflect.Message {
   337  	mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[2]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use InvalidArgument_FieldViolation.ProtoReflect.Descriptor instead.
   349  func (*InvalidArgument_FieldViolation) Descriptor() ([]byte, []int) {
   350  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{0, 0}
   351  }
   352  
   353  func (x *InvalidArgument_FieldViolation) GetField() string {
   354  	if x != nil {
   355  		return x.Field
   356  	}
   357  	return ""
   358  }
   359  
   360  func (x *InvalidArgument_FieldViolation) GetReason() InvalidArgument_FieldViolation_Reason {
   361  	if x != nil {
   362  		return x.Reason
   363  	}
   364  	return InvalidArgument_FieldViolation_REASON_UNSPECIFIED
   365  }
   366  
   367  func (x *InvalidArgument_FieldViolation) GetDisplayMessage() string {
   368  	if x != nil {
   369  		return x.DisplayMessage
   370  	}
   371  	return ""
   372  }
   373  
   374  // Specific failure reason.
   375  type PreconditionFailure_Violation struct {
   376  	state         protoimpl.MessageState
   377  	sizeCache     protoimpl.SizeCache
   378  	unknownFields protoimpl.UnknownFields
   379  
   380  	// The path to the field where this violation occurred. This path is
   381  	// specified using `FieldMask` format:
   382  	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
   383  	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
   384  	// The type of this violation.
   385  	Reason PreconditionFailure_Violation_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=google.apps.drive.labels.v2beta.PreconditionFailure_Violation_Reason" json:"reason,omitempty"`
   386  	// A message that describes the violation. This message is intended to
   387  	// be shown to end users, and is localized into the requesting user's
   388  	// preferred language.
   389  	DisplayMessage string `protobuf:"bytes,3,opt,name=display_message,json=displayMessage,proto3" json:"display_message,omitempty"`
   390  }
   391  
   392  func (x *PreconditionFailure_Violation) Reset() {
   393  	*x = PreconditionFailure_Violation{}
   394  	if protoimpl.UnsafeEnabled {
   395  		mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[3]
   396  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   397  		ms.StoreMessageInfo(mi)
   398  	}
   399  }
   400  
   401  func (x *PreconditionFailure_Violation) String() string {
   402  	return protoimpl.X.MessageStringOf(x)
   403  }
   404  
   405  func (*PreconditionFailure_Violation) ProtoMessage() {}
   406  
   407  func (x *PreconditionFailure_Violation) ProtoReflect() protoreflect.Message {
   408  	mi := &file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[3]
   409  	if protoimpl.UnsafeEnabled && x != nil {
   410  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   411  		if ms.LoadMessageInfo() == nil {
   412  			ms.StoreMessageInfo(mi)
   413  		}
   414  		return ms
   415  	}
   416  	return mi.MessageOf(x)
   417  }
   418  
   419  // Deprecated: Use PreconditionFailure_Violation.ProtoReflect.Descriptor instead.
   420  func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) {
   421  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP(), []int{1, 0}
   422  }
   423  
   424  func (x *PreconditionFailure_Violation) GetField() string {
   425  	if x != nil {
   426  		return x.Field
   427  	}
   428  	return ""
   429  }
   430  
   431  func (x *PreconditionFailure_Violation) GetReason() PreconditionFailure_Violation_Reason {
   432  	if x != nil {
   433  		return x.Reason
   434  	}
   435  	return PreconditionFailure_Violation_REASON_UNSPECIFIED
   436  }
   437  
   438  func (x *PreconditionFailure_Violation) GetDisplayMessage() string {
   439  	if x != nil {
   440  		return x.DisplayMessage
   441  	}
   442  	return ""
   443  }
   444  
   445  var File_google_apps_drive_labels_v2beta_error_details_proto protoreflect.FileDescriptor
   446  
   447  var file_google_apps_drive_labels_v2beta_error_details_proto_rawDesc = []byte{
   448  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
   449  	0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
   450  	0x61, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e,
   451  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   452  	0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
   453  	0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x22, 0xf1, 0x03, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c,
   454  	0x69, 0x64, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x6a, 0x0a, 0x10, 0x66, 0x69,
   455  	0x65, 0x6c, 0x64, 0x5f, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
   456  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   457  	0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
   458  	0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x72,
   459  	0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x69, 0x6f, 0x6c,
   460  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x69, 0x6f, 0x6c,
   461  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xf1, 0x02, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64,
   462  	0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x65,
   463  	0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12,
   464  	0x5e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
   465  	0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72,
   466  	0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
   467  	0x61, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e,
   468  	0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   469  	0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12,
   470  	0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
   471  	0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
   472  	0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x61,
   473  	0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
   474  	0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x46,
   475  	0x49, 0x45, 0x4c, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12,
   476  	0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45,
   477  	0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f,
   478  	0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54,
   479  	0x52, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c,
   480  	0x4f, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x41, 0x58, 0x5f, 0x45, 0x4e, 0x54,
   481  	0x52, 0x49, 0x45, 0x53, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12,
   482  	0x13, 0x0a, 0x0f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55,
   483  	0x4e, 0x44, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x48, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x4e,
   484  	0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x07, 0x22, 0xcf, 0x04, 0x0a, 0x13, 0x50,
   485  	0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75,
   486  	0x72, 0x65, 0x12, 0x5c, 0x0a, 0x09, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
   487  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   488  	0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   489  	0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69,
   490  	0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x56, 0x69, 0x6f, 0x6c,
   491  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   492  	0x1a, 0xd9, 0x03, 0x0a, 0x09, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14,
   493  	0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66,
   494  	0x69, 0x65, 0x6c, 0x64, 0x12, 0x5d, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02,
   495  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   496  	0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
   497  	0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   498  	0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x56, 0x69, 0x6f, 0x6c, 0x61,
   499  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61,
   500  	0x73, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6d,
   501  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x69,
   502  	0x73, 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xad, 0x02, 0x0a,
   503  	0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x41, 0x53, 0x4f,
   504  	0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   505  	0x12, 0x0a, 0x0e, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c,
   506  	0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e,
   507  	0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54,
   508  	0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x41,
   509  	0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x04,
   510  	0x12, 0x11, 0x0a, 0x0d, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54,
   511  	0x45, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45,
   512  	0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x06, 0x12, 0x21,
   513  	0x0a, 0x1d, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f,
   514  	0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10,
   515  	0x07, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41,
   516  	0x54, 0x45, 0x5f, 0x4d, 0x4f, 0x52, 0x45, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x53, 0x10, 0x08,
   517  	0x12, 0x26, 0x0a, 0x22, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47,
   518  	0x45, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c,
   519  	0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x09, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x4e, 0x4e,
   520  	0x4f, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x59, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44,
   521  	0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x10, 0x0a, 0x42, 0x81, 0x01, 0x0a,
   522  	0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
   523  	0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
   524  	0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69,
   525  	0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   526  	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
   527  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   528  	0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65,
   529  	0x6c, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   530  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   531  }
   532  
   533  var (
   534  	file_google_apps_drive_labels_v2beta_error_details_proto_rawDescOnce sync.Once
   535  	file_google_apps_drive_labels_v2beta_error_details_proto_rawDescData = file_google_apps_drive_labels_v2beta_error_details_proto_rawDesc
   536  )
   537  
   538  func file_google_apps_drive_labels_v2beta_error_details_proto_rawDescGZIP() []byte {
   539  	file_google_apps_drive_labels_v2beta_error_details_proto_rawDescOnce.Do(func() {
   540  		file_google_apps_drive_labels_v2beta_error_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_labels_v2beta_error_details_proto_rawDescData)
   541  	})
   542  	return file_google_apps_drive_labels_v2beta_error_details_proto_rawDescData
   543  }
   544  
   545  var file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   546  var file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   547  var file_google_apps_drive_labels_v2beta_error_details_proto_goTypes = []interface{}{
   548  	(InvalidArgument_FieldViolation_Reason)(0), // 0: google.apps.drive.labels.v2beta.InvalidArgument.FieldViolation.Reason
   549  	(PreconditionFailure_Violation_Reason)(0),  // 1: google.apps.drive.labels.v2beta.PreconditionFailure.Violation.Reason
   550  	(*InvalidArgument)(nil),                    // 2: google.apps.drive.labels.v2beta.InvalidArgument
   551  	(*PreconditionFailure)(nil),                // 3: google.apps.drive.labels.v2beta.PreconditionFailure
   552  	(*InvalidArgument_FieldViolation)(nil),     // 4: google.apps.drive.labels.v2beta.InvalidArgument.FieldViolation
   553  	(*PreconditionFailure_Violation)(nil),      // 5: google.apps.drive.labels.v2beta.PreconditionFailure.Violation
   554  }
   555  var file_google_apps_drive_labels_v2beta_error_details_proto_depIdxs = []int32{
   556  	4, // 0: google.apps.drive.labels.v2beta.InvalidArgument.field_violations:type_name -> google.apps.drive.labels.v2beta.InvalidArgument.FieldViolation
   557  	5, // 1: google.apps.drive.labels.v2beta.PreconditionFailure.violation:type_name -> google.apps.drive.labels.v2beta.PreconditionFailure.Violation
   558  	0, // 2: google.apps.drive.labels.v2beta.InvalidArgument.FieldViolation.reason:type_name -> google.apps.drive.labels.v2beta.InvalidArgument.FieldViolation.Reason
   559  	1, // 3: google.apps.drive.labels.v2beta.PreconditionFailure.Violation.reason:type_name -> google.apps.drive.labels.v2beta.PreconditionFailure.Violation.Reason
   560  	4, // [4:4] is the sub-list for method output_type
   561  	4, // [4:4] is the sub-list for method input_type
   562  	4, // [4:4] is the sub-list for extension type_name
   563  	4, // [4:4] is the sub-list for extension extendee
   564  	0, // [0:4] is the sub-list for field type_name
   565  }
   566  
   567  func init() { file_google_apps_drive_labels_v2beta_error_details_proto_init() }
   568  func file_google_apps_drive_labels_v2beta_error_details_proto_init() {
   569  	if File_google_apps_drive_labels_v2beta_error_details_proto != nil {
   570  		return
   571  	}
   572  	if !protoimpl.UnsafeEnabled {
   573  		file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   574  			switch v := v.(*InvalidArgument); i {
   575  			case 0:
   576  				return &v.state
   577  			case 1:
   578  				return &v.sizeCache
   579  			case 2:
   580  				return &v.unknownFields
   581  			default:
   582  				return nil
   583  			}
   584  		}
   585  		file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   586  			switch v := v.(*PreconditionFailure); i {
   587  			case 0:
   588  				return &v.state
   589  			case 1:
   590  				return &v.sizeCache
   591  			case 2:
   592  				return &v.unknownFields
   593  			default:
   594  				return nil
   595  			}
   596  		}
   597  		file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   598  			switch v := v.(*InvalidArgument_FieldViolation); i {
   599  			case 0:
   600  				return &v.state
   601  			case 1:
   602  				return &v.sizeCache
   603  			case 2:
   604  				return &v.unknownFields
   605  			default:
   606  				return nil
   607  			}
   608  		}
   609  		file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   610  			switch v := v.(*PreconditionFailure_Violation); i {
   611  			case 0:
   612  				return &v.state
   613  			case 1:
   614  				return &v.sizeCache
   615  			case 2:
   616  				return &v.unknownFields
   617  			default:
   618  				return nil
   619  			}
   620  		}
   621  	}
   622  	type x struct{}
   623  	out := protoimpl.TypeBuilder{
   624  		File: protoimpl.DescBuilder{
   625  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   626  			RawDescriptor: file_google_apps_drive_labels_v2beta_error_details_proto_rawDesc,
   627  			NumEnums:      2,
   628  			NumMessages:   4,
   629  			NumExtensions: 0,
   630  			NumServices:   0,
   631  		},
   632  		GoTypes:           file_google_apps_drive_labels_v2beta_error_details_proto_goTypes,
   633  		DependencyIndexes: file_google_apps_drive_labels_v2beta_error_details_proto_depIdxs,
   634  		EnumInfos:         file_google_apps_drive_labels_v2beta_error_details_proto_enumTypes,
   635  		MessageInfos:      file_google_apps_drive_labels_v2beta_error_details_proto_msgTypes,
   636  	}.Build()
   637  	File_google_apps_drive_labels_v2beta_error_details_proto = out.File
   638  	file_google_apps_drive_labels_v2beta_error_details_proto_rawDesc = nil
   639  	file_google_apps_drive_labels_v2beta_error_details_proto_goTypes = nil
   640  	file_google_apps_drive_labels_v2beta_error_details_proto_depIdxs = nil
   641  }
   642  

View as plain text