Debian Codegraph @

googleapis/cloud/billing/budgets/v1alpha1/budget_service.pb.go

raw symbols SCIP
1 // Copyright 2020 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.25.0
18 // protoc v3.13.0
19 // source: google/cloud/billing/budgets/v1alpha1/budget_service.proto
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 // Verify that this generated code is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42 // Verify that runtime/protoimpl is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46 // This is a compile-time assertion that a sufficiently up-to-date version
47 // of the legacy proto package is being used.
48 const _ = proto.ProtoPackageIsVersion4
49
50 // Request for CreateBudget
51 type CreateBudgetRequest struct {
52 state protoimpl.MessageState
53 sizeCache protoimpl.SizeCache
54 unknownFields protoimpl.UnknownFields
55
56 // Required. The name of the billing account to create the budget in. Values
57 // are of the form `billingAccounts/{billingAccountId}`.
58 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
59 // Required. Budget to create.
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 // Deprecated: Use CreateBudgetRequest.ProtoReflect.Descriptor instead.
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 // Request for UpdateBudget
110 type UpdateBudgetRequest struct {
111 state protoimpl.MessageState
112 sizeCache protoimpl.SizeCache
113 unknownFields protoimpl.UnknownFields
114
115 // Required. The updated budget object.
116 // The budget to update is specified by the budget name in the budget.
117 Budget *Budget `protobuf:"bytes,1,opt,name=budget,proto3" json:"budget,omitempty"`
118 // Optional. Indicates which fields in the provided budget to update.
119 // Read-only fields (such as `name`) cannot be changed. If this is not
120 // provided, then only fields with non-default values from the request are
121 // updated. See
122 // https://developers.google.com/protocol-buffers/docs/proto3#default for more
123 // details about default values.
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 // Deprecated: Use UpdateBudgetRequest.ProtoReflect.Descriptor instead.
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 // Request for GetBudget
174 type GetBudgetRequest struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179 // Required. Name of budget to get. Values are of the form
180 // `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
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 // Deprecated: Use GetBudgetRequest.ProtoReflect.Descriptor instead.
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 // Request for ListBudgets
224 type ListBudgetsRequest struct {
225 state protoimpl.MessageState
226 sizeCache protoimpl.SizeCache
227 unknownFields protoimpl.UnknownFields
228
229 // Required. Name of billing account to list budgets under. Values
230 // are of the form `billingAccounts/{billingAccountId}`.
231 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
232 // Optional. The maximum number of budgets to return per page.
233 // The default and maximum value are 100.
234 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
235 // Optional. The value returned by the last `ListBudgetsResponse` which
236 // indicates that this is a continuation of a prior `ListBudgets` call,
237 // and that the system should return the next page of data.
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 // Deprecated: Use ListBudgetsRequest.ProtoReflect.Descriptor instead.
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 // Response for ListBudgets
295 type ListBudgetsResponse struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300 // List of the budgets owned by the requested billing account.
301 Budgets []*Budget `protobuf:"bytes,1,rep,name=budgets,proto3" json:"budgets,omitempty"`
302 // If not empty, indicates that there may be more budgets that match the
303 // request; this value should be passed in a new `ListBudgetsRequest`.
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 // Deprecated: Use ListBudgetsResponse.ProtoReflect.Descriptor instead.
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 // Request for DeleteBudget
354 type DeleteBudgetRequest struct {
355 state protoimpl.MessageState
356 sizeCache protoimpl.SizeCache
357 unknownFields protoimpl.UnknownFields
358
359 // Required. Name of the budget to delete. Values are of the form
360 // `billingAccounts/{billingAccountId}/budgets/{budgetId}`.
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 // Deprecated: Use DeleteBudgetRequest.ProtoReflect.Descriptor instead.
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), // 0: google.cloud.billing.budgets.v1alpha1.CreateBudgetRequest
568 (*UpdateBudgetRequest)(nil), // 1: google.cloud.billing.budgets.v1alpha1.UpdateBudgetRequest
569 (*GetBudgetRequest)(nil), // 2: google.cloud.billing.budgets.v1alpha1.GetBudgetRequest
570 (*ListBudgetsRequest)(nil), // 3: google.cloud.billing.budgets.v1alpha1.ListBudgetsRequest
571 (*ListBudgetsResponse)(nil), // 4: google.cloud.billing.budgets.v1alpha1.ListBudgetsResponse
572 (*DeleteBudgetRequest)(nil), // 5: google.cloud.billing.budgets.v1alpha1.DeleteBudgetRequest
573 (*Budget)(nil), // 6: google.cloud.billing.budgets.v1alpha1.Budget
574 (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask
575 (*emptypb.Empty)(nil), // 8: google.protobuf.Empty
576 }
577 var file_google_cloud_billing_budgets_v1alpha1_budget_service_proto_depIdxs = []int32{
578 6, // 0: google.cloud.billing.budgets.v1alpha1.CreateBudgetRequest.budget:type_name -> google.cloud.billing.budgets.v1alpha1.Budget
579 6, // 1: google.cloud.billing.budgets.v1alpha1.UpdateBudgetRequest.budget:type_name -> google.cloud.billing.budgets.v1alpha1.Budget
580 7, // 2: google.cloud.billing.budgets.v1alpha1.UpdateBudgetRequest.update_mask:type_name -> google.protobuf.FieldMask
581 6, // 3: google.cloud.billing.budgets.v1alpha1.ListBudgetsResponse.budgets:type_name -> google.cloud.billing.budgets.v1alpha1.Budget
582 0, // 4: google.cloud.billing.budgets.v1alpha1.BudgetService.CreateBudget:input_type -> google.cloud.billing.budgets.v1alpha1.CreateBudgetRequest
583 1, // 5: google.cloud.billing.budgets.v1alpha1.BudgetService.UpdateBudget:input_type -> google.cloud.billing.budgets.v1alpha1.UpdateBudgetRequest
584 2, // 6: google.cloud.billing.budgets.v1alpha1.BudgetService.GetBudget:input_type -> google.cloud.billing.budgets.v1alpha1.GetBudgetRequest
585 3, // 7: google.cloud.billing.budgets.v1alpha1.BudgetService.ListBudgets:input_type -> google.cloud.billing.budgets.v1alpha1.ListBudgetsRequest
586 5, // 8: google.cloud.billing.budgets.v1alpha1.BudgetService.DeleteBudget:input_type -> google.cloud.billing.budgets.v1alpha1.DeleteBudgetRequest
587 6, // 9: google.cloud.billing.budgets.v1alpha1.BudgetService.CreateBudget:output_type -> google.cloud.billing.budgets.v1alpha1.Budget
588 6, // 10: google.cloud.billing.budgets.v1alpha1.BudgetService.UpdateBudget:output_type -> google.cloud.billing.budgets.v1alpha1.Budget
589 6, // 11: google.cloud.billing.budgets.v1alpha1.BudgetService.GetBudget:output_type -> google.cloud.billing.budgets.v1alpha1.Budget
590 4, // 12: google.cloud.billing.budgets.v1alpha1.BudgetService.ListBudgets:output_type -> google.cloud.billing.budgets.v1alpha1.ListBudgetsResponse
591 8, // 13: google.cloud.billing.budgets.v1alpha1.BudgetService.DeleteBudget:output_type -> google.protobuf.Empty
592 9, // [9:14] is the sub-list for method output_type
593 4, // [4:9] is the sub-list for method input_type
594 4, // [4:4] is the sub-list for extension type_name
595 4, // [4:4] is the sub-list for extension extendee
596 0, // [0:4] is the sub-list for field type_name
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 // Reference imports to suppress errors if they are not otherwise used.
700 var _ context.Context
701 var _ grpc.ClientConnInterface
702
703 // This is a compile-time assertion to ensure that this generated file
704 // is compatible with the grpc package it is being compiled against.
705 const _ = grpc.SupportPackageIsVersion6
706
707 // BudgetServiceClient is the client API for BudgetService service.
708 //
709 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
710 type BudgetServiceClient interface {
711 // Creates a new budget. See
712 // <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
713 // for more information on the limits of the number of budgets you can create.
714 CreateBudget(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
715 // Updates a budget and returns the updated budget.
716 //
717 // WARNING: There are some fields exposed on the Google Cloud Console that
718 // aren't available on this API. Budget fields that are not exposed in
719 // this API will not be changed by this method.
720 UpdateBudget(ctx context.Context, in *UpdateBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
721 // Returns a budget.
722 //
723 // WARNING: There are some fields exposed on the Google Cloud Console that
724 // aren't available on this API. When reading from the API, you will not
725 // see these fields in the return value, though they may have been set
726 // in the Cloud Console.
727 GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error)
728 // Returns a list of budgets for a billing account.
729 //
730 // WARNING: There are some fields exposed on the Google Cloud Console that
731 // aren't available on this API. When reading from the API, you will not
732 // see these fields in the return value, though they may have been set
733 // in the Cloud Console.
734 ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error)
735 // Deletes a budget. Returns successfully if already deleted.
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 // BudgetServiceServer is the server API for BudgetService service.
793 type BudgetServiceServer interface {
794 // Creates a new budget. See
795 // <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
796 // for more information on the limits of the number of budgets you can create.
797 CreateBudget(context.Context, *CreateBudgetRequest) (*Budget, error)
798 // Updates a budget and returns the updated budget.
799 //
800 // WARNING: There are some fields exposed on the Google Cloud Console that
801 // aren't available on this API. Budget fields that are not exposed in
802 // this API will not be changed by this method.
803 UpdateBudget(context.Context, *UpdateBudgetRequest) (*Budget, error)
804 // Returns a budget.
805 //
806 // WARNING: There are some fields exposed on the Google Cloud Console that
807 // aren't available on this API. When reading from the API, you will not
808 // see these fields in the return value, though they may have been set
809 // in the Cloud Console.
810 GetBudget(context.Context, *GetBudgetRequest) (*Budget, error)
811 // Returns a list of budgets for a billing account.
812 //
813 // WARNING: There are some fields exposed on the Google Cloud Console that
814 // aren't available on this API. When reading from the API, you will not
815 // see these fields in the return value, though they may have been set
816 // in the Cloud Console.
817 ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error)
818 // Deletes a budget. Returns successfully if already deleted.
819 DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error)
820 }
821
822 // UnimplementedBudgetServiceServer can be embedded to have forward compatible implementations.
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 }