github.com/bakjos/protoreflect@v1.9.2/desc/protoprint/testfiles/desc_test_proto3_optional-sorted.proto (about)

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