Debian Codegraph @

eventarc/publishing/apiv1/publishingpb/publisher.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/publishing/v1/publisher.proto
20
21 package publishingpb
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 anypb "google.golang.org/protobuf/types/known/anypb"
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 // The request message for the PublishChannelConnectionEvents method.
40 type PublishChannelConnectionEventsRequest struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // The channel_connection that the events are published from. For example:
46 // `projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
47 ChannelConnection string `protobuf:"bytes,1,opt,name=channel_connection,json=channelConnection,proto3" json:"channel_connection,omitempty"`
48 // The CloudEvents v1.0 events to publish. No other types are allowed.
49 // If this field is set, then the `text_events` fields must not be set.
50 Events []*anypb.Any `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
51 // The text representation of events to publish.
52 // CloudEvent v1.0 in JSON format is the only allowed type. Refer to
53 // https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
54 // for specification.
55 // If this field is set, then the `events` fields must not be set.
56 TextEvents []string `protobuf:"bytes,3,rep,name=text_events,json=textEvents,proto3" json:"text_events,omitempty"`
57 }
58
59 func (x *PublishChannelConnectionEventsRequest) Reset() {
60 *x = PublishChannelConnectionEventsRequest{}
61 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65
66 func (x *PublishChannelConnectionEventsRequest) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*PublishChannelConnectionEventsRequest) ProtoMessage() {}
71
72 func (x *PublishChannelConnectionEventsRequest) ProtoReflect() protoreflect.Message {
73 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[0]
74 if x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use PublishChannelConnectionEventsRequest.ProtoReflect.Descriptor instead.
85 func (*PublishChannelConnectionEventsRequest) Descriptor() ([]byte, []int) {
86 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *PublishChannelConnectionEventsRequest) GetChannelConnection() string {
90 if x != nil {
91 return x.ChannelConnection
92 }
93 return ""
94 }
95
96 func (x *PublishChannelConnectionEventsRequest) GetEvents() []*anypb.Any {
97 if x != nil {
98 return x.Events
99 }
100 return nil
101 }
102
103 func (x *PublishChannelConnectionEventsRequest) GetTextEvents() []string {
104 if x != nil {
105 return x.TextEvents
106 }
107 return nil
108 }
109
110 // The response message for the PublishChannelConnectionEvents method.
111 type PublishChannelConnectionEventsResponse struct {
112 state protoimpl.MessageState
113 sizeCache protoimpl.SizeCache
114 unknownFields protoimpl.UnknownFields
115 }
116
117 func (x *PublishChannelConnectionEventsResponse) Reset() {
118 *x = PublishChannelConnectionEventsResponse{}
119 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[1]
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 ms.StoreMessageInfo(mi)
122 }
123
124 func (x *PublishChannelConnectionEventsResponse) String() string {
125 return protoimpl.X.MessageStringOf(x)
126 }
127
128 func (*PublishChannelConnectionEventsResponse) ProtoMessage() {}
129
130 func (x *PublishChannelConnectionEventsResponse) ProtoReflect() protoreflect.Message {
131 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[1]
132 if x != nil {
133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134 if ms.LoadMessageInfo() == nil {
135 ms.StoreMessageInfo(mi)
136 }
137 return ms
138 }
139 return mi.MessageOf(x)
140 }
141
142 // Deprecated: Use PublishChannelConnectionEventsResponse.ProtoReflect.Descriptor instead.
143 func (*PublishChannelConnectionEventsResponse) Descriptor() ([]byte, []int) {
144 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{1}
145 }
146
147 // The request message for the PublishEvents method.
148 type PublishEventsRequest struct {
149 state protoimpl.MessageState
150 sizeCache protoimpl.SizeCache
151 unknownFields protoimpl.UnknownFields
152
153 // The full name of the channel to publish to. For example:
154 // `projects/{project}/locations/{location}/channels/{channel-id}`.
155 Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
156 // The CloudEvents v1.0 events to publish. No other types are allowed.
157 // If this field is set, then the `text_events` fields must not be set.
158 Events []*anypb.Any `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
159 // The text representation of events to publish.
160 // CloudEvent v1.0 in JSON format is the only allowed type. Refer to
161 // https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
162 // for specification.
163 // If this field is set, then the `events` fields must not be set.
164 TextEvents []string `protobuf:"bytes,3,rep,name=text_events,json=textEvents,proto3" json:"text_events,omitempty"`
165 }
166
167 func (x *PublishEventsRequest) Reset() {
168 *x = PublishEventsRequest{}
169 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[2]
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 ms.StoreMessageInfo(mi)
172 }
173
174 func (x *PublishEventsRequest) String() string {
175 return protoimpl.X.MessageStringOf(x)
176 }
177
178 func (*PublishEventsRequest) ProtoMessage() {}
179
180 func (x *PublishEventsRequest) ProtoReflect() protoreflect.Message {
181 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[2]
182 if x != nil {
183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184 if ms.LoadMessageInfo() == nil {
185 ms.StoreMessageInfo(mi)
186 }
187 return ms
188 }
189 return mi.MessageOf(x)
190 }
191
192 // Deprecated: Use PublishEventsRequest.ProtoReflect.Descriptor instead.
193 func (*PublishEventsRequest) Descriptor() ([]byte, []int) {
194 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{2}
195 }
196
197 func (x *PublishEventsRequest) GetChannel() string {
198 if x != nil {
199 return x.Channel
200 }
201 return ""
202 }
203
204 func (x *PublishEventsRequest) GetEvents() []*anypb.Any {
205 if x != nil {
206 return x.Events
207 }
208 return nil
209 }
210
211 func (x *PublishEventsRequest) GetTextEvents() []string {
212 if x != nil {
213 return x.TextEvents
214 }
215 return nil
216 }
217
218 // The response message for the PublishEvents method.
219 type PublishEventsResponse struct {
220 state protoimpl.MessageState
221 sizeCache protoimpl.SizeCache
222 unknownFields protoimpl.UnknownFields
223 }
224
225 func (x *PublishEventsResponse) Reset() {
226 *x = PublishEventsResponse{}
227 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[3]
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 ms.StoreMessageInfo(mi)
230 }
231
232 func (x *PublishEventsResponse) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*PublishEventsResponse) ProtoMessage() {}
237
238 func (x *PublishEventsResponse) ProtoReflect() protoreflect.Message {
239 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[3]
240 if x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use PublishEventsResponse.ProtoReflect.Descriptor instead.
251 func (*PublishEventsResponse) Descriptor() ([]byte, []int) {
252 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{3}
253 }
254
255 // The request message for the Publish method.
256 type PublishRequest struct {
257 state protoimpl.MessageState
258 sizeCache protoimpl.SizeCache
259 unknownFields protoimpl.UnknownFields
260
261 // Required. The full name of the message bus to publish events to. Format:
262 // `projects/{project}/locations/{location}/messageBuses/{messageBus}`.
263 MessageBus string `protobuf:"bytes,1,opt,name=message_bus,json=messageBus,proto3" json:"message_bus,omitempty"`
264 // Types that are assignable to Format:
265 //
266 // *PublishRequest_ProtoMessage_
267 // *PublishRequest_JsonMessage
268 // *PublishRequest_AvroMessage
269 Format isPublishRequest_Format `protobuf_oneof:"format"`
270 }
271
272 func (x *PublishRequest) Reset() {
273 *x = PublishRequest{}
274 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[4]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277 }
278
279 func (x *PublishRequest) String() string {
280 return protoimpl.X.MessageStringOf(x)
281 }
282
283 func (*PublishRequest) ProtoMessage() {}
284
285 func (x *PublishRequest) ProtoReflect() protoreflect.Message {
286 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[4]
287 if x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295 }
296
297 // Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
298 func (*PublishRequest) Descriptor() ([]byte, []int) {
299 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{4}
300 }
301
302 func (x *PublishRequest) GetMessageBus() string {
303 if x != nil {
304 return x.MessageBus
305 }
306 return ""
307 }
308
309 func (m *PublishRequest) GetFormat() isPublishRequest_Format {
310 if m != nil {
311 return m.Format
312 }
313 return nil
314 }
315
316 func (x *PublishRequest) GetProtoMessage_() *CloudEvent {
317 if x, ok := x.GetFormat().(*PublishRequest_ProtoMessage_); ok {
318 return x.ProtoMessage_
319 }
320 return nil
321 }
322
323 func (x *PublishRequest) GetJsonMessage() string {
324 if x, ok := x.GetFormat().(*PublishRequest_JsonMessage); ok {
325 return x.JsonMessage
326 }
327 return ""
328 }
329
330 func (x *PublishRequest) GetAvroMessage() []byte {
331 if x, ok := x.GetFormat().(*PublishRequest_AvroMessage); ok {
332 return x.AvroMessage
333 }
334 return nil
335 }
336
337 type isPublishRequest_Format interface {
338 isPublishRequest_Format()
339 }
340
341 type PublishRequest_ProtoMessage_ struct {
342 // The Protobuf format of the CloudEvent being published. Specification can
343 // be found here:
344 // https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
345 ProtoMessage_ *CloudEvent `protobuf:"bytes,2,opt,name=proto_message,json=protoMessage,proto3,oneof"`
346 }
347
348 type PublishRequest_JsonMessage struct {
349 // The JSON format of the CloudEvent being published. Specification can be
350 // found here:
351 // https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
352 JsonMessage string `protobuf:"bytes,3,opt,name=json_message,json=jsonMessage,proto3,oneof"`
353 }
354
355 type PublishRequest_AvroMessage struct {
356 // The Avro format of the CloudEvent being published. Specification can
357 // be found here:
358 // https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
359 AvroMessage []byte `protobuf:"bytes,4,opt,name=avro_message,json=avroMessage,proto3,oneof"`
360 }
361
362 func (*PublishRequest_ProtoMessage_) isPublishRequest_Format() {}
363
364 func (*PublishRequest_JsonMessage) isPublishRequest_Format() {}
365
366 func (*PublishRequest_AvroMessage) isPublishRequest_Format() {}
367
368 // The response message for the Publish method.
369 type PublishResponse struct {
370 state protoimpl.MessageState
371 sizeCache protoimpl.SizeCache
372 unknownFields protoimpl.UnknownFields
373 }
374
375 func (x *PublishResponse) Reset() {
376 *x = PublishResponse{}
377 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[5]
378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379 ms.StoreMessageInfo(mi)
380 }
381
382 func (x *PublishResponse) String() string {
383 return protoimpl.X.MessageStringOf(x)
384 }
385
386 func (*PublishResponse) ProtoMessage() {}
387
388 func (x *PublishResponse) ProtoReflect() protoreflect.Message {
389 mi := &file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[5]
390 if x != nil {
391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392 if ms.LoadMessageInfo() == nil {
393 ms.StoreMessageInfo(mi)
394 }
395 return ms
396 }
397 return mi.MessageOf(x)
398 }
399
400 // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
401 func (*PublishResponse) Descriptor() ([]byte, []int) {
402 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP(), []int{5}
403 }
404
405 var File_google_cloud_eventarc_publishing_v1_publisher_proto protoreflect.FileDescriptor
406
407 var file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDesc = []byte{
408 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
409 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69,
410 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x2e,
411 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
412 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62,
413 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
414 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
415 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
416 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
417 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
418 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
419 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
420 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
421 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x76,
422 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e,
423 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74,
424 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
425 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
426 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x25, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x43, 0x68, 0x61,
427 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76,
428 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x63,
429 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
430 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
431 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x76,
432 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
433 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
434 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74,
435 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x74,
436 0x65, 0x78, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x28, 0x0a, 0x26, 0x50, 0x75, 0x62,
437 0x6c, 0x69, 0x73, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
438 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
439 0x6e, 0x73, 0x65, 0x22, 0x7f, 0x0a, 0x14, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76,
440 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
441 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68,
442 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18,
443 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
444 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65,
445 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e,
446 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x45, 0x76,
447 0x65, 0x6e, 0x74, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45,
448 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe2, 0x01,
449 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
450 0x12, 0x24, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x75, 0x73, 0x18,
451 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73,
452 0x61, 0x67, 0x65, 0x42, 0x75, 0x73, 0x12, 0x56, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f,
453 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
454 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65,
455 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67,
456 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00,
457 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23,
458 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03,
459 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73,
460 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x61, 0x76, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73,
461 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x76, 0x72,
462 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d,
463 0x61, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73,
464 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x93, 0x06, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
465 0x68, 0x65, 0x72, 0x12, 0x98, 0x02, 0x0a, 0x1e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x43,
466 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
467 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
468 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70,
469 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62,
470 0x6c, 0x69, 0x73, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
471 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
472 0x73, 0x74, 0x1a, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
473 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
474 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
475 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
476 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
477 0x5d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x57, 0x3a, 0x01, 0x2a, 0x22, 0x52, 0x2f, 0x76, 0x31, 0x2f,
478 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
479 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
480 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e,
481 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
482 0x3a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xd0,
483 0x01, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
484 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
485 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
486 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76,
487 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f,
488 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74,
489 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76,
490 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52,
491 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x3a,
492 0x01, 0x2a, 0x22, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
493 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
494 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
495 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74,
496 0x73, 0x12, 0xc0, 0x01, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0x33, 0x2e,
497 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65,
498 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67,
499 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
500 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
501 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
502 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
503 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44,
504 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
505 0x65, 0x5f, 0x62, 0x75, 0x73, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
506 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x73,
507 0x73, 0x61, 0x67, 0x65, 0x42, 0x75, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x75, 0x62,
508 0x6c, 0x69, 0x73, 0x68, 0x1a, 0x55, 0xca, 0x41, 0x21, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72,
509 0x63, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
510 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74,
511 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
512 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f,
513 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xfa, 0x01, 0x0a, 0x27,
514 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
515 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
516 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
517 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x63, 0x6c, 0x6f, 0x75, 0x64,
518 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x65,
519 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69,
520 0x6e, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
521 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67,
522 0x70, 0x62, 0xaa, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
523 0x64, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69,
524 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
525 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63,
526 0x5c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02,
527 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
528 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x3a, 0x3a, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
529 0x68, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
530 }
531
532 var (
533 file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescOnce sync.Once
534 file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescData = file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDesc
535 )
536
537 func file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescGZIP() []byte {
538 file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescOnce.Do(func() {
539 file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescData)
540 })
541 return file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDescData
542 }
543
544 var file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
545 var file_google_cloud_eventarc_publishing_v1_publisher_proto_goTypes = []any{
546 (*PublishChannelConnectionEventsRequest)(nil), // 0: google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest
547 (*PublishChannelConnectionEventsResponse)(nil), // 1: google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsResponse
548 (*PublishEventsRequest)(nil), // 2: google.cloud.eventarc.publishing.v1.PublishEventsRequest
549 (*PublishEventsResponse)(nil), // 3: google.cloud.eventarc.publishing.v1.PublishEventsResponse
550 (*PublishRequest)(nil), // 4: google.cloud.eventarc.publishing.v1.PublishRequest
551 (*PublishResponse)(nil), // 5: google.cloud.eventarc.publishing.v1.PublishResponse
552 (*anypb.Any)(nil), // 6: google.protobuf.Any
553 (*CloudEvent)(nil), // 7: google.cloud.eventarc.publishing.v1.CloudEvent
554 }
555 var file_google_cloud_eventarc_publishing_v1_publisher_proto_depIdxs = []int32{
556 6, // 0: google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest.events:type_name -> google.protobuf.Any
557 6, // 1: google.cloud.eventarc.publishing.v1.PublishEventsRequest.events:type_name -> google.protobuf.Any
558 7, // 2: google.cloud.eventarc.publishing.v1.PublishRequest.proto_message:type_name -> google.cloud.eventarc.publishing.v1.CloudEvent
559 0, // 3: google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents:input_type -> google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest
560 2, // 4: google.cloud.eventarc.publishing.v1.Publisher.PublishEvents:input_type -> google.cloud.eventarc.publishing.v1.PublishEventsRequest
561 4, // 5: google.cloud.eventarc.publishing.v1.Publisher.Publish:input_type -> google.cloud.eventarc.publishing.v1.PublishRequest
562 1, // 6: google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents:output_type -> google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsResponse
563 3, // 7: google.cloud.eventarc.publishing.v1.Publisher.PublishEvents:output_type -> google.cloud.eventarc.publishing.v1.PublishEventsResponse
564 5, // 8: google.cloud.eventarc.publishing.v1.Publisher.Publish:output_type -> google.cloud.eventarc.publishing.v1.PublishResponse
565 6, // [6:9] is the sub-list for method output_type
566 3, // [3:6] is the sub-list for method input_type
567 3, // [3:3] is the sub-list for extension type_name
568 3, // [3:3] is the sub-list for extension extendee
569 0, // [0:3] is the sub-list for field type_name
570 }
571
572 func init() { file_google_cloud_eventarc_publishing_v1_publisher_proto_init() }
573 func file_google_cloud_eventarc_publishing_v1_publisher_proto_init() {
574 if File_google_cloud_eventarc_publishing_v1_publisher_proto != nil {
575 return
576 }
577 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_init()
578 file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes[4].OneofWrappers = []any{
579 (*PublishRequest_ProtoMessage_)(nil),
580 (*PublishRequest_JsonMessage)(nil),
581 (*PublishRequest_AvroMessage)(nil),
582 }
583 type x struct{}
584 out := protoimpl.TypeBuilder{
585 File: protoimpl.DescBuilder{
586 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
587 RawDescriptor: file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDesc,
588 NumEnums: 0,
589 NumMessages: 6,
590 NumExtensions: 0,
591 NumServices: 1,
592 },
593 GoTypes: file_google_cloud_eventarc_publishing_v1_publisher_proto_goTypes,
594 DependencyIndexes: file_google_cloud_eventarc_publishing_v1_publisher_proto_depIdxs,
595 MessageInfos: file_google_cloud_eventarc_publishing_v1_publisher_proto_msgTypes,
596 }.Build()
597 File_google_cloud_eventarc_publishing_v1_publisher_proto = out.File
598 file_google_cloud_eventarc_publishing_v1_publisher_proto_rawDesc = nil
599 file_google_cloud_eventarc_publishing_v1_publisher_proto_goTypes = nil
600 file_google_cloud_eventarc_publishing_v1_publisher_proto_depIdxs = nil
601 }