github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/runtime/internal/examplepb/proto3.proto (about)

     1  syntax = "proto3";
     2  
     3  package grpc.gateway.runtime.internal.examplepb;
     4  
     5  import "google/protobuf/duration.proto";
     6  import "google/protobuf/field_mask.proto";
     7  import "google/protobuf/struct.proto";
     8  import "google/protobuf/timestamp.proto";
     9  import "google/protobuf/wrappers.proto";
    10  
    11  option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/runtime/internal/examplepb";
    12  
    13  message Proto3Message {
    14    // Next number: 49
    15    Proto3Message nested = 41;
    16    float float_value = 42;
    17    double double_value = 43;
    18    int64 int64_value = 3;
    19    int32 int32_value = 4;
    20    uint64 uint64_value = 5;
    21    uint32 uint32_value = 6;
    22    bool bool_value = 7;
    23    string string_value = 8;
    24    bytes bytes_value = 9;
    25    repeated string repeated_value = 10;
    26    repeated google.protobuf.UInt64Value repeated_message = 44;
    27    EnumValue enum_value = 11;
    28    repeated EnumValue repeated_enum = 12;
    29    google.protobuf.Timestamp timestamp_value = 13;
    30    google.protobuf.Duration duration_value = 14;
    31    google.protobuf.FieldMask fieldmask_value = 15;
    32    oneof oneof_value {
    33      bool oneof_bool_value = 1;
    34      string oneof_string_value = 2;
    35    }
    36    oneof nested_oneof_value {
    37      Proto3Message nested_oneof_value_one = 46;
    38    }
    39    google.protobuf.DoubleValue wrapper_double_value = 17;
    40    google.protobuf.FloatValue wrapper_float_value = 18;
    41    google.protobuf.Int64Value wrapper_int64_value = 19;
    42    google.protobuf.Int32Value wrapper_int32_value = 20;
    43    google.protobuf.UInt64Value wrapper_u_int64_value = 21;
    44    google.protobuf.UInt32Value wrapper_u_int32_value = 22;
    45    google.protobuf.BoolValue wrapper_bool_value = 23;
    46    google.protobuf.StringValue wrapper_string_value = 24;
    47    google.protobuf.BytesValue wrapper_bytes_value = 25;
    48    map<string, string> map_value = 26;
    49    map<string, int32> map_value2 = 27;
    50    map<int32, string> map_value3 = 28;
    51    map<string, int64> map_value4 = 29;
    52    map<int64, string> map_value5 = 30;
    53    map<string, uint32> map_value6 = 31;
    54    map<uint32, string> map_value7 = 32;
    55    map<string, uint64> map_value8 = 33;
    56    map<uint64, string> map_value9 = 34;
    57    map<string, float> map_value10 = 35;
    58    map<string, double> map_value12 = 37;
    59    map<string, bool> map_value14 = 39;
    60    map<bool, string> map_value15 = 40;
    61    map<string, google.protobuf.UInt64Value> map_value16 = 45;
    62    google.protobuf.Value struct_value_value = 47;
    63    google.protobuf.Struct struct_value = 48;
    64  }
    65  
    66  enum EnumValue {
    67    X = 0;
    68    Y = 1;
    69    Z = 2;
    70  }