Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / field_mask_error.proto
1 // Copyright 2018 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
16 syntax = "proto3";
17
18 package google.ads.googleads.v0.errors;
19
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
22 option java_multiple_files = true;
23 option java_outer_classname = "FieldMaskErrorProto";
24 option java_package = "com.google.ads.googleads.v0.errors";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
28
29 // Proto file describing field mask errors.
30
31 // Container for enum describing possible field mask errors.
32 message FieldMaskErrorEnum {
33   // Enum describing possible field mask errors.
34   enum FieldMaskError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // The field mask must be provided for update operations.
42     FIELD_MASK_MISSING = 5;
43
44     // The field mask must be empty for create and remove operations.
45     FIELD_MASK_NOT_ALLOWED = 4;
46
47     // The field mask contained an invalid field.
48     FIELD_NOT_FOUND = 2;
49
50     // The field mask updated a field with subfields. Fields with subfields may
51     // be cleared, but not updated. To fix this, the field mask should select
52     // all the subfields of the invalid field.
53     FIELD_HAS_SUBFIELDS = 3;
54   }
55 }