/
account_budget_proposal_error.pb.go
228 lines (211 loc) · 13.6 KB
/
account_budget_proposal_error.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/account_budget_proposal_error.proto
package errors
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Enum describing possible account budget proposal errors.
type AccountBudgetProposalErrorEnum_AccountBudgetProposalError int32
const (
// Enum unspecified.
AccountBudgetProposalErrorEnum_UNSPECIFIED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 0
// The received error code is not known in this version.
AccountBudgetProposalErrorEnum_UNKNOWN AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 1
// The field mask must be empty for create/end/remove proposals.
AccountBudgetProposalErrorEnum_FIELD_MASK_NOT_ALLOWED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 2
// The field cannot be set because of the proposal type.
AccountBudgetProposalErrorEnum_IMMUTABLE_FIELD AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 3
// The field is required because of the proposal type.
AccountBudgetProposalErrorEnum_REQUIRED_FIELD_MISSING AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 4
// Proposals that have been approved cannot be cancelled.
AccountBudgetProposalErrorEnum_CANNOT_CANCEL_APPROVED_PROPOSAL AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 5
// Budgets that haven't been approved cannot be removed.
AccountBudgetProposalErrorEnum_CANNOT_REMOVE_UNAPPROVED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 6
// Budgets that are currently running cannot be removed.
AccountBudgetProposalErrorEnum_CANNOT_REMOVE_RUNNING_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 7
// Budgets that haven't been approved cannot be truncated.
AccountBudgetProposalErrorEnum_CANNOT_END_UNAPPROVED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 8
// Only budgets that are currently running can be truncated.
AccountBudgetProposalErrorEnum_CANNOT_END_INACTIVE_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 9
// All budgets must have names.
AccountBudgetProposalErrorEnum_BUDGET_NAME_REQUIRED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 10
// Expired budgets cannot be edited after a sufficient amount of time has
// passed.
AccountBudgetProposalErrorEnum_CANNOT_UPDATE_OLD_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 11
// It is not permissible a propose a new budget that ends in the past.
AccountBudgetProposalErrorEnum_CANNOT_END_IN_PAST AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 12
// An expired budget cannot be extended to overlap with the running budget.
AccountBudgetProposalErrorEnum_CANNOT_EXTEND_END_TIME AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 13
// A purchase order number is required.
AccountBudgetProposalErrorEnum_PURCHASE_ORDER_NUMBER_REQUIRED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 14
// Budgets that have a pending update cannot be updated.
AccountBudgetProposalErrorEnum_PENDING_UPDATE_PROPOSAL_EXISTS AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 15
// Cannot propose more than one budget when the corresponding billing setup
// hasn't been approved.
AccountBudgetProposalErrorEnum_MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 16
// Cannot update the start time of a budget that has already started.
AccountBudgetProposalErrorEnum_CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 17
// Cannot update the spending limit of a budget with an amount lower than
// what has already been spent.
AccountBudgetProposalErrorEnum_SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 18
// Cannot propose a budget update without actually changing any fields.
AccountBudgetProposalErrorEnum_UPDATE_IS_NO_OP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 19
// The end time must come after the start time.
AccountBudgetProposalErrorEnum_END_TIME_MUST_FOLLOW_START_TIME AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 20
// The budget's date range must fall within the date range of its billing
// setup.
AccountBudgetProposalErrorEnum_BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 21
// The user is not authorized to mutate budgets for the given billing setup.
AccountBudgetProposalErrorEnum_NOT_AUTHORIZED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 22
// Mutates are not allowed for the given billing setup.
AccountBudgetProposalErrorEnum_INVALID_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 23
)
var AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "FIELD_MASK_NOT_ALLOWED",
3: "IMMUTABLE_FIELD",
4: "REQUIRED_FIELD_MISSING",
5: "CANNOT_CANCEL_APPROVED_PROPOSAL",
6: "CANNOT_REMOVE_UNAPPROVED_BUDGET",
7: "CANNOT_REMOVE_RUNNING_BUDGET",
8: "CANNOT_END_UNAPPROVED_BUDGET",
9: "CANNOT_END_INACTIVE_BUDGET",
10: "BUDGET_NAME_REQUIRED",
11: "CANNOT_UPDATE_OLD_BUDGET",
12: "CANNOT_END_IN_PAST",
13: "CANNOT_EXTEND_END_TIME",
14: "PURCHASE_ORDER_NUMBER_REQUIRED",
15: "PENDING_UPDATE_PROPOSAL_EXISTS",
16: "MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP",
17: "CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET",
18: "SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED",
19: "UPDATE_IS_NO_OP",
20: "END_TIME_MUST_FOLLOW_START_TIME",
21: "BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP",
22: "NOT_AUTHORIZED",
23: "INVALID_BILLING_SETUP",
}
var AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"FIELD_MASK_NOT_ALLOWED": 2,
"IMMUTABLE_FIELD": 3,
"REQUIRED_FIELD_MISSING": 4,
"CANNOT_CANCEL_APPROVED_PROPOSAL": 5,
"CANNOT_REMOVE_UNAPPROVED_BUDGET": 6,
"CANNOT_REMOVE_RUNNING_BUDGET": 7,
"CANNOT_END_UNAPPROVED_BUDGET": 8,
"CANNOT_END_INACTIVE_BUDGET": 9,
"BUDGET_NAME_REQUIRED": 10,
"CANNOT_UPDATE_OLD_BUDGET": 11,
"CANNOT_END_IN_PAST": 12,
"CANNOT_EXTEND_END_TIME": 13,
"PURCHASE_ORDER_NUMBER_REQUIRED": 14,
"PENDING_UPDATE_PROPOSAL_EXISTS": 15,
"MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP": 16,
"CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET": 17,
"SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED": 18,
"UPDATE_IS_NO_OP": 19,
"END_TIME_MUST_FOLLOW_START_TIME": 20,
"BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP": 21,
"NOT_AUTHORIZED": 22,
"INVALID_BILLING_SETUP": 23,
}
func (x AccountBudgetProposalErrorEnum_AccountBudgetProposalError) String() string {
return proto.EnumName(AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, int32(x))
}
func (AccountBudgetProposalErrorEnum_AccountBudgetProposalError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3933aa7042306da2, []int{0, 0}
}
// Container for enum describing possible account budget proposal errors.
type AccountBudgetProposalErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AccountBudgetProposalErrorEnum) Reset() { *m = AccountBudgetProposalErrorEnum{} }
func (m *AccountBudgetProposalErrorEnum) String() string { return proto.CompactTextString(m) }
func (*AccountBudgetProposalErrorEnum) ProtoMessage() {}
func (*AccountBudgetProposalErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_3933aa7042306da2, []int{0}
}
func (m *AccountBudgetProposalErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountBudgetProposalErrorEnum.Unmarshal(m, b)
}
func (m *AccountBudgetProposalErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountBudgetProposalErrorEnum.Marshal(b, m, deterministic)
}
func (m *AccountBudgetProposalErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountBudgetProposalErrorEnum.Merge(m, src)
}
func (m *AccountBudgetProposalErrorEnum) XXX_Size() int {
return xxx_messageInfo_AccountBudgetProposalErrorEnum.Size(m)
}
func (m *AccountBudgetProposalErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_AccountBudgetProposalErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_AccountBudgetProposalErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v0.errors.AccountBudgetProposalErrorEnum_AccountBudgetProposalError", AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value)
proto.RegisterType((*AccountBudgetProposalErrorEnum)(nil), "google.ads.googleads.v0.errors.AccountBudgetProposalErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v0/errors/account_budget_proposal_error.proto", fileDescriptor_3933aa7042306da2)
}
var fileDescriptor_3933aa7042306da2 = []byte{
// 670 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xcb, 0x6e, 0x13, 0x3d,
0x14, 0xc7, 0xbf, 0xa6, 0x1f, 0x29, 0xb8, 0xd0, 0x1a, 0xf7, 0x42, 0xa9, 0xaa, 0x14, 0x85, 0x25,
0xd2, 0x24, 0x80, 0x40, 0x62, 0x10, 0x0b, 0x67, 0xc6, 0x49, 0xac, 0xce, 0xd8, 0xc6, 0x97, 0xb4,
0xaa, 0x22, 0x59, 0x69, 0x13, 0x45, 0x48, 0x6d, 0x26, 0xca, 0xb4, 0x7d, 0x20, 0x96, 0xec, 0x78,
0x0d, 0xd6, 0x3c, 0x05, 0x8f, 0xc0, 0x0a, 0x79, 0x2e, 0x69, 0x52, 0x51, 0x16, 0x51, 0xce, 0xcc,
0xf9, 0x9d, 0xff, 0xb9, 0xd8, 0x67, 0x40, 0x6b, 0x9c, 0x24, 0xe3, 0x8b, 0x51, 0x63, 0x30, 0x4c,
0x1b, 0xb9, 0xe9, 0xac, 0x9b, 0x66, 0x63, 0x34, 0x9b, 0x25, 0xb3, 0xb4, 0x31, 0x38, 0x3f, 0x4f,
0xae, 0x27, 0x57, 0xf6, 0xec, 0x7a, 0x38, 0x1e, 0x5d, 0xd9, 0xe9, 0x2c, 0x99, 0x26, 0xe9, 0xe0,
0xc2, 0x66, 0x6e, 0x6f, 0x3a, 0x4b, 0xae, 0x12, 0x54, 0xcb, 0x03, 0xbd, 0xc1, 0x30, 0xf5, 0xe6,
0x1a, 0xde, 0x4d, 0xd3, 0xcb, 0x35, 0xea, 0x3f, 0xab, 0xa0, 0x86, 0x73, 0x9d, 0x56, 0x26, 0x23,
0x0a, 0x15, 0xe2, 0xfc, 0x64, 0x72, 0x7d, 0x59, 0xff, 0x5e, 0x05, 0xfb, 0xf7, 0x23, 0x68, 0x13,
0xac, 0x1b, 0xa6, 0x04, 0x09, 0x68, 0x9b, 0x92, 0x10, 0xfe, 0x87, 0xd6, 0xc1, 0x9a, 0x61, 0x47,
0x8c, 0x1f, 0x33, 0xb8, 0x82, 0xf6, 0xc1, 0x6e, 0x9b, 0x92, 0x28, 0xb4, 0x31, 0x56, 0x47, 0x96,
0x71, 0x6d, 0x71, 0x14, 0xf1, 0x63, 0x12, 0xc2, 0x0a, 0xda, 0x02, 0x9b, 0x34, 0x8e, 0x8d, 0xc6,
0xad, 0x88, 0xd8, 0x8c, 0x82, 0xab, 0x2e, 0x40, 0x92, 0xcf, 0x86, 0x4a, 0x12, 0xda, 0x22, 0x92,
0x2a, 0x45, 0x59, 0x07, 0xfe, 0x8f, 0x5e, 0x82, 0xc3, 0x00, 0x33, 0x27, 0x12, 0x60, 0x16, 0x90,
0xc8, 0x62, 0x21, 0x24, 0xef, 0x91, 0xd0, 0x0a, 0xc9, 0x05, 0x57, 0x38, 0x82, 0x0f, 0x16, 0x20,
0x49, 0x62, 0xde, 0x23, 0xd6, 0xb0, 0x39, 0xd6, 0x32, 0x61, 0x87, 0x68, 0x58, 0x45, 0x2f, 0xc0,
0xc1, 0x32, 0x24, 0x0d, 0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