File: order.proto

package info (click to toggle)
golang-google-protobuf 1.32.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,724 kB
  • sloc: sh: 94; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2019 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.

// Messages in this file are used to test wire encoding order.

syntax = "proto2";

package goproto.proto.order;

option go_package = "google.golang.org/protobuf/internal/testprotos/order";

message Message {
  optional string field_2 = 2;
  optional string field_1 = 1;

  oneof oneof_1 {
    string field_10 = 10;
  }

  extensions 30 to 40;

  optional string field_20 = 20;
}

extend Message {
  optional string field_30 = 30;
  optional string field_31 = 31;
  optional string field_32 = 32;
}