Debian Codegraph @

channel/apiv1/channelpb/billing_accounts.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/channel/v1/billing_accounts.proto
20
21 package channelpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Represents a billing account.
40 type BillingAccount struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Output only. Resource name of the billing account.
46 // Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48 // Display name of the billing account.
49 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
50 // Output only. The time when this billing account was created.
51 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
52 // Output only. The 3-letter currency code defined in ISO 4217.
53 CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
54 // Output only. The CLDR region code.
55 RegionCode string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
56 }
57
58 func (x *BillingAccount) Reset() {
59 *x = BillingAccount{}
60 mi := &file_google_cloud_channel_v1_billing_accounts_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64
65 func (x *BillingAccount) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*BillingAccount) ProtoMessage() {}
70
71 func (x *BillingAccount) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_channel_v1_billing_accounts_proto_msgTypes[0]
73 if x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead.
84 func (*BillingAccount) Descriptor() ([]byte, []int) {
85 return file_google_cloud_channel_v1_billing_accounts_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *BillingAccount) GetName() string {
89 if x != nil {
90 return x.Name
91 }
92 return ""
93 }
94
95 func (x *BillingAccount) GetDisplayName() string {
96 if x != nil {
97 return x.DisplayName
98 }
99 return ""
100 }
101
102 func (x *BillingAccount) GetCreateTime() *timestamppb.Timestamp {
103 if x != nil {
104 return x.CreateTime
105 }
106 return nil
107 }
108
109 func (x *BillingAccount) GetCurrencyCode() string {
110 if x != nil {
111 return x.CurrencyCode
112 }
113 return ""
114 }
115
116 func (x *BillingAccount) GetRegionCode() string {
117 if x != nil {
118 return x.RegionCode
119 }
120 return ""
121 }
122
123 var File_google_cloud_channel_v1_billing_accounts_proto protoreflect.FileDescriptor
124
125 var file_google_cloud_channel_v1_billing_accounts_proto_rawDesc = []byte{
126 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
127 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e,
128 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
129 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
130 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
131 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
132 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
133 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
134 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
135 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
136 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x02, 0x0a, 0x0e, 0x42, 0x69, 0x6c, 0x6c, 0x69,
137 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
138 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61,
139 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
140 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
141 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
142 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
143 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
144 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65,
145 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65,
146 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
147 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x64,
148 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65,
149 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x67,
150 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x2a, 0x63, 0x6c,
151 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
152 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e,
153 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
154 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x62, 0x69, 0x6c,
155 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x69,
156 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x42, 0x6c,
157 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
158 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x42,
159 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x50, 0x72,
160 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
161 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e,
162 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
163 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
164 0x6f, 0x74, 0x6f, 0x33,
165 }
166
167 var (
168 file_google_cloud_channel_v1_billing_accounts_proto_rawDescOnce sync.Once
169 file_google_cloud_channel_v1_billing_accounts_proto_rawDescData = file_google_cloud_channel_v1_billing_accounts_proto_rawDesc
170 )
171
172 func file_google_cloud_channel_v1_billing_accounts_proto_rawDescGZIP() []byte {
173 file_google_cloud_channel_v1_billing_accounts_proto_rawDescOnce.Do(func() {
174 file_google_cloud_channel_v1_billing_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_billing_accounts_proto_rawDescData)
175 })
176 return file_google_cloud_channel_v1_billing_accounts_proto_rawDescData
177 }
178
179 var file_google_cloud_channel_v1_billing_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
180 var file_google_cloud_channel_v1_billing_accounts_proto_goTypes = []any{
181 (*BillingAccount)(nil), // 0: google.cloud.channel.v1.BillingAccount
182 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
183 }
184 var file_google_cloud_channel_v1_billing_accounts_proto_depIdxs = []int32{
185 1, // 0: google.cloud.channel.v1.BillingAccount.create_time:type_name -> google.protobuf.Timestamp
186 1, // [1:1] is the sub-list for method output_type
187 1, // [1:1] is the sub-list for method input_type
188 1, // [1:1] is the sub-list for extension type_name
189 1, // [1:1] is the sub-list for extension extendee
190 0, // [0:1] is the sub-list for field type_name
191 }
192
193 func init() { file_google_cloud_channel_v1_billing_accounts_proto_init() }
194 func file_google_cloud_channel_v1_billing_accounts_proto_init() {
195 if File_google_cloud_channel_v1_billing_accounts_proto != nil {
196 return
197 }
198 type x struct{}
199 out := protoimpl.TypeBuilder{
200 File: protoimpl.DescBuilder{
201 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
202 RawDescriptor: file_google_cloud_channel_v1_billing_accounts_proto_rawDesc,
203 NumEnums: 0,
204 NumMessages: 1,
205 NumExtensions: 0,
206 NumServices: 0,
207 },
208 GoTypes: file_google_cloud_channel_v1_billing_accounts_proto_goTypes,
209 DependencyIndexes: file_google_cloud_channel_v1_billing_accounts_proto_depIdxs,
210 MessageInfos: file_google_cloud_channel_v1_billing_accounts_proto_msgTypes,
211 }.Build()
212 File_google_cloud_channel_v1_billing_accounts_proto = out.File
213 file_google_cloud_channel_v1_billing_accounts_proto_rawDesc = nil
214 file_google_cloud_channel_v1_billing_accounts_proto_goTypes = nil
215 file_google_cloud_channel_v1_billing_accounts_proto_depIdxs = nil
216 }