Debian Codegraph @

eventarc/publishing/apiv1/publishingpb/cloud_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/eventarc/publishing/v1/cloud_event.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
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 // CloudEvent represents a vendor-neutral specification for defining the format
41 // of event data.
42 type CloudEvent struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // Required. Identifies the event. Producers MUST ensure that source + id is
48 // unique for each distinct event.
49 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
50 // Required. Identifies the context in which an event happened.
51 // URI-reference
52 Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
53 // Required. The version of the CloudEvents specification which the event
54 // uses.
55 SpecVersion string `protobuf:"bytes,3,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"`
56 // Required. This attribute contains a value describing the type of event
57 // related to the originating occurrence.
58 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
59 // Optional. Used for Optional & Extension Attributes
60 Attributes map[string]*CloudEvent_CloudEventAttributeValue `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
61 // The event payload. It should be encoded into a media format which is
62 // specified by the 'datacontenttype' attribute (e.g. application/json), and
63 // adheres to the dataschema format when those respective attributes are
64 // present.
65 //
66 // Types that are assignable to Data:
67 //
68 // *CloudEvent_BinaryData
69 // *CloudEvent_TextData
70 // *CloudEvent_ProtoData
71 Data isCloudEvent_Data `protobuf_oneof:"data"`
72 }
73
74 func (x *CloudEvent) Reset() {
75 *x = CloudEvent{}
76 mi := &file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[0]
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 ms.StoreMessageInfo(mi)
79 }
80
81 func (x *CloudEvent) String() string {
82 return protoimpl.X.MessageStringOf(x)
83 }
84
85 func (*CloudEvent) ProtoMessage() {}
86
87 func (x *CloudEvent) ProtoReflect() protoreflect.Message {
88 mi := &file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[0]
89 if x != nil {
90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
91 if ms.LoadMessageInfo() == nil {
92 ms.StoreMessageInfo(mi)
93 }
94 return ms
95 }
96 return mi.MessageOf(x)
97 }
98
99 // Deprecated: Use CloudEvent.ProtoReflect.Descriptor instead.
100 func (*CloudEvent) Descriptor() ([]byte, []int) {
101 return file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescGZIP(), []int{0}
102 }
103
104 func (x *CloudEvent) GetId() string {
105 if x != nil {
106 return x.Id
107 }
108 return ""
109 }
110
111 func (x *CloudEvent) GetSource() string {
112 if x != nil {
113 return x.Source
114 }
115 return ""
116 }
117
118 func (x *CloudEvent) GetSpecVersion() string {
119 if x != nil {
120 return x.SpecVersion
121 }
122 return ""
123 }
124
125 func (x *CloudEvent) GetType() string {
126 if x != nil {
127 return x.Type
128 }
129 return ""
130 }
131
132 func (x *CloudEvent) GetAttributes() map[string]*CloudEvent_CloudEventAttributeValue {
133 if x != nil {
134 return x.Attributes
135 }
136 return nil
137 }
138
139 func (m *CloudEvent) GetData() isCloudEvent_Data {
140 if m != nil {
141 return m.Data
142 }
143 return nil
144 }
145
146 func (x *CloudEvent) GetBinaryData() []byte {
147 if x, ok := x.GetData().(*CloudEvent_BinaryData); ok {
148 return x.BinaryData
149 }
150 return nil
151 }
152
153 func (x *CloudEvent) GetTextData() string {
154 if x, ok := x.GetData().(*CloudEvent_TextData); ok {
155 return x.TextData
156 }
157 return ""
158 }
159
160 func (x *CloudEvent) GetProtoData() *anypb.Any {
161 if x, ok := x.GetData().(*CloudEvent_ProtoData); ok {
162 return x.ProtoData
163 }
164 return nil
165 }
166
167 type isCloudEvent_Data interface {
168 isCloudEvent_Data()
169 }
170
171 type CloudEvent_BinaryData struct {
172 // Optional. Binary data.
173 BinaryData []byte `protobuf:"bytes,6,opt,name=binary_data,json=binaryData,proto3,oneof"`
174 }
175
176 type CloudEvent_TextData struct {
177 // Optional. Text data.
178 TextData string `protobuf:"bytes,7,opt,name=text_data,json=textData,proto3,oneof"`
179 }
180
181 type CloudEvent_ProtoData struct {
182 // Optional. Proto data.
183 ProtoData *anypb.Any `protobuf:"bytes,8,opt,name=proto_data,json=protoData,proto3,oneof"`
184 }
185
186 func (*CloudEvent_BinaryData) isCloudEvent_Data() {}
187
188 func (*CloudEvent_TextData) isCloudEvent_Data() {}
189
190 func (*CloudEvent_ProtoData) isCloudEvent_Data() {}
191
192 // The following abstract data types are available for use in attributes.
193 type CloudEvent_CloudEventAttributeValue struct {
194 state protoimpl.MessageState
195 sizeCache protoimpl.SizeCache
196 unknownFields protoimpl.UnknownFields
197
198 // The value of the attribute.
199 //
200 // Types that are assignable to Attr:
201 //
202 // *CloudEvent_CloudEventAttributeValue_CeBoolean
203 // *CloudEvent_CloudEventAttributeValue_CeInteger
204 // *CloudEvent_CloudEventAttributeValue_CeString
205 // *CloudEvent_CloudEventAttributeValue_CeBytes
206 // *CloudEvent_CloudEventAttributeValue_CeUri
207 // *CloudEvent_CloudEventAttributeValue_CeUriRef
208 // *CloudEvent_CloudEventAttributeValue_CeTimestamp
209 Attr isCloudEvent_CloudEventAttributeValue_Attr `protobuf_oneof:"attr"`
210 }
211
212 func (x *CloudEvent_CloudEventAttributeValue) Reset() {
213 *x = CloudEvent_CloudEventAttributeValue{}
214 mi := &file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[1]
215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216 ms.StoreMessageInfo(mi)
217 }
218
219 func (x *CloudEvent_CloudEventAttributeValue) String() string {
220 return protoimpl.X.MessageStringOf(x)
221 }
222
223 func (*CloudEvent_CloudEventAttributeValue) ProtoMessage() {}
224
225 func (x *CloudEvent_CloudEventAttributeValue) ProtoReflect() protoreflect.Message {
226 mi := &file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[1]
227 if x != nil {
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 if ms.LoadMessageInfo() == nil {
230 ms.StoreMessageInfo(mi)
231 }
232 return ms
233 }
234 return mi.MessageOf(x)
235 }
236
237 // Deprecated: Use CloudEvent_CloudEventAttributeValue.ProtoReflect.Descriptor instead.
238 func (*CloudEvent_CloudEventAttributeValue) Descriptor() ([]byte, []int) {
239 return file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescGZIP(), []int{0, 0}
240 }
241
242 func (m *CloudEvent_CloudEventAttributeValue) GetAttr() isCloudEvent_CloudEventAttributeValue_Attr {
243 if m != nil {
244 return m.Attr
245 }
246 return nil
247 }
248
249 func (x *CloudEvent_CloudEventAttributeValue) GetCeBoolean() bool {
250 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeBoolean); ok {
251 return x.CeBoolean
252 }
253 return false
254 }
255
256 func (x *CloudEvent_CloudEventAttributeValue) GetCeInteger() int32 {
257 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeInteger); ok {
258 return x.CeInteger
259 }
260 return 0
261 }
262
263 func (x *CloudEvent_CloudEventAttributeValue) GetCeString() string {
264 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeString); ok {
265 return x.CeString
266 }
267 return ""
268 }
269
270 func (x *CloudEvent_CloudEventAttributeValue) GetCeBytes() []byte {
271 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeBytes); ok {
272 return x.CeBytes
273 }
274 return nil
275 }
276
277 func (x *CloudEvent_CloudEventAttributeValue) GetCeUri() string {
278 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeUri); ok {
279 return x.CeUri
280 }
281 return ""
282 }
283
284 func (x *CloudEvent_CloudEventAttributeValue) GetCeUriRef() string {
285 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeUriRef); ok {
286 return x.CeUriRef
287 }
288 return ""
289 }
290
291 func (x *CloudEvent_CloudEventAttributeValue) GetCeTimestamp() *timestamppb.Timestamp {
292 if x, ok := x.GetAttr().(*CloudEvent_CloudEventAttributeValue_CeTimestamp); ok {
293 return x.CeTimestamp
294 }
295 return nil
296 }
297
298 type isCloudEvent_CloudEventAttributeValue_Attr interface {
299 isCloudEvent_CloudEventAttributeValue_Attr()
300 }
301
302 type CloudEvent_CloudEventAttributeValue_CeBoolean struct {
303 // Boolean value.
304 CeBoolean bool `protobuf:"varint,1,opt,name=ce_boolean,json=ceBoolean,proto3,oneof"`
305 }
306
307 type CloudEvent_CloudEventAttributeValue_CeInteger struct {
308 // Integer value.
309 CeInteger int32 `protobuf:"varint,2,opt,name=ce_integer,json=ceInteger,proto3,oneof"`
310 }
311
312 type CloudEvent_CloudEventAttributeValue_CeString struct {
313 // String value.
314 CeString string `protobuf:"bytes,3,opt,name=ce_string,json=ceString,proto3,oneof"`
315 }
316
317 type CloudEvent_CloudEventAttributeValue_CeBytes struct {
318 // Bytes value.
319 CeBytes []byte `protobuf:"bytes,4,opt,name=ce_bytes,json=ceBytes,proto3,oneof"`
320 }
321
322 type CloudEvent_CloudEventAttributeValue_CeUri struct {
323 // URI value.
324 CeUri string `protobuf:"bytes,5,opt,name=ce_uri,json=ceUri,proto3,oneof"`
325 }
326
327 type CloudEvent_CloudEventAttributeValue_CeUriRef struct {
328 // URI-reference value.
329 CeUriRef string `protobuf:"bytes,6,opt,name=ce_uri_ref,json=ceUriRef,proto3,oneof"`
330 }
331
332 type CloudEvent_CloudEventAttributeValue_CeTimestamp struct {
333 // Timestamp value.
334 CeTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ce_timestamp,json=ceTimestamp,proto3,oneof"`
335 }
336
337 func (*CloudEvent_CloudEventAttributeValue_CeBoolean) isCloudEvent_CloudEventAttributeValue_Attr() {}
338
339 func (*CloudEvent_CloudEventAttributeValue_CeInteger) isCloudEvent_CloudEventAttributeValue_Attr() {}
340
341 func (*CloudEvent_CloudEventAttributeValue_CeString) isCloudEvent_CloudEventAttributeValue_Attr() {}
342
343 func (*CloudEvent_CloudEventAttributeValue_CeBytes) isCloudEvent_CloudEventAttributeValue_Attr() {}
344
345 func (*CloudEvent_CloudEventAttributeValue_CeUri) isCloudEvent_CloudEventAttributeValue_Attr() {}
346
347 func (*CloudEvent_CloudEventAttributeValue_CeUriRef) isCloudEvent_CloudEventAttributeValue_Attr() {}
348
349 func (*CloudEvent_CloudEventAttributeValue_CeTimestamp) isCloudEvent_CloudEventAttributeValue_Attr() {
350 }
351
352 var File_google_cloud_eventarc_publishing_v1_cloud_event_proto protoreflect.FileDescriptor
353
354 var file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDesc = []byte{
355 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
356 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69,
357 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e,
358 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
359 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70,
360 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
361 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
362 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
363 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
364 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
365 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
366 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x06, 0x0a, 0x0a, 0x43, 0x6c,
367 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
368 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a,
369 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
370 0x41, 0x02, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x73, 0x70,
371 0x65, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
372 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69,
373 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
374 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x0a, 0x61,
375 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
376 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65,
377 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69,
378 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74,
379 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
380 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
381 0x73, 0x12, 0x26, 0x0a, 0x0b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61,
382 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x62,
383 0x69, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x09, 0x74, 0x65, 0x78,
384 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
385 0x01, 0x48, 0x00, 0x52, 0x08, 0x74, 0x65, 0x78, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a,
386 0x0a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
387 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
388 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x09,
389 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x9a, 0x02, 0x0a, 0x18, 0x43, 0x6c,
390 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
391 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x65, 0x5f, 0x62, 0x6f, 0x6f,
392 0x6c, 0x65, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x63, 0x65,
393 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x65, 0x5f, 0x69, 0x6e,
394 0x74, 0x65, 0x67, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x63,
395 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x09, 0x63, 0x65, 0x5f, 0x73,
396 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x63,
397 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x08, 0x63, 0x65, 0x5f, 0x62, 0x79,
398 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x65, 0x42,
399 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x06, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05,
400 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x1e, 0x0a,
401 0x0a, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28,
402 0x09, 0x48, 0x00, 0x52, 0x08, 0x63, 0x65, 0x55, 0x72, 0x69, 0x52, 0x65, 0x66, 0x12, 0x3f, 0x0a,
403 0x0c, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20,
404 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
405 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48,
406 0x00, 0x52, 0x0b, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x06,
407 0x0a, 0x04, 0x61, 0x74, 0x74, 0x72, 0x1a, 0x87, 0x01, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69,
408 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
409 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5e, 0x0a, 0x05,
410 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f,
411 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74,
412 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76,
413 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x6f,
414 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
415 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
416 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0xfb, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d,
417 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76,
418 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e,
419 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74,
420 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
421 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x76, 0x65,
422 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67,
423 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e,
424 0x67, 0x70, 0x62, 0x3b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x70, 0x62,
425 0xaa, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
426 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
427 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
428 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x5c, 0x50,
429 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x27, 0x47,
430 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x76,
431 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x3a, 0x3a, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69,
432 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
433 }
434
435 var (
436 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescOnce sync.Once
437 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescData = file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDesc
438 )
439
440 func file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescGZIP() []byte {
441 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescOnce.Do(func() {
442 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescData)
443 })
444 return file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDescData
445 }
446
447 var file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
448 var file_google_cloud_eventarc_publishing_v1_cloud_event_proto_goTypes = []any{
449 (*CloudEvent)(nil), // 0: google.cloud.eventarc.publishing.v1.CloudEvent
450 (*CloudEvent_CloudEventAttributeValue)(nil), // 1: google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue
451 nil, // 2: google.cloud.eventarc.publishing.v1.CloudEvent.AttributesEntry
452 (*anypb.Any)(nil), // 3: google.protobuf.Any
453 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
454 }
455 var file_google_cloud_eventarc_publishing_v1_cloud_event_proto_depIdxs = []int32{
456 2, // 0: google.cloud.eventarc.publishing.v1.CloudEvent.attributes:type_name -> google.cloud.eventarc.publishing.v1.CloudEvent.AttributesEntry
457 3, // 1: google.cloud.eventarc.publishing.v1.CloudEvent.proto_data:type_name -> google.protobuf.Any
458 4, // 2: google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue.ce_timestamp:type_name -> google.protobuf.Timestamp
459 1, // 3: google.cloud.eventarc.publishing.v1.CloudEvent.AttributesEntry.value:type_name -> google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue
460 4, // [4:4] is the sub-list for method output_type
461 4, // [4:4] is the sub-list for method input_type
462 4, // [4:4] is the sub-list for extension type_name
463 4, // [4:4] is the sub-list for extension extendee
464 0, // [0:4] is the sub-list for field type_name
465 }
466
467 func init() { file_google_cloud_eventarc_publishing_v1_cloud_event_proto_init() }
468 func file_google_cloud_eventarc_publishing_v1_cloud_event_proto_init() {
469 if File_google_cloud_eventarc_publishing_v1_cloud_event_proto != nil {
470 return
471 }
472 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[0].OneofWrappers = []any{
473 (*CloudEvent_BinaryData)(nil),
474 (*CloudEvent_TextData)(nil),
475 (*CloudEvent_ProtoData)(nil),
476 }
477 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes[1].OneofWrappers = []any{
478 (*CloudEvent_CloudEventAttributeValue_CeBoolean)(nil),
479 (*CloudEvent_CloudEventAttributeValue_CeInteger)(nil),
480 (*CloudEvent_CloudEventAttributeValue_CeString)(nil),
481 (*CloudEvent_CloudEventAttributeValue_CeBytes)(nil),
482 (*CloudEvent_CloudEventAttributeValue_CeUri)(nil),
483 (*CloudEvent_CloudEventAttributeValue_CeUriRef)(nil),
484 (*CloudEvent_CloudEventAttributeValue_CeTimestamp)(nil),
485 }
486 type x struct{}
487 out := protoimpl.TypeBuilder{
488 File: protoimpl.DescBuilder{
489 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
490 RawDescriptor: file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDesc,
491 NumEnums: 0,
492 NumMessages: 3,
493 NumExtensions: 0,
494 NumServices: 0,
495 },
496 GoTypes: file_google_cloud_eventarc_publishing_v1_cloud_event_proto_goTypes,
497 DependencyIndexes: file_google_cloud_eventarc_publishing_v1_cloud_event_proto_depIdxs,
498 MessageInfos: file_google_cloud_eventarc_publishing_v1_cloud_event_proto_msgTypes,
499 }.Build()
500 File_google_cloud_eventarc_publishing_v1_cloud_event_proto = out.File
501 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_rawDesc = nil
502 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_goTypes = nil
503 file_google_cloud_eventarc_publishing_v1_cloud_event_proto_depIdxs = nil
504 }