| 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/entitlement_changes.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 |
// Specifies the type of change action |
| 40 |
type EntitlementChange_ChangeType int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Not used. |
| 44 |
EntitlementChange_CHANGE_TYPE_UNSPECIFIED EntitlementChange_ChangeType = 0 |
| 45 |
// New Entitlement was created. |
| 46 |
EntitlementChange_CREATED EntitlementChange_ChangeType = 1 |
| 47 |
// Price plan associated with an Entitlement was changed. |
| 48 |
EntitlementChange_PRICE_PLAN_SWITCHED EntitlementChange_ChangeType = 3 |
| 49 |
// Number of seats committed for a commitment Entitlement was changed. |
| 50 |
EntitlementChange_COMMITMENT_CHANGED EntitlementChange_ChangeType = 4 |
| 51 |
// An annual Entitlement was renewed. |
| 52 |
EntitlementChange_RENEWED EntitlementChange_ChangeType = 5 |
| 53 |
// Entitlement was suspended. |
| 54 |
EntitlementChange_SUSPENDED EntitlementChange_ChangeType = 6 |
| 55 |
// Entitlement was activated. |
| 56 |
EntitlementChange_ACTIVATED EntitlementChange_ChangeType = 7 |
| 57 |
// Entitlement was cancelled. |
| 58 |
EntitlementChange_CANCELLED EntitlementChange_ChangeType = 8 |
| 59 |
// Entitlement was upgraded or downgraded for ex. from Google Workspace |
| 60 |
// Business Standard to Google Workspace Business Plus. |
| 61 |
EntitlementChange_SKU_CHANGED EntitlementChange_ChangeType = 9 |
| 62 |
// The settings for renewal of an Entitlement have changed. |
| 63 |
EntitlementChange_RENEWAL_SETTING_CHANGED EntitlementChange_ChangeType = 10 |
| 64 |
// Use for Google Workspace subscription. |
| 65 |
// Either a trial was converted to a paid subscription or a new subscription |
| 66 |
// with no trial is created. |
| 67 |
EntitlementChange_PAID_SUBSCRIPTION_STARTED EntitlementChange_ChangeType = 11 |
| 68 |
// License cap was changed for the entitlement. |
| 69 |
EntitlementChange_LICENSE_CAP_CHANGED EntitlementChange_ChangeType = 12 |
| 70 |
// The suspension details have changed (but it is still suspended). |
| 71 |
EntitlementChange_SUSPENSION_DETAILS_CHANGED EntitlementChange_ChangeType = 13 |
| 72 |
// The trial end date was extended. |
| 73 |
EntitlementChange_TRIAL_END_DATE_EXTENDED EntitlementChange_ChangeType = 14 |
| 74 |
// Entitlement started trial. |
| 75 |
EntitlementChange_TRIAL_STARTED EntitlementChange_ChangeType = 15 |
| 76 |
) |
| 77 |
|
| 78 |
// Enum value maps for EntitlementChange_ChangeType. |
| 79 |
var ( |
| 80 |
EntitlementChange_ChangeType_name = map[int32]string{ |
| 81 |
0: "CHANGE_TYPE_UNSPECIFIED", |
| 82 |
1: "CREATED", |
| 83 |
3: "PRICE_PLAN_SWITCHED", |
| 84 |
4: "COMMITMENT_CHANGED", |
| 85 |
5: "RENEWED", |
| 86 |
6: "SUSPENDED", |
| 87 |
7: "ACTIVATED", |
| 88 |
8: "CANCELLED", |
| 89 |
9: "SKU_CHANGED", |
| 90 |
10: "RENEWAL_SETTING_CHANGED", |
| 91 |
11: "PAID_SUBSCRIPTION_STARTED", |
| 92 |
12: "LICENSE_CAP_CHANGED", |
| 93 |
13: "SUSPENSION_DETAILS_CHANGED", |
| 94 |
14: "TRIAL_END_DATE_EXTENDED", |
| 95 |
15: "TRIAL_STARTED", |
| 96 |
} |
| 97 |
EntitlementChange_ChangeType_value = map[string]int32{ |
| 98 |
"CHANGE_TYPE_UNSPECIFIED": 0, |
| 99 |
"CREATED": 1, |
| 100 |
"PRICE_PLAN_SWITCHED": 3, |
| 101 |
"COMMITMENT_CHANGED": 4, |
| 102 |
"RENEWED": 5, |
| 103 |
"SUSPENDED": 6, |
| 104 |
"ACTIVATED": 7, |
| 105 |
"CANCELLED": 8, |
| 106 |
"SKU_CHANGED": 9, |
| 107 |
"RENEWAL_SETTING_CHANGED": 10, |
| 108 |
"PAID_SUBSCRIPTION_STARTED": 11, |
| 109 |
"LICENSE_CAP_CHANGED": 12, |
| 110 |
"SUSPENSION_DETAILS_CHANGED": 13, |
| 111 |
"TRIAL_END_DATE_EXTENDED": 14, |
| 112 |
"TRIAL_STARTED": 15, |
| 113 |
} |
| 114 |
) |
| 115 |
|
| 116 |
func (x EntitlementChange_ChangeType) Enum() *EntitlementChange_ChangeType { |
| 117 |
p := new(EntitlementChange_ChangeType) |
| 118 |
*p = x |
| 119 |
return p |
| 120 |
} |
| 121 |
|
| 122 |
func (x EntitlementChange_ChangeType) String() string { |
| 123 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 124 |
} |
| 125 |
|
| 126 |
func (EntitlementChange_ChangeType) Descriptor() protoreflect.EnumDescriptor { |
| 127 |
return file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[0].Descriptor() |
| 128 |
} |
| 129 |
|
| 130 |
func (EntitlementChange_ChangeType) Type() protoreflect.EnumType { |
| 131 |
return &file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[0] |
| 132 |
} |
| 133 |
|
| 134 |
func (x EntitlementChange_ChangeType) Number() protoreflect.EnumNumber { |
| 135 |
return protoreflect.EnumNumber(x) |
| 136 |
} |
| 137 |
|
| 138 |
// Deprecated: Use EntitlementChange_ChangeType.Descriptor instead. |
| 139 |
func (EntitlementChange_ChangeType) EnumDescriptor() ([]byte, []int) { |
| 140 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP(), []int{0, 0} |
| 141 |
} |
| 142 |
|
| 143 |
// Specifies the type of operator responsible for the change |
| 144 |
type EntitlementChange_OperatorType int32 |
| 145 |
|
| 146 |
const ( |
| 147 |
// Not used. |
| 148 |
EntitlementChange_OPERATOR_TYPE_UNSPECIFIED EntitlementChange_OperatorType = 0 |
| 149 |
// Customer service representative. |
| 150 |
EntitlementChange_CUSTOMER_SERVICE_REPRESENTATIVE EntitlementChange_OperatorType = 1 |
| 151 |
// System auto job. |
| 152 |
EntitlementChange_SYSTEM EntitlementChange_OperatorType = 2 |
| 153 |
// Customer user. |
| 154 |
EntitlementChange_CUSTOMER EntitlementChange_OperatorType = 3 |
| 155 |
// Reseller user. |
| 156 |
EntitlementChange_RESELLER EntitlementChange_OperatorType = 4 |
| 157 |
) |
| 158 |
|
| 159 |
// Enum value maps for EntitlementChange_OperatorType. |
| 160 |
var ( |
| 161 |
EntitlementChange_OperatorType_name = map[int32]string{ |
| 162 |
0: "OPERATOR_TYPE_UNSPECIFIED", |
| 163 |
1: "CUSTOMER_SERVICE_REPRESENTATIVE", |
| 164 |
2: "SYSTEM", |
| 165 |
3: "CUSTOMER", |
| 166 |
4: "RESELLER", |
| 167 |
} |
| 168 |
EntitlementChange_OperatorType_value = map[string]int32{ |
| 169 |
"OPERATOR_TYPE_UNSPECIFIED": 0, |
| 170 |
"CUSTOMER_SERVICE_REPRESENTATIVE": 1, |
| 171 |
"SYSTEM": 2, |
| 172 |
"CUSTOMER": 3, |
| 173 |
"RESELLER": 4, |
| 174 |
} |
| 175 |
) |
| 176 |
|
| 177 |
func (x EntitlementChange_OperatorType) Enum() *EntitlementChange_OperatorType { |
| 178 |
p := new(EntitlementChange_OperatorType) |
| 179 |
*p = x |
| 180 |
return p |
| 181 |
} |
| 182 |
|
| 183 |
func (x EntitlementChange_OperatorType) String() string { |
| 184 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 185 |
} |
| 186 |
|
| 187 |
func (EntitlementChange_OperatorType) Descriptor() protoreflect.EnumDescriptor { |
| 188 |
return file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[1].Descriptor() |
| 189 |
} |
| 190 |
|
| 191 |
func (EntitlementChange_OperatorType) Type() protoreflect.EnumType { |
| 192 |
return &file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[1] |
| 193 |
} |
| 194 |
|
| 195 |
func (x EntitlementChange_OperatorType) Number() protoreflect.EnumNumber { |
| 196 |
return protoreflect.EnumNumber(x) |
| 197 |
} |
| 198 |
|
| 199 |
// Deprecated: Use EntitlementChange_OperatorType.Descriptor instead. |
| 200 |
func (EntitlementChange_OperatorType) EnumDescriptor() ([]byte, []int) { |
| 201 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP(), []int{0, 1} |
| 202 |
} |
| 203 |
|
| 204 |
// Cancellation reason for the entitlement |
| 205 |
type EntitlementChange_CancellationReason int32 |
| 206 |
|
| 207 |
const ( |
| 208 |
// Not used. |
| 209 |
EntitlementChange_CANCELLATION_REASON_UNSPECIFIED EntitlementChange_CancellationReason = 0 |
| 210 |
// Reseller triggered a cancellation of the service. |
| 211 |
EntitlementChange_SERVICE_TERMINATED EntitlementChange_CancellationReason = 1 |
| 212 |
// Relationship between the reseller and customer has ended due to a |
| 213 |
// transfer. |
| 214 |
EntitlementChange_RELATIONSHIP_ENDED EntitlementChange_CancellationReason = 2 |
| 215 |
// Entitlement transferred away from reseller while still keeping other |
| 216 |
// entitlement(s) with the reseller. |
| 217 |
EntitlementChange_PARTIAL_TRANSFER EntitlementChange_CancellationReason = 3 |
| 218 |
) |
| 219 |
|
| 220 |
// Enum value maps for EntitlementChange_CancellationReason. |
| 221 |
var ( |
| 222 |
EntitlementChange_CancellationReason_name = map[int32]string{ |
| 223 |
0: "CANCELLATION_REASON_UNSPECIFIED", |
| 224 |
1: "SERVICE_TERMINATED", |
| 225 |
2: "RELATIONSHIP_ENDED", |
| 226 |
3: "PARTIAL_TRANSFER", |
| 227 |
} |
| 228 |
EntitlementChange_CancellationReason_value = map[string]int32{ |
| 229 |
"CANCELLATION_REASON_UNSPECIFIED": 0, |
| 230 |
"SERVICE_TERMINATED": 1, |
| 231 |
"RELATIONSHIP_ENDED": 2, |
| 232 |
"PARTIAL_TRANSFER": 3, |
| 233 |
} |
| 234 |
) |
| 235 |
|
| 236 |
func (x EntitlementChange_CancellationReason) Enum() *EntitlementChange_CancellationReason { |
| 237 |
p := new(EntitlementChange_CancellationReason) |
| 238 |
*p = x |
| 239 |
return p |
| 240 |
} |
| 241 |
|
| 242 |
func (x EntitlementChange_CancellationReason) String() string { |
| 243 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 244 |
} |
| 245 |
|
| 246 |
func (EntitlementChange_CancellationReason) Descriptor() protoreflect.EnumDescriptor { |
| 247 |
return file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[2].Descriptor() |
| 248 |
} |
| 249 |
|
| 250 |
func (EntitlementChange_CancellationReason) Type() protoreflect.EnumType { |
| 251 |
return &file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[2] |
| 252 |
} |
| 253 |
|
| 254 |
func (x EntitlementChange_CancellationReason) Number() protoreflect.EnumNumber { |
| 255 |
return protoreflect.EnumNumber(x) |
| 256 |
} |
| 257 |
|
| 258 |
// Deprecated: Use EntitlementChange_CancellationReason.Descriptor instead. |
| 259 |
func (EntitlementChange_CancellationReason) EnumDescriptor() ([]byte, []int) { |
| 260 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP(), []int{0, 2} |
| 261 |
} |
| 262 |
|
| 263 |
// The Entitlement's activation reason |
| 264 |
type EntitlementChange_ActivationReason int32 |
| 265 |
|
| 266 |
const ( |
| 267 |
// Not used. |
| 268 |
EntitlementChange_ACTIVATION_REASON_UNSPECIFIED EntitlementChange_ActivationReason = 0 |
| 269 |
// Reseller reactivated a suspended Entitlement. |
| 270 |
EntitlementChange_RESELLER_REVOKED_SUSPENSION EntitlementChange_ActivationReason = 1 |
| 271 |
// Customer accepted pending terms of service. |
| 272 |
EntitlementChange_CUSTOMER_ACCEPTED_PENDING_TOS EntitlementChange_ActivationReason = 2 |
| 273 |
// Reseller updated the renewal settings on an entitlement that was |
| 274 |
// suspended due to cancellation, and this update reactivated the |
| 275 |
// entitlement. |
| 276 |
EntitlementChange_RENEWAL_SETTINGS_CHANGED EntitlementChange_ActivationReason = 3 |
| 277 |
// Other reasons (Activated temporarily for cancellation, added a payment |
| 278 |
// plan to a trial entitlement, etc.) |
| 279 |
EntitlementChange_OTHER_ACTIVATION_REASON EntitlementChange_ActivationReason = 100 |
| 280 |
) |
| 281 |
|
| 282 |
// Enum value maps for EntitlementChange_ActivationReason. |
| 283 |
var ( |
| 284 |
EntitlementChange_ActivationReason_name = map[int32]string{ |
| 285 |
0: "ACTIVATION_REASON_UNSPECIFIED", |
| 286 |
1: "RESELLER_REVOKED_SUSPENSION", |
| 287 |
2: "CUSTOMER_ACCEPTED_PENDING_TOS", |
| 288 |
3: "RENEWAL_SETTINGS_CHANGED", |
| 289 |
100: "OTHER_ACTIVATION_REASON", |
| 290 |
} |
| 291 |
EntitlementChange_ActivationReason_value = map[string]int32{ |
| 292 |
"ACTIVATION_REASON_UNSPECIFIED": 0, |
| 293 |
"RESELLER_REVOKED_SUSPENSION": 1, |
| 294 |
"CUSTOMER_ACCEPTED_PENDING_TOS": 2, |
| 295 |
"RENEWAL_SETTINGS_CHANGED": 3, |
| 296 |
"OTHER_ACTIVATION_REASON": 100, |
| 297 |
} |
| 298 |
) |
| 299 |
|
| 300 |
func (x EntitlementChange_ActivationReason) Enum() *EntitlementChange_ActivationReason { |
| 301 |
p := new(EntitlementChange_ActivationReason) |
| 302 |
*p = x |
| 303 |
return p |
| 304 |
} |
| 305 |
|
| 306 |
func (x EntitlementChange_ActivationReason) String() string { |
| 307 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 308 |
} |
| 309 |
|
| 310 |
func (EntitlementChange_ActivationReason) Descriptor() protoreflect.EnumDescriptor { |
| 311 |
return file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[3].Descriptor() |
| 312 |
} |
| 313 |
|
| 314 |
func (EntitlementChange_ActivationReason) Type() protoreflect.EnumType { |
| 315 |
return &file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes[3] |
| 316 |
} |
| 317 |
|
| 318 |
func (x EntitlementChange_ActivationReason) Number() protoreflect.EnumNumber { |
| 319 |
return protoreflect.EnumNumber(x) |
| 320 |
} |
| 321 |
|
| 322 |
// Deprecated: Use EntitlementChange_ActivationReason.Descriptor instead. |
| 323 |
func (EntitlementChange_ActivationReason) EnumDescriptor() ([]byte, []int) { |
| 324 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP(), []int{0, 3} |
| 325 |
} |
| 326 |
|
| 327 |
// Change event entry for Entitlement order history |
| 328 |
type EntitlementChange struct { |
| 329 |
state protoimpl.MessageState |
| 330 |
sizeCache protoimpl.SizeCache |
| 331 |
unknownFields protoimpl.UnknownFields |
| 332 |
|
| 333 |
// The reason the change was made |
| 334 |
// |
| 335 |
// Types that are assignable to ChangeReason: |
| 336 |
// |
| 337 |
// *EntitlementChange_SuspensionReason |
| 338 |
// *EntitlementChange_CancellationReason_ |
| 339 |
// *EntitlementChange_ActivationReason_ |
| 340 |
// *EntitlementChange_OtherChangeReason |
| 341 |
ChangeReason isEntitlementChange_ChangeReason `protobuf_oneof:"change_reason"` |
| 342 |
// Required. Resource name of an entitlement in the form: |
| 343 |
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} |
| 344 |
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` |
| 345 |
// Required. Resource name of the Offer at the time of change. |
| 346 |
// Takes the form: accounts/{account_id}/offers/{offer_id}. |
| 347 |
Offer string `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"` |
| 348 |
// Service provisioned for an Entitlement. |
| 349 |
ProvisionedService *ProvisionedService `protobuf:"bytes,3,opt,name=provisioned_service,json=provisionedService,proto3" json:"provisioned_service,omitempty"` |
| 350 |
// The change action type. |
| 351 |
ChangeType EntitlementChange_ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,proto3,enum=google.cloud.channel.v1.EntitlementChange_ChangeType" json:"change_type,omitempty"` |
| 352 |
// The submitted time of the change. |
| 353 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 354 |
// Operator type responsible for the change. |
| 355 |
OperatorType EntitlementChange_OperatorType `protobuf:"varint,6,opt,name=operator_type,json=operatorType,proto3,enum=google.cloud.channel.v1.EntitlementChange_OperatorType" json:"operator_type,omitempty"` |
| 356 |
// Extended parameters, such as: |
| 357 |
// purchase_order_number, gcp_details; |
| 358 |
// internal_correlation_id, long_running_operation_id, order_id; |
| 359 |
// etc. |
| 360 |
Parameters []*Parameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"` |
| 361 |
// Human-readable identifier that shows what operator made a change. |
| 362 |
// When the operator_type is RESELLER, this is the user's email address. |
| 363 |
// For all other operator types, this is empty. |
| 364 |
Operator string `protobuf:"bytes,12,opt,name=operator,proto3" json:"operator,omitempty"` |
| 365 |
} |
| 366 |
|
| 367 |
func (x *EntitlementChange) Reset() { |
| 368 |
*x = EntitlementChange{} |
| 369 |
mi := &file_google_cloud_channel_v1_entitlement_changes_proto_msgTypes[0] |
| 370 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 371 |
ms.StoreMessageInfo(mi) |
| 372 |
} |
| 373 |
|
| 374 |
func (x *EntitlementChange) String() string { |
| 375 |
return protoimpl.X.MessageStringOf(x) |
| 376 |
} |
| 377 |
|
| 378 |
func (*EntitlementChange) ProtoMessage() {} |
| 379 |
|
| 380 |
func (x *EntitlementChange) ProtoReflect() protoreflect.Message { |
| 381 |
mi := &file_google_cloud_channel_v1_entitlement_changes_proto_msgTypes[0] |
| 382 |
if x != nil { |
| 383 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 384 |
if ms.LoadMessageInfo() == nil { |
| 385 |
ms.StoreMessageInfo(mi) |
| 386 |
} |
| 387 |
return ms |
| 388 |
} |
| 389 |
return mi.MessageOf(x) |
| 390 |
} |
| 391 |
|
| 392 |
// Deprecated: Use EntitlementChange.ProtoReflect.Descriptor instead. |
| 393 |
func (*EntitlementChange) Descriptor() ([]byte, []int) { |
| 394 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP(), []int{0} |
| 395 |
} |
| 396 |
|
| 397 |
func (m *EntitlementChange) GetChangeReason() isEntitlementChange_ChangeReason { |
| 398 |
if m != nil { |
| 399 |
return m.ChangeReason |
| 400 |
} |
| 401 |
return nil |
| 402 |
} |
| 403 |
|
| 404 |
func (x *EntitlementChange) GetSuspensionReason() Entitlement_SuspensionReason { |
| 405 |
if x, ok := x.GetChangeReason().(*EntitlementChange_SuspensionReason); ok { |
| 406 |
return x.SuspensionReason |
| 407 |
} |
| 408 |
return Entitlement_SUSPENSION_REASON_UNSPECIFIED |
| 409 |
} |
| 410 |
|
| 411 |
func (x *EntitlementChange) GetCancellationReason() EntitlementChange_CancellationReason { |
| 412 |
if x, ok := x.GetChangeReason().(*EntitlementChange_CancellationReason_); ok { |
| 413 |
return x.CancellationReason |
| 414 |
} |
| 415 |
return EntitlementChange_CANCELLATION_REASON_UNSPECIFIED |
| 416 |
} |
| 417 |
|
| 418 |
func (x *EntitlementChange) GetActivationReason() EntitlementChange_ActivationReason { |
| 419 |
if x, ok := x.GetChangeReason().(*EntitlementChange_ActivationReason_); ok { |
| 420 |
return x.ActivationReason |
| 421 |
} |
| 422 |
return EntitlementChange_ACTIVATION_REASON_UNSPECIFIED |
| 423 |
} |
| 424 |
|
| 425 |
func (x *EntitlementChange) GetOtherChangeReason() string { |
| 426 |
if x, ok := x.GetChangeReason().(*EntitlementChange_OtherChangeReason); ok { |
| 427 |
return x.OtherChangeReason |
| 428 |
} |
| 429 |
return "" |
| 430 |
} |
| 431 |
|
| 432 |
func (x *EntitlementChange) GetEntitlement() string { |
| 433 |
if x != nil { |
| 434 |
return x.Entitlement |
| 435 |
} |
| 436 |
return "" |
| 437 |
} |
| 438 |
|
| 439 |
func (x *EntitlementChange) GetOffer() string { |
| 440 |
if x != nil { |
| 441 |
return x.Offer |
| 442 |
} |
| 443 |
return "" |
| 444 |
} |
| 445 |
|
| 446 |
func (x *EntitlementChange) GetProvisionedService() *ProvisionedService { |
| 447 |
if x != nil { |
| 448 |
return x.ProvisionedService |
| 449 |
} |
| 450 |
return nil |
| 451 |
} |
| 452 |
|
| 453 |
func (x *EntitlementChange) GetChangeType() EntitlementChange_ChangeType { |
| 454 |
if x != nil { |
| 455 |
return x.ChangeType |
| 456 |
} |
| 457 |
return EntitlementChange_CHANGE_TYPE_UNSPECIFIED |
| 458 |
} |
| 459 |
|
| 460 |
func (x *EntitlementChange) GetCreateTime() *timestamppb.Timestamp { |
| 461 |
if x != nil { |
| 462 |
return x.CreateTime |
| 463 |
} |
| 464 |
return nil |
| 465 |
} |
| 466 |
|
| 467 |
func (x *EntitlementChange) GetOperatorType() EntitlementChange_OperatorType { |
| 468 |
if x != nil { |
| 469 |
return x.OperatorType |
| 470 |
} |
| 471 |
return EntitlementChange_OPERATOR_TYPE_UNSPECIFIED |
| 472 |
} |
| 473 |
|
| 474 |
func (x *EntitlementChange) GetParameters() []*Parameter { |
| 475 |
if x != nil { |
| 476 |
return x.Parameters |
| 477 |
} |
| 478 |
return nil |
| 479 |
} |
| 480 |
|
| 481 |
func (x *EntitlementChange) GetOperator() string { |
| 482 |
if x != nil { |
| 483 |
return x.Operator |
| 484 |
} |
| 485 |
return "" |
| 486 |
} |
| 487 |
|
| 488 |
type isEntitlementChange_ChangeReason interface { |
| 489 |
isEntitlementChange_ChangeReason() |
| 490 |
} |
| 491 |
|
| 492 |
type EntitlementChange_SuspensionReason struct { |
| 493 |
// Suspension reason for the Entitlement. |
| 494 |
SuspensionReason Entitlement_SuspensionReason `protobuf:"varint,9,opt,name=suspension_reason,json=suspensionReason,proto3,enum=google.cloud.channel.v1.Entitlement_SuspensionReason,oneof"` |
| 495 |
} |
| 496 |
|
| 497 |
type EntitlementChange_CancellationReason_ struct { |
| 498 |
// Cancellation reason for the Entitlement. |
| 499 |
CancellationReason EntitlementChange_CancellationReason `protobuf:"varint,10,opt,name=cancellation_reason,json=cancellationReason,proto3,enum=google.cloud.channel.v1.EntitlementChange_CancellationReason,oneof"` |
| 500 |
} |
| 501 |
|
| 502 |
type EntitlementChange_ActivationReason_ struct { |
| 503 |
// The Entitlement's activation reason |
| 504 |
ActivationReason EntitlementChange_ActivationReason `protobuf:"varint,11,opt,name=activation_reason,json=activationReason,proto3,enum=google.cloud.channel.v1.EntitlementChange_ActivationReason,oneof"` |
| 505 |
} |
| 506 |
|
| 507 |
type EntitlementChange_OtherChangeReason struct { |
| 508 |
// e.g. purchase_number change reason, entered by CRS. |
| 509 |
OtherChangeReason string `protobuf:"bytes,100,opt,name=other_change_reason,json=otherChangeReason,proto3,oneof"` |
| 510 |
} |
| 511 |
|
| 512 |
func (*EntitlementChange_SuspensionReason) isEntitlementChange_ChangeReason() {} |
| 513 |
|
| 514 |
func (*EntitlementChange_CancellationReason_) isEntitlementChange_ChangeReason() {} |
| 515 |
|
| 516 |
func (*EntitlementChange_ActivationReason_) isEntitlementChange_ChangeReason() {} |
| 517 |
|
| 518 |
func (*EntitlementChange_OtherChangeReason) isEntitlementChange_ChangeReason() {} |
| 519 |
|
| 520 |
var File_google_cloud_channel_v1_entitlement_changes_proto protoreflect.FileDescriptor |
| 521 |
|
| 522 |
var file_google_cloud_channel_v1_entitlement_changes_proto_rawDesc = []byte{ |
| 523 |
0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 524 |
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, |
| 525 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, |
| 526 |
0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 527 |
0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, |
| 528 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, |
| 529 |
0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, |
| 530 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 531 |
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 532 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, |
| 533 |
0x31, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, |
| 534 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, |
| 535 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, |
| 536 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x0d, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, |
| 537 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x73, |
| 538 |
0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, |
| 539 |
0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 540 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, |
| 541 |
0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x73, |
| 542 |
0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 543 |
0x10, 0x73, 0x75, 0x73, 0x70, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, |
| 544 |
0x6e, 0x12, 0x70, 0x0a, 0x13, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, |
| 545 |
0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, |
| 546 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, |
| 547 |
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 548 |
0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, |
| 549 |
0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 550 |
0x12, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, |
| 551 |
0x73, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, |
| 552 |
0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, |
| 553 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, |
| 554 |
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 555 |
0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, |
| 556 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x10, 0x61, |
| 557 |
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, |
| 558 |
0x30, 0x0a, 0x13, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, |
| 559 |
0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, |
| 560 |
0x6f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, |
| 561 |
0x6e, 0x12, 0x51, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, |
| 562 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, |
| 563 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, |
| 564 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, |
| 565 |
0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 566 |
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x18, 0x02, 0x20, |
| 567 |
0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, |
| 568 |
0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 569 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x05, |
| 570 |
0x6f, 0x66, 0x66, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, |
| 571 |
0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 572 |
0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 573 |
0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, |
| 574 |
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, |
| 575 |
0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, |
| 576 |
0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, |
| 577 |
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 578 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, |
| 579 |
0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, |
| 580 |
0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, |
| 581 |
0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, |
| 582 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, |
| 583 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 584 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, |
| 585 |
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x6f, 0x70, 0x65, 0x72, |
| 586 |
0x61, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 587 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 588 |
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, |
| 589 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, |
| 590 |
0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, |
| 591 |
0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, |
| 592 |
0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, |
| 593 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 594 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, |
| 595 |
0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, |
| 596 |
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, |
| 597 |
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xd7, 0x02, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, |
| 598 |
0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, |
| 599 |
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 600 |
0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, |
| 601 |
0x17, 0x0a, 0x13, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x53, 0x57, |
| 602 |
0x49, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4d, 0x4d, |
| 603 |
0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x04, |
| 604 |
0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4e, 0x45, 0x57, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0d, 0x0a, |
| 605 |
0x09, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, |
| 606 |
0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, |
| 607 |
0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x4b, |
| 608 |
0x55, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x52, |
| 609 |
0x45, 0x4e, 0x45, 0x57, 0x41, 0x4c, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x43, |
| 610 |
0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x49, 0x44, |
| 611 |
0x5f, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, |
| 612 |
0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x49, 0x43, 0x45, 0x4e, |
| 613 |
0x53, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x0c, |
| 614 |
0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x44, |
| 615 |
0x45, 0x54, 0x41, 0x49, 0x4c, 0x53, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x0d, |
| 616 |
0x12, 0x1b, 0x0a, 0x17, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x45, 0x4e, 0x44, 0x5f, 0x44, 0x41, |
| 617 |
0x54, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x11, 0x0a, |
| 618 |
0x0d, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0f, |
| 619 |
0x22, 0x7a, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, |
| 620 |
0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, |
| 621 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 622 |
0x23, 0x0a, 0x1f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, |
| 623 |
0x49, 0x43, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, |
| 624 |
0x56, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x02, |
| 625 |
0x12, 0x0c, 0x0a, 0x08, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0c, |
| 626 |
0x0a, 0x08, 0x52, 0x45, 0x53, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x22, 0x7f, 0x0a, 0x12, |
| 627 |
0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, |
| 628 |
0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x41, 0x54, 0x49, |
| 629 |
0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 630 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x52, 0x56, 0x49, |
| 631 |
0x43, 0x45, 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, |
| 632 |
0x16, 0x0a, 0x12, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x48, 0x49, 0x50, 0x5f, |
| 633 |
0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x52, 0x54, 0x49, |
| 634 |
0x41, 0x4c, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x03, 0x22, 0xb4, 0x01, |
| 635 |
0x0a, 0x10, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, |
| 636 |
0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, |
| 637 |
0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 638 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x53, 0x45, 0x4c, 0x4c, 0x45, |
| 639 |
0x52, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, |
| 640 |
0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, |
| 641 |
0x45, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x45, 0x4e, 0x44, |
| 642 |
0x49, 0x4e, 0x47, 0x5f, 0x54, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x4e, |
| 643 |
0x45, 0x57, 0x41, 0x4c, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x5f, 0x43, 0x48, |
| 644 |
0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x54, 0x48, 0x45, 0x52, |
| 645 |
0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, |
| 646 |
0x4f, 0x4e, 0x10, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, |
| 647 |
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x6f, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 648 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 649 |
0x6c, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, |
| 650 |
0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 651 |
0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, |
| 652 |
0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, |
| 653 |
0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, |
| 654 |
0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 655 |
} |
| 656 |
|
| 657 |
var ( |
| 658 |
file_google_cloud_channel_v1_entitlement_changes_proto_rawDescOnce sync.Once |
| 659 |
file_google_cloud_channel_v1_entitlement_changes_proto_rawDescData = file_google_cloud_channel_v1_entitlement_changes_proto_rawDesc |
| 660 |
) |
| 661 |
|
| 662 |
func file_google_cloud_channel_v1_entitlement_changes_proto_rawDescGZIP() []byte { |
| 663 |
file_google_cloud_channel_v1_entitlement_changes_proto_rawDescOnce.Do(func() { |
| 664 |
file_google_cloud_channel_v1_entitlement_changes_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_entitlement_changes_proto_rawDescData) |
| 665 |
}) |
| 666 |
return file_google_cloud_channel_v1_entitlement_changes_proto_rawDescData |
| 667 |
} |
| 668 |
|
| 669 |
var file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 670 |
var file_google_cloud_channel_v1_entitlement_changes_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 671 |
var file_google_cloud_channel_v1_entitlement_changes_proto_goTypes = []any{ |
| 672 |
(EntitlementChange_ChangeType)(0), // 0: google.cloud.channel.v1.EntitlementChange.ChangeType |
| 673 |
(EntitlementChange_OperatorType)(0), // 1: google.cloud.channel.v1.EntitlementChange.OperatorType |
| 674 |
(EntitlementChange_CancellationReason)(0), // 2: google.cloud.channel.v1.EntitlementChange.CancellationReason |
| 675 |
(EntitlementChange_ActivationReason)(0), // 3: google.cloud.channel.v1.EntitlementChange.ActivationReason |
| 676 |
(*EntitlementChange)(nil), // 4: google.cloud.channel.v1.EntitlementChange |
| 677 |
(Entitlement_SuspensionReason)(0), // 5: google.cloud.channel.v1.Entitlement.SuspensionReason |
| 678 |
(*ProvisionedService)(nil), // 6: google.cloud.channel.v1.ProvisionedService |
| 679 |
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp |
| 680 |
(*Parameter)(nil), // 8: google.cloud.channel.v1.Parameter |
| 681 |
} |
| 682 |
var file_google_cloud_channel_v1_entitlement_changes_proto_depIdxs = []int32{ |
| 683 |
5, // 0: google.cloud.channel.v1.EntitlementChange.suspension_reason:type_name -> google.cloud.channel.v1.Entitlement.SuspensionReason |
| 684 |
2, // 1: google.cloud.channel.v1.EntitlementChange.cancellation_reason:type_name -> google.cloud.channel.v1.EntitlementChange.CancellationReason |
| 685 |
3, // 2: google.cloud.channel.v1.EntitlementChange.activation_reason:type_name -> google.cloud.channel.v1.EntitlementChange.ActivationReason |
| 686 |
6, // 3: google.cloud.channel.v1.EntitlementChange.provisioned_service:type_name -> google.cloud.channel.v1.ProvisionedService |
| 687 |
0, // 4: google.cloud.channel.v1.EntitlementChange.change_type:type_name -> google.cloud.channel.v1.EntitlementChange.ChangeType |
| 688 |
7, // 5: google.cloud.channel.v1.EntitlementChange.create_time:type_name -> google.protobuf.Timestamp |
| 689 |
1, // 6: google.cloud.channel.v1.EntitlementChange.operator_type:type_name -> google.cloud.channel.v1.EntitlementChange.OperatorType |
| 690 |
8, // 7: google.cloud.channel.v1.EntitlementChange.parameters:type_name -> google.cloud.channel.v1.Parameter |
| 691 |
8, // [8:8] is the sub-list for method output_type |
| 692 |
8, // [8:8] is the sub-list for method input_type |
| 693 |
8, // [8:8] is the sub-list for extension type_name |
| 694 |
8, // [8:8] is the sub-list for extension extendee |
| 695 |
0, // [0:8] is the sub-list for field type_name |
| 696 |
} |
| 697 |
|
| 698 |
func init() { file_google_cloud_channel_v1_entitlement_changes_proto_init() } |
| 699 |
func file_google_cloud_channel_v1_entitlement_changes_proto_init() { |
| 700 |
if File_google_cloud_channel_v1_entitlement_changes_proto != nil { |
| 701 |
return |
| 702 |
} |
| 703 |
file_google_cloud_channel_v1_entitlements_proto_init() |
| 704 |
file_google_cloud_channel_v1_entitlement_changes_proto_msgTypes[0].OneofWrappers = []any{ |
| 705 |
(*EntitlementChange_SuspensionReason)(nil), |
| 706 |
(*EntitlementChange_CancellationReason_)(nil), |
| 707 |
(*EntitlementChange_ActivationReason_)(nil), |
| 708 |
(*EntitlementChange_OtherChangeReason)(nil), |
| 709 |
} |
| 710 |
type x struct{} |
| 711 |
out := protoimpl.TypeBuilder{ |
| 712 |
File: protoimpl.DescBuilder{ |
| 713 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 714 |
RawDescriptor: file_google_cloud_channel_v1_entitlement_changes_proto_rawDesc, |
| 715 |
NumEnums: 4, |
| 716 |
NumMessages: 1, |
| 717 |
NumExtensions: 0, |
| 718 |
NumServices: 0, |
| 719 |
}, |
| 720 |
GoTypes: file_google_cloud_channel_v1_entitlement_changes_proto_goTypes, |
| 721 |
DependencyIndexes: file_google_cloud_channel_v1_entitlement_changes_proto_depIdxs, |
| 722 |
EnumInfos: file_google_cloud_channel_v1_entitlement_changes_proto_enumTypes, |
| 723 |
MessageInfos: file_google_cloud_channel_v1_entitlement_changes_proto_msgTypes, |
| 724 |
}.Build() |
| 725 |
File_google_cloud_channel_v1_entitlement_changes_proto = out.File |
| 726 |
file_google_cloud_channel_v1_entitlement_changes_proto_rawDesc = nil |
| 727 |
file_google_cloud_channel_v1_entitlement_changes_proto_goTypes = nil |
| 728 |
file_google_cloud_channel_v1_entitlement_changes_proto_depIdxs = nil |
| 729 |
} |