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

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