github.com/jhump/protoreflect@v1.16.0/desc/protoprint/testfiles/desc_test_proto3_optional-custom-sort.proto (about)

     1  syntax = "proto3";
     2  
     3  extend google.protobuf.MessageOptions {
     4    optional string some_custom_options = 44444;
     5  }
     6  
     7  message MessageWithOptionalFields {
     8    optional string foo = 1;
     9  
    10    optional int64 bar = 2;
    11  }
    12  
    13  option go_package = "github.com/jhump/protoreflect/internal/testprotos";
    14  
    15  import "google/protobuf/descriptor.proto";