1// Copyright 2019 Google LLC. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.25.0 19// protoc v3.13.0 20// source: google/cloud/billing/v1/cloud_billing.proto 21 22package billing 23 24import ( 25 context "context" 26 reflect "reflect" 27 sync "sync" 28 29 proto "github.com/golang/protobuf/proto" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 31 v1 "google.golang.org/genproto/googleapis/iam/v1" 32 grpc "google.golang.org/grpc" 33 codes "google.golang.org/grpc/codes" 34 status "google.golang.org/grpc/status" 35 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 36 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// A billing account in [GCP Console](https://console.cloud.google.com/). 52// You can assign a billing account to one or more projects. 53type BillingAccount struct { 54 state protoimpl.MessageState 55 sizeCache protoimpl.SizeCache 56 unknownFields protoimpl.UnknownFields 57 58 // The resource name of the billing account. The resource name has the form 59 // `billingAccounts/{billing_account_id}`. For example, 60 // `billingAccounts/012345-567890-ABCDEF` would be the resource name for 61 // billing account `012345-567890-ABCDEF`. 62 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 63 // Output only. True if the billing account is open, and will therefore be charged for any 64 // usage on associated projects. False if the billing account is closed, and 65 // therefore projects associated with it will be unable to use paid services. 66 Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"` 67 // The display name given to the billing account, such as `My Billing 68 // Account`. This name is displayed in the GCP Console. 69 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 70 // If this account is a 71 // [subaccount](https://cloud.google.com/billing/docs/concepts), then this 72 // will be the resource name of the master billing account that it is being 73 // resold through. 74 // Otherwise this will be empty. 75 MasterBillingAccount string `protobuf:"bytes,4,opt,name=master_billing_account,json=masterBillingAccount,proto3" json:"master_billing_account,omitempty"` 76} 77 78func (x *BillingAccount) Reset() { 79 *x = BillingAccount{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[0] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85} 86 87func (x *BillingAccount) String() string { 88 return protoimpl.X.MessageStringOf(x) 89} 90 91func (*BillingAccount) ProtoMessage() {} 92 93func (x *BillingAccount) ProtoReflect() protoreflect.Message { 94 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[0] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103} 104 105// Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead. 106func (*BillingAccount) Descriptor() ([]byte, []int) { 107 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{0} 108} 109 110func (x *BillingAccount) GetName() string { 111 if x != nil { 112 return x.Name 113 } 114 return "" 115} 116 117func (x *BillingAccount) GetOpen() bool { 118 if x != nil { 119 return x.Open 120 } 121 return false 122} 123 124func (x *BillingAccount) GetDisplayName() string { 125 if x != nil { 126 return x.DisplayName 127 } 128 return "" 129} 130 131func (x *BillingAccount) GetMasterBillingAccount() string { 132 if x != nil { 133 return x.MasterBillingAccount 134 } 135 return "" 136} 137 138// Encapsulation of billing information for a GCP Console project. A project 139// has at most one associated billing account at a time (but a billing account 140// can be assigned to multiple projects). 141type ProjectBillingInfo struct { 142 state protoimpl.MessageState 143 sizeCache protoimpl.SizeCache 144 unknownFields protoimpl.UnknownFields 145 146 // The resource name for the `ProjectBillingInfo`; has the form 147 // `projects/{project_id}/billingInfo`. For example, the resource name for the 148 // billing information for project `tokyo-rain-123` would be 149 // `projects/tokyo-rain-123/billingInfo`. This field is read-only. 150 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 151 // The ID of the project that this `ProjectBillingInfo` represents, such as 152 // `tokyo-rain-123`. This is a convenience field so that you don't need to 153 // parse the `name` field to obtain a project ID. This field is read-only. 154 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 155 // The resource name of the billing account associated with the project, if 156 // any. For example, `billingAccounts/012345-567890-ABCDEF`. 157 BillingAccountName string `protobuf:"bytes,3,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"` 158 // True if the project is associated with an open billing account, to which 159 // usage on the project is charged. False if the project is associated with a 160 // closed billing account, or no billing account at all, and therefore cannot 161 // use paid services. This field is read-only. 162 BillingEnabled bool `protobuf:"varint,4,opt,name=billing_enabled,json=billingEnabled,proto3" json:"billing_enabled,omitempty"` 163} 164 165func (x *ProjectBillingInfo) Reset() { 166 *x = ProjectBillingInfo{} 167 if protoimpl.UnsafeEnabled { 168 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[1] 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 ms.StoreMessageInfo(mi) 171 } 172} 173 174func (x *ProjectBillingInfo) String() string { 175 return protoimpl.X.MessageStringOf(x) 176} 177 178func (*ProjectBillingInfo) ProtoMessage() {} 179 180func (x *ProjectBillingInfo) ProtoReflect() protoreflect.Message { 181 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[1] 182 if protoimpl.UnsafeEnabled && x != nil { 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 if ms.LoadMessageInfo() == nil { 185 ms.StoreMessageInfo(mi) 186 } 187 return ms 188 } 189 return mi.MessageOf(x) 190} 191 192// Deprecated: Use ProjectBillingInfo.ProtoReflect.Descriptor instead. 193func (*ProjectBillingInfo) Descriptor() ([]byte, []int) { 194 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{1} 195} 196 197func (x *ProjectBillingInfo) GetName() string { 198 if x != nil { 199 return x.Name 200 } 201 return "" 202} 203 204func (x *ProjectBillingInfo) GetProjectId() string { 205 if x != nil { 206 return x.ProjectId 207 } 208 return "" 209} 210 211func (x *ProjectBillingInfo) GetBillingAccountName() string { 212 if x != nil { 213 return x.BillingAccountName 214 } 215 return "" 216} 217 218func (x *ProjectBillingInfo) GetBillingEnabled() bool { 219 if x != nil { 220 return x.BillingEnabled 221 } 222 return false 223} 224 225// Request message for `GetBillingAccount`. 226type GetBillingAccountRequest struct { 227 state protoimpl.MessageState 228 sizeCache protoimpl.SizeCache 229 unknownFields protoimpl.UnknownFields 230 231 // Required. The resource name of the billing account to retrieve. For example, 232 // `billingAccounts/012345-567890-ABCDEF`. 233 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 234} 235 236func (x *GetBillingAccountRequest) Reset() { 237 *x = GetBillingAccountRequest{} 238 if protoimpl.UnsafeEnabled { 239 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[2] 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 ms.StoreMessageInfo(mi) 242 } 243} 244 245func (x *GetBillingAccountRequest) String() string { 246 return protoimpl.X.MessageStringOf(x) 247} 248 249func (*GetBillingAccountRequest) ProtoMessage() {} 250 251func (x *GetBillingAccountRequest) ProtoReflect() protoreflect.Message { 252 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[2] 253 if protoimpl.UnsafeEnabled && x != nil { 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 if ms.LoadMessageInfo() == nil { 256 ms.StoreMessageInfo(mi) 257 } 258 return ms 259 } 260 return mi.MessageOf(x) 261} 262 263// Deprecated: Use GetBillingAccountRequest.ProtoReflect.Descriptor instead. 264func (*GetBillingAccountRequest) Descriptor() ([]byte, []int) { 265 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{2} 266} 267 268func (x *GetBillingAccountRequest) GetName() string { 269 if x != nil { 270 return x.Name 271 } 272 return "" 273} 274 275// Request message for `ListBillingAccounts`. 276type ListBillingAccountsRequest struct { 277 state protoimpl.MessageState 278 sizeCache protoimpl.SizeCache 279 unknownFields protoimpl.UnknownFields 280 281 // Requested page size. The maximum page size is 100; this is also the 282 // default. 283 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 284 // A token identifying a page of results to return. This should be a 285 // `next_page_token` value returned from a previous `ListBillingAccounts` 286 // call. If unspecified, the first page of results is returned. 287 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 288 // Options for how to filter the returned billing accounts. 289 // Currently this only supports filtering for 290 // [subaccounts](https://cloud.google.com/billing/docs/concepts) under a 291 // single provided reseller billing account. 292 // (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). 293 // Boolean algebra and other fields are not currently supported. 294 Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` 295} 296 297func (x *ListBillingAccountsRequest) Reset() { 298 *x = ListBillingAccountsRequest{} 299 if protoimpl.UnsafeEnabled { 300 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[3] 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 ms.StoreMessageInfo(mi) 303 } 304} 305 306func (x *ListBillingAccountsRequest) String() string { 307 return protoimpl.X.MessageStringOf(x) 308} 309 310func (*ListBillingAccountsRequest) ProtoMessage() {} 311 312func (x *ListBillingAccountsRequest) ProtoReflect() protoreflect.Message { 313 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[3] 314 if protoimpl.UnsafeEnabled && x != nil { 315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 316 if ms.LoadMessageInfo() == nil { 317 ms.StoreMessageInfo(mi) 318 } 319 return ms 320 } 321 return mi.MessageOf(x) 322} 323 324// Deprecated: Use ListBillingAccountsRequest.ProtoReflect.Descriptor instead. 325func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int) { 326 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{3} 327} 328 329func (x *ListBillingAccountsRequest) GetPageSize() int32 { 330 if x != nil { 331 return x.PageSize 332 } 333 return 0 334} 335 336func (x *ListBillingAccountsRequest) GetPageToken() string { 337 if x != nil { 338 return x.PageToken 339 } 340 return "" 341} 342 343func (x *ListBillingAccountsRequest) GetFilter() string { 344 if x != nil { 345 return x.Filter 346 } 347 return "" 348} 349 350// Response message for `ListBillingAccounts`. 351type ListBillingAccountsResponse struct { 352 state protoimpl.MessageState 353 sizeCache protoimpl.SizeCache 354 unknownFields protoimpl.UnknownFields 355 356 // A list of billing accounts. 357 BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts,proto3" json:"billing_accounts,omitempty"` 358 // A token to retrieve the next page of results. To retrieve the next page, 359 // call `ListBillingAccounts` again with the `page_token` field set to this 360 // value. This field is empty if there are no more results to retrieve. 361 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 362} 363 364func (x *ListBillingAccountsResponse) Reset() { 365 *x = ListBillingAccountsResponse{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[4] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371} 372 373func (x *ListBillingAccountsResponse) String() string { 374 return protoimpl.X.MessageStringOf(x) 375} 376 377func (*ListBillingAccountsResponse) ProtoMessage() {} 378 379func (x *ListBillingAccountsResponse) ProtoReflect() protoreflect.Message { 380 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[4] 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 ListBillingAccountsResponse.ProtoReflect.Descriptor instead. 392func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int) { 393 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{4} 394} 395 396func (x *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccount { 397 if x != nil { 398 return x.BillingAccounts 399 } 400 return nil 401} 402 403func (x *ListBillingAccountsResponse) GetNextPageToken() string { 404 if x != nil { 405 return x.NextPageToken 406 } 407 return "" 408} 409 410// Request message for `CreateBillingAccount`. 411type CreateBillingAccountRequest struct { 412 state protoimpl.MessageState 413 sizeCache protoimpl.SizeCache 414 unknownFields protoimpl.UnknownFields 415 416 // Required. The billing account resource to create. 417 // Currently CreateBillingAccount only supports subaccount creation, so 418 // any created billing accounts must be under a provided master billing 419 // account. 420 BillingAccount *BillingAccount `protobuf:"bytes,1,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"` 421} 422 423func (x *CreateBillingAccountRequest) Reset() { 424 *x = CreateBillingAccountRequest{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[5] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430} 431 432func (x *CreateBillingAccountRequest) String() string { 433 return protoimpl.X.MessageStringOf(x) 434} 435 436func (*CreateBillingAccountRequest) ProtoMessage() {} 437 438func (x *CreateBillingAccountRequest) ProtoReflect() protoreflect.Message { 439 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[5] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448} 449 450// Deprecated: Use CreateBillingAccountRequest.ProtoReflect.Descriptor instead. 451func (*CreateBillingAccountRequest) Descriptor() ([]byte, []int) { 452 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{5} 453} 454 455func (x *CreateBillingAccountRequest) GetBillingAccount() *BillingAccount { 456 if x != nil { 457 return x.BillingAccount 458 } 459 return nil 460} 461 462// Request message for `UpdateBillingAccount`. 463type UpdateBillingAccountRequest struct { 464 state protoimpl.MessageState 465 sizeCache protoimpl.SizeCache 466 unknownFields protoimpl.UnknownFields 467 468 // Required. The name of the billing account resource to be updated. 469 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 470 // Required. The billing account resource to replace the resource on the server. 471 Account *BillingAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` 472 // The update mask applied to the resource. 473 // Only "display_name" is currently supported. 474 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 475} 476 477func (x *UpdateBillingAccountRequest) Reset() { 478 *x = UpdateBillingAccountRequest{} 479 if protoimpl.UnsafeEnabled { 480 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[6] 481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 482 ms.StoreMessageInfo(mi) 483 } 484} 485 486func (x *UpdateBillingAccountRequest) String() string { 487 return protoimpl.X.MessageStringOf(x) 488} 489 490func (*UpdateBillingAccountRequest) ProtoMessage() {} 491 492func (x *UpdateBillingAccountRequest) ProtoReflect() protoreflect.Message { 493 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[6] 494 if protoimpl.UnsafeEnabled && x != nil { 495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 496 if ms.LoadMessageInfo() == nil { 497 ms.StoreMessageInfo(mi) 498 } 499 return ms 500 } 501 return mi.MessageOf(x) 502} 503 504// Deprecated: Use UpdateBillingAccountRequest.ProtoReflect.Descriptor instead. 505func (*UpdateBillingAccountRequest) Descriptor() ([]byte, []int) { 506 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{6} 507} 508 509func (x *UpdateBillingAccountRequest) GetName() string { 510 if x != nil { 511 return x.Name 512 } 513 return "" 514} 515 516func (x *UpdateBillingAccountRequest) GetAccount() *BillingAccount { 517 if x != nil { 518 return x.Account 519 } 520 return nil 521} 522 523func (x *UpdateBillingAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 524 if x != nil { 525 return x.UpdateMask 526 } 527 return nil 528} 529 530// Request message for `ListProjectBillingInfo`. 531type ListProjectBillingInfoRequest struct { 532 state protoimpl.MessageState 533 sizeCache protoimpl.SizeCache 534 unknownFields protoimpl.UnknownFields 535 536 // Required. The resource name of the billing account associated with the projects that 537 // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. 538 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 539 // Requested page size. The maximum page size is 100; this is also the 540 // default. 541 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 542 // A token identifying a page of results to be returned. This should be a 543 // `next_page_token` value returned from a previous `ListProjectBillingInfo` 544 // call. If unspecified, the first page of results is returned. 545 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 546} 547 548func (x *ListProjectBillingInfoRequest) Reset() { 549 *x = ListProjectBillingInfoRequest{} 550 if protoimpl.UnsafeEnabled { 551 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[7] 552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 553 ms.StoreMessageInfo(mi) 554 } 555} 556 557func (x *ListProjectBillingInfoRequest) String() string { 558 return protoimpl.X.MessageStringOf(x) 559} 560 561func (*ListProjectBillingInfoRequest) ProtoMessage() {} 562 563func (x *ListProjectBillingInfoRequest) ProtoReflect() protoreflect.Message { 564 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[7] 565 if protoimpl.UnsafeEnabled && x != nil { 566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 567 if ms.LoadMessageInfo() == nil { 568 ms.StoreMessageInfo(mi) 569 } 570 return ms 571 } 572 return mi.MessageOf(x) 573} 574 575// Deprecated: Use ListProjectBillingInfoRequest.ProtoReflect.Descriptor instead. 576func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int) { 577 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{7} 578} 579 580func (x *ListProjectBillingInfoRequest) GetName() string { 581 if x != nil { 582 return x.Name 583 } 584 return "" 585} 586 587func (x *ListProjectBillingInfoRequest) GetPageSize() int32 { 588 if x != nil { 589 return x.PageSize 590 } 591 return 0 592} 593 594func (x *ListProjectBillingInfoRequest) GetPageToken() string { 595 if x != nil { 596 return x.PageToken 597 } 598 return "" 599} 600 601// Request message for `ListProjectBillingInfoResponse`. 602type ListProjectBillingInfoResponse struct { 603 state protoimpl.MessageState 604 sizeCache protoimpl.SizeCache 605 unknownFields protoimpl.UnknownFields 606 607 // A list of `ProjectBillingInfo` resources representing the projects 608 // associated with the billing account. 609 ProjectBillingInfo []*ProjectBillingInfo `protobuf:"bytes,1,rep,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"` 610 // A token to retrieve the next page of results. To retrieve the next page, 611 // call `ListProjectBillingInfo` again with the `page_token` field set to this 612 // value. This field is empty if there are no more results to retrieve. 613 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 614} 615 616func (x *ListProjectBillingInfoResponse) Reset() { 617 *x = ListProjectBillingInfoResponse{} 618 if protoimpl.UnsafeEnabled { 619 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[8] 620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 621 ms.StoreMessageInfo(mi) 622 } 623} 624 625func (x *ListProjectBillingInfoResponse) String() string { 626 return protoimpl.X.MessageStringOf(x) 627} 628 629func (*ListProjectBillingInfoResponse) ProtoMessage() {} 630 631func (x *ListProjectBillingInfoResponse) ProtoReflect() protoreflect.Message { 632 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[8] 633 if protoimpl.UnsafeEnabled && x != nil { 634 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 635 if ms.LoadMessageInfo() == nil { 636 ms.StoreMessageInfo(mi) 637 } 638 return ms 639 } 640 return mi.MessageOf(x) 641} 642 643// Deprecated: Use ListProjectBillingInfoResponse.ProtoReflect.Descriptor instead. 644func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int) { 645 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{8} 646} 647 648func (x *ListProjectBillingInfoResponse) GetProjectBillingInfo() []*ProjectBillingInfo { 649 if x != nil { 650 return x.ProjectBillingInfo 651 } 652 return nil 653} 654 655func (x *ListProjectBillingInfoResponse) GetNextPageToken() string { 656 if x != nil { 657 return x.NextPageToken 658 } 659 return "" 660} 661 662// Request message for `GetProjectBillingInfo`. 663type GetProjectBillingInfoRequest struct { 664 state protoimpl.MessageState 665 sizeCache protoimpl.SizeCache 666 unknownFields protoimpl.UnknownFields 667 668 // Required. The resource name of the project for which billing information is 669 // retrieved. For example, `projects/tokyo-rain-123`. 670 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 671} 672 673func (x *GetProjectBillingInfoRequest) Reset() { 674 *x = GetProjectBillingInfoRequest{} 675 if protoimpl.UnsafeEnabled { 676 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[9] 677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 678 ms.StoreMessageInfo(mi) 679 } 680} 681 682func (x *GetProjectBillingInfoRequest) String() string { 683 return protoimpl.X.MessageStringOf(x) 684} 685 686func (*GetProjectBillingInfoRequest) ProtoMessage() {} 687 688func (x *GetProjectBillingInfoRequest) ProtoReflect() protoreflect.Message { 689 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[9] 690 if protoimpl.UnsafeEnabled && x != nil { 691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 692 if ms.LoadMessageInfo() == nil { 693 ms.StoreMessageInfo(mi) 694 } 695 return ms 696 } 697 return mi.MessageOf(x) 698} 699 700// Deprecated: Use GetProjectBillingInfoRequest.ProtoReflect.Descriptor instead. 701func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int) { 702 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{9} 703} 704 705func (x *GetProjectBillingInfoRequest) GetName() string { 706 if x != nil { 707 return x.Name 708 } 709 return "" 710} 711 712// Request message for `UpdateProjectBillingInfo`. 713type UpdateProjectBillingInfoRequest struct { 714 state protoimpl.MessageState 715 sizeCache protoimpl.SizeCache 716 unknownFields protoimpl.UnknownFields 717 718 // Required. The resource name of the project associated with the billing information 719 // that you want to update. For example, `projects/tokyo-rain-123`. 720 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 721 // The new billing information for the project. Read-only fields are ignored; 722 // thus, you can leave empty all fields except `billing_account_name`. 723 ProjectBillingInfo *ProjectBillingInfo `protobuf:"bytes,2,opt,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"` 724} 725 726func (x *UpdateProjectBillingInfoRequest) Reset() { 727 *x = UpdateProjectBillingInfoRequest{} 728 if protoimpl.UnsafeEnabled { 729 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[10] 730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 731 ms.StoreMessageInfo(mi) 732 } 733} 734 735func (x *UpdateProjectBillingInfoRequest) String() string { 736 return protoimpl.X.MessageStringOf(x) 737} 738 739func (*UpdateProjectBillingInfoRequest) ProtoMessage() {} 740 741func (x *UpdateProjectBillingInfoRequest) ProtoReflect() protoreflect.Message { 742 mi := &file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[10] 743 if protoimpl.UnsafeEnabled && x != nil { 744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 745 if ms.LoadMessageInfo() == nil { 746 ms.StoreMessageInfo(mi) 747 } 748 return ms 749 } 750 return mi.MessageOf(x) 751} 752 753// Deprecated: Use UpdateProjectBillingInfoRequest.ProtoReflect.Descriptor instead. 754func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int) { 755 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP(), []int{10} 756} 757 758func (x *UpdateProjectBillingInfoRequest) GetName() string { 759 if x != nil { 760 return x.Name 761 } 762 return "" 763} 764 765func (x *UpdateProjectBillingInfoRequest) GetProjectBillingInfo() *ProjectBillingInfo { 766 if x != nil { 767 return x.ProjectBillingInfo 768 } 769 return nil 770} 771 772var File_google_cloud_billing_v1_cloud_billing_proto protoreflect.FileDescriptor 773 774var file_google_cloud_billing_v1_cloud_billing_proto_rawDesc = []byte{ 775 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 776 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 777 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 778 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 779 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 780 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 781 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 782 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 783 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 784 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 785 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 786 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 787 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 788 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 789 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 790 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 791 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 792 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x0e, 0x42, 0x69, 0x6c, 0x6c, 793 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 794 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 795 0x6c, 0x6f, 0x75, 0x64, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 796 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 797 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 798 0x17, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 799 0x41, 0x03, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 800 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 801 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6d, 802 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 803 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6d, 0x61, 0x73, 804 0x74, 0x65, 0x72, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 805 0x74, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 806 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 807 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 808 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 809 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x62, 810 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 811 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x62, 0x69, 0x6c, 0x6c, 0x69, 812 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 813 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 814 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x45, 815 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x62, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 816 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 817 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 818 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x62, 819 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 820 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 821 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x70, 0x0a, 0x1a, 0x4c, 0x69, 822 0x73, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 823 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 824 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 825 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 826 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 827 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 828 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 829 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 830 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x10, 831 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 832 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 833 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 834 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 835 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 836 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 837 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 838 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x74, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 839 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 840 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 841 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 842 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 843 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 844 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 845 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xea, 846 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 847 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 848 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 849 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x62, 0x69, 0x6c, 0x6c, 0x69, 850 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 851 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 852 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 853 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 854 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 855 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 856 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 857 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 858 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 859 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 860 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1d, 861 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 862 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 863 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 864 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 865 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 866 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 867 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 868 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 869 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 870 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 871 0x6e, 0x22, 0xa7, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 872 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 873 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 874 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 875 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 876 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 877 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 878 0x12, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 879 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 880 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 881 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x37, 0x0a, 0x1c, 0x47, 882 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 883 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 884 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 885 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 886 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 887 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 888 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 889 0x65, 0x12, 0x5d, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x62, 0x69, 0x6c, 890 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 891 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 892 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 893 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x70, 0x72, 894 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 895 0x32, 0xcb, 0x0e, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 896 0x67, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 897 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 898 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 899 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 900 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 901 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 902 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 903 0x75, 0x6e, 0x74, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 904 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 905 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 906 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 907 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 908 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 909 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 910 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 911 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 912 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x69, 0x6c, 0x6c, 913 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 914 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 915 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 916 0xda, 0x41, 0x00, 0x12, 0xb3, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 917 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x2e, 0x67, 918 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 919 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 920 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 921 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 922 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 923 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 924 0x93, 0x02, 0x27, 0x32, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62, 925 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 926 0x7d, 0x3a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xda, 0x41, 0x0c, 0x6e, 0x61, 0x6d, 927 0x65, 0x2c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xb5, 0x01, 0x0a, 0x14, 0x43, 0x72, 928 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 929 0x6e, 0x74, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 930 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 931 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 932 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 933 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 934 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 935 0x74, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x62, 936 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x0f, 937 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xda, 938 0x41, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 939 0x74, 0x12, 0xbf, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 940 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x2e, 0x67, 941 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 942 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 943 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 944 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 945 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 946 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 947 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 948 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 949 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 950 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 951 0x61, 0x6d, 0x65, 0x12, 0xad, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 952 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x2e, 953 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 954 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 955 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 956 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 957 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 958 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 959 0x6f, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 960 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 961 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0xda, 0x41, 0x04, 0x6e, 962 0x61, 0x6d, 0x65, 0x12, 0xde, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 963 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 964 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 965 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 966 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 967 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 968 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 969 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x69, 0x6c, 0x6c, 970 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x1a, 971 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 972 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 973 0x66, 0x6f, 0x3a, 0x14, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 974 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0xda, 0x41, 0x19, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 975 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 976 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x8b, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 977 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 978 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 979 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 980 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 981 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 982 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 983 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 984 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 985 0x63, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 986 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 987 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 988 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 989 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4a, 990 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 991 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 992 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 993 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 994 0x72, 0x63, 0x65, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xc0, 0x01, 0x0a, 0x12, 0x54, 995 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 996 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 997 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 998 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 999 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 1000 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 1001 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x22, 0x33, 1002 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x62, 0x69, 1003 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 1004 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 1005 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1006 0x65, 0x2c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x4f, 0xca, 1007 0x41, 0x1b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x67, 1008 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 1009 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1010 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 1011 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x72, 1012 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1013 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x43, 1014 0x6c, 0x6f, 0x75, 0x64, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 1015 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 1016 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 1017 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 1018 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 1019 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1020} 1021 1022var ( 1023 file_google_cloud_billing_v1_cloud_billing_proto_rawDescOnce sync.Once 1024 file_google_cloud_billing_v1_cloud_billing_proto_rawDescData = file_google_cloud_billing_v1_cloud_billing_proto_rawDesc 1025) 1026 1027func file_google_cloud_billing_v1_cloud_billing_proto_rawDescGZIP() []byte { 1028 file_google_cloud_billing_v1_cloud_billing_proto_rawDescOnce.Do(func() { 1029 file_google_cloud_billing_v1_cloud_billing_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_billing_v1_cloud_billing_proto_rawDescData) 1030 }) 1031 return file_google_cloud_billing_v1_cloud_billing_proto_rawDescData 1032} 1033 1034var file_google_cloud_billing_v1_cloud_billing_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1035var file_google_cloud_billing_v1_cloud_billing_proto_goTypes = []interface{}{ 1036 (*BillingAccount)(nil), // 0: google.cloud.billing.v1.BillingAccount 1037 (*ProjectBillingInfo)(nil), // 1: google.cloud.billing.v1.ProjectBillingInfo 1038 (*GetBillingAccountRequest)(nil), // 2: google.cloud.billing.v1.GetBillingAccountRequest 1039 (*ListBillingAccountsRequest)(nil), // 3: google.cloud.billing.v1.ListBillingAccountsRequest 1040 (*ListBillingAccountsResponse)(nil), // 4: google.cloud.billing.v1.ListBillingAccountsResponse 1041 (*CreateBillingAccountRequest)(nil), // 5: google.cloud.billing.v1.CreateBillingAccountRequest 1042 (*UpdateBillingAccountRequest)(nil), // 6: google.cloud.billing.v1.UpdateBillingAccountRequest 1043 (*ListProjectBillingInfoRequest)(nil), // 7: google.cloud.billing.v1.ListProjectBillingInfoRequest 1044 (*ListProjectBillingInfoResponse)(nil), // 8: google.cloud.billing.v1.ListProjectBillingInfoResponse 1045 (*GetProjectBillingInfoRequest)(nil), // 9: google.cloud.billing.v1.GetProjectBillingInfoRequest 1046 (*UpdateProjectBillingInfoRequest)(nil), // 10: google.cloud.billing.v1.UpdateProjectBillingInfoRequest 1047 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask 1048 (*v1.GetIamPolicyRequest)(nil), // 12: google.iam.v1.GetIamPolicyRequest 1049 (*v1.SetIamPolicyRequest)(nil), // 13: google.iam.v1.SetIamPolicyRequest 1050 (*v1.TestIamPermissionsRequest)(nil), // 14: google.iam.v1.TestIamPermissionsRequest 1051 (*v1.Policy)(nil), // 15: google.iam.v1.Policy 1052 (*v1.TestIamPermissionsResponse)(nil), // 16: google.iam.v1.TestIamPermissionsResponse 1053} 1054var file_google_cloud_billing_v1_cloud_billing_proto_depIdxs = []int32{ 1055 0, // 0: google.cloud.billing.v1.ListBillingAccountsResponse.billing_accounts:type_name -> google.cloud.billing.v1.BillingAccount 1056 0, // 1: google.cloud.billing.v1.CreateBillingAccountRequest.billing_account:type_name -> google.cloud.billing.v1.BillingAccount 1057 0, // 2: google.cloud.billing.v1.UpdateBillingAccountRequest.account:type_name -> google.cloud.billing.v1.BillingAccount 1058 11, // 3: google.cloud.billing.v1.UpdateBillingAccountRequest.update_mask:type_name -> google.protobuf.FieldMask 1059 1, // 4: google.cloud.billing.v1.ListProjectBillingInfoResponse.project_billing_info:type_name -> google.cloud.billing.v1.ProjectBillingInfo 1060 1, // 5: google.cloud.billing.v1.UpdateProjectBillingInfoRequest.project_billing_info:type_name -> google.cloud.billing.v1.ProjectBillingInfo 1061 2, // 6: google.cloud.billing.v1.CloudBilling.GetBillingAccount:input_type -> google.cloud.billing.v1.GetBillingAccountRequest 1062 3, // 7: google.cloud.billing.v1.CloudBilling.ListBillingAccounts:input_type -> google.cloud.billing.v1.ListBillingAccountsRequest 1063 6, // 8: google.cloud.billing.v1.CloudBilling.UpdateBillingAccount:input_type -> google.cloud.billing.v1.UpdateBillingAccountRequest 1064 5, // 9: google.cloud.billing.v1.CloudBilling.CreateBillingAccount:input_type -> google.cloud.billing.v1.CreateBillingAccountRequest 1065 7, // 10: google.cloud.billing.v1.CloudBilling.ListProjectBillingInfo:input_type -> google.cloud.billing.v1.ListProjectBillingInfoRequest 1066 9, // 11: google.cloud.billing.v1.CloudBilling.GetProjectBillingInfo:input_type -> google.cloud.billing.v1.GetProjectBillingInfoRequest 1067 10, // 12: google.cloud.billing.v1.CloudBilling.UpdateProjectBillingInfo:input_type -> google.cloud.billing.v1.UpdateProjectBillingInfoRequest 1068 12, // 13: google.cloud.billing.v1.CloudBilling.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest 1069 13, // 14: google.cloud.billing.v1.CloudBilling.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest 1070 14, // 15: google.cloud.billing.v1.CloudBilling.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest 1071 0, // 16: google.cloud.billing.v1.CloudBilling.GetBillingAccount:output_type -> google.cloud.billing.v1.BillingAccount 1072 4, // 17: google.cloud.billing.v1.CloudBilling.ListBillingAccounts:output_type -> google.cloud.billing.v1.ListBillingAccountsResponse 1073 0, // 18: google.cloud.billing.v1.CloudBilling.UpdateBillingAccount:output_type -> google.cloud.billing.v1.BillingAccount 1074 0, // 19: google.cloud.billing.v1.CloudBilling.CreateBillingAccount:output_type -> google.cloud.billing.v1.BillingAccount 1075 8, // 20: google.cloud.billing.v1.CloudBilling.ListProjectBillingInfo:output_type -> google.cloud.billing.v1.ListProjectBillingInfoResponse 1076 1, // 21: google.cloud.billing.v1.CloudBilling.GetProjectBillingInfo:output_type -> google.cloud.billing.v1.ProjectBillingInfo 1077 1, // 22: google.cloud.billing.v1.CloudBilling.UpdateProjectBillingInfo:output_type -> google.cloud.billing.v1.ProjectBillingInfo 1078 15, // 23: google.cloud.billing.v1.CloudBilling.GetIamPolicy:output_type -> google.iam.v1.Policy 1079 15, // 24: google.cloud.billing.v1.CloudBilling.SetIamPolicy:output_type -> google.iam.v1.Policy 1080 16, // 25: google.cloud.billing.v1.CloudBilling.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse 1081 16, // [16:26] is the sub-list for method output_type 1082 6, // [6:16] is the sub-list for method input_type 1083 6, // [6:6] is the sub-list for extension type_name 1084 6, // [6:6] is the sub-list for extension extendee 1085 0, // [0:6] is the sub-list for field type_name 1086} 1087 1088func init() { file_google_cloud_billing_v1_cloud_billing_proto_init() } 1089func file_google_cloud_billing_v1_cloud_billing_proto_init() { 1090 if File_google_cloud_billing_v1_cloud_billing_proto != nil { 1091 return 1092 } 1093 if !protoimpl.UnsafeEnabled { 1094 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1095 switch v := v.(*BillingAccount); i { 1096 case 0: 1097 return &v.state 1098 case 1: 1099 return &v.sizeCache 1100 case 2: 1101 return &v.unknownFields 1102 default: 1103 return nil 1104 } 1105 } 1106 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1107 switch v := v.(*ProjectBillingInfo); i { 1108 case 0: 1109 return &v.state 1110 case 1: 1111 return &v.sizeCache 1112 case 2: 1113 return &v.unknownFields 1114 default: 1115 return nil 1116 } 1117 } 1118 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1119 switch v := v.(*GetBillingAccountRequest); i { 1120 case 0: 1121 return &v.state 1122 case 1: 1123 return &v.sizeCache 1124 case 2: 1125 return &v.unknownFields 1126 default: 1127 return nil 1128 } 1129 } 1130 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1131 switch v := v.(*ListBillingAccountsRequest); i { 1132 case 0: 1133 return &v.state 1134 case 1: 1135 return &v.sizeCache 1136 case 2: 1137 return &v.unknownFields 1138 default: 1139 return nil 1140 } 1141 } 1142 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1143 switch v := v.(*ListBillingAccountsResponse); i { 1144 case 0: 1145 return &v.state 1146 case 1: 1147 return &v.sizeCache 1148 case 2: 1149 return &v.unknownFields 1150 default: 1151 return nil 1152 } 1153 } 1154 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1155 switch v := v.(*CreateBillingAccountRequest); i { 1156 case 0: 1157 return &v.state 1158 case 1: 1159 return &v.sizeCache 1160 case 2: 1161 return &v.unknownFields 1162 default: 1163 return nil 1164 } 1165 } 1166 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1167 switch v := v.(*UpdateBillingAccountRequest); i { 1168 case 0: 1169 return &v.state 1170 case 1: 1171 return &v.sizeCache 1172 case 2: 1173 return &v.unknownFields 1174 default: 1175 return nil 1176 } 1177 } 1178 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1179 switch v := v.(*ListProjectBillingInfoRequest); i { 1180 case 0: 1181 return &v.state 1182 case 1: 1183 return &v.sizeCache 1184 case 2: 1185 return &v.unknownFields 1186 default: 1187 return nil 1188 } 1189 } 1190 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1191 switch v := v.(*ListProjectBillingInfoResponse); i { 1192 case 0: 1193 return &v.state 1194 case 1: 1195 return &v.sizeCache 1196 case 2: 1197 return &v.unknownFields 1198 default: 1199 return nil 1200 } 1201 } 1202 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1203 switch v := v.(*GetProjectBillingInfoRequest); i { 1204 case 0: 1205 return &v.state 1206 case 1: 1207 return &v.sizeCache 1208 case 2: 1209 return &v.unknownFields 1210 default: 1211 return nil 1212 } 1213 } 1214 file_google_cloud_billing_v1_cloud_billing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1215 switch v := v.(*UpdateProjectBillingInfoRequest); i { 1216 case 0: 1217 return &v.state 1218 case 1: 1219 return &v.sizeCache 1220 case 2: 1221 return &v.unknownFields 1222 default: 1223 return nil 1224 } 1225 } 1226 } 1227 type x struct{} 1228 out := protoimpl.TypeBuilder{ 1229 File: protoimpl.DescBuilder{ 1230 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1231 RawDescriptor: file_google_cloud_billing_v1_cloud_billing_proto_rawDesc, 1232 NumEnums: 0, 1233 NumMessages: 11, 1234 NumExtensions: 0, 1235 NumServices: 1, 1236 }, 1237 GoTypes: file_google_cloud_billing_v1_cloud_billing_proto_goTypes, 1238 DependencyIndexes: file_google_cloud_billing_v1_cloud_billing_proto_depIdxs, 1239 MessageInfos: file_google_cloud_billing_v1_cloud_billing_proto_msgTypes, 1240 }.Build() 1241 File_google_cloud_billing_v1_cloud_billing_proto = out.File 1242 file_google_cloud_billing_v1_cloud_billing_proto_rawDesc = nil 1243 file_google_cloud_billing_v1_cloud_billing_proto_goTypes = nil 1244 file_google_cloud_billing_v1_cloud_billing_proto_depIdxs = nil 1245} 1246 1247// Reference imports to suppress errors if they are not otherwise used. 1248var _ context.Context 1249var _ grpc.ClientConnInterface 1250 1251// This is a compile-time assertion to ensure that this generated file 1252// is compatible with the grpc package it is being compiled against. 1253const _ = grpc.SupportPackageIsVersion6 1254 1255// CloudBillingClient is the client API for CloudBilling service. 1256// 1257// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1258type CloudBillingClient interface { 1259 // Gets information about a billing account. The current authenticated user 1260 // must be a [viewer of the billing 1261 // account](https://cloud.google.com/billing/docs/how-to/billing-access). 1262 GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) 1263 // Lists the billing accounts that the current authenticated user has 1264 // permission to 1265 // [view](https://cloud.google.com/billing/docs/how-to/billing-access). 1266 ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) 1267 // Updates a billing account's fields. 1268 // Currently the only field that can be edited is `display_name`. 1269 // The current authenticated user must have the `billing.accounts.update` 1270 // IAM permission, which is typically given to the 1271 // [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) 1272 // of the billing account. 1273 UpdateBillingAccount(ctx context.Context, in *UpdateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) 1274 // Creates a billing account. 1275 // This method can only be used to create 1276 // [billing subaccounts](https://cloud.google.com/billing/docs/concepts) 1277 // by GCP resellers. 1278 // When creating a subaccount, the current authenticated user must have the 1279 // `billing.accounts.update` IAM permission on the master account, which is 1280 // typically given to billing account 1281 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). 1282 // This method will return an error if the master account has not been 1283 // provisioned as a reseller account. 1284 CreateBillingAccount(ctx context.Context, in *CreateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) 1285 // Lists the projects associated with a billing account. The current 1286 // authenticated user must have the `billing.resourceAssociations.list` IAM 1287 // permission, which is often given to billing account 1288 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). 1289 ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) 1290 // Gets the billing information for a project. The current authenticated user 1291 // must have [permission to view the 1292 // project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo 1293 // ). 1294 GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) 1295 // Sets or updates the billing account associated with a project. You specify 1296 // the new billing account by setting the `billing_account_name` in the 1297 // `ProjectBillingInfo` resource to the resource name of a billing account. 1298 // Associating a project with an open billing account enables billing on the 1299 // project and allows charges for resource usage. If the project already had a 1300 // billing account, this method changes the billing account used for resource 1301 // usage charges. 1302 // 1303 // *Note:* Incurred charges that have not yet been reported in the transaction 1304 // history of the GCP Console might be billed to the new billing 1305 // account, even if the charge occurred before the new billing account was 1306 // assigned to the project. 1307 // 1308 // The current authenticated user must have ownership privileges for both the 1309 // [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo 1310 // ) and the [billing 1311 // account](https://cloud.google.com/billing/docs/how-to/billing-access). 1312 // 1313 // You can disable billing on the project by setting the 1314 // `billing_account_name` field to empty. This action disassociates the 1315 // current billing account from the project. Any billable activity of your 1316 // in-use services will stop, and your application could stop functioning as 1317 // expected. Any unbilled charges to date will be billed to the previously 1318 // associated account. The current authenticated user must be either an owner 1319 // of the project or an owner of the billing account for the project. 1320 // 1321 // Note that associating a project with a *closed* billing account will have 1322 // much the same effect as disabling billing on the project: any paid 1323 // resources used by the project will be shut down. Thus, unless you wish to 1324 // disable billing, you should always call this method with the name of an 1325 // *open* billing account. 1326 UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) 1327 // Gets the access control policy for a billing account. 1328 // The caller must have the `billing.accounts.getIamPolicy` permission on the 1329 // account, which is often given to billing account 1330 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). 1331 GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1332 // Sets the access control policy for a billing account. Replaces any existing 1333 // policy. 1334 // The caller must have the `billing.accounts.setIamPolicy` permission on the 1335 // account, which is often given to billing account 1336 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). 1337 SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1338 // Tests the access control policy for a billing account. This method takes 1339 // the resource and a set of permissions as input and returns the subset of 1340 // the input permissions that the caller is allowed for that resource. 1341 TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 1342} 1343 1344type cloudBillingClient struct { 1345 cc grpc.ClientConnInterface 1346} 1347 1348func NewCloudBillingClient(cc grpc.ClientConnInterface) CloudBillingClient { 1349 return &cloudBillingClient{cc} 1350} 1351 1352func (c *cloudBillingClient) GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) { 1353 out := new(BillingAccount) 1354 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", in, out, opts...) 1355 if err != nil { 1356 return nil, err 1357 } 1358 return out, nil 1359} 1360 1361func (c *cloudBillingClient) ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) { 1362 out := new(ListBillingAccountsResponse) 1363 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", in, out, opts...) 1364 if err != nil { 1365 return nil, err 1366 } 1367 return out, nil 1368} 1369 1370func (c *cloudBillingClient) UpdateBillingAccount(ctx context.Context, in *UpdateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) { 1371 out := new(BillingAccount) 1372 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateBillingAccount", in, out, opts...) 1373 if err != nil { 1374 return nil, err 1375 } 1376 return out, nil 1377} 1378 1379func (c *cloudBillingClient) CreateBillingAccount(ctx context.Context, in *CreateBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) { 1380 out := new(BillingAccount) 1381 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/CreateBillingAccount", in, out, opts...) 1382 if err != nil { 1383 return nil, err 1384 } 1385 return out, nil 1386} 1387 1388func (c *cloudBillingClient) ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) { 1389 out := new(ListProjectBillingInfoResponse) 1390 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", in, out, opts...) 1391 if err != nil { 1392 return nil, err 1393 } 1394 return out, nil 1395} 1396 1397func (c *cloudBillingClient) GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) { 1398 out := new(ProjectBillingInfo) 1399 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", in, out, opts...) 1400 if err != nil { 1401 return nil, err 1402 } 1403 return out, nil 1404} 1405 1406func (c *cloudBillingClient) UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) { 1407 out := new(ProjectBillingInfo) 1408 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", in, out, opts...) 1409 if err != nil { 1410 return nil, err 1411 } 1412 return out, nil 1413} 1414 1415func (c *cloudBillingClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1416 out := new(v1.Policy) 1417 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetIamPolicy", in, out, opts...) 1418 if err != nil { 1419 return nil, err 1420 } 1421 return out, nil 1422} 1423 1424func (c *cloudBillingClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1425 out := new(v1.Policy) 1426 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/SetIamPolicy", in, out, opts...) 1427 if err != nil { 1428 return nil, err 1429 } 1430 return out, nil 1431} 1432 1433func (c *cloudBillingClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 1434 out := new(v1.TestIamPermissionsResponse) 1435 err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/TestIamPermissions", in, out, opts...) 1436 if err != nil { 1437 return nil, err 1438 } 1439 return out, nil 1440} 1441 1442// CloudBillingServer is the server API for CloudBilling service. 1443type CloudBillingServer interface { 1444 // Gets information about a billing account. The current authenticated user 1445 // must be a [viewer of the billing 1446 // account](https://cloud.google.com/billing/docs/how-to/billing-access). 1447 GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error) 1448 // Lists the billing accounts that the current authenticated user has 1449 // permission to 1450 // [view](https://cloud.google.com/billing/docs/how-to/billing-access). 1451 ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error) 1452 // Updates a billing account's fields. 1453 // Currently the only field that can be edited is `display_name`. 1454 // The current authenticated user must have the `billing.accounts.update` 1455 // IAM permission, which is typically given to the 1456 // [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) 1457 // of the billing account. 1458 UpdateBillingAccount(context.Context, *UpdateBillingAccountRequest) (*BillingAccount, error) 1459 // Creates a billing account. 1460 // This method can only be used to create 1461 // [billing subaccounts](https://cloud.google.com/billing/docs/concepts) 1462 // by GCP resellers. 1463 // When creating a subaccount, the current authenticated user must have the 1464 // `billing.accounts.update` IAM permission on the master account, which is 1465 // typically given to billing account 1466 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). 1467 // This method will return an error if the master account has not been 1468 // provisioned as a reseller account. 1469 CreateBillingAccount(context.Context, *CreateBillingAccountRequest) (*BillingAccount, error) 1470 // Lists the projects associated with a billing account. The current 1471 // authenticated user must have the `billing.resourceAssociations.list` IAM 1472 // permission, which is often given to billing account 1473 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). 1474 ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error) 1475 // Gets the billing information for a project. The current authenticated user 1476 // must have [permission to view the 1477 // project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo 1478 // ). 1479 GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error) 1480 // Sets or updates the billing account associated with a project. You specify 1481 // the new billing account by setting the `billing_account_name` in the 1482 // `ProjectBillingInfo` resource to the resource name of a billing account. 1483 // Associating a project with an open billing account enables billing on the 1484 // project and allows charges for resource usage. If the project already had a 1485 // billing account, this method changes the billing account used for resource 1486 // usage charges. 1487 // 1488 // *Note:* Incurred charges that have not yet been reported in the transaction 1489 // history of the GCP Console might be billed to the new billing 1490 // account, even if the charge occurred before the new billing account was 1491 // assigned to the project. 1492 // 1493 // The current authenticated user must have ownership privileges for both the 1494 // [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo 1495 // ) and the [billing 1496 // account](https://cloud.google.com/billing/docs/how-to/billing-access). 1497 // 1498 // You can disable billing on the project by setting the 1499 // `billing_account_name` field to empty. This action disassociates the 1500 // current billing account from the project. Any billable activity of your 1501 // in-use services will stop, and your application could stop functioning as 1502 // expected. Any unbilled charges to date will be billed to the previously 1503 // associated account. The current authenticated user must be either an owner 1504 // of the project or an owner of the billing account for the project. 1505 // 1506 // Note that associating a project with a *closed* billing account will have 1507 // much the same effect as disabling billing on the project: any paid 1508 // resources used by the project will be shut down. Thus, unless you wish to 1509 // disable billing, you should always call this method with the name of an 1510 // *open* billing account. 1511 UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error) 1512 // Gets the access control policy for a billing account. 1513 // The caller must have the `billing.accounts.getIamPolicy` permission on the 1514 // account, which is often given to billing account 1515 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). 1516 GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) 1517 // Sets the access control policy for a billing account. Replaces any existing 1518 // policy. 1519 // The caller must have the `billing.accounts.setIamPolicy` permission on the 1520 // account, which is often given to billing account 1521 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). 1522 SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) 1523 // Tests the access control policy for a billing account. This method takes 1524 // the resource and a set of permissions as input and returns the subset of 1525 // the input permissions that the caller is allowed for that resource. 1526 TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 1527} 1528 1529// UnimplementedCloudBillingServer can be embedded to have forward compatible implementations. 1530type UnimplementedCloudBillingServer struct { 1531} 1532 1533func (*UnimplementedCloudBillingServer) GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error) { 1534 return nil, status.Errorf(codes.Unimplemented, "method GetBillingAccount not implemented") 1535} 1536func (*UnimplementedCloudBillingServer) ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error) { 1537 return nil, status.Errorf(codes.Unimplemented, "method ListBillingAccounts not implemented") 1538} 1539func (*UnimplementedCloudBillingServer) UpdateBillingAccount(context.Context, *UpdateBillingAccountRequest) (*BillingAccount, error) { 1540 return nil, status.Errorf(codes.Unimplemented, "method UpdateBillingAccount not implemented") 1541} 1542func (*UnimplementedCloudBillingServer) CreateBillingAccount(context.Context, *CreateBillingAccountRequest) (*BillingAccount, error) { 1543 return nil, status.Errorf(codes.Unimplemented, "method CreateBillingAccount not implemented") 1544} 1545func (*UnimplementedCloudBillingServer) ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error) { 1546 return nil, status.Errorf(codes.Unimplemented, "method ListProjectBillingInfo not implemented") 1547} 1548func (*UnimplementedCloudBillingServer) GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error) { 1549 return nil, status.Errorf(codes.Unimplemented, "method GetProjectBillingInfo not implemented") 1550} 1551func (*UnimplementedCloudBillingServer) UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error) { 1552 return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectBillingInfo not implemented") 1553} 1554func (*UnimplementedCloudBillingServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) { 1555 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") 1556} 1557func (*UnimplementedCloudBillingServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) { 1558 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") 1559} 1560func (*UnimplementedCloudBillingServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { 1561 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") 1562} 1563 1564func RegisterCloudBillingServer(s *grpc.Server, srv CloudBillingServer) { 1565 s.RegisterService(&_CloudBilling_serviceDesc, srv) 1566} 1567 1568func _CloudBilling_GetBillingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1569 in := new(GetBillingAccountRequest) 1570 if err := dec(in); err != nil { 1571 return nil, err 1572 } 1573 if interceptor == nil { 1574 return srv.(CloudBillingServer).GetBillingAccount(ctx, in) 1575 } 1576 info := &grpc.UnaryServerInfo{ 1577 Server: srv, 1578 FullMethod: "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", 1579 } 1580 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1581 return srv.(CloudBillingServer).GetBillingAccount(ctx, req.(*GetBillingAccountRequest)) 1582 } 1583 return interceptor(ctx, in, info, handler) 1584} 1585 1586func _CloudBilling_ListBillingAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1587 in := new(ListBillingAccountsRequest) 1588 if err := dec(in); err != nil { 1589 return nil, err 1590 } 1591 if interceptor == nil { 1592 return srv.(CloudBillingServer).ListBillingAccounts(ctx, in) 1593 } 1594 info := &grpc.UnaryServerInfo{ 1595 Server: srv, 1596 FullMethod: "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", 1597 } 1598 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1599 return srv.(CloudBillingServer).ListBillingAccounts(ctx, req.(*ListBillingAccountsRequest)) 1600 } 1601 return interceptor(ctx, in, info, handler) 1602} 1603 1604func _CloudBilling_UpdateBillingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1605 in := new(UpdateBillingAccountRequest) 1606 if err := dec(in); err != nil { 1607 return nil, err 1608 } 1609 if interceptor == nil { 1610 return srv.(CloudBillingServer).UpdateBillingAccount(ctx, in) 1611 } 1612 info := &grpc.UnaryServerInfo{ 1613 Server: srv, 1614 FullMethod: "/google.cloud.billing.v1.CloudBilling/UpdateBillingAccount", 1615 } 1616 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1617 return srv.(CloudBillingServer).UpdateBillingAccount(ctx, req.(*UpdateBillingAccountRequest)) 1618 } 1619 return interceptor(ctx, in, info, handler) 1620} 1621 1622func _CloudBilling_CreateBillingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1623 in := new(CreateBillingAccountRequest) 1624 if err := dec(in); err != nil { 1625 return nil, err 1626 } 1627 if interceptor == nil { 1628 return srv.(CloudBillingServer).CreateBillingAccount(ctx, in) 1629 } 1630 info := &grpc.UnaryServerInfo{ 1631 Server: srv, 1632 FullMethod: "/google.cloud.billing.v1.CloudBilling/CreateBillingAccount", 1633 } 1634 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1635 return srv.(CloudBillingServer).CreateBillingAccount(ctx, req.(*CreateBillingAccountRequest)) 1636 } 1637 return interceptor(ctx, in, info, handler) 1638} 1639 1640func _CloudBilling_ListProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1641 in := new(ListProjectBillingInfoRequest) 1642 if err := dec(in); err != nil { 1643 return nil, err 1644 } 1645 if interceptor == nil { 1646 return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, in) 1647 } 1648 info := &grpc.UnaryServerInfo{ 1649 Server: srv, 1650 FullMethod: "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", 1651 } 1652 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1653 return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, req.(*ListProjectBillingInfoRequest)) 1654 } 1655 return interceptor(ctx, in, info, handler) 1656} 1657 1658func _CloudBilling_GetProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1659 in := new(GetProjectBillingInfoRequest) 1660 if err := dec(in); err != nil { 1661 return nil, err 1662 } 1663 if interceptor == nil { 1664 return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, in) 1665 } 1666 info := &grpc.UnaryServerInfo{ 1667 Server: srv, 1668 FullMethod: "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", 1669 } 1670 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1671 return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, req.(*GetProjectBillingInfoRequest)) 1672 } 1673 return interceptor(ctx, in, info, handler) 1674} 1675 1676func _CloudBilling_UpdateProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1677 in := new(UpdateProjectBillingInfoRequest) 1678 if err := dec(in); err != nil { 1679 return nil, err 1680 } 1681 if interceptor == nil { 1682 return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, in) 1683 } 1684 info := &grpc.UnaryServerInfo{ 1685 Server: srv, 1686 FullMethod: "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", 1687 } 1688 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1689 return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, req.(*UpdateProjectBillingInfoRequest)) 1690 } 1691 return interceptor(ctx, in, info, handler) 1692} 1693 1694func _CloudBilling_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1695 in := new(v1.GetIamPolicyRequest) 1696 if err := dec(in); err != nil { 1697 return nil, err 1698 } 1699 if interceptor == nil { 1700 return srv.(CloudBillingServer).GetIamPolicy(ctx, in) 1701 } 1702 info := &grpc.UnaryServerInfo{ 1703 Server: srv, 1704 FullMethod: "/google.cloud.billing.v1.CloudBilling/GetIamPolicy", 1705 } 1706 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1707 return srv.(CloudBillingServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) 1708 } 1709 return interceptor(ctx, in, info, handler) 1710} 1711 1712func _CloudBilling_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1713 in := new(v1.SetIamPolicyRequest) 1714 if err := dec(in); err != nil { 1715 return nil, err 1716 } 1717 if interceptor == nil { 1718 return srv.(CloudBillingServer).SetIamPolicy(ctx, in) 1719 } 1720 info := &grpc.UnaryServerInfo{ 1721 Server: srv, 1722 FullMethod: "/google.cloud.billing.v1.CloudBilling/SetIamPolicy", 1723 } 1724 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1725 return srv.(CloudBillingServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) 1726 } 1727 return interceptor(ctx, in, info, handler) 1728} 1729 1730func _CloudBilling_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1731 in := new(v1.TestIamPermissionsRequest) 1732 if err := dec(in); err != nil { 1733 return nil, err 1734 } 1735 if interceptor == nil { 1736 return srv.(CloudBillingServer).TestIamPermissions(ctx, in) 1737 } 1738 info := &grpc.UnaryServerInfo{ 1739 Server: srv, 1740 FullMethod: "/google.cloud.billing.v1.CloudBilling/TestIamPermissions", 1741 } 1742 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1743 return srv.(CloudBillingServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) 1744 } 1745 return interceptor(ctx, in, info, handler) 1746} 1747 1748var _CloudBilling_serviceDesc = grpc.ServiceDesc{ 1749 ServiceName: "google.cloud.billing.v1.CloudBilling", 1750 HandlerType: (*CloudBillingServer)(nil), 1751 Methods: []grpc.MethodDesc{ 1752 { 1753 MethodName: "GetBillingAccount", 1754 Handler: _CloudBilling_GetBillingAccount_Handler, 1755 }, 1756 { 1757 MethodName: "ListBillingAccounts", 1758 Handler: _CloudBilling_ListBillingAccounts_Handler, 1759 }, 1760 { 1761 MethodName: "UpdateBillingAccount", 1762 Handler: _CloudBilling_UpdateBillingAccount_Handler, 1763 }, 1764 { 1765 MethodName: "CreateBillingAccount", 1766 Handler: _CloudBilling_CreateBillingAccount_Handler, 1767 }, 1768 { 1769 MethodName: "ListProjectBillingInfo", 1770 Handler: _CloudBilling_ListProjectBillingInfo_Handler, 1771 }, 1772 { 1773 MethodName: "GetProjectBillingInfo", 1774 Handler: _CloudBilling_GetProjectBillingInfo_Handler, 1775 }, 1776 { 1777 MethodName: "UpdateProjectBillingInfo", 1778 Handler: _CloudBilling_UpdateProjectBillingInfo_Handler, 1779 }, 1780 { 1781 MethodName: "GetIamPolicy", 1782 Handler: _CloudBilling_GetIamPolicy_Handler, 1783 }, 1784 { 1785 MethodName: "SetIamPolicy", 1786 Handler: _CloudBilling_SetIamPolicy_Handler, 1787 }, 1788 { 1789 MethodName: "TestIamPermissions", 1790 Handler: _CloudBilling_TestIamPermissions_Handler, 1791 }, 1792 }, 1793 Streams: []grpc.StreamDesc{}, 1794 Metadata: "google/cloud/billing/v1/cloud_billing.proto", 1795} 1796