xref: /aosp_15_r20/external/golang-protobuf/cmd/protoc-gen-go/testdata/comments/deprecated.proto (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
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
5syntax = "proto3";
6
7package goproto.protoc.comments;
8
9option deprecated = true;
10option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/comments";
11
12message DeprecatedMessage {
13  option deprecated = true;
14  string deprecated_field = 1 [deprecated=true];
15}
16
17enum DeprecatedEnum {
18  option deprecated = true;
19  DEPRECATED = 0 [deprecated=true];
20}
21