Sha256: caa3dfeffb83a7213abc6f6ea8b3834680a189699e12599fab2007b9aed499d6

Contents?: true

Size: 691 Bytes

Versions: 38

Compression:

Stored size: 691 Bytes

Contents

package test;
import 'test/resource.proto';

// Test extending another message from an imported file.

enum EnumTestType {
  ONE = 1;
  TWO = 2;
}

// Uses aliases
enum AliasedEnum {
  option allow_alias = true;

  THREE  = 3;
  TRES   = 3;

  FOUR   = 4;
  CUATRO = 4;
}

message EnumTestMessage {
  optional EnumTestType non_default_enum = 1;
  optional EnumTestType default_enum = 2 [default=ONE];
  repeated EnumTestType repeated_enums = 3;

  optional AliasedEnum alias_non_default_enum = 4;
  optional AliasedEnum alias_default_enum = 5 [default=CUATRO];
  repeated AliasedEnum alias_repeated_enums = 6;
}

extend test.Resource {
  optional int32 ext_other_file_defined_field = 200;
}

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
protobuf-core-3.5.0 spec/support/test/enum.proto
protobuffy-3.6.0 spec/support/test/enum.proto
protobuf-3.5.5 spec/support/test/enum.proto
protobuf-3.5.4 spec/support/test/enum.proto
protobuf-3.5.3 spec/support/test/enum.proto
protobuf-3.5.2 spec/support/test/enum.proto
protobuf-3.5.1 spec/support/test/enum.proto
protobuffy-3.5.1 spec/support/test/enum.proto
protobuffy-3.4.0 spec/support/test/enum.proto
prepor-protobuf-3.5.1 spec/support/test/enum.proto
prepor-protobuf-3.5.0 spec/support/test/enum.proto
protobuf-3.5.0 spec/support/test/enum.proto
protobuffy-3.3.0 spec/support/test/enum.proto
protobuf-3.4.4 spec/support/test/enum.proto
protobuf-3.4.3 spec/support/test/enum.proto
protobuf-3.4.2 spec/support/test/enum.proto
protobuf-3.4.1 spec/support/test/enum.proto
protobuf-3.4.0 spec/support/test/enum.proto
protobuffy-3.2.0 spec/support/test/enum.proto
protobuffy-3.1.0 spec/support/test/enum.proto