Packages
A pure Elixir implementation of Google Protobuf.
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
src/elixirpb.proto
// Put this file to elixirpb.proto under PROTO_PATH. See `protoc -h` for `--proto_path` option.
// Then import it
// ````proto
// import "elixirpb.proto";
// ````
//
// 1047 is allocated to this project by Protobuf
// https://github.com/protocolbuffers/protobuf/blob/master/docs/options.md
syntax = "proto2";
package elixirpb;
import "google/protobuf/descriptor.proto";
// File level options
//
// For example,
// option (elixirpb.file).module_prefix = "Foo";
message FileOptions {
// Specify a module prefix. This will override package name.
// For example, the package is "hello" and a message is "Request", the message
// will be "Hello.Request". But with module_prefix "Foo", the message will be
// "Foo.Request"
optional string module_prefix = 1;
}
extend google.protobuf.FileOptions {
optional FileOptions file = 1047;
}