File: automata.proto

package info (click to toggle)
gitlab-agent 16.1.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 6,324 kB
  • sloc: makefile: 175; sh: 52; ruby: 3
file content (24 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
syntax = "proto3";

// If you make any changes make sure you run: make regenerate-proto

// Package allows to define the allowed order in which fields of a oneof group can appear in a client gRPC stream.
package gitlab.agent.grpctool.automata;

option go_package = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/grpctool/automata";

import "google/protobuf/descriptor.proto";

// See https://developers.google.com/protocol-buffers/docs/proto#customoptions for info about custom options.

extend google.protobuf.FieldOptions {
  // Specifies field numbers within a oneof. The next message in a stream must have one of these fields set.
  // -1 can be used for EOF
  repeated int32 next_allowed_field = 92000; // Random high number between 50000 and 99999.
}

extend google.protobuf.OneofOptions {
  // Specifies field numbers within a oneof. The first message in a stream must have one of these fields set.
  // -1 can be used for EOF
  repeated int32 first_allowed_field = 92001; // Random high number between 50000 and 99999.
}