| 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/pipeline.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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 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 |
// A representation of the Pipeline resource. |
| 41 |
type Pipeline struct { |
| 42 |
state protoimpl.MessageState |
| 43 |
sizeCache protoimpl.SizeCache |
| 44 |
unknownFields protoimpl.UnknownFields |
| 45 |
|
| 46 |
// Identifier. The resource name of the Pipeline. Must be unique within the |
| 47 |
// location of the project and must be in |
| 48 |
// `projects/{project}/locations/{location}/pipelines/{pipeline}` format. |
| 49 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 50 |
// Output only. The creation time. |
| 51 |
// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up |
| 52 |
// to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and |
| 53 |
// "2014-10-02T15:01:23.045123456Z". |
| 54 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 55 |
// Output only. The last-modified time. |
| 56 |
// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up |
| 57 |
// to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and |
| 58 |
// "2014-10-02T15:01:23.045123456Z". |
| 59 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 60 |
// Optional. User labels attached to the Pipeline that can be used to group |
| 61 |
// resources. An object containing a list of "key": value pairs. Example: { |
| 62 |
// "name": "wrench", "mass": "1.3kg", "count": "3" }. |
| 63 |
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 64 |
// Output only. Server-assigned unique identifier for the Pipeline. The value |
| 65 |
// is a UUID4 string and guaranteed to remain unchanged until the resource is |
| 66 |
// deleted. |
| 67 |
Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` |
| 68 |
// Optional. User-defined annotations. See |
| 69 |
// https://google.aip.dev/128#annotations. |
| 70 |
Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 71 |
// Optional. Display name of resource. |
| 72 |
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 73 |
// Required. List of destinations to which messages will be forwarded. |
| 74 |
// Currently, exactly one destination is supported per Pipeline. |
| 75 |
Destinations []*Pipeline_Destination `protobuf:"bytes,8,rep,name=destinations,proto3" json:"destinations,omitempty"` |
| 76 |
// Optional. List of mediation operations to be performed on the message. |
| 77 |
// Currently, only one Transformation operation is allowed in each Pipeline. |
| 78 |
Mediations []*Pipeline_Mediation `protobuf:"bytes,9,rep,name=mediations,proto3" json:"mediations,omitempty"` |
| 79 |
// Optional. Resource name of a KMS crypto key (managed by the user) used to |
| 80 |
// encrypt/decrypt the event data. If not set, an internal Google-owned key |
| 81 |
// will be used to encrypt messages. It must match the pattern |
| 82 |
// "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}". |
| 83 |
CryptoKeyName string `protobuf:"bytes,10,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"` |
| 84 |
// Optional. The payload format expected for the messages received by the |
| 85 |
// Pipeline. If input_payload_format is set then any messages not matching |
| 86 |
// this format will be treated as persistent errors. If input_payload_format |
| 87 |
// is not set, then the message data will be treated as an opaque binary and |
| 88 |
// no output format can be set on the Pipeline through the |
| 89 |
// Pipeline.Destination.output_payload_format field. Any Mediations on the |
| 90 |
// Pipeline that involve access to the data field will fail as persistent |
| 91 |
// errors. |
| 92 |
InputPayloadFormat *Pipeline_MessagePayloadFormat `protobuf:"bytes,11,opt,name=input_payload_format,json=inputPayloadFormat,proto3" json:"input_payload_format,omitempty"` |
| 93 |
// Optional. Config to control Platform Logging for Pipelines. |
| 94 |
LoggingConfig *LoggingConfig `protobuf:"bytes,12,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` |
| 95 |
// Optional. The retry policy to use in the pipeline. |
| 96 |
RetryPolicy *Pipeline_RetryPolicy `protobuf:"bytes,13,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` |
| 97 |
// Output only. This checksum is computed by the server based on the value of |
| 98 |
// other fields, and might be sent only on create requests to ensure that the |
| 99 |
// client has an up-to-date value before proceeding. |
| 100 |
Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` |
| 101 |
// Output only. Whether or not this Pipeline satisfies the requirements of |
| 102 |
// physical zone separation |
| 103 |
SatisfiesPzs bool `protobuf:"varint,14,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` |
| 104 |
} |
| 105 |
|
| 106 |
func (x *Pipeline) Reset() { |
| 107 |
*x = Pipeline{} |
| 108 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[0] |
| 109 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 110 |
ms.StoreMessageInfo(mi) |
| 111 |
} |
| 112 |
|
| 113 |
func (x *Pipeline) String() string { |
| 114 |
return protoimpl.X.MessageStringOf(x) |
| 115 |
} |
| 116 |
|
| 117 |
func (*Pipeline) ProtoMessage() {} |
| 118 |
|
| 119 |
func (x *Pipeline) ProtoReflect() protoreflect.Message { |
| 120 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[0] |
| 121 |
if x != nil { |
| 122 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 123 |
if ms.LoadMessageInfo() == nil { |
| 124 |
ms.StoreMessageInfo(mi) |
| 125 |
} |
| 126 |
return ms |
| 127 |
} |
| 128 |
return mi.MessageOf(x) |
| 129 |
} |
| 130 |
|
| 131 |
// Deprecated: Use Pipeline.ProtoReflect.Descriptor instead. |
| 132 |
func (*Pipeline) Descriptor() ([]byte, []int) { |
| 133 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0} |
| 134 |
} |
| 135 |
|
| 136 |
func (x *Pipeline) GetName() string { |
| 137 |
if x != nil { |
| 138 |
return x.Name |
| 139 |
} |
| 140 |
return "" |
| 141 |
} |
| 142 |
|
| 143 |
func (x *Pipeline) GetCreateTime() *timestamppb.Timestamp { |
| 144 |
if x != nil { |
| 145 |
return x.CreateTime |
| 146 |
} |
| 147 |
return nil |
| 148 |
} |
| 149 |
|
| 150 |
func (x *Pipeline) GetUpdateTime() *timestamppb.Timestamp { |
| 151 |
if x != nil { |
| 152 |
return x.UpdateTime |
| 153 |
} |
| 154 |
return nil |
| 155 |
} |
| 156 |
|
| 157 |
func (x *Pipeline) GetLabels() map[string]string { |
| 158 |
if x != nil { |
| 159 |
return x.Labels |
| 160 |
} |
| 161 |
return nil |
| 162 |
} |
| 163 |
|
| 164 |
func (x *Pipeline) GetUid() string { |
| 165 |
if x != nil { |
| 166 |
return x.Uid |
| 167 |
} |
| 168 |
return "" |
| 169 |
} |
| 170 |
|
| 171 |
func (x *Pipeline) GetAnnotations() map[string]string { |
| 172 |
if x != nil { |
| 173 |
return x.Annotations |
| 174 |
} |
| 175 |
return nil |
| 176 |
} |
| 177 |
|
| 178 |
func (x *Pipeline) GetDisplayName() string { |
| 179 |
if x != nil { |
| 180 |
return x.DisplayName |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
func (x *Pipeline) GetDestinations() []*Pipeline_Destination { |
| 186 |
if x != nil { |
| 187 |
return x.Destinations |
| 188 |
} |
| 189 |
return nil |
| 190 |
} |
| 191 |
|
| 192 |
func (x *Pipeline) GetMediations() []*Pipeline_Mediation { |
| 193 |
if x != nil { |
| 194 |
return x.Mediations |
| 195 |
} |
| 196 |
return nil |
| 197 |
} |
| 198 |
|
| 199 |
func (x *Pipeline) GetCryptoKeyName() string { |
| 200 |
if x != nil { |
| 201 |
return x.CryptoKeyName |
| 202 |
} |
| 203 |
return "" |
| 204 |
} |
| 205 |
|
| 206 |
func (x *Pipeline) GetInputPayloadFormat() *Pipeline_MessagePayloadFormat { |
| 207 |
if x != nil { |
| 208 |
return x.InputPayloadFormat |
| 209 |
} |
| 210 |
return nil |
| 211 |
} |
| 212 |
|
| 213 |
func (x *Pipeline) GetLoggingConfig() *LoggingConfig { |
| 214 |
if x != nil { |
| 215 |
return x.LoggingConfig |
| 216 |
} |
| 217 |
return nil |
| 218 |
} |
| 219 |
|
| 220 |
func (x *Pipeline) GetRetryPolicy() *Pipeline_RetryPolicy { |
| 221 |
if x != nil { |
| 222 |
return x.RetryPolicy |
| 223 |
} |
| 224 |
return nil |
| 225 |
} |
| 226 |
|
| 227 |
func (x *Pipeline) GetEtag() string { |
| 228 |
if x != nil { |
| 229 |
return x.Etag |
| 230 |
} |
| 231 |
return "" |
| 232 |
} |
| 233 |
|
| 234 |
func (x *Pipeline) GetSatisfiesPzs() bool { |
| 235 |
if x != nil { |
| 236 |
return x.SatisfiesPzs |
| 237 |
} |
| 238 |
return false |
| 239 |
} |
| 240 |
|
| 241 |
// Represents the format of message data. |
| 242 |
type Pipeline_MessagePayloadFormat struct { |
| 243 |
state protoimpl.MessageState |
| 244 |
sizeCache protoimpl.SizeCache |
| 245 |
unknownFields protoimpl.UnknownFields |
| 246 |
|
| 247 |
// The kind of message format. |
| 248 |
// One of Protobuf, Avro, and JSON supported. |
| 249 |
// This allows specification of what specific format |
| 250 |
// messages are sent and received. |
| 251 |
// |
| 252 |
// Types that are assignable to Kind: |
| 253 |
// |
| 254 |
// *Pipeline_MessagePayloadFormat_Protobuf |
| 255 |
// *Pipeline_MessagePayloadFormat_Avro |
| 256 |
// *Pipeline_MessagePayloadFormat_Json |
| 257 |
Kind isPipeline_MessagePayloadFormat_Kind `protobuf_oneof:"kind"` |
| 258 |
} |
| 259 |
|
| 260 |
func (x *Pipeline_MessagePayloadFormat) Reset() { |
| 261 |
*x = Pipeline_MessagePayloadFormat{} |
| 262 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[1] |
| 263 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 264 |
ms.StoreMessageInfo(mi) |
| 265 |
} |
| 266 |
|
| 267 |
func (x *Pipeline_MessagePayloadFormat) String() string { |
| 268 |
return protoimpl.X.MessageStringOf(x) |
| 269 |
} |
| 270 |
|
| 271 |
func (*Pipeline_MessagePayloadFormat) ProtoMessage() {} |
| 272 |
|
| 273 |
func (x *Pipeline_MessagePayloadFormat) ProtoReflect() protoreflect.Message { |
| 274 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[1] |
| 275 |
if x != nil { |
| 276 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 277 |
if ms.LoadMessageInfo() == nil { |
| 278 |
ms.StoreMessageInfo(mi) |
| 279 |
} |
| 280 |
return ms |
| 281 |
} |
| 282 |
return mi.MessageOf(x) |
| 283 |
} |
| 284 |
|
| 285 |
// Deprecated: Use Pipeline_MessagePayloadFormat.ProtoReflect.Descriptor instead. |
| 286 |
func (*Pipeline_MessagePayloadFormat) Descriptor() ([]byte, []int) { |
| 287 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 0} |
| 288 |
} |
| 289 |
|
| 290 |
func (m *Pipeline_MessagePayloadFormat) GetKind() isPipeline_MessagePayloadFormat_Kind { |
| 291 |
if m != nil { |
| 292 |
return m.Kind |
| 293 |
} |
| 294 |
return nil |
| 295 |
} |
| 296 |
|
| 297 |
func (x *Pipeline_MessagePayloadFormat) GetProtobuf() *Pipeline_MessagePayloadFormat_ProtobufFormat { |
| 298 |
if x, ok := x.GetKind().(*Pipeline_MessagePayloadFormat_Protobuf); ok { |
| 299 |
return x.Protobuf |
| 300 |
} |
| 301 |
return nil |
| 302 |
} |
| 303 |
|
| 304 |
func (x *Pipeline_MessagePayloadFormat) GetAvro() *Pipeline_MessagePayloadFormat_AvroFormat { |
| 305 |
if x, ok := x.GetKind().(*Pipeline_MessagePayloadFormat_Avro); ok { |
| 306 |
return x.Avro |
| 307 |
} |
| 308 |
return nil |
| 309 |
} |
| 310 |
|
| 311 |
func (x *Pipeline_MessagePayloadFormat) GetJson() *Pipeline_MessagePayloadFormat_JsonFormat { |
| 312 |
if x, ok := x.GetKind().(*Pipeline_MessagePayloadFormat_Json); ok { |
| 313 |
return x.Json |
| 314 |
} |
| 315 |
return nil |
| 316 |
} |
| 317 |
|
| 318 |
type isPipeline_MessagePayloadFormat_Kind interface { |
| 319 |
isPipeline_MessagePayloadFormat_Kind() |
| 320 |
} |
| 321 |
|
| 322 |
type Pipeline_MessagePayloadFormat_Protobuf struct { |
| 323 |
// Optional. Protobuf format. |
| 324 |
Protobuf *Pipeline_MessagePayloadFormat_ProtobufFormat `protobuf:"bytes,1,opt,name=protobuf,proto3,oneof"` |
| 325 |
} |
| 326 |
|
| 327 |
type Pipeline_MessagePayloadFormat_Avro struct { |
| 328 |
// Optional. Avro format. |
| 329 |
Avro *Pipeline_MessagePayloadFormat_AvroFormat `protobuf:"bytes,2,opt,name=avro,proto3,oneof"` |
| 330 |
} |
| 331 |
|
| 332 |
type Pipeline_MessagePayloadFormat_Json struct { |
| 333 |
// Optional. JSON format. |
| 334 |
Json *Pipeline_MessagePayloadFormat_JsonFormat `protobuf:"bytes,3,opt,name=json,proto3,oneof"` |
| 335 |
} |
| 336 |
|
| 337 |
func (*Pipeline_MessagePayloadFormat_Protobuf) isPipeline_MessagePayloadFormat_Kind() {} |
| 338 |
|
| 339 |
func (*Pipeline_MessagePayloadFormat_Avro) isPipeline_MessagePayloadFormat_Kind() {} |
| 340 |
|
| 341 |
func (*Pipeline_MessagePayloadFormat_Json) isPipeline_MessagePayloadFormat_Kind() {} |
| 342 |
|
| 343 |
// Represents a target of an invocation over HTTP. |
| 344 |
type Pipeline_Destination struct { |
| 345 |
state protoimpl.MessageState |
| 346 |
sizeCache protoimpl.SizeCache |
| 347 |
unknownFields protoimpl.UnknownFields |
| 348 |
|
| 349 |
// Optional. Network config is used to configure how Pipeline resolves and |
| 350 |
// connects to a destination. |
| 351 |
NetworkConfig *Pipeline_Destination_NetworkConfig `protobuf:"bytes,1,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` |
| 352 |
// The destination identifier to which the request should be routed to. |
| 353 |
// |
| 354 |
// Types that are assignable to DestinationDescriptor: |
| 355 |
// |
| 356 |
// *Pipeline_Destination_HttpEndpoint_ |
| 357 |
// *Pipeline_Destination_Workflow |
| 358 |
// *Pipeline_Destination_MessageBus |
| 359 |
// *Pipeline_Destination_Topic |
| 360 |
DestinationDescriptor isPipeline_Destination_DestinationDescriptor `protobuf_oneof:"destination_descriptor"` |
| 361 |
// Optional. An authentication config used to authenticate message requests, |
| 362 |
// such that destinations can verify the source. For example, this can be |
| 363 |
// used with private Google Cloud destinations that require Google Cloud |
| 364 |
// credentials for access like Cloud Run. This field is optional and should |
| 365 |
// be set only by users interested in authenticated push. |
| 366 |
AuthenticationConfig *Pipeline_Destination_AuthenticationConfig `protobuf:"bytes,5,opt,name=authentication_config,json=authenticationConfig,proto3" json:"authentication_config,omitempty"` |
| 367 |
// Optional. The message format before it is delivered to the destination. |
| 368 |
// If not set, the message will be delivered in the format it was originally |
| 369 |
// delivered to the Pipeline. This field can only be set if |
| 370 |
// Pipeline.input_payload_format is also set. |
| 371 |
OutputPayloadFormat *Pipeline_MessagePayloadFormat `protobuf:"bytes,6,opt,name=output_payload_format,json=outputPayloadFormat,proto3" json:"output_payload_format,omitempty"` |
| 372 |
} |
| 373 |
|
| 374 |
func (x *Pipeline_Destination) Reset() { |
| 375 |
*x = Pipeline_Destination{} |
| 376 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[2] |
| 377 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 378 |
ms.StoreMessageInfo(mi) |
| 379 |
} |
| 380 |
|
| 381 |
func (x *Pipeline_Destination) String() string { |
| 382 |
return protoimpl.X.MessageStringOf(x) |
| 383 |
} |
| 384 |
|
| 385 |
func (*Pipeline_Destination) ProtoMessage() {} |
| 386 |
|
| 387 |
func (x *Pipeline_Destination) ProtoReflect() protoreflect.Message { |
| 388 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[2] |
| 389 |
if x != nil { |
| 390 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 391 |
if ms.LoadMessageInfo() == nil { |
| 392 |
ms.StoreMessageInfo(mi) |
| 393 |
} |
| 394 |
return ms |
| 395 |
} |
| 396 |
return mi.MessageOf(x) |
| 397 |
} |
| 398 |
|
| 399 |
// Deprecated: Use Pipeline_Destination.ProtoReflect.Descriptor instead. |
| 400 |
func (*Pipeline_Destination) Descriptor() ([]byte, []int) { |
| 401 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1} |
| 402 |
} |
| 403 |
|
| 404 |
func (x *Pipeline_Destination) GetNetworkConfig() *Pipeline_Destination_NetworkConfig { |
| 405 |
if x != nil { |
| 406 |
return x.NetworkConfig |
| 407 |
} |
| 408 |
return nil |
| 409 |
} |
| 410 |
|
| 411 |
func (m *Pipeline_Destination) GetDestinationDescriptor() isPipeline_Destination_DestinationDescriptor { |
| 412 |
if m != nil { |
| 413 |
return m.DestinationDescriptor |
| 414 |
} |
| 415 |
return nil |
| 416 |
} |
| 417 |
|
| 418 |
func (x *Pipeline_Destination) GetHttpEndpoint() *Pipeline_Destination_HttpEndpoint { |
| 419 |
if x, ok := x.GetDestinationDescriptor().(*Pipeline_Destination_HttpEndpoint_); ok { |
| 420 |
return x.HttpEndpoint |
| 421 |
} |
| 422 |
return nil |
| 423 |
} |
| 424 |
|
| 425 |
func (x *Pipeline_Destination) GetWorkflow() string { |
| 426 |
if x, ok := x.GetDestinationDescriptor().(*Pipeline_Destination_Workflow); ok { |
| 427 |
return x.Workflow |
| 428 |
} |
| 429 |
return "" |
| 430 |
} |
| 431 |
|
| 432 |
func (x *Pipeline_Destination) GetMessageBus() string { |
| 433 |
if x, ok := x.GetDestinationDescriptor().(*Pipeline_Destination_MessageBus); ok { |
| 434 |
return x.MessageBus |
| 435 |
} |
| 436 |
return "" |
| 437 |
} |
| 438 |
|
| 439 |
func (x *Pipeline_Destination) GetTopic() string { |
| 440 |
if x, ok := x.GetDestinationDescriptor().(*Pipeline_Destination_Topic); ok { |
| 441 |
return x.Topic |
| 442 |
} |
| 443 |
return "" |
| 444 |
} |
| 445 |
|
| 446 |
func (x *Pipeline_Destination) GetAuthenticationConfig() *Pipeline_Destination_AuthenticationConfig { |
| 447 |
if x != nil { |
| 448 |
return x.AuthenticationConfig |
| 449 |
} |
| 450 |
return nil |
| 451 |
} |
| 452 |
|
| 453 |
func (x *Pipeline_Destination) GetOutputPayloadFormat() *Pipeline_MessagePayloadFormat { |
| 454 |
if x != nil { |
| 455 |
return x.OutputPayloadFormat |
| 456 |
} |
| 457 |
return nil |
| 458 |
} |
| 459 |
|
| 460 |
type isPipeline_Destination_DestinationDescriptor interface { |
| 461 |
isPipeline_Destination_DestinationDescriptor() |
| 462 |
} |
| 463 |
|
| 464 |
type Pipeline_Destination_HttpEndpoint_ struct { |
| 465 |
// Optional. An HTTP endpoint destination described by an URI. |
| 466 |
// If a DNS FQDN is provided as the endpoint, Pipeline will create a |
| 467 |
// peering zone to the consumer VPC and forward DNS requests to the VPC |
| 468 |
// specified by network config to resolve the service endpoint. See: |
| 469 |
// https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones |
| 470 |
HttpEndpoint *Pipeline_Destination_HttpEndpoint `protobuf:"bytes,2,opt,name=http_endpoint,json=httpEndpoint,proto3,oneof"` |
| 471 |
} |
| 472 |
|
| 473 |
type Pipeline_Destination_Workflow struct { |
| 474 |
// Optional. The resource name of the Workflow whose Executions are |
| 475 |
// triggered by the events. The Workflow resource should be deployed in |
| 476 |
// the same project as the Pipeline. Format: |
| 477 |
// `projects/{project}/locations/{location}/workflows/{workflow}` |
| 478 |
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3,oneof"` |
| 479 |
} |
| 480 |
|
| 481 |
type Pipeline_Destination_MessageBus struct { |
| 482 |
// Optional. The resource name of the Message Bus to which events should |
| 483 |
// be published. The Message Bus resource should exist in the same project |
| 484 |
// as the Pipeline. Format: |
| 485 |
// `projects/{project}/locations/{location}/messageBuses/{message_bus}` |
| 486 |
MessageBus string `protobuf:"bytes,4,opt,name=message_bus,json=messageBus,proto3,oneof"` |
| 487 |
} |
| 488 |
|
| 489 |
type Pipeline_Destination_Topic struct { |
| 490 |
// Optional. The resource name of the Pub/Sub topic to which events should |
| 491 |
// be published. Format: |
| 492 |
// `projects/{project}/locations/{location}/topics/{topic}` |
| 493 |
Topic string `protobuf:"bytes,8,opt,name=topic,proto3,oneof"` |
| 494 |
} |
| 495 |
|
| 496 |
func (*Pipeline_Destination_HttpEndpoint_) isPipeline_Destination_DestinationDescriptor() {} |
| 497 |
|
| 498 |
func (*Pipeline_Destination_Workflow) isPipeline_Destination_DestinationDescriptor() {} |
| 499 |
|
| 500 |
func (*Pipeline_Destination_MessageBus) isPipeline_Destination_DestinationDescriptor() {} |
| 501 |
|
| 502 |
func (*Pipeline_Destination_Topic) isPipeline_Destination_DestinationDescriptor() {} |
| 503 |
|
| 504 |
// Mediation defines different ways to modify the Pipeline. |
| 505 |
type Pipeline_Mediation struct { |
| 506 |
state protoimpl.MessageState |
| 507 |
sizeCache protoimpl.SizeCache |
| 508 |
unknownFields protoimpl.UnknownFields |
| 509 |
|
| 510 |
// The config of mediation. |
| 511 |
// |
| 512 |
// Types that are assignable to MediationDescriptor: |
| 513 |
// |
| 514 |
// *Pipeline_Mediation_Transformation_ |
| 515 |
MediationDescriptor isPipeline_Mediation_MediationDescriptor `protobuf_oneof:"mediation_descriptor"` |
| 516 |
} |
| 517 |
|
| 518 |
func (x *Pipeline_Mediation) Reset() { |
| 519 |
*x = Pipeline_Mediation{} |
| 520 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[3] |
| 521 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 522 |
ms.StoreMessageInfo(mi) |
| 523 |
} |
| 524 |
|
| 525 |
func (x *Pipeline_Mediation) String() string { |
| 526 |
return protoimpl.X.MessageStringOf(x) |
| 527 |
} |
| 528 |
|
| 529 |
func (*Pipeline_Mediation) ProtoMessage() {} |
| 530 |
|
| 531 |
func (x *Pipeline_Mediation) ProtoReflect() protoreflect.Message { |
| 532 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[3] |
| 533 |
if x != nil { |
| 534 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 535 |
if ms.LoadMessageInfo() == nil { |
| 536 |
ms.StoreMessageInfo(mi) |
| 537 |
} |
| 538 |
return ms |
| 539 |
} |
| 540 |
return mi.MessageOf(x) |
| 541 |
} |
| 542 |
|
| 543 |
// Deprecated: Use Pipeline_Mediation.ProtoReflect.Descriptor instead. |
| 544 |
func (*Pipeline_Mediation) Descriptor() ([]byte, []int) { |
| 545 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 2} |
| 546 |
} |
| 547 |
|
| 548 |
func (m *Pipeline_Mediation) GetMediationDescriptor() isPipeline_Mediation_MediationDescriptor { |
| 549 |
if m != nil { |
| 550 |
return m.MediationDescriptor |
| 551 |
} |
| 552 |
return nil |
| 553 |
} |
| 554 |
|
| 555 |
func (x *Pipeline_Mediation) GetTransformation() *Pipeline_Mediation_Transformation { |
| 556 |
if x, ok := x.GetMediationDescriptor().(*Pipeline_Mediation_Transformation_); ok { |
| 557 |
return x.Transformation |
| 558 |
} |
| 559 |
return nil |
| 560 |
} |
| 561 |
|
| 562 |
type isPipeline_Mediation_MediationDescriptor interface { |
| 563 |
isPipeline_Mediation_MediationDescriptor() |
| 564 |
} |
| 565 |
|
| 566 |
type Pipeline_Mediation_Transformation_ struct { |
| 567 |
// Optional. How the Pipeline is to transform messages |
| 568 |
Transformation *Pipeline_Mediation_Transformation `protobuf:"bytes,1,opt,name=transformation,proto3,oneof"` |
| 569 |
} |
| 570 |
|
| 571 |
func (*Pipeline_Mediation_Transformation_) isPipeline_Mediation_MediationDescriptor() {} |
| 572 |
|
| 573 |
// The retry policy configuration for the Pipeline. The pipeline |
| 574 |
// exponentially backs off in case the destination is non responsive or |
| 575 |
// returns a retryable error code. The default semantics are as follows: |
| 576 |
// The backoff starts with a 5 second delay and doubles the |
| 577 |
// delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). |
| 578 |
// The delay is capped at 60 seconds by default. |
| 579 |
// Please note that if you set the min_retry_delay and max_retry_delay fields |
| 580 |
// to the same value this will make the duration between retries constant. |
| 581 |
type Pipeline_RetryPolicy struct { |
| 582 |
state protoimpl.MessageState |
| 583 |
sizeCache protoimpl.SizeCache |
| 584 |
unknownFields protoimpl.UnknownFields |
| 585 |
|
| 586 |
// Optional. The maximum number of delivery attempts for any message. The |
| 587 |
// value must be between 1 and 100. The default value for this field is 5. |
| 588 |
MaxAttempts int32 `protobuf:"varint,1,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` |
| 589 |
// Optional. The minimum amount of seconds to wait between retry attempts. |
| 590 |
// The value must be between 1 and 600. The default value for this field |
| 591 |
// is 5. |
| 592 |
MinRetryDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=min_retry_delay,json=minRetryDelay,proto3" json:"min_retry_delay,omitempty"` |
| 593 |
// Optional. The maximum amount of seconds to wait between retry attempts. |
| 594 |
// The value must be between 1 and 600. The default value for this field |
| 595 |
// is 60. |
| 596 |
MaxRetryDelay *durationpb.Duration `protobuf:"bytes,3,opt,name=max_retry_delay,json=maxRetryDelay,proto3" json:"max_retry_delay,omitempty"` |
| 597 |
} |
| 598 |
|
| 599 |
func (x *Pipeline_RetryPolicy) Reset() { |
| 600 |
*x = Pipeline_RetryPolicy{} |
| 601 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[4] |
| 602 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 603 |
ms.StoreMessageInfo(mi) |
| 604 |
} |
| 605 |
|
| 606 |
func (x *Pipeline_RetryPolicy) String() string { |
| 607 |
return protoimpl.X.MessageStringOf(x) |
| 608 |
} |
| 609 |
|
| 610 |
func (*Pipeline_RetryPolicy) ProtoMessage() {} |
| 611 |
|
| 612 |
func (x *Pipeline_RetryPolicy) ProtoReflect() protoreflect.Message { |
| 613 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[4] |
| 614 |
if x != nil { |
| 615 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 616 |
if ms.LoadMessageInfo() == nil { |
| 617 |
ms.StoreMessageInfo(mi) |
| 618 |
} |
| 619 |
return ms |
| 620 |
} |
| 621 |
return mi.MessageOf(x) |
| 622 |
} |
| 623 |
|
| 624 |
// Deprecated: Use Pipeline_RetryPolicy.ProtoReflect.Descriptor instead. |
| 625 |
func (*Pipeline_RetryPolicy) Descriptor() ([]byte, []int) { |
| 626 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 3} |
| 627 |
} |
| 628 |
|
| 629 |
func (x *Pipeline_RetryPolicy) GetMaxAttempts() int32 { |
| 630 |
if x != nil { |
| 631 |
return x.MaxAttempts |
| 632 |
} |
| 633 |
return 0 |
| 634 |
} |
| 635 |
|
| 636 |
func (x *Pipeline_RetryPolicy) GetMinRetryDelay() *durationpb.Duration { |
| 637 |
if x != nil { |
| 638 |
return x.MinRetryDelay |
| 639 |
} |
| 640 |
return nil |
| 641 |
} |
| 642 |
|
| 643 |
func (x *Pipeline_RetryPolicy) GetMaxRetryDelay() *durationpb.Duration { |
| 644 |
if x != nil { |
| 645 |
return x.MaxRetryDelay |
| 646 |
} |
| 647 |
return nil |
| 648 |
} |
| 649 |
|
| 650 |
// The format of a JSON message payload. |
| 651 |
type Pipeline_MessagePayloadFormat_JsonFormat struct { |
| 652 |
state protoimpl.MessageState |
| 653 |
sizeCache protoimpl.SizeCache |
| 654 |
unknownFields protoimpl.UnknownFields |
| 655 |
} |
| 656 |
|
| 657 |
func (x *Pipeline_MessagePayloadFormat_JsonFormat) Reset() { |
| 658 |
*x = Pipeline_MessagePayloadFormat_JsonFormat{} |
| 659 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[7] |
| 660 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 661 |
ms.StoreMessageInfo(mi) |
| 662 |
} |
| 663 |
|
| 664 |
func (x *Pipeline_MessagePayloadFormat_JsonFormat) String() string { |
| 665 |
return protoimpl.X.MessageStringOf(x) |
| 666 |
} |
| 667 |
|
| 668 |
func (*Pipeline_MessagePayloadFormat_JsonFormat) ProtoMessage() {} |
| 669 |
|
| 670 |
func (x *Pipeline_MessagePayloadFormat_JsonFormat) ProtoReflect() protoreflect.Message { |
| 671 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[7] |
| 672 |
if x != nil { |
| 673 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 674 |
if ms.LoadMessageInfo() == nil { |
| 675 |
ms.StoreMessageInfo(mi) |
| 676 |
} |
| 677 |
return ms |
| 678 |
} |
| 679 |
return mi.MessageOf(x) |
| 680 |
} |
| 681 |
|
| 682 |
// Deprecated: Use Pipeline_MessagePayloadFormat_JsonFormat.ProtoReflect.Descriptor instead. |
| 683 |
func (*Pipeline_MessagePayloadFormat_JsonFormat) Descriptor() ([]byte, []int) { |
| 684 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 0, 0} |
| 685 |
} |
| 686 |
|
| 687 |
// The format of a Protobuf message payload. |
| 688 |
type Pipeline_MessagePayloadFormat_ProtobufFormat struct { |
| 689 |
state protoimpl.MessageState |
| 690 |
sizeCache protoimpl.SizeCache |
| 691 |
unknownFields protoimpl.UnknownFields |
| 692 |
|
| 693 |
// Optional. The entire schema definition is stored in this field. |
| 694 |
SchemaDefinition string `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition,proto3" json:"schema_definition,omitempty"` |
| 695 |
} |
| 696 |
|
| 697 |
func (x *Pipeline_MessagePayloadFormat_ProtobufFormat) Reset() { |
| 698 |
*x = Pipeline_MessagePayloadFormat_ProtobufFormat{} |
| 699 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[8] |
| 700 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 701 |
ms.StoreMessageInfo(mi) |
| 702 |
} |
| 703 |
|
| 704 |
func (x *Pipeline_MessagePayloadFormat_ProtobufFormat) String() string { |
| 705 |
return protoimpl.X.MessageStringOf(x) |
| 706 |
} |
| 707 |
|
| 708 |
func (*Pipeline_MessagePayloadFormat_ProtobufFormat) ProtoMessage() {} |
| 709 |
|
| 710 |
func (x *Pipeline_MessagePayloadFormat_ProtobufFormat) ProtoReflect() protoreflect.Message { |
| 711 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[8] |
| 712 |
if x != nil { |
| 713 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 714 |
if ms.LoadMessageInfo() == nil { |
| 715 |
ms.StoreMessageInfo(mi) |
| 716 |
} |
| 717 |
return ms |
| 718 |
} |
| 719 |
return mi.MessageOf(x) |
| 720 |
} |
| 721 |
|
| 722 |
// Deprecated: Use Pipeline_MessagePayloadFormat_ProtobufFormat.ProtoReflect.Descriptor instead. |
| 723 |
func (*Pipeline_MessagePayloadFormat_ProtobufFormat) Descriptor() ([]byte, []int) { |
| 724 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 0, 1} |
| 725 |
} |
| 726 |
|
| 727 |
func (x *Pipeline_MessagePayloadFormat_ProtobufFormat) GetSchemaDefinition() string { |
| 728 |
if x != nil { |
| 729 |
return x.SchemaDefinition |
| 730 |
} |
| 731 |
return "" |
| 732 |
} |
| 733 |
|
| 734 |
// The format of an AVRO message payload. |
| 735 |
type Pipeline_MessagePayloadFormat_AvroFormat struct { |
| 736 |
state protoimpl.MessageState |
| 737 |
sizeCache protoimpl.SizeCache |
| 738 |
unknownFields protoimpl.UnknownFields |
| 739 |
|
| 740 |
// Optional. The entire schema definition is stored in this field. |
| 741 |
SchemaDefinition string `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition,proto3" json:"schema_definition,omitempty"` |
| 742 |
} |
| 743 |
|
| 744 |
func (x *Pipeline_MessagePayloadFormat_AvroFormat) Reset() { |
| 745 |
*x = Pipeline_MessagePayloadFormat_AvroFormat{} |
| 746 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[9] |
| 747 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 748 |
ms.StoreMessageInfo(mi) |
| 749 |
} |
| 750 |
|
| 751 |
func (x *Pipeline_MessagePayloadFormat_AvroFormat) String() string { |
| 752 |
return protoimpl.X.MessageStringOf(x) |
| 753 |
} |
| 754 |
|
| 755 |
func (*Pipeline_MessagePayloadFormat_AvroFormat) ProtoMessage() {} |
| 756 |
|
| 757 |
func (x *Pipeline_MessagePayloadFormat_AvroFormat) ProtoReflect() protoreflect.Message { |
| 758 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[9] |
| 759 |
if x != nil { |
| 760 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 761 |
if ms.LoadMessageInfo() == nil { |
| 762 |
ms.StoreMessageInfo(mi) |
| 763 |
} |
| 764 |
return ms |
| 765 |
} |
| 766 |
return mi.MessageOf(x) |
| 767 |
} |
| 768 |
|
| 769 |
// Deprecated: Use Pipeline_MessagePayloadFormat_AvroFormat.ProtoReflect.Descriptor instead. |
| 770 |
func (*Pipeline_MessagePayloadFormat_AvroFormat) Descriptor() ([]byte, []int) { |
| 771 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 0, 2} |
| 772 |
} |
| 773 |
|
| 774 |
func (x *Pipeline_MessagePayloadFormat_AvroFormat) GetSchemaDefinition() string { |
| 775 |
if x != nil { |
| 776 |
return x.SchemaDefinition |
| 777 |
} |
| 778 |
return "" |
| 779 |
} |
| 780 |
|
| 781 |
// Represents a network config to be used for destination resolution and |
| 782 |
// connectivity. |
| 783 |
type Pipeline_Destination_NetworkConfig struct { |
| 784 |
state protoimpl.MessageState |
| 785 |
sizeCache protoimpl.SizeCache |
| 786 |
unknownFields protoimpl.UnknownFields |
| 787 |
|
| 788 |
// Required. Name of the NetworkAttachment that allows access to the |
| 789 |
// consumer VPC. Format: |
| 790 |
// `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` |
| 791 |
NetworkAttachment string `protobuf:"bytes,1,opt,name=network_attachment,json=networkAttachment,proto3" json:"network_attachment,omitempty"` |
| 792 |
} |
| 793 |
|
| 794 |
func (x *Pipeline_Destination_NetworkConfig) Reset() { |
| 795 |
*x = Pipeline_Destination_NetworkConfig{} |
| 796 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[10] |
| 797 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 798 |
ms.StoreMessageInfo(mi) |
| 799 |
} |
| 800 |
|
| 801 |
func (x *Pipeline_Destination_NetworkConfig) String() string { |
| 802 |
return protoimpl.X.MessageStringOf(x) |
| 803 |
} |
| 804 |
|
| 805 |
func (*Pipeline_Destination_NetworkConfig) ProtoMessage() {} |
| 806 |
|
| 807 |
func (x *Pipeline_Destination_NetworkConfig) ProtoReflect() protoreflect.Message { |
| 808 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[10] |
| 809 |
if x != nil { |
| 810 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 811 |
if ms.LoadMessageInfo() == nil { |
| 812 |
ms.StoreMessageInfo(mi) |
| 813 |
} |
| 814 |
return ms |
| 815 |
} |
| 816 |
return mi.MessageOf(x) |
| 817 |
} |
| 818 |
|
| 819 |
// Deprecated: Use Pipeline_Destination_NetworkConfig.ProtoReflect.Descriptor instead. |
| 820 |
func (*Pipeline_Destination_NetworkConfig) Descriptor() ([]byte, []int) { |
| 821 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1, 0} |
| 822 |
} |
| 823 |
|
| 824 |
func (x *Pipeline_Destination_NetworkConfig) GetNetworkAttachment() string { |
| 825 |
if x != nil { |
| 826 |
return x.NetworkAttachment |
| 827 |
} |
| 828 |
return "" |
| 829 |
} |
| 830 |
|
| 831 |
// Represents a HTTP endpoint destination. |
| 832 |
type Pipeline_Destination_HttpEndpoint struct { |
| 833 |
state protoimpl.MessageState |
| 834 |
sizeCache protoimpl.SizeCache |
| 835 |
unknownFields protoimpl.UnknownFields |
| 836 |
|
| 837 |
// Required. The URI of the HTTP endpoint. |
| 838 |
// |
| 839 |
// The value must be a RFC2396 URI string. |
| 840 |
// Examples: `https://svc.us-central1.p.local:8080/route`. |
| 841 |
// Only the HTTPS protocol is supported. |
| 842 |
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` |
| 843 |
// Optional. The CEL expression used to modify how the destination-bound |
| 844 |
// HTTP request is constructed. |
| 845 |
// |
| 846 |
// If a binding expression is not specified here, the message |
| 847 |
// is treated as a CloudEvent and is mapped to the HTTP request according |
| 848 |
// to the CloudEvent HTTP Protocol Binding Binary Content Mode |
| 849 |
// (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). |
| 850 |
// In this representation, all fields except the `data` and |
| 851 |
// `datacontenttype` field on the message are mapped to HTTP request |
| 852 |
// headers with a prefix of `ce-`. |
| 853 |
// |
| 854 |
// To construct the HTTP request payload and the value of the content-type |
| 855 |
// HTTP header, the payload format is defined as follows: |
| 856 |
// 1. Use the output_payload_format_type on the Pipeline.Destination if it |
| 857 |
// is set, else: |
| 858 |
// 2. Use the input_payload_format_type on the Pipeline if it is set, |
| 859 |
// else: |
| 860 |
// 3. Treat the payload as opaque binary data. |
| 861 |
// |
| 862 |
// The `data` field of the message is converted to the payload format or |
| 863 |
// left as-is for case 3) and then attached as the payload of the HTTP |
| 864 |
// request. The `content-type` header on the HTTP request is set to the |
| 865 |
// payload format type or left empty for case 3). However, if a mediation |
| 866 |
// has updated the `datacontenttype` field on the message so that it is |
| 867 |
// not the same as the payload format type but it is still a prefix of the |
| 868 |
// payload format type, then the `content-type` header on the HTTP request |
| 869 |
// is set to this `datacontenttype` value. For example, if the |
| 870 |
// `datacontenttype` is "application/json" and the payload format type is |
| 871 |
// "application/json; charset=utf-8", then the `content-type` header on |
| 872 |
// the HTTP request is set to "application/json; charset=utf-8". |
| 873 |
// |
| 874 |
// If a non-empty binding expression is specified then this expression is |
| 875 |
// used to modify the default CloudEvent HTTP Protocol Binding Binary |
| 876 |
// Content representation. |
| 877 |
// The result of the CEL expression must be a map of key/value pairs |
| 878 |
// which is used as follows: |
| 879 |
// - If a map named `headers` exists on the result of the expression, |
| 880 |
// then its key/value pairs are directly mapped to the HTTP request |
| 881 |
// headers. The headers values are constructed from the corresponding |
| 882 |
// value type's canonical representation. If the `headers` field doesn't |
| 883 |
// exist then the resulting HTTP request will be the headers of the |
| 884 |
// CloudEvent HTTP Binding Binary Content Mode representation of the final |
| 885 |
// message. Note: If the specified binding expression, has updated the |
| 886 |
// `datacontenttype` field on the message so that it is not the same as |
| 887 |
// the payload format type but it is still a prefix of the payload format |
| 888 |
// type, then the `content-type` header in the `headers` map is set to |
| 889 |
// this `datacontenttype` value. |
| 890 |
// - If a field named `body` exists on the result of the expression then |
| 891 |
// its value is directly mapped to the body of the request. If the value |
| 892 |
// of the `body` field is of type bytes or string then it is used for |
| 893 |
// the HTTP request body as-is, with no conversion. If the body field is |
| 894 |
// of any other type then it is converted to a JSON string. If the body |
| 895 |
// field does not exist then the resulting payload of the HTTP request |
| 896 |
// will be data value of the CloudEvent HTTP Binding Binary Content Mode |
| 897 |
// representation of the final message as described earlier. |
| 898 |
// - Any other fields in the resulting expression will be ignored. |
| 899 |
// |
| 900 |
// The CEL expression may access the incoming CloudEvent message in its |
| 901 |
// definition, as follows: |
| 902 |
// - The `data` field of the incoming CloudEvent message can be accessed |
| 903 |
// using the `message.data` value. Subfields of `message.data` may also be |
| 904 |
// accessed if an input_payload_format has been specified on the Pipeline. |
| 905 |
// - Each attribute of the incoming CloudEvent message can be accessed |
| 906 |
// using the `message.<key>` value, where <key> is replaced with the |
| 907 |
// name of the attribute. |
| 908 |
// - Existing headers can be accessed in the CEL expression using the |
| 909 |
// `headers` variable. The `headers` variable defines a map of key/value |
| 910 |
// pairs corresponding to the HTTP headers of the CloudEvent HTTP Binding |
| 911 |
// Binary Content Mode representation of the final message as described |
| 912 |
// earlier. For example, the following CEL expression can be used to |
| 913 |
// construct an HTTP request by adding an additional header to the HTTP |
| 914 |
// headers of the CloudEvent HTTP Binding Binary Content Mode |
| 915 |
// representation of the final message and by overwriting the body of the |
| 916 |
// request: |
| 917 |
// |
| 918 |
// ``` |
| 919 |
// |
| 920 |
// { |
| 921 |
// "headers": headers.merge({"new-header-key": "new-header-value"}), |
| 922 |
// "body": "new-body" |
| 923 |
// } |
| 924 |
// |
| 925 |
// ``` |
| 926 |
// - The default binding for the message payload can be accessed using the |
| 927 |
// `body` variable. It conatins a string representation of the message |
| 928 |
// payload in the format specified by the `output_payload_format` field. |
| 929 |
// If the `input_payload_format` field is not set, the `body` |
| 930 |
// variable contains the same message payload bytes that were published. |
| 931 |
// |
| 932 |
// Additionally, the following CEL extension functions are provided for |
| 933 |
// use in this CEL expression: |
| 934 |
// - toBase64Url: |
| 935 |
// map.toBase64Url() -> string |
| 936 |
// - Converts a CelValue to a base64url encoded string |
| 937 |
// - toJsonString: map.toJsonString() -> string |
| 938 |
// - Converts a CelValue to a JSON string |
| 939 |
// - merge: |
| 940 |
// map1.merge(map2) -> map3 |
| 941 |
// - Merges the passed CEL map with the existing CEL map the |
| 942 |
// function is applied to. |
| 943 |
// - If the same key exists in both maps, if the key's value is type |
| 944 |
// map both maps are merged else the value from the passed map is |
| 945 |
// used. |
| 946 |
// - denormalize: |
| 947 |
// map.denormalize() -> map |
| 948 |
// - Denormalizes a CEL map such that every value of type map or key |
| 949 |
// in the map is expanded to return a single level map. |
| 950 |
// - The resulting keys are "." separated indices of the map keys. |
| 951 |
// - For example: |
| 952 |
// { |
| 953 |
// "a": 1, |
| 954 |
// "b": { |
| 955 |
// "c": 2, |
| 956 |
// "d": 3 |
| 957 |
// } |
| 958 |
// "e": [4, 5] |
| 959 |
// } |
| 960 |
// .denormalize() |
| 961 |
// -> { |
| 962 |
// "a": 1, |
| 963 |
// "b.c": 2, |
| 964 |
// "b.d": 3, |
| 965 |
// "e.0": 4, |
| 966 |
// "e.1": 5 |
| 967 |
// } |
| 968 |
// - setField: |
| 969 |
// map.setField(key, value) -> message |
| 970 |
// - Sets the field of the message with the given key to the |
| 971 |
// given value. |
| 972 |
// - If the field is not present it will be added. |
| 973 |
// - If the field is present it will be overwritten. |
| 974 |
// - The key can be a dot separated path to set a field in a nested |
| 975 |
// message. |
| 976 |
// - Key must be of type string. |
| 977 |
// - Value may be any valid type. |
| 978 |
// - removeFields: |
| 979 |
// map.removeFields([key1, key2, ...]) -> message |
| 980 |
// - Removes the fields of the map with the given keys. |
| 981 |
// - The keys can be a dot separated path to remove a field in a |
| 982 |
// nested message. |
| 983 |
// - If a key is not found it will be ignored. |
| 984 |
// - Keys must be of type string. |
| 985 |
// - toMap: |
| 986 |
// [map1, map2, ...].toMap() -> map |
| 987 |
// - Converts a CEL list of CEL maps to a single CEL map |
| 988 |
// - toCloudEventJsonWithPayloadFormat: |
| 989 |
// message.toCloudEventJsonWithPayloadFormat() -> map |
| 990 |
// - Converts a message to the corresponding structure of JSON |
| 991 |
// format for CloudEvents. |
| 992 |
// - It converts `data` to destination payload format |
| 993 |
// specified in `output_payload_format`. If `output_payload_format` is |
| 994 |
// not set, the data will remain unchanged. |
| 995 |
// - It also sets the corresponding datacontenttype of |
| 996 |
// the CloudEvent, as indicated by |
| 997 |
// `output_payload_format`. If no |
| 998 |
// `output_payload_format` is set it will use the value of the |
| 999 |
// "datacontenttype" attribute on the CloudEvent if present, else |
| 1000 |
// remove "datacontenttype" attribute. |
| 1001 |
// - This function expects that the content of the message will |
| 1002 |
// adhere to the standard CloudEvent format. If it doesn't then this |
| 1003 |
// function will fail. |
| 1004 |
// - The result is a CEL map that corresponds to the JSON |
| 1005 |
// representation of the CloudEvent. To convert that data to a JSON |
| 1006 |
// string it can be chained with the toJsonString function. |
| 1007 |
// |
| 1008 |
// The Pipeline expects that the message it receives adheres to the |
| 1009 |
// standard CloudEvent format. If it doesn't then the outgoing message |
| 1010 |
// request may fail with a persistent error. |
| 1011 |
MessageBindingTemplate string `protobuf:"bytes,3,opt,name=message_binding_template,json=messageBindingTemplate,proto3" json:"message_binding_template,omitempty"` |
| 1012 |
} |
| 1013 |
|
| 1014 |
func (x *Pipeline_Destination_HttpEndpoint) Reset() { |
| 1015 |
*x = Pipeline_Destination_HttpEndpoint{} |
| 1016 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[11] |
| 1017 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1018 |
ms.StoreMessageInfo(mi) |
| 1019 |
} |
| 1020 |
|
| 1021 |
func (x *Pipeline_Destination_HttpEndpoint) String() string { |
| 1022 |
return protoimpl.X.MessageStringOf(x) |
| 1023 |
} |
| 1024 |
|
| 1025 |
func (*Pipeline_Destination_HttpEndpoint) ProtoMessage() {} |
| 1026 |
|
| 1027 |
func (x *Pipeline_Destination_HttpEndpoint) ProtoReflect() protoreflect.Message { |
| 1028 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[11] |
| 1029 |
if x != nil { |
| 1030 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1031 |
if ms.LoadMessageInfo() == nil { |
| 1032 |
ms.StoreMessageInfo(mi) |
| 1033 |
} |
| 1034 |
return ms |
| 1035 |
} |
| 1036 |
return mi.MessageOf(x) |
| 1037 |
} |
| 1038 |
|
| 1039 |
// Deprecated: Use Pipeline_Destination_HttpEndpoint.ProtoReflect.Descriptor instead. |
| 1040 |
func (*Pipeline_Destination_HttpEndpoint) Descriptor() ([]byte, []int) { |
| 1041 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1, 1} |
| 1042 |
} |
| 1043 |
|
| 1044 |
func (x *Pipeline_Destination_HttpEndpoint) GetUri() string { |
| 1045 |
if x != nil { |
| 1046 |
return x.Uri |
| 1047 |
} |
| 1048 |
return "" |
| 1049 |
} |
| 1050 |
|
| 1051 |
func (x *Pipeline_Destination_HttpEndpoint) GetMessageBindingTemplate() string { |
| 1052 |
if x != nil { |
| 1053 |
return x.MessageBindingTemplate |
| 1054 |
} |
| 1055 |
return "" |
| 1056 |
} |
| 1057 |
|
| 1058 |
// Represents a config used to authenticate message requests. |
| 1059 |
type Pipeline_Destination_AuthenticationConfig struct { |
| 1060 |
state protoimpl.MessageState |
| 1061 |
sizeCache protoimpl.SizeCache |
| 1062 |
unknownFields protoimpl.UnknownFields |
| 1063 |
|
| 1064 |
// The type of authentication method. |
| 1065 |
// |
| 1066 |
// Types that are assignable to AuthenticationMethodDescriptor: |
| 1067 |
// |
| 1068 |
// *Pipeline_Destination_AuthenticationConfig_GoogleOidc |
| 1069 |
// *Pipeline_Destination_AuthenticationConfig_OauthToken |
| 1070 |
AuthenticationMethodDescriptor isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor `protobuf_oneof:"authentication_method_descriptor"` |
| 1071 |
} |
| 1072 |
|
| 1073 |
func (x *Pipeline_Destination_AuthenticationConfig) Reset() { |
| 1074 |
*x = Pipeline_Destination_AuthenticationConfig{} |
| 1075 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[12] |
| 1076 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1077 |
ms.StoreMessageInfo(mi) |
| 1078 |
} |
| 1079 |
|
| 1080 |
func (x *Pipeline_Destination_AuthenticationConfig) String() string { |
| 1081 |
return protoimpl.X.MessageStringOf(x) |
| 1082 |
} |
| 1083 |
|
| 1084 |
func (*Pipeline_Destination_AuthenticationConfig) ProtoMessage() {} |
| 1085 |
|
| 1086 |
func (x *Pipeline_Destination_AuthenticationConfig) ProtoReflect() protoreflect.Message { |
| 1087 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[12] |
| 1088 |
if x != nil { |
| 1089 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1090 |
if ms.LoadMessageInfo() == nil { |
| 1091 |
ms.StoreMessageInfo(mi) |
| 1092 |
} |
| 1093 |
return ms |
| 1094 |
} |
| 1095 |
return mi.MessageOf(x) |
| 1096 |
} |
| 1097 |
|
| 1098 |
// Deprecated: Use Pipeline_Destination_AuthenticationConfig.ProtoReflect.Descriptor instead. |
| 1099 |
func (*Pipeline_Destination_AuthenticationConfig) Descriptor() ([]byte, []int) { |
| 1100 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1, 2} |
| 1101 |
} |
| 1102 |
|
| 1103 |
func (m *Pipeline_Destination_AuthenticationConfig) GetAuthenticationMethodDescriptor() isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor { |
| 1104 |
if m != nil { |
| 1105 |
return m.AuthenticationMethodDescriptor |
| 1106 |
} |
| 1107 |
return nil |
| 1108 |
} |
| 1109 |
|
| 1110 |
func (x *Pipeline_Destination_AuthenticationConfig) GetGoogleOidc() *Pipeline_Destination_AuthenticationConfig_OidcToken { |
| 1111 |
if x, ok := x.GetAuthenticationMethodDescriptor().(*Pipeline_Destination_AuthenticationConfig_GoogleOidc); ok { |
| 1112 |
return x.GoogleOidc |
| 1113 |
} |
| 1114 |
return nil |
| 1115 |
} |
| 1116 |
|
| 1117 |
func (x *Pipeline_Destination_AuthenticationConfig) GetOauthToken() *Pipeline_Destination_AuthenticationConfig_OAuthToken { |
| 1118 |
if x, ok := x.GetAuthenticationMethodDescriptor().(*Pipeline_Destination_AuthenticationConfig_OauthToken); ok { |
| 1119 |
return x.OauthToken |
| 1120 |
} |
| 1121 |
return nil |
| 1122 |
} |
| 1123 |
|
| 1124 |
type isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor interface { |
| 1125 |
isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor() |
| 1126 |
} |
| 1127 |
|
| 1128 |
type Pipeline_Destination_AuthenticationConfig_GoogleOidc struct { |
| 1129 |
// Optional. This authenticate method will apply Google OIDC tokens |
| 1130 |
// signed by a Google Cloud service account to the requests. |
| 1131 |
GoogleOidc *Pipeline_Destination_AuthenticationConfig_OidcToken `protobuf:"bytes,1,opt,name=google_oidc,json=googleOidc,proto3,oneof"` |
| 1132 |
} |
| 1133 |
|
| 1134 |
type Pipeline_Destination_AuthenticationConfig_OauthToken struct { |
| 1135 |
// Optional. If specified, an [OAuth |
| 1136 |
// token](https://developers.google.com/identity/protocols/OAuth2) will |
| 1137 |
// be generated and attached as an `Authorization` header in the HTTP |
| 1138 |
// request. |
| 1139 |
// |
| 1140 |
// This type of authorization should generally only be used when calling |
| 1141 |
// Google APIs hosted on *.googleapis.com. |
| 1142 |
OauthToken *Pipeline_Destination_AuthenticationConfig_OAuthToken `protobuf:"bytes,2,opt,name=oauth_token,json=oauthToken,proto3,oneof"` |
| 1143 |
} |
| 1144 |
|
| 1145 |
func (*Pipeline_Destination_AuthenticationConfig_GoogleOidc) isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor() { |
| 1146 |
} |
| 1147 |
|
| 1148 |
func (*Pipeline_Destination_AuthenticationConfig_OauthToken) isPipeline_Destination_AuthenticationConfig_AuthenticationMethodDescriptor() { |
| 1149 |
} |
| 1150 |
|
| 1151 |
// Represents a config used to authenticate with a Google OIDC token using |
| 1152 |
// a Google Cloud service account. Use this authentication method to |
| 1153 |
// invoke your Cloud Run and Cloud Functions destinations or HTTP |
| 1154 |
// endpoints that support Google OIDC. |
| 1155 |
type Pipeline_Destination_AuthenticationConfig_OidcToken struct { |
| 1156 |
state protoimpl.MessageState |
| 1157 |
sizeCache protoimpl.SizeCache |
| 1158 |
unknownFields protoimpl.UnknownFields |
| 1159 |
|
| 1160 |
// Required. Service account email used to generate the OIDC Token. |
| 1161 |
// The principal who calls this API must have |
| 1162 |
// iam.serviceAccounts.actAs permission in the service account. See |
| 1163 |
// https://cloud.google.com/iam/docs/understanding-service-accounts |
| 1164 |
// for more information. Eventarc service agents must have |
| 1165 |
// roles/roles/iam.serviceAccountTokenCreator role to allow the |
| 1166 |
// Pipeline to create OpenID tokens for authenticated requests. |
| 1167 |
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` |
| 1168 |
// Optional. Audience to be used to generate the OIDC Token. The |
| 1169 |
// audience claim identifies the recipient that the JWT is intended for. |
| 1170 |
// If unspecified, the destination URI will be used. |
| 1171 |
Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` |
| 1172 |
} |
| 1173 |
|
| 1174 |
func (x *Pipeline_Destination_AuthenticationConfig_OidcToken) Reset() { |
| 1175 |
*x = Pipeline_Destination_AuthenticationConfig_OidcToken{} |
| 1176 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[13] |
| 1177 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1178 |
ms.StoreMessageInfo(mi) |
| 1179 |
} |
| 1180 |
|
| 1181 |
func (x *Pipeline_Destination_AuthenticationConfig_OidcToken) String() string { |
| 1182 |
return protoimpl.X.MessageStringOf(x) |
| 1183 |
} |
| 1184 |
|
| 1185 |
func (*Pipeline_Destination_AuthenticationConfig_OidcToken) ProtoMessage() {} |
| 1186 |
|
| 1187 |
func (x *Pipeline_Destination_AuthenticationConfig_OidcToken) ProtoReflect() protoreflect.Message { |
| 1188 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[13] |
| 1189 |
if x != nil { |
| 1190 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1191 |
if ms.LoadMessageInfo() == nil { |
| 1192 |
ms.StoreMessageInfo(mi) |
| 1193 |
} |
| 1194 |
return ms |
| 1195 |
} |
| 1196 |
return mi.MessageOf(x) |
| 1197 |
} |
| 1198 |
|
| 1199 |
// Deprecated: Use Pipeline_Destination_AuthenticationConfig_OidcToken.ProtoReflect.Descriptor instead. |
| 1200 |
func (*Pipeline_Destination_AuthenticationConfig_OidcToken) Descriptor() ([]byte, []int) { |
| 1201 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1, 2, 0} |
| 1202 |
} |
| 1203 |
|
| 1204 |
func (x *Pipeline_Destination_AuthenticationConfig_OidcToken) GetServiceAccount() string { |
| 1205 |
if x != nil { |
| 1206 |
return x.ServiceAccount |
| 1207 |
} |
| 1208 |
return "" |
| 1209 |
} |
| 1210 |
|
| 1211 |
func (x *Pipeline_Destination_AuthenticationConfig_OidcToken) GetAudience() string { |
| 1212 |
if x != nil { |
| 1213 |
return x.Audience |
| 1214 |
} |
| 1215 |
return "" |
| 1216 |
} |
| 1217 |
|
| 1218 |
// Contains information needed for generating an |
| 1219 |
// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). |
| 1220 |
// This type of authorization should generally only be used when calling |
| 1221 |
// Google APIs hosted on *.googleapis.com. |
| 1222 |
type Pipeline_Destination_AuthenticationConfig_OAuthToken struct { |
| 1223 |
state protoimpl.MessageState |
| 1224 |
sizeCache protoimpl.SizeCache |
| 1225 |
unknownFields protoimpl.UnknownFields |
| 1226 |
|
| 1227 |
// Required. Service account email used to generate the [OAuth |
| 1228 |
// token](https://developers.google.com/identity/protocols/OAuth2). |
| 1229 |
// The principal who calls this API must have |
| 1230 |
// iam.serviceAccounts.actAs permission in the service account. See |
| 1231 |
// https://cloud.google.com/iam/docs/understanding-service-accounts |
| 1232 |
// for more information. Eventarc service agents must have |
| 1233 |
// roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline |
| 1234 |
// to create OAuth2 tokens for authenticated requests. |
| 1235 |
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` |
| 1236 |
// Optional. OAuth scope to be used for generating OAuth access token. |
| 1237 |
// If not specified, "https://www.googleapis.com/auth/cloud-platform" |
| 1238 |
// will be used. |
| 1239 |
Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` |
| 1240 |
} |
| 1241 |
|
| 1242 |
func (x *Pipeline_Destination_AuthenticationConfig_OAuthToken) Reset() { |
| 1243 |
*x = Pipeline_Destination_AuthenticationConfig_OAuthToken{} |
| 1244 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[14] |
| 1245 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1246 |
ms.StoreMessageInfo(mi) |
| 1247 |
} |
| 1248 |
|
| 1249 |
func (x *Pipeline_Destination_AuthenticationConfig_OAuthToken) String() string { |
| 1250 |
return protoimpl.X.MessageStringOf(x) |
| 1251 |
} |
| 1252 |
|
| 1253 |
func (*Pipeline_Destination_AuthenticationConfig_OAuthToken) ProtoMessage() {} |
| 1254 |
|
| 1255 |
func (x *Pipeline_Destination_AuthenticationConfig_OAuthToken) ProtoReflect() protoreflect.Message { |
| 1256 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[14] |
| 1257 |
if x != nil { |
| 1258 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1259 |
if ms.LoadMessageInfo() == nil { |
| 1260 |
ms.StoreMessageInfo(mi) |
| 1261 |
} |
| 1262 |
return ms |
| 1263 |
} |
| 1264 |
return mi.MessageOf(x) |
| 1265 |
} |
| 1266 |
|
| 1267 |
// Deprecated: Use Pipeline_Destination_AuthenticationConfig_OAuthToken.ProtoReflect.Descriptor instead. |
| 1268 |
func (*Pipeline_Destination_AuthenticationConfig_OAuthToken) Descriptor() ([]byte, []int) { |
| 1269 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 1, 2, 1} |
| 1270 |
} |
| 1271 |
|
| 1272 |
func (x *Pipeline_Destination_AuthenticationConfig_OAuthToken) GetServiceAccount() string { |
| 1273 |
if x != nil { |
| 1274 |
return x.ServiceAccount |
| 1275 |
} |
| 1276 |
return "" |
| 1277 |
} |
| 1278 |
|
| 1279 |
func (x *Pipeline_Destination_AuthenticationConfig_OAuthToken) GetScope() string { |
| 1280 |
if x != nil { |
| 1281 |
return x.Scope |
| 1282 |
} |
| 1283 |
return "" |
| 1284 |
} |
| 1285 |
|
| 1286 |
// Transformation defines the way to transform an incoming message. |
| 1287 |
type Pipeline_Mediation_Transformation struct { |
| 1288 |
state protoimpl.MessageState |
| 1289 |
sizeCache protoimpl.SizeCache |
| 1290 |
unknownFields protoimpl.UnknownFields |
| 1291 |
|
| 1292 |
// Optional. The CEL expression template to apply to transform messages. |
| 1293 |
// The following CEL extension functions are provided for |
| 1294 |
// use in this CEL expression: |
| 1295 |
// - merge: |
| 1296 |
// map1.merge(map2) -> map3 |
| 1297 |
// - Merges the passed CEL map with the existing CEL map the |
| 1298 |
// function is applied to. |
| 1299 |
// - If the same key exists in both maps, if the key's value is type |
| 1300 |
// map both maps are merged else the value from the passed map is |
| 1301 |
// used. |
| 1302 |
// - denormalize: |
| 1303 |
// map.denormalize() -> map |
| 1304 |
// - Denormalizes a CEL map such that every value of type map or key |
| 1305 |
// in the map is expanded to return a single level map. |
| 1306 |
// - The resulting keys are "." separated indices of the map keys. |
| 1307 |
// - For example: |
| 1308 |
// { |
| 1309 |
// "a": 1, |
| 1310 |
// "b": { |
| 1311 |
// "c": 2, |
| 1312 |
// "d": 3 |
| 1313 |
// } |
| 1314 |
// "e": [4, 5] |
| 1315 |
// } |
| 1316 |
// .denormalize() |
| 1317 |
// -> { |
| 1318 |
// "a": 1, |
| 1319 |
// "b.c": 2, |
| 1320 |
// "b.d": 3, |
| 1321 |
// "e.0": 4, |
| 1322 |
// "e.1": 5 |
| 1323 |
// } |
| 1324 |
// - setField: |
| 1325 |
// map.setField(key, value) -> message |
| 1326 |
// - Sets the field of the message with the given key to the |
| 1327 |
// given value. |
| 1328 |
// - If the field is not present it will be added. |
| 1329 |
// - If the field is present it will be overwritten. |
| 1330 |
// - The key can be a dot separated path to set a field in a nested |
| 1331 |
// message. |
| 1332 |
// - Key must be of type string. |
| 1333 |
// - Value may be any valid type. |
| 1334 |
// - removeFields: |
| 1335 |
// map.removeFields([key1, key2, ...]) -> message |
| 1336 |
// - Removes the fields of the map with the given keys. |
| 1337 |
// - The keys can be a dot separated path to remove a field in a |
| 1338 |
// nested message. |
| 1339 |
// - If a key is not found it will be ignored. |
| 1340 |
// - Keys must be of type string. |
| 1341 |
// - toMap: |
| 1342 |
// [map1, map2, ...].toMap() -> map |
| 1343 |
// - Converts a CEL list of CEL maps to a single CEL map |
| 1344 |
// - toDestinationPayloadFormat(): |
| 1345 |
// message.data.toDestinationPayloadFormat() -> string or bytes |
| 1346 |
// - Converts the message data to the destination payload format |
| 1347 |
// specified in Pipeline.Destination.output_payload_format |
| 1348 |
// - This function is meant to be applied to the message.data field. |
| 1349 |
// - If the destination payload format is not set, the function will |
| 1350 |
// return the message data unchanged. |
| 1351 |
// - toCloudEventJsonWithPayloadFormat: |
| 1352 |
// message.toCloudEventJsonWithPayloadFormat() -> map |
| 1353 |
// - Converts a message to the corresponding structure of JSON |
| 1354 |
// format for CloudEvents |
| 1355 |
// - This function applies toDestinationPayloadFormat() to the |
| 1356 |
// message data. It also sets the corresponding datacontenttype of |
| 1357 |
// the CloudEvent, as indicated by |
| 1358 |
// Pipeline.Destination.output_payload_format. If no |
| 1359 |
// output_payload_format is set it will use the existing |
| 1360 |
// datacontenttype on the CloudEvent if present, else leave |
| 1361 |
// datacontenttype absent. |
| 1362 |
// - This function expects that the content of the message will |
| 1363 |
// adhere to the standard CloudEvent format. If it doesn't then this |
| 1364 |
// function will fail. |
| 1365 |
// - The result is a CEL map that corresponds to the JSON |
| 1366 |
// representation of the CloudEvent. To convert that data to a JSON |
| 1367 |
// string it can be chained with the toJsonString function. |
| 1368 |
TransformationTemplate string `protobuf:"bytes,1,opt,name=transformation_template,json=transformationTemplate,proto3" json:"transformation_template,omitempty"` |
| 1369 |
} |
| 1370 |
|
| 1371 |
func (x *Pipeline_Mediation_Transformation) Reset() { |
| 1372 |
*x = Pipeline_Mediation_Transformation{} |
| 1373 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[15] |
| 1374 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1375 |
ms.StoreMessageInfo(mi) |
| 1376 |
} |
| 1377 |
|
| 1378 |
func (x *Pipeline_Mediation_Transformation) String() string { |
| 1379 |
return protoimpl.X.MessageStringOf(x) |
| 1380 |
} |
| 1381 |
|
| 1382 |
func (*Pipeline_Mediation_Transformation) ProtoMessage() {} |
| 1383 |
|
| 1384 |
func (x *Pipeline_Mediation_Transformation) ProtoReflect() protoreflect.Message { |
| 1385 |
mi := &file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[15] |
| 1386 |
if x != nil { |
| 1387 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1388 |
if ms.LoadMessageInfo() == nil { |
| 1389 |
ms.StoreMessageInfo(mi) |
| 1390 |
} |
| 1391 |
return ms |
| 1392 |
} |
| 1393 |
return mi.MessageOf(x) |
| 1394 |
} |
| 1395 |
|
| 1396 |
// Deprecated: Use Pipeline_Mediation_Transformation.ProtoReflect.Descriptor instead. |
| 1397 |
func (*Pipeline_Mediation_Transformation) Descriptor() ([]byte, []int) { |
| 1398 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP(), []int{0, 2, 0} |
| 1399 |
} |
| 1400 |
|
| 1401 |
func (x *Pipeline_Mediation_Transformation) GetTransformationTemplate() string { |
| 1402 |
if x != nil { |
| 1403 |
return x.TransformationTemplate |
| 1404 |
} |
| 1405 |
return "" |
| 1406 |
} |
| 1407 |
|
| 1408 |
var File_google_cloud_eventarc_v1_pipeline_proto protoreflect.FileDescriptor |
| 1409 |
|
| 1410 |
var file_google_cloud_eventarc_v1_pipeline_proto_rawDesc = []byte{ |
| 1411 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, |
| 1412 |
0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, |
| 1413 |
0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1414 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, |
| 1415 |
0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 1416 |
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, |
| 1417 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 1418 |
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1419 |
0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, |
| 1420 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, |
| 1421 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, |
| 1422 |
0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x63, |
| 1423 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, |
| 1424 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, |
| 1425 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 1426 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, |
| 1427 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x1c, 0x0a, |
| 1428 |
0x08, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 1429 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, |
| 1430 |
0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, |
| 1431 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1432 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 1433 |
0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 1434 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, |
| 1435 |
0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1436 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 1437 |
0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, |
| 1438 |
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, |
| 1439 |
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1440 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, |
| 1441 |
0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, |
| 1442 |
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, |
| 1443 |
0x65, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, |
| 1444 |
0x42, 0x0b, 0xe0, 0x41, 0x03, 0xe2, 0x8c, 0xcf, 0xd7, 0x08, 0x02, 0x08, 0x01, 0x52, 0x03, 0x75, |
| 1445 |
0x69, 0x64, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1446 |
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1447 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, |
| 1448 |
0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, |
| 1449 |
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, |
| 1450 |
0x01, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, |
| 1451 |
0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, |
| 1452 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, |
| 1453 |
0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, |
| 1454 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, |
| 1455 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, |
| 1456 |
0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, |
| 1457 |
0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, |
| 1458 |
0x02, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, |
| 1459 |
0x51, 0x0a, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, |
| 1460 |
0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1461 |
0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, |
| 1462 |
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, |
| 1463 |
0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, |
| 1464 |
0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, |
| 1465 |
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, |
| 1466 |
0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, |
| 1467 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, |
| 1468 |
0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, |
| 1469 |
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x6e, 0x0a, 0x14, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, |
| 1470 |
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0b, 0x20, |
| 1471 |
0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1472 |
0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, |
| 1473 |
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, |
| 1474 |
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, |
| 1475 |
0x01, 0x52, 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, |
| 1476 |
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, |
| 1477 |
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, |
| 1478 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, |
| 1479 |
0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, |
| 1480 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x6c, 0x6f, 0x67, |
| 1481 |
0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0c, 0x72, 0x65, |
| 1482 |
0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, |
| 1483 |
0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1484 |
0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, |
| 1485 |
0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 1486 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, |
| 1487 |
0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x63, 0x20, 0x01, 0x28, 0x09, |
| 1488 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x73, |
| 1489 |
0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x73, 0x18, 0x0e, 0x20, 0x01, |
| 1490 |
0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, |
| 1491 |
0x65, 0x73, 0x50, 0x7a, 0x73, 0x1a, 0xd9, 0x03, 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 1492 |
0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x69, |
| 1493 |
0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 1494 |
0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1495 |
0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, |
| 1496 |
0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x61, 0x79, 0x6c, |
| 1497 |
0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1498 |
0x75, 0x66, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, |
| 1499 |
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x12, 0x5d, 0x0a, 0x04, 0x61, 0x76, 0x72, |
| 1500 |
0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1501 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, |
| 1502 |
0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, |
| 1503 |
0x61, 0x67, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, |
| 1504 |
0x2e, 0x41, 0x76, 0x72, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 1505 |
0x48, 0x00, 0x52, 0x04, 0x61, 0x76, 0x72, 0x6f, 0x12, 0x5d, 0x0a, 0x04, 0x6a, 0x73, 0x6f, 0x6e, |
| 1506 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1507 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, |
| 1508 |
0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, |
| 1509 |
0x67, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x2e, |
| 1510 |
0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, |
| 1511 |
0x00, 0x52, 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x1a, 0x0c, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, 0x6e, 0x46, |
| 1512 |
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x1a, 0x42, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1513 |
0x66, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x30, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, |
| 1514 |
0x61, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, |
| 1515 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, |
| 1516 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3e, 0x0a, 0x0a, 0x41, 0x76, 0x72, |
| 1517 |
0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x30, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, |
| 1518 |
0x61, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, |
| 1519 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, |
| 1520 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, |
| 1521 |
0x64, 0x1a, 0xc4, 0x0b, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, |
| 1522 |
0x6e, 0x12, 0x68, 0x0a, 0x0e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, |
| 1523 |
0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1524 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, |
| 1525 |
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, |
| 1526 |
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, |
| 1527 |
0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x6e, 0x65, |
| 1528 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x67, 0x0a, 0x0d, 0x68, |
| 1529 |
0x74, 0x74, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, |
| 1530 |
0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 1531 |
0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, |
| 1532 |
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, |
| 1533 |
0x6f, 0x6e, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, |
| 1534 |
0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x45, 0x6e, 0x64, 0x70, |
| 1535 |
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, |
| 1536 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x23, 0x0a, 0x21, |
| 1537 |
0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1538 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, |
| 1539 |
0x77, 0x48, 0x00, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x4d, 0x0a, |
| 1540 |
0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, |
| 1541 |
0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x65, 0x76, 0x65, 0x6e, |
| 1542 |
0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 1543 |
0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x75, 0x73, 0x48, 0x00, |
| 1544 |
0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x05, |
| 1545 |
0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x01, |
| 1546 |
0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1547 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, |
| 1548 |
0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x7d, 0x0a, 0x15, 0x61, 0x75, 0x74, |
| 1549 |
0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 1550 |
0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1551 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, |
| 1552 |
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, 0x73, |
| 1553 |
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, |
| 1554 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, |
| 1555 |
0x41, 0x01, 0x52, 0x14, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, |
| 1556 |
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x70, 0x0a, 0x15, 0x6f, 0x75, 0x74, 0x70, |
| 1557 |
0x75, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, |
| 1558 |
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1559 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, |
| 1560 |
0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, |
| 1561 |
0x61, 0x67, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, |
| 1562 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x79, |
| 1563 |
0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x1a, 0x70, 0x0a, 0x0d, 0x4e, 0x65, |
| 1564 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5f, 0x0a, 0x12, 0x6e, |
| 1565 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, |
| 1566 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, |
| 1567 |
0x28, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 1568 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, |
| 1569 |
0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, |
| 1570 |
0x72, 0x6b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x64, 0x0a, 0x0c, |
| 1571 |
0x48, 0x74, 0x74, 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, |
| 1572 |
0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, |
| 1573 |
0x75, 0x72, 0x69, 0x12, 0x3d, 0x0a, 0x18, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x62, |
| 1574 |
0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, |
| 1575 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 0x6d, 0x65, 0x73, 0x73, |
| 1576 |
0x61, 0x67, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, |
| 1577 |
0x74, 0x65, 0x1a, 0xa9, 0x04, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, |
| 1578 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x75, 0x0a, 0x0b, 0x67, |
| 1579 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x6f, 0x69, 0x64, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 1580 |
0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1581 |
0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, |
| 1582 |
0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1583 |
0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, |
| 1584 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, |
| 1585 |
0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x4f, 0x69, |
| 1586 |
0x64, 0x63, 0x12, 0x76, 0x0a, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, |
| 1587 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1588 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, |
| 1589 |
0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, |
| 1590 |
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, |
| 1591 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 0x41, 0x75, |
| 1592 |
0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, |
| 1593 |
0x6f, 0x61, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x80, 0x01, 0x0a, 0x09, 0x4f, |
| 1594 |
0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x52, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, |
| 1595 |
0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1596 |
0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, |
| 1597 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, |
| 1598 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, |
| 1599 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x08, |
| 1600 |
0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 1601 |
0xe0, 0x41, 0x01, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x7b, 0x0a, |
| 1602 |
0x0a, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x52, 0x0a, 0x0f, 0x73, |
| 1603 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, |
| 1604 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, |
| 1605 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 1606 |
0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, |
| 1607 |
0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| 1608 |
0x19, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 1609 |
0xe0, 0x41, 0x01, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x42, 0x22, 0x0a, 0x20, 0x61, 0x75, |
| 1610 |
0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, |
| 1611 |
0x68, 0x6f, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x42, 0x18, |
| 1612 |
0x0a, 0x16, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, |
| 1613 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x1a, 0xdf, 0x01, 0x0a, 0x09, 0x4d, 0x65, 0x64, |
| 1614 |
0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, |
| 1615 |
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, |
| 1616 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, |
| 1617 |
0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, |
| 1618 |
0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, |
| 1619 |
0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 1620 |
0x48, 0x00, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, |
| 1621 |
0x6f, 0x6e, 0x1a, 0x4e, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, |
| 1622 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, |
| 1623 |
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, |
| 1624 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, |
| 1625 |
0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, |
| 1626 |
0x74, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 1627 |
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x1a, 0xc5, 0x01, 0x0a, 0x0b, 0x52, |
| 1628 |
0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0c, 0x6d, 0x61, |
| 1629 |
0x78, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, |
| 1630 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, |
| 1631 |
0x74, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, |
| 1632 |
0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, |
| 1633 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, |
| 1634 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x6d, 0x69, 0x6e, |
| 1635 |
0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x61, |
| 1636 |
0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, |
| 1637 |
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 1638 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, |
| 1639 |
0xe0, 0x41, 0x01, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x65, 0x6c, |
| 1640 |
0x61, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 1641 |
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| 1642 |
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 1643 |
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, |
| 1644 |
0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 1645 |
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| 1646 |
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 1647 |
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x78, 0xea, |
| 1648 |
0x41, 0x75, 0x0a, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, |
| 1649 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x69, 0x70, 0x65, |
| 1650 |
0x6c, 0x69, 0x6e, 0x65, 0x12, 0x3c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, |
| 1651 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 1652 |
0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x69, |
| 1653 |
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, |
| 1654 |
0x65, 0x7d, 0x2a, 0x09, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x32, 0x08, 0x70, |
| 1655 |
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x80, 0x02, 0xea, 0x41, 0x40, 0x0a, 0x1b, 0x70, |
| 1656 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 1657 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, |
| 1658 |
0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x74, |
| 1659 |
0x6f, 0x70, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x7d, 0x0a, 0x1c, 0x63, |
| 1660 |
0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1661 |
0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x50, 0x69, 0x70, |
| 1662 |
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x63, 0x6c, |
| 1663 |
0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, |
| 1664 |
0x6f, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, |
| 1665 |
0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0x3b, 0x65, 0x76, 0x65, 0x6e, |
| 1666 |
0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1667 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x56, |
| 1668 |
0x31, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 1669 |
0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1b, 0x47, |
| 1670 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x76, |
| 1671 |
0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 1672 |
0x6f, 0x33, |
| 1673 |
} |
| 1674 |
|
| 1675 |
var ( |
| 1676 |
file_google_cloud_eventarc_v1_pipeline_proto_rawDescOnce sync.Once |
| 1677 |
file_google_cloud_eventarc_v1_pipeline_proto_rawDescData = file_google_cloud_eventarc_v1_pipeline_proto_rawDesc |
| 1678 |
) |
| 1679 |
|
| 1680 |
func file_google_cloud_eventarc_v1_pipeline_proto_rawDescGZIP() []byte { |
| 1681 |
file_google_cloud_eventarc_v1_pipeline_proto_rawDescOnce.Do(func() { |
| 1682 |
file_google_cloud_eventarc_v1_pipeline_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_v1_pipeline_proto_rawDescData) |
| 1683 |
}) |
| 1684 |
return file_google_cloud_eventarc_v1_pipeline_proto_rawDescData |
| 1685 |
} |
| 1686 |
|
| 1687 |
var file_google_cloud_eventarc_v1_pipeline_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
| 1688 |
var file_google_cloud_eventarc_v1_pipeline_proto_goTypes = []any{ |
| 1689 |
(*Pipeline)(nil), // 0: google.cloud.eventarc.v1.Pipeline |
| 1690 |
(*Pipeline_MessagePayloadFormat)(nil), // 1: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat |
| 1691 |
(*Pipeline_Destination)(nil), // 2: google.cloud.eventarc.v1.Pipeline.Destination |
| 1692 |
(*Pipeline_Mediation)(nil), // 3: google.cloud.eventarc.v1.Pipeline.Mediation |
| 1693 |
(*Pipeline_RetryPolicy)(nil), // 4: google.cloud.eventarc.v1.Pipeline.RetryPolicy |
| 1694 |
nil, // 5: google.cloud.eventarc.v1.Pipeline.LabelsEntry |
| 1695 |
nil, // 6: google.cloud.eventarc.v1.Pipeline.AnnotationsEntry |
| 1696 |
(*Pipeline_MessagePayloadFormat_JsonFormat)(nil), // 7: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat |
| 1697 |
(*Pipeline_MessagePayloadFormat_ProtobufFormat)(nil), // 8: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat |
| 1698 |
(*Pipeline_MessagePayloadFormat_AvroFormat)(nil), // 9: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat |
| 1699 |
(*Pipeline_Destination_NetworkConfig)(nil), // 10: google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig |
| 1700 |
(*Pipeline_Destination_HttpEndpoint)(nil), // 11: google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpoint |
| 1701 |
(*Pipeline_Destination_AuthenticationConfig)(nil), // 12: google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig |
| 1702 |
(*Pipeline_Destination_AuthenticationConfig_OidcToken)(nil), // 13: google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken |
| 1703 |
(*Pipeline_Destination_AuthenticationConfig_OAuthToken)(nil), // 14: google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken |
| 1704 |
(*Pipeline_Mediation_Transformation)(nil), // 15: google.cloud.eventarc.v1.Pipeline.Mediation.Transformation |
| 1705 |
(*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp |
| 1706 |
(*LoggingConfig)(nil), // 17: google.cloud.eventarc.v1.LoggingConfig |
| 1707 |
(*durationpb.Duration)(nil), // 18: google.protobuf.Duration |
| 1708 |
} |
| 1709 |
var file_google_cloud_eventarc_v1_pipeline_proto_depIdxs = []int32{ |
| 1710 |
16, // 0: google.cloud.eventarc.v1.Pipeline.create_time:type_name -> google.protobuf.Timestamp |
| 1711 |
16, // 1: google.cloud.eventarc.v1.Pipeline.update_time:type_name -> google.protobuf.Timestamp |
| 1712 |
5, // 2: google.cloud.eventarc.v1.Pipeline.labels:type_name -> google.cloud.eventarc.v1.Pipeline.LabelsEntry |
| 1713 |
6, // 3: google.cloud.eventarc.v1.Pipeline.annotations:type_name -> google.cloud.eventarc.v1.Pipeline.AnnotationsEntry |
| 1714 |
2, // 4: google.cloud.eventarc.v1.Pipeline.destinations:type_name -> google.cloud.eventarc.v1.Pipeline.Destination |
| 1715 |
3, // 5: google.cloud.eventarc.v1.Pipeline.mediations:type_name -> google.cloud.eventarc.v1.Pipeline.Mediation |
| 1716 |
1, // 6: google.cloud.eventarc.v1.Pipeline.input_payload_format:type_name -> google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat |
| 1717 |
17, // 7: google.cloud.eventarc.v1.Pipeline.logging_config:type_name -> google.cloud.eventarc.v1.LoggingConfig |
| 1718 |
4, // 8: google.cloud.eventarc.v1.Pipeline.retry_policy:type_name -> google.cloud.eventarc.v1.Pipeline.RetryPolicy |
| 1719 |
8, // 9: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.protobuf:type_name -> google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat |
| 1720 |
9, // 10: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.avro:type_name -> google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat |
| 1721 |
7, // 11: google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.json:type_name -> google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat |
| 1722 |
10, // 12: google.cloud.eventarc.v1.Pipeline.Destination.network_config:type_name -> google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig |
| 1723 |
11, // 13: google.cloud.eventarc.v1.Pipeline.Destination.http_endpoint:type_name -> google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpoint |
| 1724 |
12, // 14: google.cloud.eventarc.v1.Pipeline.Destination.authentication_config:type_name -> google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig |
| 1725 |
1, // 15: google.cloud.eventarc.v1.Pipeline.Destination.output_payload_format:type_name -> google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat |
| 1726 |
15, // 16: google.cloud.eventarc.v1.Pipeline.Mediation.transformation:type_name -> google.cloud.eventarc.v1.Pipeline.Mediation.Transformation |
| 1727 |
18, // 17: google.cloud.eventarc.v1.Pipeline.RetryPolicy.min_retry_delay:type_name -> google.protobuf.Duration |
| 1728 |
18, // 18: google.cloud.eventarc.v1.Pipeline.RetryPolicy.max_retry_delay:type_name -> google.protobuf.Duration |
| 1729 |
13, // 19: google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.google_oidc:type_name -> google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken |
| 1730 |
14, // 20: google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.oauth_token:type_name -> google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken |
| 1731 |
21, // [21:21] is the sub-list for method output_type |
| 1732 |
21, // [21:21] is the sub-list for method input_type |
| 1733 |
21, // [21:21] is the sub-list for extension type_name |
| 1734 |
21, // [21:21] is the sub-list for extension extendee |
| 1735 |
0, // [0:21] is the sub-list for field type_name |
| 1736 |
} |
| 1737 |
|
| 1738 |
func init() { file_google_cloud_eventarc_v1_pipeline_proto_init() } |
| 1739 |
func file_google_cloud_eventarc_v1_pipeline_proto_init() { |
| 1740 |
if File_google_cloud_eventarc_v1_pipeline_proto != nil { |
| 1741 |
return |
| 1742 |
} |
| 1743 |
file_google_cloud_eventarc_v1_logging_config_proto_init() |
| 1744 |
file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[1].OneofWrappers = []any{ |
| 1745 |
(*Pipeline_MessagePayloadFormat_Protobuf)(nil), |
| 1746 |
(*Pipeline_MessagePayloadFormat_Avro)(nil), |
| 1747 |
(*Pipeline_MessagePayloadFormat_Json)(nil), |
| 1748 |
} |
| 1749 |
file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[2].OneofWrappers = []any{ |
| 1750 |
(*Pipeline_Destination_HttpEndpoint_)(nil), |
| 1751 |
(*Pipeline_Destination_Workflow)(nil), |
| 1752 |
(*Pipeline_Destination_MessageBus)(nil), |
| 1753 |
(*Pipeline_Destination_Topic)(nil), |
| 1754 |
} |
| 1755 |
file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[3].OneofWrappers = []any{ |
| 1756 |
(*Pipeline_Mediation_Transformation_)(nil), |
| 1757 |
} |
| 1758 |
file_google_cloud_eventarc_v1_pipeline_proto_msgTypes[12].OneofWrappers = []any{ |
| 1759 |
(*Pipeline_Destination_AuthenticationConfig_GoogleOidc)(nil), |
| 1760 |
(*Pipeline_Destination_AuthenticationConfig_OauthToken)(nil), |
| 1761 |
} |
| 1762 |
type x struct{} |
| 1763 |
out := protoimpl.TypeBuilder{ |
| 1764 |
File: protoimpl.DescBuilder{ |
| 1765 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1766 |
RawDescriptor: file_google_cloud_eventarc_v1_pipeline_proto_rawDesc, |
| 1767 |
NumEnums: 0, |
| 1768 |
NumMessages: 16, |
| 1769 |
NumExtensions: 0, |
| 1770 |
NumServices: 0, |
| 1771 |
}, |
| 1772 |
GoTypes: file_google_cloud_eventarc_v1_pipeline_proto_goTypes, |
| 1773 |
DependencyIndexes: file_google_cloud_eventarc_v1_pipeline_proto_depIdxs, |
| 1774 |
MessageInfos: file_google_cloud_eventarc_v1_pipeline_proto_msgTypes, |
| 1775 |
}.Build() |
| 1776 |
File_google_cloud_eventarc_v1_pipeline_proto = out.File |
| 1777 |
file_google_cloud_eventarc_v1_pipeline_proto_rawDesc = nil |
| 1778 |
file_google_cloud_eventarc_v1_pipeline_proto_goTypes = nil |
| 1779 |
file_google_cloud_eventarc_v1_pipeline_proto_depIdxs = nil |
| 1780 |
} |