File: test_extensions.proto

package info (click to toggle)
golang-github-google-cel-go 0.18.2%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,888 kB
  • sloc: sh: 93; makefile: 12
file content (22 lines) | stat: -rw-r--r-- 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto2";

package google.expr.proto2.test;

option go_package = "github.com/google/cel-go/test/proto2pb";

import "google/protobuf/wrappers.proto";
import "test/proto2pb/test_all_types.proto";

// Package scoped extensions.
extend ExampleType {
  optional ExampleType nested_example = 100;
  optional int32 int32_ext = 101;
  optional google.protobuf.Int32Value int32_wrapper_ext = 102;
}

// Message scoped extensions.
message ExternalMessageType {
  extend ExampleType {
    optional int64 int64_ext = 201;
  }
}