github.com/hoveychen/protoreflect@v1.4.7-0.20221103114119-0b4b3385ec76/internal/testprotos/desc_test_oneof.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/hoveychen/protoreflect/internal/testprotos";
     4  
     5  package testprotos;
     6  
     7  message OneOfMessage {
     8    oneof value {
     9      bytes binary_value = 1;
    10      string string_value = 2;
    11      bool boolean_value = 3;
    12      int32 int_value = 4;
    13      int64 int64_value = 5;
    14      double double_value = 6;
    15      float float_value = 7;
    16      OneOfMessage msg_value = 8;
    17    }
    18  }