Debian Codegraph @

eventarc/apiv1/eventarcpb/channel.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/eventarc/v1/channel.proto
20
21 package eventarcpb
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 // State lists all the possible states of a Channel
40 type Channel_State int32
41
42 const (
43 // Default value. This value is unused.
44 Channel_STATE_UNSPECIFIED Channel_State = 0
45 // The PENDING state indicates that a Channel has been created successfully
46 // and there is a new activation token available for the subscriber to use
47 // to convey the Channel to the provider in order to create a Connection.
48 Channel_PENDING Channel_State = 1
49 // The ACTIVE state indicates that a Channel has been successfully
50 // connected with the event provider.
51 // An ACTIVE Channel is ready to receive and route events from the
52 // event provider.
53 Channel_ACTIVE Channel_State = 2
54 // The INACTIVE state indicates that the Channel cannot receive events
55 // permanently. There are two possible cases this state can happen:
56 //
57 // 1. The SaaS provider disconnected from this Channel.
58 // 2. The Channel activation token has expired but the SaaS provider
59 // wasn't connected.
60 //
61 // To re-establish a Connection with a provider, the subscriber
62 // should create a new Channel and give it to the provider.
63 Channel_INACTIVE Channel_State = 3
64 )
65
66 // Enum value maps for Channel_State.
67 var (
68 Channel_State_name = map[int32]string{
69 0: "STATE_UNSPECIFIED",
70 1: "PENDING",
71 2: "ACTIVE",
72 3: "INACTIVE",
73 }
74 Channel_State_value = map[string]int32{
75 "STATE_UNSPECIFIED": 0,
76 "PENDING": 1,
77 "ACTIVE": 2,
78 "INACTIVE": 3,
79 }
80 )
81
82 func (x Channel_State) Enum() *Channel_State {
83 p := new(Channel_State)
84 *p = x
85 return p
86 }
87
88 func (x Channel_State) String() string {
89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
90 }
91
92 func (Channel_State) Descriptor() protoreflect.EnumDescriptor {
93 return file_google_cloud_eventarc_v1_channel_proto_enumTypes[0].Descriptor()
94 }
95
96 func (Channel_State) Type() protoreflect.EnumType {
97 return &file_google_cloud_eventarc_v1_channel_proto_enumTypes[0]
98 }
99
100 func (x Channel_State) Number() protoreflect.EnumNumber {
101 return protoreflect.EnumNumber(x)
102 }
103
104 // Deprecated: Use Channel_State.Descriptor instead.
105 func (Channel_State) EnumDescriptor() ([]byte, []int) {
106 return file_google_cloud_eventarc_v1_channel_proto_rawDescGZIP(), []int{0, 0}
107 }
108
109 // A representation of the Channel resource.
110 // A Channel is a resource on which event providers publish their events.
111 // The published events are delivered through the transport associated with the
112 // channel. Note that a channel is associated with exactly one event provider.
113 type Channel struct {
114 state protoimpl.MessageState
115 sizeCache protoimpl.SizeCache
116 unknownFields protoimpl.UnknownFields
117
118 // Required. The resource name of the channel. Must be unique within the
119 // location on the project and must be in
120 // `projects/{project}/locations/{location}/channels/{channel_id}` format.
121 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
122 // Output only. Server assigned unique identifier for the channel. The value
123 // is a UUID4 string and guaranteed to remain unchanged until the resource is
124 // deleted.
125 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
126 // Output only. The creation time.
127 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
128 // Output only. The last-modified time.
129 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
130 // The name of the event provider (e.g. Eventarc SaaS partner) associated
131 // with the channel. This provider will be granted permissions to publish
132 // events to the channel. Format:
133 // `projects/{project}/locations/{location}/providers/{provider_id}`.
134 Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
135 // Types that are assignable to Transport:
136 //
137 // *Channel_PubsubTopic
138 Transport isChannel_Transport `protobuf_oneof:"transport"`
139 // Output only. The state of a Channel.
140 State Channel_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.eventarc.v1.Channel_State" json:"state,omitempty"`
141 // Output only. The activation token for the channel. The token must be used
142 // by the provider to register the channel for publishing.
143 ActivationToken string `protobuf:"bytes,10,opt,name=activation_token,json=activationToken,proto3" json:"activation_token,omitempty"`
144 // Optional. Resource name of a KMS crypto key (managed by the user) used to
145 // encrypt/decrypt their event data.
146 //
147 // It must match the pattern
148 // `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
149 CryptoKeyName string `protobuf:"bytes,11,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
150 // Output only. Whether or not this Channel satisfies the requirements of
151 // physical zone separation
152 SatisfiesPzs bool `protobuf:"varint,12,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
153 // Optional. Resource labels.
154 Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
155 }
156
157 func (x *Channel) Reset() {
158 *x = Channel{}
159 mi := &file_google_cloud_eventarc_v1_channel_proto_msgTypes[0]
160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161 ms.StoreMessageInfo(mi)
162 }
163
164 func (x *Channel) String() string {
165 return protoimpl.X.MessageStringOf(x)
166 }
167
168 func (*Channel) ProtoMessage() {}
169
170 func (x *Channel) ProtoReflect() protoreflect.Message {
171 mi := &file_google_cloud_eventarc_v1_channel_proto_msgTypes[0]
172 if x != nil {
173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
174 if ms.LoadMessageInfo() == nil {
175 ms.StoreMessageInfo(mi)
176 }
177 return ms
178 }
179 return mi.MessageOf(x)
180 }
181
182 // Deprecated: Use Channel.ProtoReflect.Descriptor instead.
183 func (*Channel) Descriptor() ([]byte, []int) {
184 return file_google_cloud_eventarc_v1_channel_proto_rawDescGZIP(), []int{0}
185 }
186
187 func (x *Channel) GetName() string {
188 if x != nil {
189 return x.Name
190 }
191 return ""
192 }
193
194 func (x *Channel) GetUid() string {
195 if x != nil {
196 return x.Uid
197 }
198 return ""
199 }
200
201 func (x *Channel) GetCreateTime() *timestamppb.Timestamp {
202 if x != nil {
203 return x.CreateTime
204 }
205 return nil
206 }
207
208 func (x *Channel) GetUpdateTime() *timestamppb.Timestamp {
209 if x != nil {
210 return x.UpdateTime
211 }
212 return nil
213 }
214
215 func (x *Channel) GetProvider() string {
216 if x != nil {
217 return x.Provider
218 }
219 return ""
220 }
221
222 func (m *Channel) GetTransport() isChannel_Transport {
223 if m != nil {
224 return m.Transport
225 }
226 return nil
227 }
228
229 func (x *Channel) GetPubsubTopic() string {
230 if x, ok := x.GetTransport().(*Channel_PubsubTopic); ok {
231 return x.PubsubTopic
232 }
233 return ""
234 }
235
236 func (x *Channel) GetState() Channel_State {
237 if x != nil {
238 return x.State
239 }
240 return Channel_STATE_UNSPECIFIED
241 }
242
243 func (x *Channel) GetActivationToken() string {
244 if x != nil {
245 return x.ActivationToken
246 }
247 return ""
248 }
249
250 func (x *Channel) GetCryptoKeyName() string {
251 if x != nil {
252 return x.CryptoKeyName
253 }
254 return ""
255 }
256
257 func (x *Channel) GetSatisfiesPzs() bool {
258 if x != nil {
259 return x.SatisfiesPzs
260 }
261 return false
262 }
263
264 func (x *Channel) GetLabels() map[string]string {
265 if x != nil {
266 return x.Labels
267 }
268 return nil
269 }
270
271 type isChannel_Transport interface {
272 isChannel_Transport()
273 }
274
275 type Channel_PubsubTopic struct {
276 // Output only. The name of the Pub/Sub topic created and managed by
277 // Eventarc system as a transport for the event delivery. Format:
278 // `projects/{project}/topics/{topic_id}`.
279 PubsubTopic string `protobuf:"bytes,8,opt,name=pubsub_topic,json=pubsubTopic,proto3,oneof"`
280 }
281
282 func (*Channel_PubsubTopic) isChannel_Transport() {}
283
284 var File_google_cloud_eventarc_v1_channel_proto protoreflect.FileDescriptor
285
286 var file_google_cloud_eventarc_v1_channel_proto_rawDesc = []byte{
287 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
288 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e,
289 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
290 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e,
291 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
292 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
293 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
294 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
295 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
296 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
297 0xc4, 0x06, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x04, 0x6e,
298 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
299 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
300 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63,
301 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
302 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
303 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
304 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a,
305 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
306 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
307 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
308 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
309 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
310 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0c, 0x70,
311 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28,
312 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62,
313 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09,
314 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
315 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e,
316 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0,
317 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x10, 0x61, 0x63, 0x74,
318 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0a, 0x20,
319 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61,
320 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x51, 0x0a, 0x0f, 0x63, 0x72, 0x79,
321 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
322 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75,
323 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
324 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x63,
325 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d,
326 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x73, 0x18, 0x0c, 0x20,
327 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66,
328 0x69, 0x65, 0x73, 0x50, 0x7a, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
329 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
330 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76,
331 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
332 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
333 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
334 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
335 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
336 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x45, 0x0a,
337 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,
338 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a,
339 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43,
340 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49,
341 0x56, 0x45, 0x10, 0x03, 0x3a, 0x73, 0xea, 0x41, 0x70, 0x0a, 0x1f, 0x65, 0x76, 0x65, 0x6e, 0x74,
342 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
343 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x3a, 0x70, 0x72, 0x6f, 0x6a,
344 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
345 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
346 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x63, 0x68,
347 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x2a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
348 0x32, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x0b, 0x0a, 0x09, 0x74, 0x72, 0x61,
349 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x42, 0xbc, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
350 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e,
351 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
352 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
353 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x76, 0x65,
354 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e,
355 0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x70,
356 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
357 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x47,
358 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x76, 0x65, 0x6e,
359 0x74, 0x61, 0x72, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
360 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72,
361 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
362 }
363
364 var (
365 file_google_cloud_eventarc_v1_channel_proto_rawDescOnce sync.Once
366 file_google_cloud_eventarc_v1_channel_proto_rawDescData = file_google_cloud_eventarc_v1_channel_proto_rawDesc
367 )
368
369 func file_google_cloud_eventarc_v1_channel_proto_rawDescGZIP() []byte {
370 file_google_cloud_eventarc_v1_channel_proto_rawDescOnce.Do(func() {
371 file_google_cloud_eventarc_v1_channel_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_v1_channel_proto_rawDescData)
372 })
373 return file_google_cloud_eventarc_v1_channel_proto_rawDescData
374 }
375
376 var file_google_cloud_eventarc_v1_channel_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
377 var file_google_cloud_eventarc_v1_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
378 var file_google_cloud_eventarc_v1_channel_proto_goTypes = []any{
379 (Channel_State)(0), // 0: google.cloud.eventarc.v1.Channel.State
380 (*Channel)(nil), // 1: google.cloud.eventarc.v1.Channel
381 nil, // 2: google.cloud.eventarc.v1.Channel.LabelsEntry
382 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
383 }
384 var file_google_cloud_eventarc_v1_channel_proto_depIdxs = []int32{
385 3, // 0: google.cloud.eventarc.v1.Channel.create_time:type_name -> google.protobuf.Timestamp
386 3, // 1: google.cloud.eventarc.v1.Channel.update_time:type_name -> google.protobuf.Timestamp
387 0, // 2: google.cloud.eventarc.v1.Channel.state:type_name -> google.cloud.eventarc.v1.Channel.State
388 2, // 3: google.cloud.eventarc.v1.Channel.labels:type_name -> google.cloud.eventarc.v1.Channel.LabelsEntry
389 4, // [4:4] is the sub-list for method output_type
390 4, // [4:4] is the sub-list for method input_type
391 4, // [4:4] is the sub-list for extension type_name
392 4, // [4:4] is the sub-list for extension extendee
393 0, // [0:4] is the sub-list for field type_name
394 }
395
396 func init() { file_google_cloud_eventarc_v1_channel_proto_init() }
397 func file_google_cloud_eventarc_v1_channel_proto_init() {
398 if File_google_cloud_eventarc_v1_channel_proto != nil {
399 return
400 }
401 file_google_cloud_eventarc_v1_channel_proto_msgTypes[0].OneofWrappers = []any{
402 (*Channel_PubsubTopic)(nil),
403 }
404 type x struct{}
405 out := protoimpl.TypeBuilder{
406 File: protoimpl.DescBuilder{
407 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
408 RawDescriptor: file_google_cloud_eventarc_v1_channel_proto_rawDesc,
409 NumEnums: 1,
410 NumMessages: 2,
411 NumExtensions: 0,
412 NumServices: 0,
413 },
414 GoTypes: file_google_cloud_eventarc_v1_channel_proto_goTypes,
415 DependencyIndexes: file_google_cloud_eventarc_v1_channel_proto_depIdxs,
416 EnumInfos: file_google_cloud_eventarc_v1_channel_proto_enumTypes,
417 MessageInfos: file_google_cloud_eventarc_v1_channel_proto_msgTypes,
418 }.Build()
419 File_google_cloud_eventarc_v1_channel_proto = out.File
420 file_google_cloud_eventarc_v1_channel_proto_rawDesc = nil
421 file_google_cloud_eventarc_v1_channel_proto_goTypes = nil
422 file_google_cloud_eventarc_v1_channel_proto_depIdxs = nil
423 }