1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/channel/v1/entitlements.proto 20 21package channel 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 31 _ "google.golang.org/protobuf/types/known/wrapperspb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// Indicates the current provisioning state of the entitlement. 42type Entitlement_ProvisioningState int32 43 44const ( 45 // Default value. This state doesn't show unless an error occurs. 46 Entitlement_PROVISIONING_STATE_UNSPECIFIED Entitlement_ProvisioningState = 0 47 // The entitlement is currently active. 48 Entitlement_ACTIVE Entitlement_ProvisioningState = 1 49 // The entitlement is currently suspended. 50 Entitlement_SUSPENDED Entitlement_ProvisioningState = 5 51) 52 53// Enum value maps for Entitlement_ProvisioningState. 54var ( 55 Entitlement_ProvisioningState_name = map[int32]string{ 56 0: "PROVISIONING_STATE_UNSPECIFIED", 57 1: "ACTIVE", 58 5: "SUSPENDED", 59 } 60 Entitlement_ProvisioningState_value = map[string]int32{ 61 "PROVISIONING_STATE_UNSPECIFIED": 0, 62 "ACTIVE": 1, 63 "SUSPENDED": 5, 64 } 65) 66 67func (x Entitlement_ProvisioningState) Enum() *Entitlement_ProvisioningState { 68 p := new(Entitlement_ProvisioningState) 69 *p = x 70 return p 71} 72 73func (x Entitlement_ProvisioningState) String() string { 74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 75} 76 77func (Entitlement_ProvisioningState) Descriptor() protoreflect.EnumDescriptor { 78 return file_google_cloud_channel_v1_entitlements_proto_enumTypes[0].Descriptor() 79} 80 81func (Entitlement_ProvisioningState) Type() protoreflect.EnumType { 82 return &file_google_cloud_channel_v1_entitlements_proto_enumTypes[0] 83} 84 85func (x Entitlement_ProvisioningState) Number() protoreflect.EnumNumber { 86 return protoreflect.EnumNumber(x) 87} 88 89// Deprecated: Use Entitlement_ProvisioningState.Descriptor instead. 90func (Entitlement_ProvisioningState) EnumDescriptor() ([]byte, []int) { 91 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{0, 0} 92} 93 94// Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED. 95type Entitlement_SuspensionReason int32 96 97const ( 98 // Default value. This state doesn't show unless an error occurs. 99 Entitlement_SUSPENSION_REASON_UNSPECIFIED Entitlement_SuspensionReason = 0 100 // Entitlement was manually suspended by the Reseller. 101 Entitlement_RESELLER_INITIATED Entitlement_SuspensionReason = 1 102 // Trial ended. 103 Entitlement_TRIAL_ENDED Entitlement_SuspensionReason = 2 104 // Entitlement renewal was canceled. 105 Entitlement_RENEWAL_WITH_TYPE_CANCEL Entitlement_SuspensionReason = 3 106 // Entitlement was automatically suspended on creation for pending ToS 107 // acceptance on customer. 108 Entitlement_PENDING_TOS_ACCEPTANCE Entitlement_SuspensionReason = 4 109 // Other reasons (internal reasons, abuse, etc.). 110 Entitlement_OTHER Entitlement_SuspensionReason = 100 111) 112 113// Enum value maps for Entitlement_SuspensionReason. 114var ( 115 Entitlement_SuspensionReason_name = map[int32]string{ 116 0: "SUSPENSION_REASON_UNSPECIFIED", 117 1: "RESELLER_INITIATED", 118 2: "TRIAL_ENDED", 119 3: "RENEWAL_WITH_TYPE_CANCEL", 120 4: "PENDING_TOS_ACCEPTANCE", 121 100: "OTHER", 122 } 123 Entitlement_SuspensionReason_value = map[string]int32{ 124 "SUSPENSION_REASON_UNSPECIFIED": 0, 125 "RESELLER_INITIATED": 1, 126 "TRIAL_ENDED": 2, 127 "RENEWAL_WITH_TYPE_CANCEL": 3, 128 "PENDING_TOS_ACCEPTANCE": 4, 129 "OTHER": 100, 130 } 131) 132 133func (x Entitlement_SuspensionReason) Enum() *Entitlement_SuspensionReason { 134 p := new(Entitlement_SuspensionReason) 135 *p = x 136 return p 137} 138 139func (x Entitlement_SuspensionReason) String() string { 140 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 141} 142 143func (Entitlement_SuspensionReason) Descriptor() protoreflect.EnumDescriptor { 144 return file_google_cloud_channel_v1_entitlements_proto_enumTypes[1].Descriptor() 145} 146 147func (Entitlement_SuspensionReason) Type() protoreflect.EnumType { 148 return &file_google_cloud_channel_v1_entitlements_proto_enumTypes[1] 149} 150 151func (x Entitlement_SuspensionReason) Number() protoreflect.EnumNumber { 152 return protoreflect.EnumNumber(x) 153} 154 155// Deprecated: Use Entitlement_SuspensionReason.Descriptor instead. 156func (Entitlement_SuspensionReason) EnumDescriptor() ([]byte, []int) { 157 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{0, 1} 158} 159 160// Reason of ineligibility. 161type TransferEligibility_Reason int32 162 163const ( 164 // Reason is not available. 165 TransferEligibility_REASON_UNSPECIFIED TransferEligibility_Reason = 0 166 // Reseller needs to accept TOS before transferring the SKU. 167 TransferEligibility_PENDING_TOS_ACCEPTANCE TransferEligibility_Reason = 1 168 // Reseller not eligible to sell the SKU. 169 TransferEligibility_SKU_NOT_ELIGIBLE TransferEligibility_Reason = 2 170 // SKU subscription is suspended 171 TransferEligibility_SKU_SUSPENDED TransferEligibility_Reason = 3 172) 173 174// Enum value maps for TransferEligibility_Reason. 175var ( 176 TransferEligibility_Reason_name = map[int32]string{ 177 0: "REASON_UNSPECIFIED", 178 1: "PENDING_TOS_ACCEPTANCE", 179 2: "SKU_NOT_ELIGIBLE", 180 3: "SKU_SUSPENDED", 181 } 182 TransferEligibility_Reason_value = map[string]int32{ 183 "REASON_UNSPECIFIED": 0, 184 "PENDING_TOS_ACCEPTANCE": 1, 185 "SKU_NOT_ELIGIBLE": 2, 186 "SKU_SUSPENDED": 3, 187 } 188) 189 190func (x TransferEligibility_Reason) Enum() *TransferEligibility_Reason { 191 p := new(TransferEligibility_Reason) 192 *p = x 193 return p 194} 195 196func (x TransferEligibility_Reason) String() string { 197 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 198} 199 200func (TransferEligibility_Reason) Descriptor() protoreflect.EnumDescriptor { 201 return file_google_cloud_channel_v1_entitlements_proto_enumTypes[2].Descriptor() 202} 203 204func (TransferEligibility_Reason) Type() protoreflect.EnumType { 205 return &file_google_cloud_channel_v1_entitlements_proto_enumTypes[2] 206} 207 208func (x TransferEligibility_Reason) Number() protoreflect.EnumNumber { 209 return protoreflect.EnumNumber(x) 210} 211 212// Deprecated: Use TransferEligibility_Reason.Descriptor instead. 213func (TransferEligibility_Reason) EnumDescriptor() ([]byte, []int) { 214 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{8, 0} 215} 216 217// An entitlement is a representation of a customer's ability to use a service. 218type Entitlement struct { 219 state protoimpl.MessageState 220 sizeCache protoimpl.SizeCache 221 unknownFields protoimpl.UnknownFields 222 223 // Output only. Resource name of an entitlement in the form: 224 // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}. 225 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 226 // Output only. The time at which the entitlement is created. 227 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 228 // Output only. The time at which the entitlement is updated. 229 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 230 // Required. The offer resource name for which the entitlement is to be 231 // created. Takes the form: accounts/{account_id}/offers/{offer_id}. 232 Offer string `protobuf:"bytes,8,opt,name=offer,proto3" json:"offer,omitempty"` 233 // Commitment settings for a commitment-based Offer. 234 // Required for commitment based offers. 235 CommitmentSettings *CommitmentSettings `protobuf:"bytes,12,opt,name=commitment_settings,json=commitmentSettings,proto3" json:"commitment_settings,omitempty"` 236 // Output only. Current provisioning state of the entitlement. 237 ProvisioningState Entitlement_ProvisioningState `protobuf:"varint,13,opt,name=provisioning_state,json=provisioningState,proto3,enum=google.cloud.channel.v1.Entitlement_ProvisioningState" json:"provisioning_state,omitempty"` 238 // Output only. Service provisioning details for the entitlement. 239 ProvisionedService *ProvisionedService `protobuf:"bytes,16,opt,name=provisioned_service,json=provisionedService,proto3" json:"provisioned_service,omitempty"` 240 // Output only. Enumerable of all current suspension reasons for an entitlement. 241 SuspensionReasons []Entitlement_SuspensionReason `protobuf:"varint,18,rep,packed,name=suspension_reasons,json=suspensionReasons,proto3,enum=google.cloud.channel.v1.Entitlement_SuspensionReason" json:"suspension_reasons,omitempty"` 242 // Optional. This purchase order (PO) information is for resellers to use for their 243 // company tracking usage. If a purchaseOrderId value is given, it appears in 244 // the API responses and shows up in the invoice. The property accepts up to 245 // 80 plain text characters. 246 PurchaseOrderId string `protobuf:"bytes,19,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"` 247 // Output only. Settings for trial offers. 248 TrialSettings *TrialSettings `protobuf:"bytes,21,opt,name=trial_settings,json=trialSettings,proto3" json:"trial_settings,omitempty"` 249 // Association information to other entitlements. 250 AssociationInfo *AssociationInfo `protobuf:"bytes,23,opt,name=association_info,json=associationInfo,proto3" json:"association_info,omitempty"` 251 // Extended entitlement parameters. When creating an entitlement, valid 252 // parameters' names and values are defined in the offer's parameter 253 // definitions. 254 Parameters []*Parameter `protobuf:"bytes,26,rep,name=parameters,proto3" json:"parameters,omitempty"` 255} 256 257func (x *Entitlement) Reset() { 258 *x = Entitlement{} 259 if protoimpl.UnsafeEnabled { 260 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[0] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263 } 264} 265 266func (x *Entitlement) String() string { 267 return protoimpl.X.MessageStringOf(x) 268} 269 270func (*Entitlement) ProtoMessage() {} 271 272func (x *Entitlement) ProtoReflect() protoreflect.Message { 273 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[0] 274 if protoimpl.UnsafeEnabled && x != nil { 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 if ms.LoadMessageInfo() == nil { 277 ms.StoreMessageInfo(mi) 278 } 279 return ms 280 } 281 return mi.MessageOf(x) 282} 283 284// Deprecated: Use Entitlement.ProtoReflect.Descriptor instead. 285func (*Entitlement) Descriptor() ([]byte, []int) { 286 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{0} 287} 288 289func (x *Entitlement) GetName() string { 290 if x != nil { 291 return x.Name 292 } 293 return "" 294} 295 296func (x *Entitlement) GetCreateTime() *timestamppb.Timestamp { 297 if x != nil { 298 return x.CreateTime 299 } 300 return nil 301} 302 303func (x *Entitlement) GetUpdateTime() *timestamppb.Timestamp { 304 if x != nil { 305 return x.UpdateTime 306 } 307 return nil 308} 309 310func (x *Entitlement) GetOffer() string { 311 if x != nil { 312 return x.Offer 313 } 314 return "" 315} 316 317func (x *Entitlement) GetCommitmentSettings() *CommitmentSettings { 318 if x != nil { 319 return x.CommitmentSettings 320 } 321 return nil 322} 323 324func (x *Entitlement) GetProvisioningState() Entitlement_ProvisioningState { 325 if x != nil { 326 return x.ProvisioningState 327 } 328 return Entitlement_PROVISIONING_STATE_UNSPECIFIED 329} 330 331func (x *Entitlement) GetProvisionedService() *ProvisionedService { 332 if x != nil { 333 return x.ProvisionedService 334 } 335 return nil 336} 337 338func (x *Entitlement) GetSuspensionReasons() []Entitlement_SuspensionReason { 339 if x != nil { 340 return x.SuspensionReasons 341 } 342 return nil 343} 344 345func (x *Entitlement) GetPurchaseOrderId() string { 346 if x != nil { 347 return x.PurchaseOrderId 348 } 349 return "" 350} 351 352func (x *Entitlement) GetTrialSettings() *TrialSettings { 353 if x != nil { 354 return x.TrialSettings 355 } 356 return nil 357} 358 359func (x *Entitlement) GetAssociationInfo() *AssociationInfo { 360 if x != nil { 361 return x.AssociationInfo 362 } 363 return nil 364} 365 366func (x *Entitlement) GetParameters() []*Parameter { 367 if x != nil { 368 return x.Parameters 369 } 370 return nil 371} 372 373// Definition for extended entitlement parameters. 374type Parameter struct { 375 state protoimpl.MessageState 376 sizeCache protoimpl.SizeCache 377 unknownFields protoimpl.UnknownFields 378 379 // Name of the parameter. 380 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 381 // Value of the parameter. 382 Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 383 // Output only. Specifies whether this parameter is allowed to be changed. For example, for 384 // a Google Workspace Business Starter entitlement in commitment plan, 385 // num_units is editable when entitlement is active. 386 Editable bool `protobuf:"varint,3,opt,name=editable,proto3" json:"editable,omitempty"` 387} 388 389func (x *Parameter) Reset() { 390 *x = Parameter{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[1] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396} 397 398func (x *Parameter) String() string { 399 return protoimpl.X.MessageStringOf(x) 400} 401 402func (*Parameter) ProtoMessage() {} 403 404func (x *Parameter) ProtoReflect() protoreflect.Message { 405 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[1] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414} 415 416// Deprecated: Use Parameter.ProtoReflect.Descriptor instead. 417func (*Parameter) Descriptor() ([]byte, []int) { 418 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{1} 419} 420 421func (x *Parameter) GetName() string { 422 if x != nil { 423 return x.Name 424 } 425 return "" 426} 427 428func (x *Parameter) GetValue() *Value { 429 if x != nil { 430 return x.Value 431 } 432 return nil 433} 434 435func (x *Parameter) GetEditable() bool { 436 if x != nil { 437 return x.Editable 438 } 439 return false 440} 441 442// Association links that an entitlement has to other entitlements. 443type AssociationInfo struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 448 // The name of the base entitlement, for which this entitlement is an add-on. 449 BaseEntitlement string `protobuf:"bytes,1,opt,name=base_entitlement,json=baseEntitlement,proto3" json:"base_entitlement,omitempty"` 450} 451 452func (x *AssociationInfo) Reset() { 453 *x = AssociationInfo{} 454 if protoimpl.UnsafeEnabled { 455 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[2] 456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 457 ms.StoreMessageInfo(mi) 458 } 459} 460 461func (x *AssociationInfo) String() string { 462 return protoimpl.X.MessageStringOf(x) 463} 464 465func (*AssociationInfo) ProtoMessage() {} 466 467func (x *AssociationInfo) ProtoReflect() protoreflect.Message { 468 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[2] 469 if protoimpl.UnsafeEnabled && x != nil { 470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 471 if ms.LoadMessageInfo() == nil { 472 ms.StoreMessageInfo(mi) 473 } 474 return ms 475 } 476 return mi.MessageOf(x) 477} 478 479// Deprecated: Use AssociationInfo.ProtoReflect.Descriptor instead. 480func (*AssociationInfo) Descriptor() ([]byte, []int) { 481 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{2} 482} 483 484func (x *AssociationInfo) GetBaseEntitlement() string { 485 if x != nil { 486 return x.BaseEntitlement 487 } 488 return "" 489} 490 491// Service provisioned for an entitlement. 492type ProvisionedService struct { 493 state protoimpl.MessageState 494 sizeCache protoimpl.SizeCache 495 unknownFields protoimpl.UnknownFields 496 497 // Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the 498 // underlying Subscription ID. 499 ProvisioningId string `protobuf:"bytes,1,opt,name=provisioning_id,json=provisioningId,proto3" json:"provisioning_id,omitempty"` 500 // Output only. The product pertaining to the provisioning resource as specified in the 501 // Offer. 502 ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` 503 // Output only. The SKU pertaining to the provisioning resource as specified in the Offer. 504 SkuId string `protobuf:"bytes,3,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"` 505} 506 507func (x *ProvisionedService) Reset() { 508 *x = ProvisionedService{} 509 if protoimpl.UnsafeEnabled { 510 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[3] 511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 512 ms.StoreMessageInfo(mi) 513 } 514} 515 516func (x *ProvisionedService) String() string { 517 return protoimpl.X.MessageStringOf(x) 518} 519 520func (*ProvisionedService) ProtoMessage() {} 521 522func (x *ProvisionedService) ProtoReflect() protoreflect.Message { 523 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[3] 524 if protoimpl.UnsafeEnabled && x != nil { 525 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 526 if ms.LoadMessageInfo() == nil { 527 ms.StoreMessageInfo(mi) 528 } 529 return ms 530 } 531 return mi.MessageOf(x) 532} 533 534// Deprecated: Use ProvisionedService.ProtoReflect.Descriptor instead. 535func (*ProvisionedService) Descriptor() ([]byte, []int) { 536 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{3} 537} 538 539func (x *ProvisionedService) GetProvisioningId() string { 540 if x != nil { 541 return x.ProvisioningId 542 } 543 return "" 544} 545 546func (x *ProvisionedService) GetProductId() string { 547 if x != nil { 548 return x.ProductId 549 } 550 return "" 551} 552 553func (x *ProvisionedService) GetSkuId() string { 554 if x != nil { 555 return x.SkuId 556 } 557 return "" 558} 559 560// Commitment settings for commitment-based offers. 561type CommitmentSettings struct { 562 state protoimpl.MessageState 563 sizeCache protoimpl.SizeCache 564 unknownFields protoimpl.UnknownFields 565 566 // Output only. Commitment start timestamp. 567 StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 568 // Output only. Commitment end timestamp. 569 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 570 // Optional. Renewal settings applicable for a commitment-based Offer. 571 RenewalSettings *RenewalSettings `protobuf:"bytes,4,opt,name=renewal_settings,json=renewalSettings,proto3" json:"renewal_settings,omitempty"` 572} 573 574func (x *CommitmentSettings) Reset() { 575 *x = CommitmentSettings{} 576 if protoimpl.UnsafeEnabled { 577 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[4] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 ms.StoreMessageInfo(mi) 580 } 581} 582 583func (x *CommitmentSettings) String() string { 584 return protoimpl.X.MessageStringOf(x) 585} 586 587func (*CommitmentSettings) ProtoMessage() {} 588 589func (x *CommitmentSettings) ProtoReflect() protoreflect.Message { 590 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[4] 591 if protoimpl.UnsafeEnabled && x != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(x) 599} 600 601// Deprecated: Use CommitmentSettings.ProtoReflect.Descriptor instead. 602func (*CommitmentSettings) Descriptor() ([]byte, []int) { 603 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{4} 604} 605 606func (x *CommitmentSettings) GetStartTime() *timestamppb.Timestamp { 607 if x != nil { 608 return x.StartTime 609 } 610 return nil 611} 612 613func (x *CommitmentSettings) GetEndTime() *timestamppb.Timestamp { 614 if x != nil { 615 return x.EndTime 616 } 617 return nil 618} 619 620func (x *CommitmentSettings) GetRenewalSettings() *RenewalSettings { 621 if x != nil { 622 return x.RenewalSettings 623 } 624 return nil 625} 626 627// Renewal settings for renewable Offers. 628type RenewalSettings struct { 629 state protoimpl.MessageState 630 sizeCache protoimpl.SizeCache 631 unknownFields protoimpl.UnknownFields 632 633 // If false, the plan will be completed at the end date. 634 EnableRenewal bool `protobuf:"varint,1,opt,name=enable_renewal,json=enableRenewal,proto3" json:"enable_renewal,omitempty"` 635 // If true and enable_renewal = true, the unit (for example seats or licenses) 636 // will be set to the number of active units at renewal time. 637 ResizeUnitCount bool `protobuf:"varint,2,opt,name=resize_unit_count,json=resizeUnitCount,proto3" json:"resize_unit_count,omitempty"` 638 // Describes how a reseller will be billed. 639 PaymentPlan PaymentPlan `protobuf:"varint,5,opt,name=payment_plan,json=paymentPlan,proto3,enum=google.cloud.channel.v1.PaymentPlan" json:"payment_plan,omitempty"` 640 // Describes how frequently the reseller will be billed, such as 641 // once per month. 642 PaymentCycle *Period `protobuf:"bytes,6,opt,name=payment_cycle,json=paymentCycle,proto3" json:"payment_cycle,omitempty"` 643} 644 645func (x *RenewalSettings) Reset() { 646 *x = RenewalSettings{} 647 if protoimpl.UnsafeEnabled { 648 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[5] 649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 650 ms.StoreMessageInfo(mi) 651 } 652} 653 654func (x *RenewalSettings) String() string { 655 return protoimpl.X.MessageStringOf(x) 656} 657 658func (*RenewalSettings) ProtoMessage() {} 659 660func (x *RenewalSettings) ProtoReflect() protoreflect.Message { 661 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[5] 662 if protoimpl.UnsafeEnabled && x != nil { 663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 664 if ms.LoadMessageInfo() == nil { 665 ms.StoreMessageInfo(mi) 666 } 667 return ms 668 } 669 return mi.MessageOf(x) 670} 671 672// Deprecated: Use RenewalSettings.ProtoReflect.Descriptor instead. 673func (*RenewalSettings) Descriptor() ([]byte, []int) { 674 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{5} 675} 676 677func (x *RenewalSettings) GetEnableRenewal() bool { 678 if x != nil { 679 return x.EnableRenewal 680 } 681 return false 682} 683 684func (x *RenewalSettings) GetResizeUnitCount() bool { 685 if x != nil { 686 return x.ResizeUnitCount 687 } 688 return false 689} 690 691func (x *RenewalSettings) GetPaymentPlan() PaymentPlan { 692 if x != nil { 693 return x.PaymentPlan 694 } 695 return PaymentPlan_PAYMENT_PLAN_UNSPECIFIED 696} 697 698func (x *RenewalSettings) GetPaymentCycle() *Period { 699 if x != nil { 700 return x.PaymentCycle 701 } 702 return nil 703} 704 705// Settings for trial offers. 706type TrialSettings struct { 707 state protoimpl.MessageState 708 sizeCache protoimpl.SizeCache 709 unknownFields protoimpl.UnknownFields 710 711 // Determines if the entitlement is in a trial or not: 712 // 713 // * `true` - The entitlement is in trial. 714 // * `false` - The entitlement is not in trial. 715 Trial bool `protobuf:"varint,1,opt,name=trial,proto3" json:"trial,omitempty"` 716 // Date when the trial ends. The value is in milliseconds 717 // using the UNIX Epoch format. See an example [Epoch 718 // converter](https://www.epochconverter.com). 719 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 720} 721 722func (x *TrialSettings) Reset() { 723 *x = TrialSettings{} 724 if protoimpl.UnsafeEnabled { 725 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[6] 726 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 727 ms.StoreMessageInfo(mi) 728 } 729} 730 731func (x *TrialSettings) String() string { 732 return protoimpl.X.MessageStringOf(x) 733} 734 735func (*TrialSettings) ProtoMessage() {} 736 737func (x *TrialSettings) ProtoReflect() protoreflect.Message { 738 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[6] 739 if protoimpl.UnsafeEnabled && x != nil { 740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 741 if ms.LoadMessageInfo() == nil { 742 ms.StoreMessageInfo(mi) 743 } 744 return ms 745 } 746 return mi.MessageOf(x) 747} 748 749// Deprecated: Use TrialSettings.ProtoReflect.Descriptor instead. 750func (*TrialSettings) Descriptor() ([]byte, []int) { 751 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{6} 752} 753 754func (x *TrialSettings) GetTrial() bool { 755 if x != nil { 756 return x.Trial 757 } 758 return false 759} 760 761func (x *TrialSettings) GetEndTime() *timestamppb.Timestamp { 762 if x != nil { 763 return x.EndTime 764 } 765 return nil 766} 767 768// TransferableSku represents information a reseller needs to view existing 769// provisioned services for a customer that they do not own. 770// Read-only. 771type TransferableSku struct { 772 state protoimpl.MessageState 773 sizeCache protoimpl.SizeCache 774 unknownFields protoimpl.UnknownFields 775 776 // Describes the transfer eligibility of a SKU. 777 TransferEligibility *TransferEligibility `protobuf:"bytes,9,opt,name=transfer_eligibility,json=transferEligibility,proto3" json:"transfer_eligibility,omitempty"` 778 // The SKU pertaining to the provisioning resource as specified in the Offer. 779 Sku *Sku `protobuf:"bytes,11,opt,name=sku,proto3" json:"sku,omitempty"` 780 // Optional. The customer to transfer has an entitlement with the populated legacy SKU. 781 LegacySku *Sku `protobuf:"bytes,12,opt,name=legacy_sku,json=legacySku,proto3" json:"legacy_sku,omitempty"` 782} 783 784func (x *TransferableSku) Reset() { 785 *x = TransferableSku{} 786 if protoimpl.UnsafeEnabled { 787 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[7] 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 ms.StoreMessageInfo(mi) 790 } 791} 792 793func (x *TransferableSku) String() string { 794 return protoimpl.X.MessageStringOf(x) 795} 796 797func (*TransferableSku) ProtoMessage() {} 798 799func (x *TransferableSku) ProtoReflect() protoreflect.Message { 800 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[7] 801 if protoimpl.UnsafeEnabled && x != nil { 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 if ms.LoadMessageInfo() == nil { 804 ms.StoreMessageInfo(mi) 805 } 806 return ms 807 } 808 return mi.MessageOf(x) 809} 810 811// Deprecated: Use TransferableSku.ProtoReflect.Descriptor instead. 812func (*TransferableSku) Descriptor() ([]byte, []int) { 813 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{7} 814} 815 816func (x *TransferableSku) GetTransferEligibility() *TransferEligibility { 817 if x != nil { 818 return x.TransferEligibility 819 } 820 return nil 821} 822 823func (x *TransferableSku) GetSku() *Sku { 824 if x != nil { 825 return x.Sku 826 } 827 return nil 828} 829 830func (x *TransferableSku) GetLegacySku() *Sku { 831 if x != nil { 832 return x.LegacySku 833 } 834 return nil 835} 836 837// Specifies transfer eligibility of a SKU. 838type TransferEligibility struct { 839 state protoimpl.MessageState 840 sizeCache protoimpl.SizeCache 841 unknownFields protoimpl.UnknownFields 842 843 // Whether reseller is eligible to transfer the SKU. 844 IsEligible bool `protobuf:"varint,1,opt,name=is_eligible,json=isEligible,proto3" json:"is_eligible,omitempty"` 845 // Localized description if reseller is not eligible to transfer the SKU. 846 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 847 // Specified the reason for ineligibility. 848 IneligibilityReason TransferEligibility_Reason `protobuf:"varint,3,opt,name=ineligibility_reason,json=ineligibilityReason,proto3,enum=google.cloud.channel.v1.TransferEligibility_Reason" json:"ineligibility_reason,omitempty"` 849} 850 851func (x *TransferEligibility) Reset() { 852 *x = TransferEligibility{} 853 if protoimpl.UnsafeEnabled { 854 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[8] 855 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 856 ms.StoreMessageInfo(mi) 857 } 858} 859 860func (x *TransferEligibility) String() string { 861 return protoimpl.X.MessageStringOf(x) 862} 863 864func (*TransferEligibility) ProtoMessage() {} 865 866func (x *TransferEligibility) ProtoReflect() protoreflect.Message { 867 mi := &file_google_cloud_channel_v1_entitlements_proto_msgTypes[8] 868 if protoimpl.UnsafeEnabled && x != nil { 869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 870 if ms.LoadMessageInfo() == nil { 871 ms.StoreMessageInfo(mi) 872 } 873 return ms 874 } 875 return mi.MessageOf(x) 876} 877 878// Deprecated: Use TransferEligibility.ProtoReflect.Descriptor instead. 879func (*TransferEligibility) Descriptor() ([]byte, []int) { 880 return file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP(), []int{8} 881} 882 883func (x *TransferEligibility) GetIsEligible() bool { 884 if x != nil { 885 return x.IsEligible 886 } 887 return false 888} 889 890func (x *TransferEligibility) GetDescription() string { 891 if x != nil { 892 return x.Description 893 } 894 return "" 895} 896 897func (x *TransferEligibility) GetIneligibilityReason() TransferEligibility_Reason { 898 if x != nil { 899 return x.IneligibilityReason 900 } 901 return TransferEligibility_REASON_UNSPECIFIED 902} 903 904var File_google_cloud_channel_v1_entitlements_proto protoreflect.FileDescriptor 905 906var file_google_cloud_channel_v1_entitlements_proto_rawDesc = []byte{ 907 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 908 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 909 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 910 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 911 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 912 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 913 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 914 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 915 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 916 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 917 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 918 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 919 0x2f, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 920 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x68, 0x61, 0x6e, 921 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 922 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 923 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 924 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 925 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 926 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 927 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 928 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x0a, 0x0a, 0x0b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 929 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 930 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 931 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 932 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 933 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 934 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 935 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 936 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 937 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 938 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 939 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 940 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 941 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 942 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x66, 0x66, 943 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 944 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 945 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 946 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 947 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x12, 0x63, 0x6f, 948 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 949 0x12, 0x6a, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 950 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 951 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 952 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 953 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x53, 954 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 955 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x61, 0x0a, 0x13, 956 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 957 0x69, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 958 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 959 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 960 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x70, 0x72, 0x6f, 961 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 962 0x69, 0x0a, 0x12, 0x73, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 963 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67, 0x6f, 964 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 965 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 966 0x74, 0x2e, 0x53, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 967 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x73, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 968 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x11, 0x70, 0x75, 969 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 970 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x70, 0x75, 0x72, 0x63, 971 0x68, 0x61, 0x73, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x52, 0x0a, 0x0e, 0x74, 972 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x15, 0x20, 973 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 974 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 975 0x69, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 976 0x52, 0x0d, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 977 0x53, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 978 0x6e, 0x66, 0x6f, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 979 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 980 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 981 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 982 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 983 0x72, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 984 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 985 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 986 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x52, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 987 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 988 0x1e, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 989 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 990 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 991 0x09, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x05, 0x22, 0xa3, 0x01, 0x0a, 992 0x10, 0x53, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 993 0x6e, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 994 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 995 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x45, 0x4c, 0x4c, 0x45, 0x52, 996 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 997 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1c, 0x0a, 998 0x18, 0x52, 0x45, 0x4e, 0x45, 0x57, 0x41, 0x4c, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x54, 0x59, 999 0x50, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x50, 1000 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x4f, 0x53, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 1001 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 1002 0x10, 0x64, 0x3a, 0x70, 0xea, 0x41, 0x6d, 0x0a, 0x27, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 1003 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1004 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 1005 0x12, 0x42, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 1006 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 1007 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 1008 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 1009 0x65, 0x6e, 0x74, 0x7d, 0x22, 0x76, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 1010 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1011 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1012 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1013 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 1014 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x65, 1015 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 1016 0x41, 0x03, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x6a, 0x0a, 0x0f, 1017 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 1018 0x57, 0x0a, 0x10, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 1019 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x41, 0x29, 0x0a, 0x27, 1020 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 1021 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, 1022 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x45, 0x6e, 0x74, 1023 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x6f, 1024 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 1025 0x2c, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 1026 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x70, 1027 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x22, 0x0a, 1028 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 1029 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 1030 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x6b, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 1031 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x6b, 0x75, 0x49, 0x64, 0x22, 0xea, 0x01, 1032 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 1033 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 1034 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1035 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 1036 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 1037 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1038 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1039 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 1040 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 1041 0x12, 0x58, 0x0a, 0x10, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x74, 1042 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 1043 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 1044 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 1045 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x6e, 0x65, 0x77, 1046 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x0f, 0x52, 1047 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x25, 1048 0x0a, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 1049 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 1050 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, 1051 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 1052 0x52, 0x0f, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 1053 0x74, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x6c, 0x61, 1054 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1055 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 1056 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x0b, 0x70, 1057 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x44, 0x0a, 0x0d, 0x70, 0x61, 1058 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 1059 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1060 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x69, 1061 0x6f, 0x64, 0x52, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 1062 0x22, 0x5c, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 1063 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 1064 0x52, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 1065 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1066 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1067 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xe4, 1068 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x53, 1069 0x6b, 0x75, 0x12, 0x5f, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x65, 1070 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 1071 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1072 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 1073 0x66, 0x65, 0x72, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x13, 1074 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 1075 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x73, 0x6b, 0x75, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 1076 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1077 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x75, 0x52, 0x03, 1078 0x73, 0x6b, 0x75, 0x12, 0x40, 0x0a, 0x0a, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x73, 0x6b, 1079 0x75, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1080 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 1081 0x31, 0x2e, 0x53, 0x6b, 0x75, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6c, 0x65, 0x67, 0x61, 1082 0x63, 0x79, 0x53, 0x6b, 0x75, 0x22, 0xa7, 0x02, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 1083 0x65, 0x72, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 1084 0x0b, 0x69, 0x73, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 1085 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x20, 1086 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 1087 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 1088 0x12, 0x66, 0x0a, 0x14, 0x69, 0x6e, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 1089 0x79, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 1090 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 1091 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 1092 0x72, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x61, 1093 0x73, 0x6f, 0x6e, 0x52, 0x13, 0x69, 0x6e, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 1094 0x74, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 1095 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 1096 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x45, 1097 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x4f, 0x53, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 1098 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x4b, 0x55, 0x5f, 0x4e, 0x4f, 1099 0x54, 0x5f, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 1100 0x53, 0x4b, 0x55, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x03, 0x42, 1101 0x72, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1102 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x11, 1103 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 1104 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 1105 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1106 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1107 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x68, 0x61, 0x6e, 1108 0x6e, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1109} 1110 1111var ( 1112 file_google_cloud_channel_v1_entitlements_proto_rawDescOnce sync.Once 1113 file_google_cloud_channel_v1_entitlements_proto_rawDescData = file_google_cloud_channel_v1_entitlements_proto_rawDesc 1114) 1115 1116func file_google_cloud_channel_v1_entitlements_proto_rawDescGZIP() []byte { 1117 file_google_cloud_channel_v1_entitlements_proto_rawDescOnce.Do(func() { 1118 file_google_cloud_channel_v1_entitlements_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_entitlements_proto_rawDescData) 1119 }) 1120 return file_google_cloud_channel_v1_entitlements_proto_rawDescData 1121} 1122 1123var file_google_cloud_channel_v1_entitlements_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1124var file_google_cloud_channel_v1_entitlements_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1125var file_google_cloud_channel_v1_entitlements_proto_goTypes = []interface{}{ 1126 (Entitlement_ProvisioningState)(0), // 0: google.cloud.channel.v1.Entitlement.ProvisioningState 1127 (Entitlement_SuspensionReason)(0), // 1: google.cloud.channel.v1.Entitlement.SuspensionReason 1128 (TransferEligibility_Reason)(0), // 2: google.cloud.channel.v1.TransferEligibility.Reason 1129 (*Entitlement)(nil), // 3: google.cloud.channel.v1.Entitlement 1130 (*Parameter)(nil), // 4: google.cloud.channel.v1.Parameter 1131 (*AssociationInfo)(nil), // 5: google.cloud.channel.v1.AssociationInfo 1132 (*ProvisionedService)(nil), // 6: google.cloud.channel.v1.ProvisionedService 1133 (*CommitmentSettings)(nil), // 7: google.cloud.channel.v1.CommitmentSettings 1134 (*RenewalSettings)(nil), // 8: google.cloud.channel.v1.RenewalSettings 1135 (*TrialSettings)(nil), // 9: google.cloud.channel.v1.TrialSettings 1136 (*TransferableSku)(nil), // 10: google.cloud.channel.v1.TransferableSku 1137 (*TransferEligibility)(nil), // 11: google.cloud.channel.v1.TransferEligibility 1138 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp 1139 (*Value)(nil), // 13: google.cloud.channel.v1.Value 1140 (PaymentPlan)(0), // 14: google.cloud.channel.v1.PaymentPlan 1141 (*Period)(nil), // 15: google.cloud.channel.v1.Period 1142 (*Sku)(nil), // 16: google.cloud.channel.v1.Sku 1143} 1144var file_google_cloud_channel_v1_entitlements_proto_depIdxs = []int32{ 1145 12, // 0: google.cloud.channel.v1.Entitlement.create_time:type_name -> google.protobuf.Timestamp 1146 12, // 1: google.cloud.channel.v1.Entitlement.update_time:type_name -> google.protobuf.Timestamp 1147 7, // 2: google.cloud.channel.v1.Entitlement.commitment_settings:type_name -> google.cloud.channel.v1.CommitmentSettings 1148 0, // 3: google.cloud.channel.v1.Entitlement.provisioning_state:type_name -> google.cloud.channel.v1.Entitlement.ProvisioningState 1149 6, // 4: google.cloud.channel.v1.Entitlement.provisioned_service:type_name -> google.cloud.channel.v1.ProvisionedService 1150 1, // 5: google.cloud.channel.v1.Entitlement.suspension_reasons:type_name -> google.cloud.channel.v1.Entitlement.SuspensionReason 1151 9, // 6: google.cloud.channel.v1.Entitlement.trial_settings:type_name -> google.cloud.channel.v1.TrialSettings 1152 5, // 7: google.cloud.channel.v1.Entitlement.association_info:type_name -> google.cloud.channel.v1.AssociationInfo 1153 4, // 8: google.cloud.channel.v1.Entitlement.parameters:type_name -> google.cloud.channel.v1.Parameter 1154 13, // 9: google.cloud.channel.v1.Parameter.value:type_name -> google.cloud.channel.v1.Value 1155 12, // 10: google.cloud.channel.v1.CommitmentSettings.start_time:type_name -> google.protobuf.Timestamp 1156 12, // 11: google.cloud.channel.v1.CommitmentSettings.end_time:type_name -> google.protobuf.Timestamp 1157 8, // 12: google.cloud.channel.v1.CommitmentSettings.renewal_settings:type_name -> google.cloud.channel.v1.RenewalSettings 1158 14, // 13: google.cloud.channel.v1.RenewalSettings.payment_plan:type_name -> google.cloud.channel.v1.PaymentPlan 1159 15, // 14: google.cloud.channel.v1.RenewalSettings.payment_cycle:type_name -> google.cloud.channel.v1.Period 1160 12, // 15: google.cloud.channel.v1.TrialSettings.end_time:type_name -> google.protobuf.Timestamp 1161 11, // 16: google.cloud.channel.v1.TransferableSku.transfer_eligibility:type_name -> google.cloud.channel.v1.TransferEligibility 1162 16, // 17: google.cloud.channel.v1.TransferableSku.sku:type_name -> google.cloud.channel.v1.Sku 1163 16, // 18: google.cloud.channel.v1.TransferableSku.legacy_sku:type_name -> google.cloud.channel.v1.Sku 1164 2, // 19: google.cloud.channel.v1.TransferEligibility.ineligibility_reason:type_name -> google.cloud.channel.v1.TransferEligibility.Reason 1165 20, // [20:20] is the sub-list for method output_type 1166 20, // [20:20] is the sub-list for method input_type 1167 20, // [20:20] is the sub-list for extension type_name 1168 20, // [20:20] is the sub-list for extension extendee 1169 0, // [0:20] is the sub-list for field type_name 1170} 1171 1172func init() { file_google_cloud_channel_v1_entitlements_proto_init() } 1173func file_google_cloud_channel_v1_entitlements_proto_init() { 1174 if File_google_cloud_channel_v1_entitlements_proto != nil { 1175 return 1176 } 1177 file_google_cloud_channel_v1_common_proto_init() 1178 file_google_cloud_channel_v1_offers_proto_init() 1179 file_google_cloud_channel_v1_products_proto_init() 1180 if !protoimpl.UnsafeEnabled { 1181 file_google_cloud_channel_v1_entitlements_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1182 switch v := v.(*Entitlement); i { 1183 case 0: 1184 return &v.state 1185 case 1: 1186 return &v.sizeCache 1187 case 2: 1188 return &v.unknownFields 1189 default: 1190 return nil 1191 } 1192 } 1193 file_google_cloud_channel_v1_entitlements_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1194 switch v := v.(*Parameter); i { 1195 case 0: 1196 return &v.state 1197 case 1: 1198 return &v.sizeCache 1199 case 2: 1200 return &v.unknownFields 1201 default: 1202 return nil 1203 } 1204 } 1205 file_google_cloud_channel_v1_entitlements_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1206 switch v := v.(*AssociationInfo); i { 1207 case 0: 1208 return &v.state 1209 case 1: 1210 return &v.sizeCache 1211 case 2: 1212 return &v.unknownFields 1213 default: 1214 return nil 1215 } 1216 } 1217 file_google_cloud_channel_v1_entitlements_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1218 switch v := v.(*ProvisionedService); i { 1219 case 0: 1220 return &v.state 1221 case 1: 1222 return &v.sizeCache 1223 case 2: 1224 return &v.unknownFields 1225 default: 1226 return nil 1227 } 1228 } 1229 file_google_cloud_channel_v1_entitlements_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1230 switch v := v.(*CommitmentSettings); i { 1231 case 0: 1232 return &v.state 1233 case 1: 1234 return &v.sizeCache 1235 case 2: 1236 return &v.unknownFields 1237 default: 1238 return nil 1239 } 1240 } 1241 file_google_cloud_channel_v1_entitlements_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1242 switch v := v.(*RenewalSettings); i { 1243 case 0: 1244 return &v.state 1245 case 1: 1246 return &v.sizeCache 1247 case 2: 1248 return &v.unknownFields 1249 default: 1250 return nil 1251 } 1252 } 1253 file_google_cloud_channel_v1_entitlements_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1254 switch v := v.(*TrialSettings); i { 1255 case 0: 1256 return &v.state 1257 case 1: 1258 return &v.sizeCache 1259 case 2: 1260 return &v.unknownFields 1261 default: 1262 return nil 1263 } 1264 } 1265 file_google_cloud_channel_v1_entitlements_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1266 switch v := v.(*TransferableSku); i { 1267 case 0: 1268 return &v.state 1269 case 1: 1270 return &v.sizeCache 1271 case 2: 1272 return &v.unknownFields 1273 default: 1274 return nil 1275 } 1276 } 1277 file_google_cloud_channel_v1_entitlements_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1278 switch v := v.(*TransferEligibility); i { 1279 case 0: 1280 return &v.state 1281 case 1: 1282 return &v.sizeCache 1283 case 2: 1284 return &v.unknownFields 1285 default: 1286 return nil 1287 } 1288 } 1289 } 1290 type x struct{} 1291 out := protoimpl.TypeBuilder{ 1292 File: protoimpl.DescBuilder{ 1293 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1294 RawDescriptor: file_google_cloud_channel_v1_entitlements_proto_rawDesc, 1295 NumEnums: 3, 1296 NumMessages: 9, 1297 NumExtensions: 0, 1298 NumServices: 0, 1299 }, 1300 GoTypes: file_google_cloud_channel_v1_entitlements_proto_goTypes, 1301 DependencyIndexes: file_google_cloud_channel_v1_entitlements_proto_depIdxs, 1302 EnumInfos: file_google_cloud_channel_v1_entitlements_proto_enumTypes, 1303 MessageInfos: file_google_cloud_channel_v1_entitlements_proto_msgTypes, 1304 }.Build() 1305 File_google_cloud_channel_v1_entitlements_proto = out.File 1306 file_google_cloud_channel_v1_entitlements_proto_rawDesc = nil 1307 file_google_cloud_channel_v1_entitlements_proto_goTypes = nil 1308 file_google_cloud_channel_v1_entitlements_proto_depIdxs = nil 1309} 1310