github.com/whiteCcinn/protobuf-go@v1.0.9/internal/testprotos/order/order.proto (about)

     1  // Copyright 2019 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  
     5  // Messages in this file are used to test wire encoding order.
     6  
     7  syntax = "proto2";
     8  
     9  package goproto.proto.order;
    10  
    11  option go_package = "github.com/whiteCcinn/protobuf-go/internal/testprotos/order";
    12  
    13  message Message {
    14    optional string field_2 = 2;
    15    optional string field_1 = 1;
    16  
    17    oneof oneof_1 {
    18      string field_10 = 10;
    19    }
    20  
    21    extensions 30 to 40;
    22  
    23    optional string field_20 = 20;
    24  }
    25  
    26  extend Message {
    27    optional string field_30 = 30;
    28    optional string field_31 = 31;
    29    optional string field_32 = 32;
    30  }