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

     1  syntax = "proto3";
     2  
     3  import "google/protobuf/descriptor.proto";
     4  
     5  option go_package = "github.com/jhump/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  }