mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 15:26:51 +00:00
2caa6b02a2
Change-Id: Ied684945de38ab1895c3ce8afaa1d84cda1e24f9 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/566037 Auto-Submit: Lasse Folger <lassefolger@google.com> Reviewed-by: Michael Stapelberg <stapelberg@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
17 lines
354 B
Protocol Buffer
17 lines
354 B
Protocol Buffer
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
syntax = "proto2";
|
|
|
|
// File contains no 'package' statement.
|
|
|
|
enum Enum {
|
|
ZERO = 0;
|
|
}
|
|
|
|
message Message {
|
|
optional string string_field = 1;
|
|
optional Enum enum_field = 2 [default = ZERO];
|
|
}
|