base.proto 519 B

1234567891011121314151617181920
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. syntax = "proto2";
  5. package goproto.protoc.extension.base;
  6. option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/extensions/base";
  7. message BaseMessage {
  8. optional string field = 1;
  9. extensions 4 to 9;
  10. extensions 16 to max;
  11. }
  12. message MessageSetWireFormatMessage {
  13. option message_set_wire_format = true;
  14. extensions 100 to max;
  15. }