github.com/cosmos/cosmos-proto@v1.0.0-beta.3/testpb/1.proto (about)

     1  syntax="proto3";
     2  
     3  import "testpb/2.proto";
     4  
     5  option go_package = "github.com/cosmos/cosmos-proto/testpb";
     6  
     7  enum Enumeration {
     8    One = 0;
     9    Two = 1;
    10  }
    11  
    12  message A {
    13    Enumeration enum = 1;
    14    bool some_boolean = 2;
    15    int32 INT32 = 3;
    16    sint32 SINT32 = 4;
    17    uint32 UINT32 = 5;
    18    int64 INT64 = 6;
    19    sint64 SING64 = 7;
    20    uint64 UINT64 = 8;
    21    sfixed32 SFIXED32 = 9;
    22    fixed32 FIXED32 = 10;
    23    float FLOAT = 11;
    24    sfixed64 SFIXED64 = 12;
    25    fixed64 FIXED64 = 13;
    26    double DOUBLE = 14;
    27    string STRING = 15;
    28    bytes BYTES = 16;
    29    B MESSAGE = 17;
    30    map<string, B> MAP = 18;
    31    repeated B LIST = 19;
    32    oneof ONEOF {
    33      B ONEOF_B = 20;
    34      string ONEOF_STRING = 21;
    35    };
    36    repeated Enumeration LIST_ENUM = 22;
    37    ImportedMessage imported = 23;
    38    string type = 24;
    39  }
    40  
    41  message B {
    42    string x = 1;
    43  }