Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/elixirpb.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
defmodule Elixirpb.FileOptions do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
full_name: "elixirpb.FileOptions",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :module_prefix, 1, optional: true, type: :string, json_name: "modulePrefix"
end
2 changes: 1 addition & 1 deletion lib/elixirpb/pb_extension.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Elixirpb.PbExtension do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1"
use Protobuf, protoc_gen_elixir_version: "0.15.0"

extend Google.Protobuf.FileOptions, :file, 1047, optional: true, type: Elixirpb.FileOptions
end
5 changes: 4 additions & 1 deletion lib/google/protobuf/any.pb.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ defmodule Google.Protobuf.Any do
}
"""

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto3
use Protobuf,
full_name: "google.protobuf.Any",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto3

def descriptor do
# credo:disable-for-next-line
Expand Down
26 changes: 21 additions & 5 deletions lib/google/protobuf/compiler/plugin.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse.Feature do
@moduledoc false

use Protobuf, enum: true, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
enum: true,
full_name: "google.protobuf.compiler.CodeGeneratorResponse.Feature",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :FEATURE_NONE, 0
field :FEATURE_PROTO3_OPTIONAL, 1
Expand All @@ -11,7 +15,10 @@ end
defmodule Google.Protobuf.Compiler.Version do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
full_name: "google.protobuf.compiler.Version",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :major, 1, optional: true, type: :int32
field :minor, 2, optional: true, type: :int32
Expand All @@ -22,7 +29,10 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorRequest do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
full_name: "google.protobuf.compiler.CodeGeneratorRequest",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :file_to_generate, 1, repeated: true, type: :string, json_name: "fileToGenerate"
field :parameter, 2, optional: true, type: :string
Expand All @@ -46,7 +56,10 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse.File do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
full_name: "google.protobuf.compiler.CodeGeneratorResponse.File",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :name, 1, optional: true, type: :string
field :insertion_point, 2, optional: true, type: :string, json_name: "insertionPoint"
Expand All @@ -61,7 +74,10 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto2
use Protobuf,
full_name: "google.protobuf.compiler.CodeGeneratorResponse",
protoc_gen_elixir_version: "0.15.0",
syntax: :proto2

field :error, 1, optional: true, type: :string
field :supported_features, 2, optional: true, type: :uint64, json_name: "supportedFeatures"
Expand Down
Loading