1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package budgets
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 proto "github.com/golang/protobuf/proto"
29 _ "google.golang.org/genproto/googleapis/api/annotations"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 emptypb "google.golang.org/protobuf/types/known/emptypb"
36 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
37 )
38
39 const (
40
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46
47
48 const _ = proto.ProtoPackageIsVersion4
49
50
51 type CreateBudgetRequest struct {
52 state protoimpl.MessageState
53 sizeCache protoimpl.SizeCache
54 unknownFields protoimpl.UnknownFields
55
56
57
58 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
59
60 Budget *Budget `protobuf:"bytes,2,opt,name=budget,proto3" json:"budget,omitempty"`
61 }
62
63 func (x *CreateBudgetRequest) Reset() {
64 *x = CreateBudgetRequest{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *CreateBudgetRequest) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*CreateBudgetRequest) ProtoMessage() {}
77
78 func (x *CreateBudgetRequest) ProtoReflect() protoreflect.Message {
79 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[0]
80 if protoimpl.UnsafeEnabled && x != nil {
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 if ms.LoadMessageInfo() == nil {
83 ms.StoreMessageInfo(mi)
84 }
85 return ms
86 }
87 return mi.MessageOf(x)
88 }
89
90
91 func (*CreateBudgetRequest) Descriptor() ([]byte, []int) {
92 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *CreateBudgetRequest) GetParent() string {
96 if x != nil {
97 return x.Parent
98 }
99 return ""
100 }
101
102 func (x *CreateBudgetRequest) GetBudget() *Budget {
103 if x != nil {
104 return x.Budget
105 }
106 return nil
107 }
108
109
110 type UpdateBudgetRequest struct {
111 state protoimpl.MessageState
112 sizeCache protoimpl.SizeCache
113 unknownFields protoimpl.UnknownFields
114
115
116
117 Budget *Budget `protobuf:"bytes,1,opt,name=budget,proto3" json:"budget,omitempty"`
118
119
120
121
122
123
124 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
125 }
126
127 func (x *UpdateBudgetRequest) Reset() {
128 *x = UpdateBudgetRequest{}
129 if protoimpl.UnsafeEnabled {
130 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[1]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134 }
135
136 func (x *UpdateBudgetRequest) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*UpdateBudgetRequest) ProtoMessage() {}
141
142 func (x *UpdateBudgetRequest) ProtoReflect() protoreflect.Message {
143 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[1]
144 if protoimpl.UnsafeEnabled && x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154
155 func (*UpdateBudgetRequest) Descriptor() ([]byte, []int) {
156 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{1}
157 }
158
159 func (x *UpdateBudgetRequest) GetBudget() *Budget {
160 if x != nil {
161 return x.Budget
162 }
163 return nil
164 }
165
166 func (x *UpdateBudgetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
167 if x != nil {
168 return x.UpdateMask
169 }
170 return nil
171 }
172
173
174 type GetBudgetRequest struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179
180
181 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
182 }
183
184 func (x *GetBudgetRequest) Reset() {
185 *x = GetBudgetRequest{}
186 if protoimpl.UnsafeEnabled {
187 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[2]
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 ms.StoreMessageInfo(mi)
190 }
191 }
192
193 func (x *GetBudgetRequest) String() string {
194 return protoimpl.X.MessageStringOf(x)
195 }
196
197 func (*GetBudgetRequest) ProtoMessage() {}
198
199 func (x *GetBudgetRequest) ProtoReflect() protoreflect.Message {
200 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[2]
201 if protoimpl.UnsafeEnabled && x != nil {
202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203 if ms.LoadMessageInfo() == nil {
204 ms.StoreMessageInfo(mi)
205 }
206 return ms
207 }
208 return mi.MessageOf(x)
209 }
210
211
212 func (*GetBudgetRequest) Descriptor() ([]byte, []int) {
213 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{2}
214 }
215
216 func (x *GetBudgetRequest) GetName() string {
217 if x != nil {
218 return x.Name
219 }
220 return ""
221 }
222
223
224 type ListBudgetsRequest struct {
225 state protoimpl.MessageState
226 sizeCache protoimpl.SizeCache
227 unknownFields protoimpl.UnknownFields
228
229
230
231 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
232
233
234 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
235
236
237
238 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
239 }
240
241 func (x *ListBudgetsRequest) Reset() {
242 *x = ListBudgetsRequest{}
243 if protoimpl.UnsafeEnabled {
244 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[3]
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 ms.StoreMessageInfo(mi)
247 }
248 }
249
250 func (x *ListBudgetsRequest) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*ListBudgetsRequest) ProtoMessage() {}
255
256 func (x *ListBudgetsRequest) ProtoReflect() protoreflect.Message {
257 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[3]
258 if protoimpl.UnsafeEnabled && x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268
269 func (*ListBudgetsRequest) Descriptor() ([]byte, []int) {
270 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{3}
271 }
272
273 func (x *ListBudgetsRequest) GetParent() string {
274 if x != nil {
275 return x.Parent
276 }
277 return ""
278 }
279
280 func (x *ListBudgetsRequest) GetPageSize() int32 {
281 if x != nil {
282 return x.PageSize
283 }
284 return 0
285 }
286
287 func (x *ListBudgetsRequest) GetPageToken() string {
288 if x != nil {
289 return x.PageToken
290 }
291 return ""
292 }
293
294
295 type ListBudgetsResponse struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300
301 Budgets []*Budget `protobuf:"bytes,1,rep,name=budgets,proto3" json:"budgets,omitempty"`
302
303
304 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
305 }
306
307 func (x *ListBudgetsResponse) Reset() {
308 *x = ListBudgetsResponse{}
309 if protoimpl.UnsafeEnabled {
310 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[4]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314 }
315
316 func (x *ListBudgetsResponse) String() string {
317 return protoimpl.X.MessageStringOf(x)
318 }
319
320 func (*ListBudgetsResponse) ProtoMessage() {}
321
322 func (x *ListBudgetsResponse) ProtoReflect() protoreflect.Message {
323 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[4]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
332 }
333
334
335 func (*ListBudgetsResponse) Descriptor() ([]byte, []int) {
336 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{4}
337 }
338
339 func (x *ListBudgetsResponse) GetBudgets() []*Budget {
340 if x != nil {
341 return x.Budgets
342 }
343 return nil
344 }
345
346 func (x *ListBudgetsResponse) GetNextPageToken() string {
347 if x != nil {
348 return x.NextPageToken
349 }
350 return ""
351 }
352
353
354 type DeleteBudgetRequest struct {
355 state protoimpl.MessageState
356 sizeCache protoimpl.SizeCache
357 unknownFields protoimpl.UnknownFields
358
359
360
361 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
362 }
363
364 func (x *DeleteBudgetRequest) Reset() {
365 *x = DeleteBudgetRequest{}
366 if protoimpl.UnsafeEnabled {
367 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[5]
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 ms.StoreMessageInfo(mi)
370 }
371 }
372
373 func (x *DeleteBudgetRequest) String() string {
374 return protoimpl.X.MessageStringOf(x)
375 }
376
377 func (*DeleteBudgetRequest) ProtoMessage() {}
378
379 func (x *DeleteBudgetRequest) ProtoReflect() protoreflect.Message {
380 mi := &file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[5]
381 if protoimpl.UnsafeEnabled && x != nil {
382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
383 if ms.LoadMessageInfo() == nil {
384 ms.StoreMessageInfo(mi)
385 }
386 return ms
387 }
388 return mi.MessageOf(x)
389 }
390
391
392 func (*DeleteBudgetRequest) Descriptor() ([]byte, []int) {
393 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP(), []int{5}
394 }
395
396 func (x *DeleteBudgetRequest) GetName() string {
397 if x != nil {
398 return x.Name
399 }
400 return ""
401 }
402
403 var File_google_cloud_billing_budgets_v1alpha1_budget_service_proto protoreflect.FileDescriptor
404
405 var file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDesc = []byte{
406 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
407 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x76,
408 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73,
409 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f,
410 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69,
411 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
412 0x68, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
413 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
414 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
415 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
416 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
417 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
418 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
419 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
420 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x62, 0x75, 0x64,
421 0x67, 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x75,
422 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
423 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
424 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
425 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
426 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
427 0xa7, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74,
428 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
429 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12,
430 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e,
431 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42,
432 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a,
433 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
434 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c,
435 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61,
436 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41,
437 0x02, 0x52, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x13, 0x55, 0x70,
438 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
439 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
440 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
441 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73,
442 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74,
443 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x40, 0x0a,
444 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
445 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
446 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03,
447 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22,
448 0x54, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
449 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
450 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69,
451 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
452 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52,
453 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75,
454 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06,
455 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41,
456 0x02, 0xfa, 0x41, 0x26, 0x12, 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64,
457 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
458 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
459 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
460 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
461 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
462 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70,
463 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73,
464 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
465 0x12, 0x47, 0x0a, 0x07, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
466 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
467 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73,
468 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74,
469 0x52, 0x07, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
470 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
471 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
472 0x6e, 0x22, 0x57, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65,
473 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
474 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24,
475 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67,
476 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75,
477 0x64, 0x67, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x85, 0x08, 0x0a, 0x0d, 0x42,
478 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb2, 0x01, 0x0a,
479 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x2e,
480 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c,
481 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61,
482 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67,
483 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
484 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
485 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
486 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31,
487 0x22, 0x2c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
488 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75,
489 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x01,
490 0x2a, 0x12, 0xb9, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67,
491 0x65, 0x74, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
492 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74,
493 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
494 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d,
495 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
496 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31,
497 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0x3e, 0x82,
498 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
499 0x2f, 0x7b, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 0x69,
500 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
501 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xa9, 0x01,
502 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f,
503 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69,
504 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
505 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71,
506 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
507 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67,
508 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64,
509 0x67, 0x65, 0x74, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31,
510 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 0x69, 0x6c,
511 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62,
512 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xba, 0x01, 0x0a, 0x0b, 0x4c, 0x69,
513 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
514 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
515 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
516 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71,
517 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
518 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67,
519 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73,
520 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
521 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
522 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c,
523 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62,
524 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74,
525 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
526 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62,
527 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
528 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
529 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
530 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4,
531 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b,
532 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f,
533 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a,
534 0x7d, 0x1a, 0x7f, 0xca, 0x41, 0x1d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64,
535 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
536 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
537 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
538 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x62, 0x69, 0x6c, 0x6c,
539 0x69, 0x6e, 0x67, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
540 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
541 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
542 0x72, 0x6d, 0x42, 0x7b, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
543 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62,
544 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x50,
545 0x01, 0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
546 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
547 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
548 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x76,
549 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x62,
550 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
551 }
552
553 var (
554 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescOnce sync.Once
555 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescData = file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDesc
556 )
557
558 func file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescGZIP() []byte {
559 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescOnce.Do(func() {
560 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescData)
561 })
562 return file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDescData
563 }
564
565 var file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
566 var file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_goTypes = []interface{}{
567 (*CreateBudgetRequest)(nil),
568 (*UpdateBudgetRequest)(nil),
569 (*GetBudgetRequest)(nil),
570 (*ListBudgetsRequest)(nil),
571 (*ListBudgetsResponse)(nil),
572 (*DeleteBudgetRequest)(nil),
573 (*Budget)(nil),
574 (*fieldmaskpb.FieldMask)(nil),
575 (*emptypb.Empty)(nil),
576 }
577 var file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_depIdxs = []int32{
578 6,
579 6,
580 7,
581 6,
582 0,
583 1,
584 2,
585 3,
586 5,
587 6,
588 6,
589 6,
590 4,
591 8,
592 9,
593 4,
594 4,
595 4,
596 0,
597 }
598
599 func init() { file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_init() }
600 func file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_init() {
601 if File_google_cloud_billing_budgets_v1alpha1_budget_service_proto != nil {
602 return
603 }
604 file_google_cloud_billing_budgets_v1alpha1_budget_model_proto_init()
605 if !protoimpl.UnsafeEnabled {
606 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
607 switch v := v.(*CreateBudgetRequest); i {
608 case 0:
609 return &v.state
610 case 1:
611 return &v.sizeCache
612 case 2:
613 return &v.unknownFields
614 default:
615 return nil
616 }
617 }
618 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
619 switch v := v.(*UpdateBudgetRequest); i {
620 case 0:
621 return &v.state
622 case 1:
623 return &v.sizeCache
624 case 2:
625 return &v.unknownFields
626 default:
627 return nil
628 }
629 }
630 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
631 switch v := v.(*GetBudgetRequest); i {
632 case 0:
633 return &v.state
634 case 1:
635 return &v.sizeCache
636 case 2:
637 return &v.unknownFields
638 default:
639 return nil
640 }
641 }
642 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
643 switch v := v.(*ListBudgetsRequest); i {
644 case 0:
645 return &v.state
646 case 1:
647 return &v.sizeCache
648 case 2:
649 return &v.unknownFields
650 default:
651 return nil
652 }
653 }
654 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
655 switch v := v.(*ListBudgetsResponse); i {
656 case 0:
657 return &v.state
658 case 1:
659 return &v.sizeCache
660 case 2:
661 return &v.unknownFields
662 default:
663 return nil
664 }
665 }
666 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
667 switch v := v.(*DeleteBudgetRequest); i {
668 case 0:
669 return &v.state
670 case 1:
671 return &v.sizeCache
672 case 2:
673 return &v.unknownFields
674 default:
675 return nil
676 }
677 }
678 }
679 type x struct{}
680 out := protoimpl.TypeBuilder{
681 File: protoimpl.DescBuilder{
682 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
683 RawDescriptor: file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDesc,
684 NumEnums: 0,
685 NumMessages: 6,
686 NumExtensions: 0,
687 NumServices: 1,
688 },
689 GoTypes: file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_goTypes,
690 DependencyIndexes: file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_depIdxs,
691 MessageInfos: file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_msgTypes,
692 }.Build()
693 File_google_cloud_billing_budgets_v1alpha1_budget_service_proto = out.File
694 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_rawDesc = nil
695 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_goTypes = nil
696 file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_depIdxs = nil
697 }
698
699
700 var _ context.Context
701 var _ grpc.ClientConnInterface
702
703
704
705 const _ = grpc.SupportPackageIsVersion6
706
707
708
709
710 type BudgetServiceClient interface {
711
712
713
714 CreateBudget(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
715
716
717
718
719
720 UpdateBudget(ctx context.Context, in *UpdateBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
721
722
723
724
725
726
727 GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
728
729
730
731
732
733
734 ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error)
735
736 DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
737 }
738
739 type budgetServiceClient struct {
740 cc grpc.ClientConnInterface
741 }
742
743 func NewBudgetServiceClient(cc grpc.ClientConnInterface) BudgetServiceClient {
744 return &budgetServiceClient{cc}
745 }
746
747 func (c *budgetServiceClient) CreateBudget(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) {
748 out := new(Budget)
749 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1alpha1.BudgetService/CreateBudget", in, out, opts...)
750 if err != nil {
751 return nil, err
752 }
753 return out, nil
754 }
755
756 func (c *budgetServiceClient) UpdateBudget(ctx context.Context, in *UpdateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) {
757 out := new(Budget)
758 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1alpha1.BudgetService/UpdateBudget", in, out, opts...)
759 if err != nil {
760 return nil, err
761 }
762 return out, nil
763 }
764
765 func (c *budgetServiceClient) GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error) {
766 out := new(Budget)
767 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1alpha1.BudgetService/GetBudget", in, out, opts...)
768 if err != nil {
769 return nil, err
770 }
771 return out, nil
772 }
773
774 func (c *budgetServiceClient) ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error) {
775 out := new(ListBudgetsResponse)
776 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1alpha1.BudgetService/ListBudgets", in, out, opts...)
777 if err != nil {
778 return nil, err
779 }
780 return out, nil
781 }
782
783 func (c *budgetServiceClient) DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
784 out := new(emptypb.Empty)
785 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1alpha1.BudgetService/DeleteBudget", in, out, opts...)
786 if err != nil {
787 return nil, err
788 }
789 return out, nil
790 }
791
792
793 type BudgetServiceServer interface {
794
795
796
797 CreateBudget(context.Context, *CreateBudgetRequest) (*Budget, error)
798
799
800
801
802
803 UpdateBudget(context.Context, *UpdateBudgetRequest) (*Budget, error)
804
805
806
807
808
809
810 GetBudget(context.Context, *GetBudgetRequest) (*Budget, error)
811
812
813
814
815
816
817 ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error)
818
819 DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error)
820 }
821
822
823 type UnimplementedBudgetServiceServer struct {
824 }
825
826 func (*UnimplementedBudgetServiceServer) CreateBudget(context.Context, *CreateBudgetRequest) (*Budget, error) {
827 return nil, status.Errorf(codes.Unimplemented, "method CreateBudget not implemented")
828 }
829 func (*UnimplementedBudgetServiceServer) UpdateBudget(context.Context, *UpdateBudgetRequest) (*Budget, error) {
830 return nil, status.Errorf(codes.Unimplemented, "method UpdateBudget not implemented")
831 }
832 func (*UnimplementedBudgetServiceServer) GetBudget(context.Context, *GetBudgetRequest) (*Budget, error) {
833 return nil, status.Errorf(codes.Unimplemented, "method GetBudget not implemented")
834 }
835 func (*UnimplementedBudgetServiceServer) ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) {
836 return nil, status.Errorf(codes.Unimplemented, "method ListBudgets not implemented")
837 }
838 func (*UnimplementedBudgetServiceServer) DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error) {
839 return nil, status.Errorf(codes.Unimplemented, "method DeleteBudget not implemented")
840 }
841
842 func RegisterBudgetServiceServer(s *grpc.Server, srv BudgetServiceServer) {
843 s.RegisterService(&_BudgetService_serviceDesc, srv)
844 }
845
846 func _BudgetService_CreateBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
847 in := new(CreateBudgetRequest)
848 if err := dec(in); err != nil {
849 return nil, err
850 }
851 if interceptor == nil {
852 return srv.(BudgetServiceServer).CreateBudget(ctx, in)
853 }
854 info := &grpc.UnaryServerInfo{
855 Server: srv,
856 FullMethod: "/google.cloud.billing.budgets.v1alpha1.BudgetService/CreateBudget",
857 }
858 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
859 return srv.(BudgetServiceServer).CreateBudget(ctx, req.(*CreateBudgetRequest))
860 }
861 return interceptor(ctx, in, info, handler)
862 }
863
864 func _BudgetService_UpdateBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
865 in := new(UpdateBudgetRequest)
866 if err := dec(in); err != nil {
867 return nil, err
868 }
869 if interceptor == nil {
870 return srv.(BudgetServiceServer).UpdateBudget(ctx, in)
871 }
872 info := &grpc.UnaryServerInfo{
873 Server: srv,
874 FullMethod: "/google.cloud.billing.budgets.v1alpha1.BudgetService/UpdateBudget",
875 }
876 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
877 return srv.(BudgetServiceServer).UpdateBudget(ctx, req.(*UpdateBudgetRequest))
878 }
879 return interceptor(ctx, in, info, handler)
880 }
881
882 func _BudgetService_GetBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
883 in := new(GetBudgetRequest)
884 if err := dec(in); err != nil {
885 return nil, err
886 }
887 if interceptor == nil {
888 return srv.(BudgetServiceServer).GetBudget(ctx, in)
889 }
890 info := &grpc.UnaryServerInfo{
891 Server: srv,
892 FullMethod: "/google.cloud.billing.budgets.v1alpha1.BudgetService/GetBudget",
893 }
894 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
895 return srv.(BudgetServiceServer).GetBudget(ctx, req.(*GetBudgetRequest))
896 }
897 return interceptor(ctx, in, info, handler)
898 }
899
900 func _BudgetService_ListBudgets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
901 in := new(ListBudgetsRequest)
902 if err := dec(in); err != nil {
903 return nil, err
904 }
905 if interceptor == nil {
906 return srv.(BudgetServiceServer).ListBudgets(ctx, in)
907 }
908 info := &grpc.UnaryServerInfo{
909 Server: srv,
910 FullMethod: "/google.cloud.billing.budgets.v1alpha1.BudgetService/ListBudgets",
911 }
912 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
913 return srv.(BudgetServiceServer).ListBudgets(ctx, req.(*ListBudgetsRequest))
914 }
915 return interceptor(ctx, in, info, handler)
916 }
917
918 func _BudgetService_DeleteBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
919 in := new(DeleteBudgetRequest)
920 if err := dec(in); err != nil {
921 return nil, err
922 }
923 if interceptor == nil {
924 return srv.(BudgetServiceServer).DeleteBudget(ctx, in)
925 }
926 info := &grpc.UnaryServerInfo{
927 Server: srv,
928 FullMethod: "/google.cloud.billing.budgets.v1alpha1.BudgetService/DeleteBudget",
929 }
930 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
931 return srv.(BudgetServiceServer).DeleteBudget(ctx, req.(*DeleteBudgetRequest))
932 }
933 return interceptor(ctx, in, info, handler)
934 }
935
936 var _BudgetService_serviceDesc = grpc.ServiceDesc{
937 ServiceName: "google.cloud.billing.budgets.v1alpha1.BudgetService",
938 HandlerType: (*BudgetServiceServer)(nil),
939 Methods: []grpc.MethodDesc{
940 {
941 MethodName: "CreateBudget",
942 Handler: _BudgetService_CreateBudget_Handler,
943 },
944 {
945 MethodName: "UpdateBudget",
946 Handler: _BudgetService_UpdateBudget_Handler,
947 },
948 {
949 MethodName: "GetBudget",
950 Handler: _BudgetService_GetBudget_Handler,
951 },
952 {
953 MethodName: "ListBudgets",
954 Handler: _BudgetService_ListBudgets_Handler,
955 },
956 {
957 MethodName: "DeleteBudget",
958 Handler: _BudgetService_DeleteBudget_Handler,
959 },
960 },
961 Streams: []grpc.StreamDesc{},
962 Metadata: "google/cloud/billing/budgets/v1alpha1/budget_service.proto",
963 }
964
View as plain text