Restructure directory and add SCG configuration Protobuf
[ric-plt/streaming-protobufs.git] / proto / common_types.proto
1 /*
2    Copyright (c) 2019 AT&T Intellectual Property.
3    Copyright (c) 2019 Nokia.
4
5    Licensed under the Creative Commons Attribution 4.0 International
6    Public License (the "License"); you may not use this file except
7    in compliance with the License. You may obtain a copy of the License at
8
9        https://creativecommons.org/licenses/by/4.0/
10
11    Unless required by applicable law or agreed to in writing, documentation
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 */
17
18 syntax = "proto3";
19
20 package streaming_protobufs;
21
22 option go_package = "gerrit.o-ran-sc.org/r/ric-plt/streaming-protobufs";
23
24 /*
25    Protocol Buffer definitions for common Protocol Buffer types what are used
26    both in X2AP and RRC messages.
27
28    Naming conversion follows the naming defined in 3GPP 36.423 (X2AP) and 38.331 (RRC)
29    specification (version 15.4.0).
30
31    http://www.3gpp.org/ftp//Specs/archive/36_series/36.423/36423-f40.zip
32    http://www.3gpp.org/ftp//Specs/archive/38_series/38.331/38331-f40.zip
33
34    Dashes converted to underscores to make protobuf message syntax correct.
35 */
36
37
38 message Null
39 {
40 }
41
42 message ConfiguredOpt
43 {
44     enum Value {
45         protobuf_unspecified = 0;
46         configured = 1;
47     }
48     Value value = 1;
49 }
50
51 message TrueOpt
52 {
53     enum Value {
54         protobuf_unspecified = 0;
55         true = 1;
56     }
57     Value value = 1;
58 }
59
60 message FalseOpt
61 {
62     enum Value {
63         protobuf_unspecified = 0;
64         false = 1;
65     }
66     Value value = 1;
67 }
68
69 message EnabledOpt
70 {
71     enum Value {
72         protobuf_unspecified = 0;
73         enabled = 1;
74     }
75     Value value = 1;
76 }
77
78 message DisabledOpt
79 {
80     enum Value {
81         protobuf_unspecified = 0;
82         disabled = 1;
83     }
84     Value value = 1;
85 }
86
87 message EnabledDisabledOpt
88 {
89     enum Value {
90         protobuf_unspecified = 0;
91         enabled = 1;
92         disabled = 2;
93     }
94     Value value = 1;
95 }
96
97 message OnOffOpt
98 {
99     enum Value {
100         protobuf_unspecified = 0;
101         on = 1;
102         off = 2;
103     }
104     Value value = 1;
105 }