Skip to content

Commit

Permalink
Regenerate protofiles
Browse files Browse the repository at this point in the history
  • Loading branch information
szajbus committed Aug 2, 2023
1 parent c37aa25 commit 65b07f9
Show file tree
Hide file tree
Showing 5 changed files with 671 additions and 562 deletions.
43 changes: 24 additions & 19 deletions lib/etcd_ex/protos/auth.pb.ex
Original file line number Diff line number Diff line change
@@ -1,42 +1,47 @@
defmodule Authpb.Permission.Type do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.10.0", syntax: :proto3

field(:READ, 0)
field(:WRITE, 1)
field(:READWRITE, 2)
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field :READ, 0
field :WRITE, 1
field :READWRITE, 2
end

defmodule Authpb.UserAddOptions do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto3

field(:no_password, 1, type: :bool, json_name: "noPassword")
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field :no_password, 1, type: :bool, json_name: "noPassword"
end

defmodule Authpb.User do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto3

field(:name, 1, type: :bytes)
field(:password, 2, type: :bytes)
field(:roles, 3, repeated: true, type: :string)
field(:options, 4, type: Authpb.UserAddOptions)
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field :name, 1, type: :bytes
field :password, 2, type: :bytes
field :roles, 3, repeated: true, type: :string
field :options, 4, type: Authpb.UserAddOptions
end

defmodule Authpb.Permission do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto3

field(:permType, 1, type: Authpb.Permission.Type, enum: true)
field(:key, 2, type: :bytes)
field(:range_end, 3, type: :bytes, json_name: "rangeEnd")
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field :permType, 1, type: Authpb.Permission.Type, enum: true
field :key, 2, type: :bytes
field :range_end, 3, type: :bytes, json_name: "rangeEnd"
end

defmodule Authpb.Role do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto3

field(:name, 1, type: :bytes)
field(:keyPermission, 2, repeated: true, type: Authpb.Permission)
end
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field :name, 1, type: :bytes
field :keyPermission, 2, repeated: true, type: Authpb.Permission
end
147 changes: 0 additions & 147 deletions lib/etcd_ex/protos/gogo.pb.ex
Original file line number Diff line number Diff line change
@@ -1,147 +0,0 @@
defmodule Gogoproto.PbExtension do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.10.0", syntax: :proto2

extend(Google.Protobuf.EnumOptions, :goproto_enum_prefix, 62001, optional: true, type: :bool)

extend(Google.Protobuf.EnumOptions, :goproto_enum_stringer, 62021, optional: true, type: :bool)

extend(Google.Protobuf.EnumOptions, :enum_stringer, 62022, optional: true, type: :bool)

extend(Google.Protobuf.EnumOptions, :enum_customname, 62023, optional: true, type: :string)

extend(Google.Protobuf.EnumValueOptions, :enumvalue_customname, 66001,
optional: true,
type: :string
)

extend(Google.Protobuf.FileOptions, :goproto_getters_all, 63001, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :goproto_enum_prefix_all, 63002, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :goproto_stringer_all, 63003, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :verbose_equal_all, 63004, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :face_all, 63005, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :gostring_all, 63006, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :populate_all, 63007, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :stringer_all, 63008, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :onlyone_all, 63009, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :equal_all, 63013, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :description_all, 63014, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :testgen_all, 63015, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :benchgen_all, 63016, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :marshaler_all, 63017, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :unmarshaler_all, 63018, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :stable_marshaler_all, 63019, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :sizer_all, 63020, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :goproto_enum_stringer_all, 63021,
optional: true,
type: :bool
)

extend(Google.Protobuf.FileOptions, :enum_stringer_all, 63022, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :unsafe_marshaler_all, 63023, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :unsafe_unmarshaler_all, 63024, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :goproto_extensions_map_all, 63025,
optional: true,
type: :bool
)

extend(Google.Protobuf.FileOptions, :goproto_unrecognized_all, 63026,
optional: true,
type: :bool
)

extend(Google.Protobuf.FileOptions, :gogoproto_import, 63027, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :protosizer_all, 63028, optional: true, type: :bool)

extend(Google.Protobuf.FileOptions, :compare_all, 63029, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :goproto_getters, 64001, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :goproto_stringer, 64003, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :verbose_equal, 64004, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :face, 64005, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :gostring, 64006, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :populate, 64007, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :stringer, 67008, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :onlyone, 64009, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :equal, 64013, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :description, 64014, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :testgen, 64015, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :benchgen, 64016, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :marshaler, 64017, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :unmarshaler, 64018, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :stable_marshaler, 64019, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :sizer, 64020, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :unsafe_marshaler, 64023, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :unsafe_unmarshaler, 64024, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :goproto_extensions_map, 64025,
optional: true,
type: :bool
)

extend(Google.Protobuf.MessageOptions, :goproto_unrecognized, 64026, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :protosizer, 64028, optional: true, type: :bool)

extend(Google.Protobuf.MessageOptions, :compare, 64029, optional: true, type: :bool)

extend(Google.Protobuf.FieldOptions, :nullable, 65001, optional: true, type: :bool)

extend(Google.Protobuf.FieldOptions, :embed, 65002, optional: true, type: :bool)

extend(Google.Protobuf.FieldOptions, :customtype, 65003, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :customname, 65004, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :jsontag, 65005, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :moretags, 65006, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :casttype, 65007, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :castkey, 65008, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :castvalue, 65009, optional: true, type: :string)

extend(Google.Protobuf.FieldOptions, :stdtime, 65010, optional: true, type: :bool)

extend(Google.Protobuf.FieldOptions, :stdduration, 65011, optional: true, type: :bool)
end
142 changes: 142 additions & 0 deletions lib/etcd_ex/protos/gogoproto/pb_extension.pb.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
defmodule Gogoproto.PbExtension do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0"

extend Google.Protobuf.EnumOptions, :goproto_enum_prefix, 62001, optional: true, type: :bool

extend Google.Protobuf.EnumOptions, :goproto_enum_stringer, 62021, optional: true, type: :bool

extend Google.Protobuf.EnumOptions, :enum_stringer, 62022, optional: true, type: :bool

extend Google.Protobuf.EnumOptions, :enum_customname, 62023, optional: true, type: :string

extend Google.Protobuf.EnumValueOptions, :enumvalue_customname, 66001,
optional: true,
type: :string

extend Google.Protobuf.FileOptions, :goproto_getters_all, 63001, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :goproto_enum_prefix_all, 63002, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :goproto_stringer_all, 63003, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :verbose_equal_all, 63004, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :face_all, 63005, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :gostring_all, 63006, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :populate_all, 63007, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :stringer_all, 63008, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :onlyone_all, 63009, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :equal_all, 63013, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :description_all, 63014, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :testgen_all, 63015, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :benchgen_all, 63016, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :marshaler_all, 63017, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :unmarshaler_all, 63018, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :stable_marshaler_all, 63019, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :sizer_all, 63020, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :goproto_enum_stringer_all, 63021,
optional: true,
type: :bool

extend Google.Protobuf.FileOptions, :enum_stringer_all, 63022, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :unsafe_marshaler_all, 63023, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :unsafe_unmarshaler_all, 63024, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :goproto_extensions_map_all, 63025,
optional: true,
type: :bool

extend Google.Protobuf.FileOptions, :goproto_unrecognized_all, 63026,
optional: true,
type: :bool

extend Google.Protobuf.FileOptions, :gogoproto_import, 63027, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :protosizer_all, 63028, optional: true, type: :bool

extend Google.Protobuf.FileOptions, :compare_all, 63029, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :goproto_getters, 64001, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :goproto_stringer, 64003, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :verbose_equal, 64004, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :face, 64005, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :gostring, 64006, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :populate, 64007, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :stringer, 67008, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :onlyone, 64009, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :equal, 64013, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :description, 64014, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :testgen, 64015, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :benchgen, 64016, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :marshaler, 64017, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :unmarshaler, 64018, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :stable_marshaler, 64019, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :sizer, 64020, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :unsafe_marshaler, 64023, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :unsafe_unmarshaler, 64024, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :goproto_extensions_map, 64025,
optional: true,
type: :bool

extend Google.Protobuf.MessageOptions, :goproto_unrecognized, 64026, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :protosizer, 64028, optional: true, type: :bool

extend Google.Protobuf.MessageOptions, :compare, 64029, optional: true, type: :bool

extend Google.Protobuf.FieldOptions, :nullable, 65001, optional: true, type: :bool

extend Google.Protobuf.FieldOptions, :embed, 65002, optional: true, type: :bool

extend Google.Protobuf.FieldOptions, :customtype, 65003, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :customname, 65004, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :jsontag, 65005, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :moretags, 65006, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :casttype, 65007, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :castkey, 65008, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :castvalue, 65009, optional: true, type: :string

extend Google.Protobuf.FieldOptions, :stdtime, 65010, optional: true, type: :bool

extend Google.Protobuf.FieldOptions, :stdduration, 65011, optional: true, type: :bool
end
Loading

0 comments on commit 65b07f9

Please sign in to comment.