|
1 | 1 | defmodule Io.Cloudevents.V1.CloudEvent.AttributesEntry do |
2 | 2 | @moduledoc false |
3 | | - use Protobuf, map: true, protoc_gen_elixir_version: "0.14.0", syntax: :proto3 |
| 3 | + use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 |
4 | 4 |
|
5 | 5 | def descriptor do |
6 | 6 | # credo:disable-for-next-line |
@@ -58,13 +58,13 @@ defmodule Io.Cloudevents.V1.CloudEvent.AttributesEntry do |
58 | 58 | } |
59 | 59 | end |
60 | 60 |
|
61 | | - field(:key, 1, type: :string) |
62 | | - field(:value, 2, type: Io.Cloudevents.V1.CloudEvent.CloudEventAttributeValue) |
| 61 | + field :key, 1, type: :string |
| 62 | + field :value, 2, type: Io.Cloudevents.V1.CloudEvent.CloudEventAttributeValue |
63 | 63 | end |
64 | 64 |
|
65 | 65 | defmodule Io.Cloudevents.V1.CloudEvent.CloudEventAttributeValue do |
66 | 66 | @moduledoc false |
67 | | - use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3 |
| 67 | + use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 |
68 | 68 |
|
69 | 69 | def descriptor do |
70 | 70 | # credo:disable-for-next-line |
@@ -184,20 +184,20 @@ defmodule Io.Cloudevents.V1.CloudEvent.CloudEventAttributeValue do |
184 | 184 | } |
185 | 185 | end |
186 | 186 |
|
187 | | - oneof(:attr, 0) |
| 187 | + oneof :attr, 0 |
188 | 188 |
|
189 | | - field(:ce_boolean, 1, type: :bool, json_name: "ceBoolean", oneof: 0) |
190 | | - field(:ce_integer, 2, type: :int32, json_name: "ceInteger", oneof: 0) |
191 | | - field(:ce_string, 3, type: :string, json_name: "ceString", oneof: 0) |
192 | | - field(:ce_bytes, 4, type: :bytes, json_name: "ceBytes", oneof: 0) |
193 | | - field(:ce_uri, 5, type: :string, json_name: "ceUri", oneof: 0) |
194 | | - field(:ce_uri_ref, 6, type: :string, json_name: "ceUriRef", oneof: 0) |
195 | | - field(:ce_timestamp, 7, type: Google.Protobuf.Timestamp, json_name: "ceTimestamp", oneof: 0) |
| 189 | + field :ce_boolean, 1, type: :bool, json_name: "ceBoolean", oneof: 0 |
| 190 | + field :ce_integer, 2, type: :int32, json_name: "ceInteger", oneof: 0 |
| 191 | + field :ce_string, 3, type: :string, json_name: "ceString", oneof: 0 |
| 192 | + field :ce_bytes, 4, type: :bytes, json_name: "ceBytes", oneof: 0 |
| 193 | + field :ce_uri, 5, type: :string, json_name: "ceUri", oneof: 0 |
| 194 | + field :ce_uri_ref, 6, type: :string, json_name: "ceUriRef", oneof: 0 |
| 195 | + field :ce_timestamp, 7, type: Google.Protobuf.Timestamp, json_name: "ceTimestamp", oneof: 0 |
196 | 196 | end |
197 | 197 |
|
198 | 198 | defmodule Io.Cloudevents.V1.CloudEvent do |
199 | 199 | @moduledoc false |
200 | | - use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3 |
| 200 | + use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 |
201 | 201 |
|
202 | 202 | def descriptor do |
203 | 203 | # credo:disable-for-next-line |
@@ -502,20 +502,19 @@ defmodule Io.Cloudevents.V1.CloudEvent do |
502 | 502 | } |
503 | 503 | end |
504 | 504 |
|
505 | | - oneof(:data, 0) |
| 505 | + oneof :data, 0 |
506 | 506 |
|
507 | | - field(:id, 1, type: :string) |
508 | | - field(:source, 2, type: :string) |
509 | | - field(:spec_version, 3, type: :string, json_name: "specVersion") |
510 | | - field(:type, 4, type: :string) |
| 507 | + field :id, 1, type: :string |
| 508 | + field :source, 2, type: :string |
| 509 | + field :spec_version, 3, type: :string, json_name: "specVersion" |
| 510 | + field :type, 4, type: :string |
511 | 511 |
|
512 | | - field(:attributes, 5, |
| 512 | + field :attributes, 5, |
513 | 513 | repeated: true, |
514 | 514 | type: Io.Cloudevents.V1.CloudEvent.AttributesEntry, |
515 | 515 | map: true |
516 | | - ) |
517 | 516 |
|
518 | | - field(:binary_data, 6, type: :bytes, json_name: "binaryData", oneof: 0) |
519 | | - field(:text_data, 7, type: :string, json_name: "textData", oneof: 0) |
520 | | - field(:proto_data, 8, type: Google.Protobuf.Any, json_name: "protoData", oneof: 0) |
| 517 | + field :binary_data, 6, type: :bytes, json_name: "binaryData", oneof: 0 |
| 518 | + field :text_data, 7, type: :string, json_name: "textData", oneof: 0 |
| 519 | + field :proto_data, 8, type: Google.Protobuf.Any, json_name: "protoData", oneof: 0 |
521 | 520 | end |
0 commit comments