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