deprecated.proto 523 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 = "proto3";
  5. package goproto.protoc.comments;
  6. option deprecated = true;
  7. option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/comments";
  8. message DeprecatedMessage {
  9. option deprecated = true;
  10. string deprecated_field = 1 [deprecated=true];
  11. }
  12. enum DeprecatedEnum {
  13. option deprecated = true;
  14. DEPRECATED = 0 [deprecated=true];
  15. }