| 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/customers.proto |
| 20 |
|
| 21 |
package channelpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" |
| 26 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 27 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 28 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// The enum represents whether a customer belongs to public sector |
| 41 |
type Customer_CustomerAttestationState int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Default value if not set yet |
| 45 |
Customer_CUSTOMER_ATTESTATION_STATE_UNSPECIFIED Customer_CustomerAttestationState = 0 |
| 46 |
// Customer is exempt from attesting based on exemption list at |
| 47 |
// https://cloud.google.com/terms/direct-tos-exemptions. Contact information |
| 48 |
// of customer will be mandatory. |
| 49 |
Customer_EXEMPT Customer_CustomerAttestationState = 1 |
| 50 |
// Customer is not exempt and has verified the information provided is |
| 51 |
// correct. Contact information of customer will be mandatory. |
| 52 |
Customer_NON_EXEMPT_AND_INFO_VERIFIED Customer_CustomerAttestationState = 2 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for Customer_CustomerAttestationState. |
| 56 |
var ( |
| 57 |
Customer_CustomerAttestationState_name = map[int32]string{ |
| 58 |
0: "CUSTOMER_ATTESTATION_STATE_UNSPECIFIED", |
| 59 |
1: "EXEMPT", |
| 60 |
2: "NON_EXEMPT_AND_INFO_VERIFIED", |
| 61 |
} |
| 62 |
Customer_CustomerAttestationState_value = map[string]int32{ |
| 63 |
"CUSTOMER_ATTESTATION_STATE_UNSPECIFIED": 0, |
| 64 |
"EXEMPT": 1, |
| 65 |
"NON_EXEMPT_AND_INFO_VERIFIED": 2, |
| 66 |
} |
| 67 |
) |
| 68 |
|
| 69 |
func (x Customer_CustomerAttestationState) Enum() *Customer_CustomerAttestationState { |
| 70 |
p := new(Customer_CustomerAttestationState) |
| 71 |
*p = x |
| 72 |
return p |
| 73 |
} |
| 74 |
|
| 75 |
func (x Customer_CustomerAttestationState) String() string { |
| 76 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 77 |
} |
| 78 |
|
| 79 |
func (Customer_CustomerAttestationState) Descriptor() protoreflect.EnumDescriptor { |
| 80 |
return file_google_cloud_channel_v1_customers_proto_enumTypes[0].Descriptor() |
| 81 |
} |
| 82 |
|
| 83 |
func (Customer_CustomerAttestationState) Type() protoreflect.EnumType { |
| 84 |
return &file_google_cloud_channel_v1_customers_proto_enumTypes[0] |
| 85 |
} |
| 86 |
|
| 87 |
func (x Customer_CustomerAttestationState) Number() protoreflect.EnumNumber { |
| 88 |
return protoreflect.EnumNumber(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use Customer_CustomerAttestationState.Descriptor instead. |
| 92 |
func (Customer_CustomerAttestationState) EnumDescriptor() ([]byte, []int) { |
| 93 |
return file_google_cloud_channel_v1_customers_proto_rawDescGZIP(), []int{0, 0} |
| 94 |
} |
| 95 |
|
| 96 |
// Entity representing a customer of a reseller or distributor. |
| 97 |
type Customer struct { |
| 98 |
state protoimpl.MessageState |
| 99 |
sizeCache protoimpl.SizeCache |
| 100 |
unknownFields protoimpl.UnknownFields |
| 101 |
|
| 102 |
// Output only. Resource name of the customer. |
| 103 |
// Format: accounts/{account_id}/customers/{customer_id} |
| 104 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 105 |
// Required. Name of the organization that the customer entity represents. |
| 106 |
OrgDisplayName string `protobuf:"bytes,2,opt,name=org_display_name,json=orgDisplayName,proto3" json:"org_display_name,omitempty"` |
| 107 |
// Required. The organization address for the customer. To enforce US laws and |
| 108 |
// embargoes, we require a region, postal code, and address lines. You must |
| 109 |
// provide valid addresses for every customer. To set the customer's |
| 110 |
// language, use the Customer-level language code. |
| 111 |
OrgPostalAddress *postaladdress.PostalAddress `protobuf:"bytes,3,opt,name=org_postal_address,json=orgPostalAddress,proto3" json:"org_postal_address,omitempty"` |
| 112 |
// Primary contact info. |
| 113 |
PrimaryContactInfo *ContactInfo `protobuf:"bytes,4,opt,name=primary_contact_info,json=primaryContactInfo,proto3" json:"primary_contact_info,omitempty"` |
| 114 |
// Secondary contact email. You need to provide an alternate email to create |
| 115 |
// different domains if a primary contact email already exists. Users will |
| 116 |
// receive a notification with credentials when you create an admin.google.com |
| 117 |
// account. Secondary emails are also recovery email addresses. Alternate |
| 118 |
// emails are optional when you create Team customers. |
| 119 |
AlternateEmail string `protobuf:"bytes,5,opt,name=alternate_email,json=alternateEmail,proto3" json:"alternate_email,omitempty"` |
| 120 |
// Required. The customer's primary domain. Must match the primary contact |
| 121 |
// email's domain. |
| 122 |
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` |
| 123 |
// Output only. Time when the customer was created. |
| 124 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 125 |
// Output only. Time when the customer was updated. |
| 126 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 127 |
// Output only. The customer's Cloud Identity ID if the customer has a Cloud |
| 128 |
// Identity resource. |
| 129 |
CloudIdentityId string `protobuf:"bytes,9,opt,name=cloud_identity_id,json=cloudIdentityId,proto3" json:"cloud_identity_id,omitempty"` |
| 130 |
// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more |
| 131 |
// information, see |
| 132 |
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. |
| 133 |
LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 134 |
// Output only. Cloud Identity information for the customer. |
| 135 |
// Populated only if a Cloud Identity account exists for this customer. |
| 136 |
CloudIdentityInfo *CloudIdentityInfo `protobuf:"bytes,12,opt,name=cloud_identity_info,json=cloudIdentityInfo,proto3" json:"cloud_identity_info,omitempty"` |
| 137 |
// Cloud Identity ID of the customer's channel partner. |
| 138 |
// Populated only if a channel partner exists for this customer. |
| 139 |
ChannelPartnerId string `protobuf:"bytes,13,opt,name=channel_partner_id,json=channelPartnerId,proto3" json:"channel_partner_id,omitempty"` |
| 140 |
// Optional. External CRM ID for the customer. |
| 141 |
// Populated only if a CRM ID exists for this customer. |
| 142 |
CorrelationId string `protobuf:"bytes,14,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` |
| 143 |
// Optional. Indicate whether a customer is attesting about the correctness of |
| 144 |
// provided information. Only required if creating a GCP Entitlement. |
| 145 |
CustomerAttestationState Customer_CustomerAttestationState `protobuf:"varint,16,opt,name=customer_attestation_state,json=customerAttestationState,proto3,enum=google.cloud.channel.v1.Customer_CustomerAttestationState" json:"customer_attestation_state,omitempty"` |
| 146 |
} |
| 147 |
|
| 148 |
func (x *Customer) Reset() { |
| 149 |
*x = Customer{} |
| 150 |
mi := &file_google_cloud_channel_v1_customers_proto_msgTypes[0] |
| 151 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
|
| 155 |
func (x *Customer) String() string { |
| 156 |
return protoimpl.X.MessageStringOf(x) |
| 157 |
} |
| 158 |
|
| 159 |
func (*Customer) ProtoMessage() {} |
| 160 |
|
| 161 |
func (x *Customer) ProtoReflect() protoreflect.Message { |
| 162 |
mi := &file_google_cloud_channel_v1_customers_proto_msgTypes[0] |
| 163 |
if x != nil { |
| 164 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 165 |
if ms.LoadMessageInfo() == nil { |
| 166 |
ms.StoreMessageInfo(mi) |
| 167 |
} |
| 168 |
return ms |
| 169 |
} |
| 170 |
return mi.MessageOf(x) |
| 171 |
} |
| 172 |
|
| 173 |
// Deprecated: Use Customer.ProtoReflect.Descriptor instead. |
| 174 |
func (*Customer) Descriptor() ([]byte, []int) { |
| 175 |
return file_google_cloud_channel_v1_customers_proto_rawDescGZIP(), []int{0} |
| 176 |
} |
| 177 |
|
| 178 |
func (x *Customer) GetName() string { |
| 179 |
if x != nil { |
| 180 |
return x.Name |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
func (x *Customer) GetOrgDisplayName() string { |
| 186 |
if x != nil { |
| 187 |
return x.OrgDisplayName |
| 188 |
} |
| 189 |
return "" |
| 190 |
} |
| 191 |
|
| 192 |
func (x *Customer) GetOrgPostalAddress() *postaladdress.PostalAddress { |
| 193 |
if x != nil { |
| 194 |
return x.OrgPostalAddress |
| 195 |
} |
| 196 |
return nil |
| 197 |
} |
| 198 |
|
| 199 |
func (x *Customer) GetPrimaryContactInfo() *ContactInfo { |
| 200 |
if x != nil { |
| 201 |
return x.PrimaryContactInfo |
| 202 |
} |
| 203 |
return nil |
| 204 |
} |
| 205 |
|
| 206 |
func (x *Customer) GetAlternateEmail() string { |
| 207 |
if x != nil { |
| 208 |
return x.AlternateEmail |
| 209 |
} |
| 210 |
return "" |
| 211 |
} |
| 212 |
|
| 213 |
func (x *Customer) GetDomain() string { |
| 214 |
if x != nil { |
| 215 |
return x.Domain |
| 216 |
} |
| 217 |
return "" |
| 218 |
} |
| 219 |
|
| 220 |
func (x *Customer) GetCreateTime() *timestamppb.Timestamp { |
| 221 |
if x != nil { |
| 222 |
return x.CreateTime |
| 223 |
} |
| 224 |
return nil |
| 225 |
} |
| 226 |
|
| 227 |
func (x *Customer) GetUpdateTime() *timestamppb.Timestamp { |
| 228 |
if x != nil { |
| 229 |
return x.UpdateTime |
| 230 |
} |
| 231 |
return nil |
| 232 |
} |
| 233 |
|
| 234 |
func (x *Customer) GetCloudIdentityId() string { |
| 235 |
if x != nil { |
| 236 |
return x.CloudIdentityId |
| 237 |
} |
| 238 |
return "" |
| 239 |
} |
| 240 |
|
| 241 |
func (x *Customer) GetLanguageCode() string { |
| 242 |
if x != nil { |
| 243 |
return x.LanguageCode |
| 244 |
} |
| 245 |
return "" |
| 246 |
} |
| 247 |
|
| 248 |
func (x *Customer) GetCloudIdentityInfo() *CloudIdentityInfo { |
| 249 |
if x != nil { |
| 250 |
return x.CloudIdentityInfo |
| 251 |
} |
| 252 |
return nil |
| 253 |
} |
| 254 |
|
| 255 |
func (x *Customer) GetChannelPartnerId() string { |
| 256 |
if x != nil { |
| 257 |
return x.ChannelPartnerId |
| 258 |
} |
| 259 |
return "" |
| 260 |
} |
| 261 |
|
| 262 |
func (x *Customer) GetCorrelationId() string { |
| 263 |
if x != nil { |
| 264 |
return x.CorrelationId |
| 265 |
} |
| 266 |
return "" |
| 267 |
} |
| 268 |
|
| 269 |
func (x *Customer) GetCustomerAttestationState() Customer_CustomerAttestationState { |
| 270 |
if x != nil { |
| 271 |
return x.CustomerAttestationState |
| 272 |
} |
| 273 |
return Customer_CUSTOMER_ATTESTATION_STATE_UNSPECIFIED |
| 274 |
} |
| 275 |
|
| 276 |
// Contact information for a customer account. |
| 277 |
type ContactInfo struct { |
| 278 |
state protoimpl.MessageState |
| 279 |
sizeCache protoimpl.SizeCache |
| 280 |
unknownFields protoimpl.UnknownFields |
| 281 |
|
| 282 |
// The customer account contact's first name. Optional for Team customers. |
| 283 |
FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` |
| 284 |
// The customer account contact's last name. Optional for Team customers. |
| 285 |
LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` |
| 286 |
// Output only. The customer account contact's display name, formatted as a |
| 287 |
// combination of the customer's first and last name. |
| 288 |
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 289 |
// The customer account's contact email. Required for entitlements that create |
| 290 |
// admin.google.com accounts, and serves as the customer's username for those |
| 291 |
// accounts. Use this email to invite Team customers. |
| 292 |
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` |
| 293 |
// Optional. The customer account contact's job title. |
| 294 |
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` |
| 295 |
// The customer account's contact phone number. |
| 296 |
Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` |
| 297 |
} |
| 298 |
|
| 299 |
func (x *ContactInfo) Reset() { |
| 300 |
*x = ContactInfo{} |
| 301 |
mi := &file_google_cloud_channel_v1_customers_proto_msgTypes[1] |
| 302 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 303 |
ms.StoreMessageInfo(mi) |
| 304 |
} |
| 305 |
|
| 306 |
func (x *ContactInfo) String() string { |
| 307 |
return protoimpl.X.MessageStringOf(x) |
| 308 |
} |
| 309 |
|
| 310 |
func (*ContactInfo) ProtoMessage() {} |
| 311 |
|
| 312 |
func (x *ContactInfo) ProtoReflect() protoreflect.Message { |
| 313 |
mi := &file_google_cloud_channel_v1_customers_proto_msgTypes[1] |
| 314 |
if 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 ContactInfo.ProtoReflect.Descriptor instead. |
| 325 |
func (*ContactInfo) Descriptor() ([]byte, []int) { |
| 326 |
return file_google_cloud_channel_v1_customers_proto_rawDescGZIP(), []int{1} |
| 327 |
} |
| 328 |
|
| 329 |
func (x *ContactInfo) GetFirstName() string { |
| 330 |
if x != nil { |
| 331 |
return x.FirstName |
| 332 |
} |
| 333 |
return "" |
| 334 |
} |
| 335 |
|
| 336 |
func (x *ContactInfo) GetLastName() string { |
| 337 |
if x != nil { |
| 338 |
return x.LastName |
| 339 |
} |
| 340 |
return "" |
| 341 |
} |
| 342 |
|
| 343 |
func (x *ContactInfo) GetDisplayName() string { |
| 344 |
if x != nil { |
| 345 |
return x.DisplayName |
| 346 |
} |
| 347 |
return "" |
| 348 |
} |
| 349 |
|
| 350 |
func (x *ContactInfo) GetEmail() string { |
| 351 |
if x != nil { |
| 352 |
return x.Email |
| 353 |
} |
| 354 |
return "" |
| 355 |
} |
| 356 |
|
| 357 |
func (x *ContactInfo) GetTitle() string { |
| 358 |
if x != nil { |
| 359 |
return x.Title |
| 360 |
} |
| 361 |
return "" |
| 362 |
} |
| 363 |
|
| 364 |
func (x *ContactInfo) GetPhone() string { |
| 365 |
if x != nil { |
| 366 |
return x.Phone |
| 367 |
} |
| 368 |
return "" |
| 369 |
} |
| 370 |
|
| 371 |
var File_google_cloud_channel_v1_customers_proto protoreflect.FileDescriptor |
| 372 |
|
| 373 |
var file_google_cloud_channel_v1_customers_proto_rawDesc = []byte{ |
| 374 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 375 |
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, |
| 376 |
0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 377 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, |
| 378 |
0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, |
| 379 |
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, |
| 380 |
0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 381 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, |
| 382 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x68, 0x61, |
| 383 |
0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, |
| 384 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, |
| 385 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, |
| 386 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, |
| 387 |
0x70, 0x65, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, |
| 388 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x08, 0x0a, 0x08, 0x43, 0x75, 0x73, 0x74, |
| 389 |
0x6f, 0x6d, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 390 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, |
| 391 |
0x10, 0x6f, 0x72, 0x67, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, |
| 392 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6f, 0x72, |
| 393 |
0x67, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x12, |
| 394 |
0x6f, 0x72, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, |
| 395 |
0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 396 |
0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x41, 0x64, 0x64, |
| 397 |
0x72, 0x65, 0x73, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x50, 0x6f, |
| 398 |
0x73, 0x74, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x56, 0x0a, 0x14, 0x70, |
| 399 |
0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x69, |
| 400 |
0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 401 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 402 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 403 |
0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x49, |
| 404 |
0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, |
| 405 |
0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x6c, |
| 406 |
0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x06, |
| 407 |
0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 408 |
0x02, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, |
| 409 |
0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 410 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 411 |
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 412 |
0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, |
| 413 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, |
| 414 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 415 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, |
| 416 |
0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, |
| 417 |
0x11, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, |
| 418 |
0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63, |
| 419 |
0x6c, 0x6f, 0x75, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, |
| 420 |
0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, |
| 421 |
0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, |
| 422 |
0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x5f, 0x0a, 0x13, 0x63, 0x6c, 0x6f, 0x75, |
| 423 |
0x64, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, |
| 424 |
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 425 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, |
| 426 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, |
| 427 |
0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x49, 0x64, 0x65, |
| 428 |
0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x68, 0x61, |
| 429 |
0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, |
| 430 |
0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, |
| 431 |
0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x0e, 0x63, 0x6f, 0x72, 0x72, 0x65, |
| 432 |
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 433 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, |
| 434 |
0x6e, 0x49, 0x64, 0x12, 0x7d, 0x0a, 0x1a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, |
| 435 |
0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, |
| 436 |
0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 437 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, |
| 438 |
0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, |
| 439 |
0x6d, 0x65, 0x72, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, |
| 440 |
0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x18, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, |
| 441 |
0x65, 0x72, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, |
| 442 |
0x74, 0x65, 0x22, 0x74, 0x0a, 0x18, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x41, 0x74, |
| 443 |
0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, |
| 444 |
0x0a, 0x26, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x45, 0x52, 0x5f, 0x41, 0x54, 0x54, 0x45, 0x53, |
| 445 |
0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 446 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x58, |
| 447 |
0x45, 0x4d, 0x50, 0x54, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x4f, 0x4e, 0x5f, 0x45, 0x58, |
| 448 |
0x45, 0x4d, 0x50, 0x54, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x56, 0x45, |
| 449 |
0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x52, 0xea, 0x41, 0x4f, 0x0a, 0x24, 0x63, |
| 450 |
0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 451 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, |
| 452 |
0x6d, 0x65, 0x72, 0x12, 0x27, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, |
| 453 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, |
| 454 |
0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x22, 0xb8, 0x01, 0x0a, |
| 455 |
0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, |
| 456 |
0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 457 |
0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, |
| 458 |
0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, |
| 459 |
0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, |
| 460 |
0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 461 |
0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, |
| 462 |
0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 463 |
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, |
| 464 |
0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, |
| 465 |
0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, |
| 466 |
0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x42, 0x66, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 467 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, |
| 468 |
0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, |
| 469 |
0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 470 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, |
| 471 |
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, |
| 472 |
0x6e, 0x65, 0x6c, 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x62, |
| 473 |
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 474 |
} |
| 475 |
|
| 476 |
var ( |
| 477 |
file_google_cloud_channel_v1_customers_proto_rawDescOnce sync.Once |
| 478 |
file_google_cloud_channel_v1_customers_proto_rawDescData = file_google_cloud_channel_v1_customers_proto_rawDesc |
| 479 |
) |
| 480 |
|
| 481 |
func file_google_cloud_channel_v1_customers_proto_rawDescGZIP() []byte { |
| 482 |
file_google_cloud_channel_v1_customers_proto_rawDescOnce.Do(func() { |
| 483 |
file_google_cloud_channel_v1_customers_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_customers_proto_rawDescData) |
| 484 |
}) |
| 485 |
return file_google_cloud_channel_v1_customers_proto_rawDescData |
| 486 |
} |
| 487 |
|
| 488 |
var file_google_cloud_channel_v1_customers_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 489 |
var file_google_cloud_channel_v1_customers_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 490 |
var file_google_cloud_channel_v1_customers_proto_goTypes = []any{ |
| 491 |
(Customer_CustomerAttestationState)(0), // 0: google.cloud.channel.v1.Customer.CustomerAttestationState |
| 492 |
(*Customer)(nil), // 1: google.cloud.channel.v1.Customer |
| 493 |
(*ContactInfo)(nil), // 2: google.cloud.channel.v1.ContactInfo |
| 494 |
(*postaladdress.PostalAddress)(nil), // 3: google.type.PostalAddress |
| 495 |
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp |
| 496 |
(*CloudIdentityInfo)(nil), // 5: google.cloud.channel.v1.CloudIdentityInfo |
| 497 |
} |
| 498 |
var file_google_cloud_channel_v1_customers_proto_depIdxs = []int32{ |
| 499 |
3, // 0: google.cloud.channel.v1.Customer.org_postal_address:type_name -> google.type.PostalAddress |
| 500 |
2, // 1: google.cloud.channel.v1.Customer.primary_contact_info:type_name -> google.cloud.channel.v1.ContactInfo |
| 501 |
4, // 2: google.cloud.channel.v1.Customer.create_time:type_name -> google.protobuf.Timestamp |
| 502 |
4, // 3: google.cloud.channel.v1.Customer.update_time:type_name -> google.protobuf.Timestamp |
| 503 |
5, // 4: google.cloud.channel.v1.Customer.cloud_identity_info:type_name -> google.cloud.channel.v1.CloudIdentityInfo |
| 504 |
0, // 5: google.cloud.channel.v1.Customer.customer_attestation_state:type_name -> google.cloud.channel.v1.Customer.CustomerAttestationState |
| 505 |
6, // [6:6] is the sub-list for method output_type |
| 506 |
6, // [6:6] is the sub-list for method input_type |
| 507 |
6, // [6:6] is the sub-list for extension type_name |
| 508 |
6, // [6:6] is the sub-list for extension extendee |
| 509 |
0, // [0:6] is the sub-list for field type_name |
| 510 |
} |
| 511 |
|
| 512 |
func init() { file_google_cloud_channel_v1_customers_proto_init() } |
| 513 |
func file_google_cloud_channel_v1_customers_proto_init() { |
| 514 |
if File_google_cloud_channel_v1_customers_proto != nil { |
| 515 |
return |
| 516 |
} |
| 517 |
file_google_cloud_channel_v1_common_proto_init() |
| 518 |
type x struct{} |
| 519 |
out := protoimpl.TypeBuilder{ |
| 520 |
File: protoimpl.DescBuilder{ |
| 521 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 522 |
RawDescriptor: file_google_cloud_channel_v1_customers_proto_rawDesc, |
| 523 |
NumEnums: 1, |
| 524 |
NumMessages: 2, |
| 525 |
NumExtensions: 0, |
| 526 |
NumServices: 0, |
| 527 |
}, |
| 528 |
GoTypes: file_google_cloud_channel_v1_customers_proto_goTypes, |
| 529 |
DependencyIndexes: file_google_cloud_channel_v1_customers_proto_depIdxs, |
| 530 |
EnumInfos: file_google_cloud_channel_v1_customers_proto_enumTypes, |
| 531 |
MessageInfos: file_google_cloud_channel_v1_customers_proto_msgTypes, |
| 532 |
}.Build() |
| 533 |
File_google_cloud_channel_v1_customers_proto = out.File |
| 534 |
file_google_cloud_channel_v1_customers_proto_rawDesc = nil |
| 535 |
file_google_cloud_channel_v1_customers_proto_goTypes = nil |
| 536 |
file_google_cloud_channel_v1_customers_proto_depIdxs = nil |
| 537 |
} |