cosmossdk.io/client/v2@v2.0.0-beta.1/internal/testpb/msg.proto (about)

     1  syntax = "proto3";
     2  
     3  package testpb;
     4  
     5  import "google/protobuf/timestamp.proto";
     6  import "google/protobuf/duration.proto";
     7  import "cosmos_proto/cosmos.proto";
     8  import "cosmos/base/query/v1beta1/pagination.proto";
     9  import "cosmos/base/v1beta1/coin.proto";
    10  import "testpb/query.proto";
    11  
    12  service Msg {
    13    // Send a request and returns the request as a response.
    14    rpc Send(MsgRequest) returns (MsgResponse);
    15  }
    16  
    17  message MsgRequest {
    18    // u32 is an uint32
    19    uint32                                u32        = 1;
    20    uint64                                u64        = 2;
    21    string                                str        = 3;
    22    bytes                                 bz         = 4;
    23    google.protobuf.Timestamp             timestamp  = 5;
    24    google.protobuf.Duration              duration   = 6;
    25    int32                                 i32        = 7;
    26    int64                                 i64        = 10;
    27    bool                                  a_bool     = 15;
    28    testpb.Enum                           an_enum    = 16;
    29    testpb.AMessage                       a_message  = 17;
    30    cosmos.base.v1beta1.Coin              a_coin     = 18;
    31    string                                an_address = 19 [(cosmos_proto.scalar) = "cosmos.AddressString"];
    32    cosmos.base.query.v1beta1.PageRequest page       = 20;
    33    repeated bool                         bools      = 21;
    34    repeated uint32                       uints      = 22;
    35    repeated string                       strings    = 23;
    36    repeated testpb.Enum enums                       = 24;
    37    repeated google.protobuf.Duration durations      = 25;
    38    repeated testpb.AMessage some_messages           = 26;
    39  
    40    int32    positional1                                  = 27;
    41    string   positional2                                  = 28;
    42    repeated cosmos.base.v1beta1.Coin positional3_varargs = 29;
    43  
    44    string deprecated_field           = 30;
    45    string shorthand_deprecated_field = 31;
    46    bool   hidden_bool                = 32;
    47    string a_validator_address        = 33 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"];
    48  }
    49  
    50  message MsgResponse {
    51    MsgRequest request = 1;
    52  }