Debian Codegraph @

channel/apiv1/channelpb/subscriber_event.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/channel/v1/subscriber_event.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 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Type of customer event.
39 type CustomerEvent_Type int32
40
41 const (
42 // Not used.
43 CustomerEvent_TYPE_UNSPECIFIED CustomerEvent_Type = 0
44 // Primary domain for customer was changed.
45 CustomerEvent_PRIMARY_DOMAIN_CHANGED CustomerEvent_Type = 1
46 // Primary domain of the customer has been verified.
47 CustomerEvent_PRIMARY_DOMAIN_VERIFIED CustomerEvent_Type = 2
48 )
49
50 // Enum value maps for CustomerEvent_Type.
51 var (
52 CustomerEvent_Type_name = map[int32]string{
53 0: "TYPE_UNSPECIFIED",
54 1: "PRIMARY_DOMAIN_CHANGED",
55 2: "PRIMARY_DOMAIN_VERIFIED",
56 }
57 CustomerEvent_Type_value = map[string]int32{
58 "TYPE_UNSPECIFIED": 0,
59 "PRIMARY_DOMAIN_CHANGED": 1,
60 "PRIMARY_DOMAIN_VERIFIED": 2,
61 }
62 )
63
64 func (x CustomerEvent_Type) Enum() *CustomerEvent_Type {
65 p := new(CustomerEvent_Type)
66 *p = x
67 return p
68 }
69
70 func (x CustomerEvent_Type) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (CustomerEvent_Type) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_cloud_channel_v1_subscriber_event_proto_enumTypes[0].Descriptor()
76 }
77
78 func (CustomerEvent_Type) Type() protoreflect.EnumType {
79 return &file_google_cloud_channel_v1_subscriber_event_proto_enumTypes[0]
80 }
81
82 func (x CustomerEvent_Type) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use CustomerEvent_Type.Descriptor instead.
87 func (CustomerEvent_Type) EnumDescriptor() ([]byte, []int) {
88 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91 // Type of entitlement event.
92 type EntitlementEvent_Type int32
93
94 const (
95 // Not used.
96 EntitlementEvent_TYPE_UNSPECIFIED EntitlementEvent_Type = 0
97 // A new entitlement was created.
98 EntitlementEvent_CREATED EntitlementEvent_Type = 1
99 // The offer type associated with an entitlement was changed.
100 // This is not triggered if an entitlement converts from a commit offer to a
101 // flexible offer as part of a renewal.
102 EntitlementEvent_PRICE_PLAN_SWITCHED EntitlementEvent_Type = 3
103 // Annual commitment for a commit plan was changed.
104 EntitlementEvent_COMMITMENT_CHANGED EntitlementEvent_Type = 4
105 // An annual entitlement was renewed.
106 EntitlementEvent_RENEWED EntitlementEvent_Type = 5
107 // Entitlement was suspended.
108 EntitlementEvent_SUSPENDED EntitlementEvent_Type = 6
109 // Entitlement was unsuspended.
110 EntitlementEvent_ACTIVATED EntitlementEvent_Type = 7
111 // Entitlement was cancelled.
112 EntitlementEvent_CANCELLED EntitlementEvent_Type = 8
113 // Entitlement was upgraded or downgraded (e.g. from Google Workspace
114 // Business Standard to Google Workspace Business Plus).
115 EntitlementEvent_SKU_CHANGED EntitlementEvent_Type = 9
116 // The renewal settings of an entitlement has changed.
117 EntitlementEvent_RENEWAL_SETTING_CHANGED EntitlementEvent_Type = 10
118 // Paid service has started on trial entitlement.
119 EntitlementEvent_PAID_SERVICE_STARTED EntitlementEvent_Type = 11
120 // License was assigned to or revoked from a user.
121 EntitlementEvent_LICENSE_ASSIGNMENT_CHANGED EntitlementEvent_Type = 12
122 // License cap was changed for the entitlement.
123 EntitlementEvent_LICENSE_CAP_CHANGED EntitlementEvent_Type = 13
124 )
125
126 // Enum value maps for EntitlementEvent_Type.
127 var (
128 EntitlementEvent_Type_name = map[int32]string{
129 0: "TYPE_UNSPECIFIED",
130 1: "CREATED",
131 3: "PRICE_PLAN_SWITCHED",
132 4: "COMMITMENT_CHANGED",
133 5: "RENEWED",
134 6: "SUSPENDED",
135 7: "ACTIVATED",
136 8: "CANCELLED",
137 9: "SKU_CHANGED",
138 10: "RENEWAL_SETTING_CHANGED",
139 11: "PAID_SERVICE_STARTED",
140 12: "LICENSE_ASSIGNMENT_CHANGED",
141 13: "LICENSE_CAP_CHANGED",
142 }
143 EntitlementEvent_Type_value = map[string]int32{
144 "TYPE_UNSPECIFIED": 0,
145 "CREATED": 1,
146 "PRICE_PLAN_SWITCHED": 3,
147 "COMMITMENT_CHANGED": 4,
148 "RENEWED": 5,
149 "SUSPENDED": 6,
150 "ACTIVATED": 7,
151 "CANCELLED": 8,
152 "SKU_CHANGED": 9,
153 "RENEWAL_SETTING_CHANGED": 10,
154 "PAID_SERVICE_STARTED": 11,
155 "LICENSE_ASSIGNMENT_CHANGED": 12,
156 "LICENSE_CAP_CHANGED": 13,
157 }
158 )
159
160 func (x EntitlementEvent_Type) Enum() *EntitlementEvent_Type {
161 p := new(EntitlementEvent_Type)
162 *p = x
163 return p
164 }
165
166 func (x EntitlementEvent_Type) String() string {
167 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
168 }
169
170 func (EntitlementEvent_Type) Descriptor() protoreflect.EnumDescriptor {
171 return file_google_cloud_channel_v1_subscriber_event_proto_enumTypes[1].Descriptor()
172 }
173
174 func (EntitlementEvent_Type) Type() protoreflect.EnumType {
175 return &file_google_cloud_channel_v1_subscriber_event_proto_enumTypes[1]
176 }
177
178 func (x EntitlementEvent_Type) Number() protoreflect.EnumNumber {
179 return protoreflect.EnumNumber(x)
180 }
181
182 // Deprecated: Use EntitlementEvent_Type.Descriptor instead.
183 func (EntitlementEvent_Type) EnumDescriptor() ([]byte, []int) {
184 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP(), []int{1, 0}
185 }
186
187 // Represents Pub/Sub message content describing customer update.
188 type CustomerEvent struct {
189 state protoimpl.MessageState
190 sizeCache protoimpl.SizeCache
191 unknownFields protoimpl.UnknownFields
192
193 // Resource name of the customer.
194 // Format: accounts/{account_id}/customers/{customer_id}
195 Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
196 // Type of event which happened on the customer.
197 EventType CustomerEvent_Type `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.cloud.channel.v1.CustomerEvent_Type" json:"event_type,omitempty"`
198 }
199
200 func (x *CustomerEvent) Reset() {
201 *x = CustomerEvent{}
202 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[0]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206
207 func (x *CustomerEvent) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*CustomerEvent) ProtoMessage() {}
212
213 func (x *CustomerEvent) ProtoReflect() protoreflect.Message {
214 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[0]
215 if x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use CustomerEvent.ProtoReflect.Descriptor instead.
226 func (*CustomerEvent) Descriptor() ([]byte, []int) {
227 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP(), []int{0}
228 }
229
230 func (x *CustomerEvent) GetCustomer() string {
231 if x != nil {
232 return x.Customer
233 }
234 return ""
235 }
236
237 func (x *CustomerEvent) GetEventType() CustomerEvent_Type {
238 if x != nil {
239 return x.EventType
240 }
241 return CustomerEvent_TYPE_UNSPECIFIED
242 }
243
244 // Represents Pub/Sub message content describing entitlement update.
245 type EntitlementEvent struct {
246 state protoimpl.MessageState
247 sizeCache protoimpl.SizeCache
248 unknownFields protoimpl.UnknownFields
249
250 // Resource name of an entitlement of the form:
251 // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
252 Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
253 // Type of event which happened on the entitlement.
254 EventType EntitlementEvent_Type `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.cloud.channel.v1.EntitlementEvent_Type" json:"event_type,omitempty"`
255 }
256
257 func (x *EntitlementEvent) Reset() {
258 *x = EntitlementEvent{}
259 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[1]
260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261 ms.StoreMessageInfo(mi)
262 }
263
264 func (x *EntitlementEvent) String() string {
265 return protoimpl.X.MessageStringOf(x)
266 }
267
268 func (*EntitlementEvent) ProtoMessage() {}
269
270 func (x *EntitlementEvent) ProtoReflect() protoreflect.Message {
271 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[1]
272 if x != nil {
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 if ms.LoadMessageInfo() == nil {
275 ms.StoreMessageInfo(mi)
276 }
277 return ms
278 }
279 return mi.MessageOf(x)
280 }
281
282 // Deprecated: Use EntitlementEvent.ProtoReflect.Descriptor instead.
283 func (*EntitlementEvent) Descriptor() ([]byte, []int) {
284 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP(), []int{1}
285 }
286
287 func (x *EntitlementEvent) GetEntitlement() string {
288 if x != nil {
289 return x.Entitlement
290 }
291 return ""
292 }
293
294 func (x *EntitlementEvent) GetEventType() EntitlementEvent_Type {
295 if x != nil {
296 return x.EventType
297 }
298 return EntitlementEvent_TYPE_UNSPECIFIED
299 }
300
301 // Represents information which resellers will get as part of notification from
302 // Pub/Sub.
303 type SubscriberEvent struct {
304 state protoimpl.MessageState
305 sizeCache protoimpl.SizeCache
306 unknownFields protoimpl.UnknownFields
307
308 // Specifies the Pub/Sub event provided to the partners.
309 // This is a required field.
310 //
311 // Types that are assignable to Event:
312 //
313 // *SubscriberEvent_CustomerEvent
314 // *SubscriberEvent_EntitlementEvent
315 Event isSubscriberEvent_Event `protobuf_oneof:"event"`
316 }
317
318 func (x *SubscriberEvent) Reset() {
319 *x = SubscriberEvent{}
320 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[2]
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
324
325 func (x *SubscriberEvent) String() string {
326 return protoimpl.X.MessageStringOf(x)
327 }
328
329 func (*SubscriberEvent) ProtoMessage() {}
330
331 func (x *SubscriberEvent) ProtoReflect() protoreflect.Message {
332 mi := &file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[2]
333 if x != nil {
334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
335 if ms.LoadMessageInfo() == nil {
336 ms.StoreMessageInfo(mi)
337 }
338 return ms
339 }
340 return mi.MessageOf(x)
341 }
342
343 // Deprecated: Use SubscriberEvent.ProtoReflect.Descriptor instead.
344 func (*SubscriberEvent) Descriptor() ([]byte, []int) {
345 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP(), []int{2}
346 }
347
348 func (m *SubscriberEvent) GetEvent() isSubscriberEvent_Event {
349 if m != nil {
350 return m.Event
351 }
352 return nil
353 }
354
355 func (x *SubscriberEvent) GetCustomerEvent() *CustomerEvent {
356 if x, ok := x.GetEvent().(*SubscriberEvent_CustomerEvent); ok {
357 return x.CustomerEvent
358 }
359 return nil
360 }
361
362 func (x *SubscriberEvent) GetEntitlementEvent() *EntitlementEvent {
363 if x, ok := x.GetEvent().(*SubscriberEvent_EntitlementEvent); ok {
364 return x.EntitlementEvent
365 }
366 return nil
367 }
368
369 type isSubscriberEvent_Event interface {
370 isSubscriberEvent_Event()
371 }
372
373 type SubscriberEvent_CustomerEvent struct {
374 // Customer event sent as part of Pub/Sub event to partners.
375 CustomerEvent *CustomerEvent `protobuf:"bytes,1,opt,name=customer_event,json=customerEvent,proto3,oneof"`
376 }
377
378 type SubscriberEvent_EntitlementEvent struct {
379 // Entitlement event sent as part of Pub/Sub event to partners.
380 EntitlementEvent *EntitlementEvent `protobuf:"bytes,2,opt,name=entitlement_event,json=entitlementEvent,proto3,oneof"`
381 }
382
383 func (*SubscriberEvent_CustomerEvent) isSubscriberEvent_Event() {}
384
385 func (*SubscriberEvent_EntitlementEvent) isSubscriberEvent_Event() {}
386
387 var File_google_cloud_channel_v1_subscriber_event_proto protoreflect.FileDescriptor
388
389 var file_google_cloud_channel_v1_subscriber_event_proto_rawDesc = []byte{
390 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
391 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,
392 0x69, 0x62, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
393 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
394 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
395 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
396 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x0d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
397 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
398 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x63,
399 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
400 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f,
401 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x4a, 0x0a,
402 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
403 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
404 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74,
405 0x6f, 0x6d, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09,
406 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x55, 0x0a, 0x04, 0x54, 0x79, 0x70,
407 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
408 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x49, 0x4d, 0x41,
409 0x52, 0x59, 0x5f, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45,
410 0x44, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, 0x5f, 0x44,
411 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02,
412 0x22, 0xc9, 0x03, 0x0a, 0x10, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
413 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65,
414 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x41, 0x29, 0x0a,
415 0x27, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f,
416 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74,
417 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c,
418 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74,
419 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
420 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
421 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45,
422 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74,
423 0x54, 0x79, 0x70, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
424 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
425 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01,
426 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x53,
427 0x57, 0x49, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4d,
428 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10,
429 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4e, 0x45, 0x57, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0d,
430 0x0a, 0x09, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, 0x0a,
431 0x09, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09,
432 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53,
433 0x4b, 0x55, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17,
434 0x52, 0x45, 0x4e, 0x45, 0x57, 0x41, 0x4c, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f,
435 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x41, 0x49,
436 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45,
437 0x44, 0x10, 0x0b, 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x5f, 0x41,
438 0x53, 0x53, 0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45,
439 0x44, 0x10, 0x0c, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x5f, 0x43,
440 0x41, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x0d, 0x22, 0xc5, 0x01, 0x0a,
441 0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74,
442 0x12, 0x4f, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65,
443 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
444 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e,
445 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74,
446 0x48, 0x00, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e,
447 0x74, 0x12, 0x58, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
448 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
449 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e,
450 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65,
451 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74,
452 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x65,
453 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
454 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
455 0x2e, 0x76, 0x31, 0x42, 0x14, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x45,
456 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f,
457 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
458 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63,
459 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
460 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
461 }
462
463 var (
464 file_google_cloud_channel_v1_subscriber_event_proto_rawDescOnce sync.Once
465 file_google_cloud_channel_v1_subscriber_event_proto_rawDescData = file_google_cloud_channel_v1_subscriber_event_proto_rawDesc
466 )
467
468 func file_google_cloud_channel_v1_subscriber_event_proto_rawDescGZIP() []byte {
469 file_google_cloud_channel_v1_subscriber_event_proto_rawDescOnce.Do(func() {
470 file_google_cloud_channel_v1_subscriber_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_subscriber_event_proto_rawDescData)
471 })
472 return file_google_cloud_channel_v1_subscriber_event_proto_rawDescData
473 }
474
475 var file_google_cloud_channel_v1_subscriber_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
476 var file_google_cloud_channel_v1_subscriber_event_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
477 var file_google_cloud_channel_v1_subscriber_event_proto_goTypes = []any{
478 (CustomerEvent_Type)(0), // 0: google.cloud.channel.v1.CustomerEvent.Type
479 (EntitlementEvent_Type)(0), // 1: google.cloud.channel.v1.EntitlementEvent.Type
480 (*CustomerEvent)(nil), // 2: google.cloud.channel.v1.CustomerEvent
481 (*EntitlementEvent)(nil), // 3: google.cloud.channel.v1.EntitlementEvent
482 (*SubscriberEvent)(nil), // 4: google.cloud.channel.v1.SubscriberEvent
483 }
484 var file_google_cloud_channel_v1_subscriber_event_proto_depIdxs = []int32{
485 0, // 0: google.cloud.channel.v1.CustomerEvent.event_type:type_name -> google.cloud.channel.v1.CustomerEvent.Type
486 1, // 1: google.cloud.channel.v1.EntitlementEvent.event_type:type_name -> google.cloud.channel.v1.EntitlementEvent.Type
487 2, // 2: google.cloud.channel.v1.SubscriberEvent.customer_event:type_name -> google.cloud.channel.v1.CustomerEvent
488 3, // 3: google.cloud.channel.v1.SubscriberEvent.entitlement_event:type_name -> google.cloud.channel.v1.EntitlementEvent
489 4, // [4:4] is the sub-list for method output_type
490 4, // [4:4] is the sub-list for method input_type
491 4, // [4:4] is the sub-list for extension type_name
492 4, // [4:4] is the sub-list for extension extendee
493 0, // [0:4] is the sub-list for field type_name
494 }
495
496 func init() { file_google_cloud_channel_v1_subscriber_event_proto_init() }
497 func file_google_cloud_channel_v1_subscriber_event_proto_init() {
498 if File_google_cloud_channel_v1_subscriber_event_proto != nil {
499 return
500 }
501 file_google_cloud_channel_v1_subscriber_event_proto_msgTypes[2].OneofWrappers = []any{
502 (*SubscriberEvent_CustomerEvent)(nil),
503 (*SubscriberEvent_EntitlementEvent)(nil),
504 }
505 type x struct{}
506 out := protoimpl.TypeBuilder{
507 File: protoimpl.DescBuilder{
508 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
509 RawDescriptor: file_google_cloud_channel_v1_subscriber_event_proto_rawDesc,
510 NumEnums: 2,
511 NumMessages: 3,
512 NumExtensions: 0,
513 NumServices: 0,
514 },
515 GoTypes: file_google_cloud_channel_v1_subscriber_event_proto_goTypes,
516 DependencyIndexes: file_google_cloud_channel_v1_subscriber_event_proto_depIdxs,
517 EnumInfos: file_google_cloud_channel_v1_subscriber_event_proto_enumTypes,
518 MessageInfos: file_google_cloud_channel_v1_subscriber_event_proto_msgTypes,
519 }.Build()
520 File_google_cloud_channel_v1_subscriber_event_proto = out.File
521 file_google_cloud_channel_v1_subscriber_event_proto_rawDesc = nil
522 file_google_cloud_channel_v1_subscriber_event_proto_goTypes = nil
523 file_google_cloud_channel_v1_subscriber_event_proto_depIdxs = nil
524 }