Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / function_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 = "FunctionErrorProto";
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 function errors.
30
31 // Container for enum describing possible function errors.
32 message FunctionErrorEnum {
33   // Enum describing possible function errors.
34   enum FunctionError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // The format of the function is not recognized as a supported function
42     // format.
43     INVALID_FUNCTION_FORMAT = 2;
44
45     // Operand data types do not match.
46     DATA_TYPE_MISMATCH = 3;
47
48     // The operands cannot be used together in a conjunction.
49     INVALID_CONJUNCTION_OPERANDS = 4;
50
51     // Invalid numer of Operands.
52     INVALID_NUMBER_OF_OPERANDS = 5;
53
54     // Operand Type not supported.
55     INVALID_OPERAND_TYPE = 6;
56
57     // Operator not supported.
58     INVALID_OPERATOR = 7;
59
60     // Request context type not supported.
61     INVALID_REQUEST_CONTEXT_TYPE = 8;
62
63     // The matching function is not allowed for call placeholders
64     INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
65
66     // The matching function is not allowed for the specified placeholder
67     INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
68
69     // Invalid operand.
70     INVALID_OPERAND = 11;
71
72     // Missing value for the constant operand.
73     MISSING_CONSTANT_OPERAND_VALUE = 12;
74
75     // The value of the constant operand is invalid.
76     INVALID_CONSTANT_OPERAND_VALUE = 13;
77
78     // Invalid function nesting.
79     INVALID_NESTING = 14;
80
81     // The Feed ID was different from another Feed ID in the same function.
82     MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;
83
84     // The matching function is invalid for use with a feed with a fixed schema.
85     INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;
86
87     // Invalid attribute name.
88     INVALID_ATTRIBUTE_NAME = 17;
89   }
90 }