1// Copyright 2021 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-devel 18// protoc v3.13.0 19// source: google/cloud/billing/budgets/v1beta1/budget_service.proto 20 21package budgets 22 23import ( 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 39const ( 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. 48const _ = proto.ProtoPackageIsVersion4 49 50// Request for CreateBudget 51type 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 63func (x *CreateBudgetRequest) Reset() { 64 *x = CreateBudgetRequest{} 65 if protoimpl.UnsafeEnabled { 66 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[0] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 ms.StoreMessageInfo(mi) 69 } 70} 71 72func (x *CreateBudgetRequest) String() string { 73 return protoimpl.X.MessageStringOf(x) 74} 75 76func (*CreateBudgetRequest) ProtoMessage() {} 77 78func (x *CreateBudgetRequest) ProtoReflect() protoreflect.Message { 79 mi := &file_google_cloud_billing_budgets_v1beta1_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. 91func (*CreateBudgetRequest) Descriptor() ([]byte, []int) { 92 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{0} 93} 94 95func (x *CreateBudgetRequest) GetParent() string { 96 if x != nil { 97 return x.Parent 98 } 99 return "" 100} 101 102func (x *CreateBudgetRequest) GetBudget() *Budget { 103 if x != nil { 104 return x.Budget 105 } 106 return nil 107} 108 109// Request for UpdateBudget 110type 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 127func (x *UpdateBudgetRequest) Reset() { 128 *x = UpdateBudgetRequest{} 129 if protoimpl.UnsafeEnabled { 130 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[1] 131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 132 ms.StoreMessageInfo(mi) 133 } 134} 135 136func (x *UpdateBudgetRequest) String() string { 137 return protoimpl.X.MessageStringOf(x) 138} 139 140func (*UpdateBudgetRequest) ProtoMessage() {} 141 142func (x *UpdateBudgetRequest) ProtoReflect() protoreflect.Message { 143 mi := &file_google_cloud_billing_budgets_v1beta1_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. 155func (*UpdateBudgetRequest) Descriptor() ([]byte, []int) { 156 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{1} 157} 158 159func (x *UpdateBudgetRequest) GetBudget() *Budget { 160 if x != nil { 161 return x.Budget 162 } 163 return nil 164} 165 166func (x *UpdateBudgetRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 167 if x != nil { 168 return x.UpdateMask 169 } 170 return nil 171} 172 173// Request for GetBudget 174type 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 184func (x *GetBudgetRequest) Reset() { 185 *x = GetBudgetRequest{} 186 if protoimpl.UnsafeEnabled { 187 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[2] 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 ms.StoreMessageInfo(mi) 190 } 191} 192 193func (x *GetBudgetRequest) String() string { 194 return protoimpl.X.MessageStringOf(x) 195} 196 197func (*GetBudgetRequest) ProtoMessage() {} 198 199func (x *GetBudgetRequest) ProtoReflect() protoreflect.Message { 200 mi := &file_google_cloud_billing_budgets_v1beta1_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. 212func (*GetBudgetRequest) Descriptor() ([]byte, []int) { 213 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{2} 214} 215 216func (x *GetBudgetRequest) GetName() string { 217 if x != nil { 218 return x.Name 219 } 220 return "" 221} 222 223// Request for ListBudgets 224type 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 241func (x *ListBudgetsRequest) Reset() { 242 *x = ListBudgetsRequest{} 243 if protoimpl.UnsafeEnabled { 244 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[3] 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 ms.StoreMessageInfo(mi) 247 } 248} 249 250func (x *ListBudgetsRequest) String() string { 251 return protoimpl.X.MessageStringOf(x) 252} 253 254func (*ListBudgetsRequest) ProtoMessage() {} 255 256func (x *ListBudgetsRequest) ProtoReflect() protoreflect.Message { 257 mi := &file_google_cloud_billing_budgets_v1beta1_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. 269func (*ListBudgetsRequest) Descriptor() ([]byte, []int) { 270 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{3} 271} 272 273func (x *ListBudgetsRequest) GetParent() string { 274 if x != nil { 275 return x.Parent 276 } 277 return "" 278} 279 280func (x *ListBudgetsRequest) GetPageSize() int32 { 281 if x != nil { 282 return x.PageSize 283 } 284 return 0 285} 286 287func (x *ListBudgetsRequest) GetPageToken() string { 288 if x != nil { 289 return x.PageToken 290 } 291 return "" 292} 293 294// Response for ListBudgets 295type 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 307func (x *ListBudgetsResponse) Reset() { 308 *x = ListBudgetsResponse{} 309 if protoimpl.UnsafeEnabled { 310 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[4] 311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 312 ms.StoreMessageInfo(mi) 313 } 314} 315 316func (x *ListBudgetsResponse) String() string { 317 return protoimpl.X.MessageStringOf(x) 318} 319 320func (*ListBudgetsResponse) ProtoMessage() {} 321 322func (x *ListBudgetsResponse) ProtoReflect() protoreflect.Message { 323 mi := &file_google_cloud_billing_budgets_v1beta1_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. 335func (*ListBudgetsResponse) Descriptor() ([]byte, []int) { 336 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{4} 337} 338 339func (x *ListBudgetsResponse) GetBudgets() []*Budget { 340 if x != nil { 341 return x.Budgets 342 } 343 return nil 344} 345 346func (x *ListBudgetsResponse) GetNextPageToken() string { 347 if x != nil { 348 return x.NextPageToken 349 } 350 return "" 351} 352 353// Request for DeleteBudget 354type 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 364func (x *DeleteBudgetRequest) Reset() { 365 *x = DeleteBudgetRequest{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[5] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371} 372 373func (x *DeleteBudgetRequest) String() string { 374 return protoimpl.X.MessageStringOf(x) 375} 376 377func (*DeleteBudgetRequest) ProtoMessage() {} 378 379func (x *DeleteBudgetRequest) ProtoReflect() protoreflect.Message { 380 mi := &file_google_cloud_billing_budgets_v1beta1_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. 392func (*DeleteBudgetRequest) Descriptor() ([]byte, []int) { 393 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP(), []int{5} 394} 395 396func (x *DeleteBudgetRequest) GetName() string { 397 if x != nil { 398 return x.Name 399 } 400 return "" 401} 402 403var File_google_cloud_billing_budgets_v1beta1_budget_service_proto protoreflect.FileDescriptor 404 405var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDesc = []byte{ 406 0x0a, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 409 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 410 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 411 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 412 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 413 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 414 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 415 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 416 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 417 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 418 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 419 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 420 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 421 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 422 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 423 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 424 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 425 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 426 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 427 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 428 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 429 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, 0x24, 0x62, 0x69, 430 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 431 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x64, 0x67, 432 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x06, 0x62, 0x75, 433 0x64, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 434 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 435 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 436 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x62, 437 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0xa2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 438 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 439 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 440 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 441 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 442 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 443 0x52, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 444 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 445 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 446 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 447 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x54, 0x0a, 0x10, 0x47, 0x65, 448 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 449 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 450 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 451 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 452 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 453 0x22, 0xa0, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 454 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 455 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, 456 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 457 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 458 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 459 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 460 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 461 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 462 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 463 0x6b, 0x65, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 464 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x62, 465 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 466 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 467 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 468 0x74, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x62, 0x75, 0x64, 0x67, 469 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 470 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 471 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, 0x0a, 0x13, 0x44, 472 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 473 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 474 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 475 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 476 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x04, 477 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xf7, 0x07, 0x0a, 0x0d, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 478 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xaf, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 479 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 480 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 481 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 482 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 483 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 484 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 485 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 486 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 487 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 488 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x75, 489 0x64, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xb6, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 490 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 491 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 492 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 493 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 494 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 495 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 496 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x64, 0x67, 497 0x65, 0x74, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x32, 0x32, 0x2f, 0x76, 0x31, 0x62, 498 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 499 0x65, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 500 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x01, 501 0x2a, 0x12, 0xa6, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 502 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 503 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 504 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 505 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 506 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 507 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 508 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 509 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 0x69, 510 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 511 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb7, 0x01, 0x0a, 0x0b, 0x4c, 512 0x69, 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 513 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 514 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 515 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 516 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 517 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 518 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 519 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 520 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 521 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 522 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x75, 0x64, 523 0x67, 0x65, 0x74, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 524 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 525 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 526 0x67, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 527 0x65, 0x74, 0x65, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 528 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 529 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 530 0x2a, 0x2b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 531 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 532 0x2f, 0x2a, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0x7f, 0xca, 533 0x41, 0x1d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 534 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 535 0x41, 0x5c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 536 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 537 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2c, 538 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 539 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 540 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x79, 541 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 542 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x75, 0x64, 0x67, 0x65, 543 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x6f, 544 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 545 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 546 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 547 0x67, 0x2f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 548 0x31, 0x3b, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 549 0x33, 550} 551 552var ( 553 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescOnce sync.Once 554 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescData = file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDesc 555) 556 557func file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescGZIP() []byte { 558 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescOnce.Do(func() { 559 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescData) 560 }) 561 return file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDescData 562} 563 564var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 565var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_goTypes = []interface{}{ 566 (*CreateBudgetRequest)(nil), // 0: google.cloud.billing.budgets.v1beta1.CreateBudgetRequest 567 (*UpdateBudgetRequest)(nil), // 1: google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest 568 (*GetBudgetRequest)(nil), // 2: google.cloud.billing.budgets.v1beta1.GetBudgetRequest 569 (*ListBudgetsRequest)(nil), // 3: google.cloud.billing.budgets.v1beta1.ListBudgetsRequest 570 (*ListBudgetsResponse)(nil), // 4: google.cloud.billing.budgets.v1beta1.ListBudgetsResponse 571 (*DeleteBudgetRequest)(nil), // 5: google.cloud.billing.budgets.v1beta1.DeleteBudgetRequest 572 (*Budget)(nil), // 6: google.cloud.billing.budgets.v1beta1.Budget 573 (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask 574 (*emptypb.Empty)(nil), // 8: google.protobuf.Empty 575} 576var file_google_cloud_billing_budgets_v1beta1_budget_service_proto_depIdxs = []int32{ 577 6, // 0: google.cloud.billing.budgets.v1beta1.CreateBudgetRequest.budget:type_name -> google.cloud.billing.budgets.v1beta1.Budget 578 6, // 1: google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest.budget:type_name -> google.cloud.billing.budgets.v1beta1.Budget 579 7, // 2: google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest.update_mask:type_name -> google.protobuf.FieldMask 580 6, // 3: google.cloud.billing.budgets.v1beta1.ListBudgetsResponse.budgets:type_name -> google.cloud.billing.budgets.v1beta1.Budget 581 0, // 4: google.cloud.billing.budgets.v1beta1.BudgetService.CreateBudget:input_type -> google.cloud.billing.budgets.v1beta1.CreateBudgetRequest 582 1, // 5: google.cloud.billing.budgets.v1beta1.BudgetService.UpdateBudget:input_type -> google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest 583 2, // 6: google.cloud.billing.budgets.v1beta1.BudgetService.GetBudget:input_type -> google.cloud.billing.budgets.v1beta1.GetBudgetRequest 584 3, // 7: google.cloud.billing.budgets.v1beta1.BudgetService.ListBudgets:input_type -> google.cloud.billing.budgets.v1beta1.ListBudgetsRequest 585 5, // 8: google.cloud.billing.budgets.v1beta1.BudgetService.DeleteBudget:input_type -> google.cloud.billing.budgets.v1beta1.DeleteBudgetRequest 586 6, // 9: google.cloud.billing.budgets.v1beta1.BudgetService.CreateBudget:output_type -> google.cloud.billing.budgets.v1beta1.Budget 587 6, // 10: google.cloud.billing.budgets.v1beta1.BudgetService.UpdateBudget:output_type -> google.cloud.billing.budgets.v1beta1.Budget 588 6, // 11: google.cloud.billing.budgets.v1beta1.BudgetService.GetBudget:output_type -> google.cloud.billing.budgets.v1beta1.Budget 589 4, // 12: google.cloud.billing.budgets.v1beta1.BudgetService.ListBudgets:output_type -> google.cloud.billing.budgets.v1beta1.ListBudgetsResponse 590 8, // 13: google.cloud.billing.budgets.v1beta1.BudgetService.DeleteBudget:output_type -> google.protobuf.Empty 591 9, // [9:14] is the sub-list for method output_type 592 4, // [4:9] is the sub-list for method input_type 593 4, // [4:4] is the sub-list for extension type_name 594 4, // [4:4] is the sub-list for extension extendee 595 0, // [0:4] is the sub-list for field type_name 596} 597 598func init() { file_google_cloud_billing_budgets_v1beta1_budget_service_proto_init() } 599func file_google_cloud_billing_budgets_v1beta1_budget_service_proto_init() { 600 if File_google_cloud_billing_budgets_v1beta1_budget_service_proto != nil { 601 return 602 } 603 file_google_cloud_billing_budgets_v1beta1_budget_model_proto_init() 604 if !protoimpl.UnsafeEnabled { 605 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 606 switch v := v.(*CreateBudgetRequest); i { 607 case 0: 608 return &v.state 609 case 1: 610 return &v.sizeCache 611 case 2: 612 return &v.unknownFields 613 default: 614 return nil 615 } 616 } 617 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 618 switch v := v.(*UpdateBudgetRequest); i { 619 case 0: 620 return &v.state 621 case 1: 622 return &v.sizeCache 623 case 2: 624 return &v.unknownFields 625 default: 626 return nil 627 } 628 } 629 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 630 switch v := v.(*GetBudgetRequest); i { 631 case 0: 632 return &v.state 633 case 1: 634 return &v.sizeCache 635 case 2: 636 return &v.unknownFields 637 default: 638 return nil 639 } 640 } 641 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 642 switch v := v.(*ListBudgetsRequest); i { 643 case 0: 644 return &v.state 645 case 1: 646 return &v.sizeCache 647 case 2: 648 return &v.unknownFields 649 default: 650 return nil 651 } 652 } 653 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 654 switch v := v.(*ListBudgetsResponse); i { 655 case 0: 656 return &v.state 657 case 1: 658 return &v.sizeCache 659 case 2: 660 return &v.unknownFields 661 default: 662 return nil 663 } 664 } 665 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 666 switch v := v.(*DeleteBudgetRequest); i { 667 case 0: 668 return &v.state 669 case 1: 670 return &v.sizeCache 671 case 2: 672 return &v.unknownFields 673 default: 674 return nil 675 } 676 } 677 } 678 type x struct{} 679 out := protoimpl.TypeBuilder{ 680 File: protoimpl.DescBuilder{ 681 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 682 RawDescriptor: file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDesc, 683 NumEnums: 0, 684 NumMessages: 6, 685 NumExtensions: 0, 686 NumServices: 1, 687 }, 688 GoTypes: file_google_cloud_billing_budgets_v1beta1_budget_service_proto_goTypes, 689 DependencyIndexes: file_google_cloud_billing_budgets_v1beta1_budget_service_proto_depIdxs, 690 MessageInfos: file_google_cloud_billing_budgets_v1beta1_budget_service_proto_msgTypes, 691 }.Build() 692 File_google_cloud_billing_budgets_v1beta1_budget_service_proto = out.File 693 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_rawDesc = nil 694 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_goTypes = nil 695 file_google_cloud_billing_budgets_v1beta1_budget_service_proto_depIdxs = nil 696} 697 698// Reference imports to suppress errors if they are not otherwise used. 699var _ context.Context 700var _ grpc.ClientConnInterface 701 702// This is a compile-time assertion to ensure that this generated file 703// is compatible with the grpc package it is being compiled against. 704const _ = grpc.SupportPackageIsVersion6 705 706// BudgetServiceClient is the client API for BudgetService service. 707// 708// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 709type BudgetServiceClient interface { 710 // Creates a new budget. See 711 // <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a> 712 // for more information on the limits of the number of budgets you can create. 713 CreateBudget(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) 714 // Updates a budget and returns the updated budget. 715 // 716 // WARNING: There are some fields exposed on the Google Cloud Console that 717 // aren't available on this API. Budget fields that are not exposed in 718 // this API will not be changed by this method. 719 UpdateBudget(ctx context.Context, in *UpdateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) 720 // Returns a budget. 721 // 722 // WARNING: There are some fields exposed on the Google Cloud Console that 723 // aren't available on this API. When reading from the API, you will not 724 // see these fields in the return value, though they may have been set 725 // in the Cloud Console. 726 GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error) 727 // Returns a list of budgets for a billing account. 728 // 729 // WARNING: There are some fields exposed on the Google Cloud Console that 730 // aren't available on this API. When reading from the API, you will not 731 // see these fields in the return value, though they may have been set 732 // in the Cloud Console. 733 ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error) 734 // Deletes a budget. Returns successfully if already deleted. 735 DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 736} 737 738type budgetServiceClient struct { 739 cc grpc.ClientConnInterface 740} 741 742func NewBudgetServiceClient(cc grpc.ClientConnInterface) BudgetServiceClient { 743 return &budgetServiceClient{cc} 744} 745 746func (c *budgetServiceClient) CreateBudget(ctx context.Context, in *CreateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) { 747 out := new(Budget) 748 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/CreateBudget", in, out, opts...) 749 if err != nil { 750 return nil, err 751 } 752 return out, nil 753} 754 755func (c *budgetServiceClient) UpdateBudget(ctx context.Context, in *UpdateBudgetRequest, opts ...grpc.CallOption) (*Budget, error) { 756 out := new(Budget) 757 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/UpdateBudget", in, out, opts...) 758 if err != nil { 759 return nil, err 760 } 761 return out, nil 762} 763 764func (c *budgetServiceClient) GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*Budget, error) { 765 out := new(Budget) 766 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/GetBudget", in, out, opts...) 767 if err != nil { 768 return nil, err 769 } 770 return out, nil 771} 772 773func (c *budgetServiceClient) ListBudgets(ctx context.Context, in *ListBudgetsRequest, opts ...grpc.CallOption) (*ListBudgetsResponse, error) { 774 out := new(ListBudgetsResponse) 775 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/ListBudgets", in, out, opts...) 776 if err != nil { 777 return nil, err 778 } 779 return out, nil 780} 781 782func (c *budgetServiceClient) DeleteBudget(ctx context.Context, in *DeleteBudgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 783 out := new(emptypb.Empty) 784 err := c.cc.Invoke(ctx, "/google.cloud.billing.budgets.v1beta1.BudgetService/DeleteBudget", in, out, opts...) 785 if err != nil { 786 return nil, err 787 } 788 return out, nil 789} 790 791// BudgetServiceServer is the server API for BudgetService service. 792type BudgetServiceServer interface { 793 // Creates a new budget. See 794 // <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a> 795 // for more information on the limits of the number of budgets you can create. 796 CreateBudget(context.Context, *CreateBudgetRequest) (*Budget, error) 797 // Updates a budget and returns the updated budget. 798 // 799 // WARNING: There are some fields exposed on the Google Cloud Console that 800 // aren't available on this API. Budget fields that are not exposed in 801 // this API will not be changed by this method. 802 UpdateBudget(context.Context, *UpdateBudgetRequest) (*Budget, error) 803 // Returns a budget. 804 // 805 // WARNING: There are some fields exposed on the Google Cloud Console that 806 // aren't available on this API. When reading from the API, you will not 807 // see these fields in the return value, though they may have been set 808 // in the Cloud Console. 809 GetBudget(context.Context, *GetBudgetRequest) (*Budget, error) 810 // Returns a list of budgets for a billing account. 811 // 812 // WARNING: There are some fields exposed on the Google Cloud Console that 813 // aren't available on this API. When reading from the API, you will not 814 // see these fields in the return value, though they may have been set 815 // in the Cloud Console. 816 ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) 817 // Deletes a budget. Returns successfully if already deleted. 818 DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error) 819} 820 821// UnimplementedBudgetServiceServer can be embedded to have forward compatible implementations. 822type UnimplementedBudgetServiceServer struct { 823} 824 825func (*UnimplementedBudgetServiceServer) CreateBudget(context.Context, *CreateBudgetRequest) (*Budget, error) { 826 return nil, status.Errorf(codes.Unimplemented, "method CreateBudget not implemented") 827} 828func (*UnimplementedBudgetServiceServer) UpdateBudget(context.Context, *UpdateBudgetRequest) (*Budget, error) { 829 return nil, status.Errorf(codes.Unimplemented, "method UpdateBudget not implemented") 830} 831func (*UnimplementedBudgetServiceServer) GetBudget(context.Context, *GetBudgetRequest) (*Budget, error) { 832 return nil, status.Errorf(codes.Unimplemented, "method GetBudget not implemented") 833} 834func (*UnimplementedBudgetServiceServer) ListBudgets(context.Context, *ListBudgetsRequest) (*ListBudgetsResponse, error) { 835 return nil, status.Errorf(codes.Unimplemented, "method ListBudgets not implemented") 836} 837func (*UnimplementedBudgetServiceServer) DeleteBudget(context.Context, *DeleteBudgetRequest) (*emptypb.Empty, error) { 838 return nil, status.Errorf(codes.Unimplemented, "method DeleteBudget not implemented") 839} 840 841func RegisterBudgetServiceServer(s *grpc.Server, srv BudgetServiceServer) { 842 s.RegisterService(&_BudgetService_serviceDesc, srv) 843} 844 845func _BudgetService_CreateBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 846 in := new(CreateBudgetRequest) 847 if err := dec(in); err != nil { 848 return nil, err 849 } 850 if interceptor == nil { 851 return srv.(BudgetServiceServer).CreateBudget(ctx, in) 852 } 853 info := &grpc.UnaryServerInfo{ 854 Server: srv, 855 FullMethod: "/google.cloud.billing.budgets.v1beta1.BudgetService/CreateBudget", 856 } 857 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 858 return srv.(BudgetServiceServer).CreateBudget(ctx, req.(*CreateBudgetRequest)) 859 } 860 return interceptor(ctx, in, info, handler) 861} 862 863func _BudgetService_UpdateBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 864 in := new(UpdateBudgetRequest) 865 if err := dec(in); err != nil { 866 return nil, err 867 } 868 if interceptor == nil { 869 return srv.(BudgetServiceServer).UpdateBudget(ctx, in) 870 } 871 info := &grpc.UnaryServerInfo{ 872 Server: srv, 873 FullMethod: "/google.cloud.billing.budgets.v1beta1.BudgetService/UpdateBudget", 874 } 875 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 876 return srv.(BudgetServiceServer).UpdateBudget(ctx, req.(*UpdateBudgetRequest)) 877 } 878 return interceptor(ctx, in, info, handler) 879} 880 881func _BudgetService_GetBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 882 in := new(GetBudgetRequest) 883 if err := dec(in); err != nil { 884 return nil, err 885 } 886 if interceptor == nil { 887 return srv.(BudgetServiceServer).GetBudget(ctx, in) 888 } 889 info := &grpc.UnaryServerInfo{ 890 Server: srv, 891 FullMethod: "/google.cloud.billing.budgets.v1beta1.BudgetService/GetBudget", 892 } 893 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 894 return srv.(BudgetServiceServer).GetBudget(ctx, req.(*GetBudgetRequest)) 895 } 896 return interceptor(ctx, in, info, handler) 897} 898 899func _BudgetService_ListBudgets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 900 in := new(ListBudgetsRequest) 901 if err := dec(in); err != nil { 902 return nil, err 903 } 904 if interceptor == nil { 905 return srv.(BudgetServiceServer).ListBudgets(ctx, in) 906 } 907 info := &grpc.UnaryServerInfo{ 908 Server: srv, 909 FullMethod: "/google.cloud.billing.budgets.v1beta1.BudgetService/ListBudgets", 910 } 911 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 912 return srv.(BudgetServiceServer).ListBudgets(ctx, req.(*ListBudgetsRequest)) 913 } 914 return interceptor(ctx, in, info, handler) 915} 916 917func _BudgetService_DeleteBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 918 in := new(DeleteBudgetRequest) 919 if err := dec(in); err != nil { 920 return nil, err 921 } 922 if interceptor == nil { 923 return srv.(BudgetServiceServer).DeleteBudget(ctx, in) 924 } 925 info := &grpc.UnaryServerInfo{ 926 Server: srv, 927 FullMethod: "/google.cloud.billing.budgets.v1beta1.BudgetService/DeleteBudget", 928 } 929 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 930 return srv.(BudgetServiceServer).DeleteBudget(ctx, req.(*DeleteBudgetRequest)) 931 } 932 return interceptor(ctx, in, info, handler) 933} 934 935var _BudgetService_serviceDesc = grpc.ServiceDesc{ 936 ServiceName: "google.cloud.billing.budgets.v1beta1.BudgetService", 937 HandlerType: (*BudgetServiceServer)(nil), 938 Methods: []grpc.MethodDesc{ 939 { 940 MethodName: "CreateBudget", 941 Handler: _BudgetService_CreateBudget_Handler, 942 }, 943 { 944 MethodName: "UpdateBudget", 945 Handler: _BudgetService_UpdateBudget_Handler, 946 }, 947 { 948 MethodName: "GetBudget", 949 Handler: _BudgetService_GetBudget_Handler, 950 }, 951 { 952 MethodName: "ListBudgets", 953 Handler: _BudgetService_ListBudgets_Handler, 954 }, 955 { 956 MethodName: "DeleteBudget", 957 Handler: _BudgetService_DeleteBudget_Handler, 958 }, 959 }, 960 Streams: []grpc.StreamDesc{}, 961 Metadata: "google/cloud/billing/budgets/v1beta1/budget_service.proto", 962} 963