github.com/jhump/protoreflect@v1.16.0/internal/testprotos/proto3_optional/desc_test_proto3_optional.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      optional int64 bar = 2;
    10  }
    11  
    12  extend google.protobuf.MessageOptions {
    13      optional string some_custom_options = 44444;
    14  }