[RIC-507] Update RanFunction proto with string ran function definition
[ric-plt/nodeb-rnib.git] / entities / ran_function.pb.go
1 //
2 // Copyright 2019 AT&T Intellectual Property
3 // Copyright 2019 Nokia
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //      http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
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 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
20
21 // Code generated by protoc-gen-go. DO NOT EDIT.
22 // versions:
23 //      protoc-gen-go v1.23.0
24 //      protoc        v3.6.1
25 // source: ran_function.proto
26
27 package entities
28
29 import (
30         proto "github.com/golang/protobuf/proto"
31         protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32         protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33         reflect "reflect"
34         sync "sync"
35 )
36
37 const (
38         // Verify that this generated code is sufficiently up-to-date.
39         _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40         // Verify that runtime/protoimpl is sufficiently up-to-date.
41         _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // This is a compile-time assertion that a sufficiently up-to-date version
45 // of the legacy proto package is being used.
46 const _ = proto.ProtoPackageIsVersion4
47
48 type RanFunction struct {
49         state         protoimpl.MessageState
50         sizeCache     protoimpl.SizeCache
51         unknownFields protoimpl.UnknownFields
52
53         RanFunctionId         uint32 `protobuf:"varint,1,opt,name=ran_function_id,json=ranFunctionId,proto3" json:"ran_function_id,omitempty"`
54         RanFunctionDefinition string `protobuf:"bytes,2,opt,name=ran_function_definition,json=ranFunctionDefinition,proto3" json:"ran_function_definition,omitempty"`
55         RanFunctionRevision   uint32 `protobuf:"varint,3,opt,name=ran_function_revision,json=ranFunctionRevision,proto3" json:"ran_function_revision,omitempty"`
56 }
57
58 func (x *RanFunction) Reset() {
59         *x = RanFunction{}
60         if protoimpl.UnsafeEnabled {
61                 mi := &file_ran_function_proto_msgTypes[0]
62                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63                 ms.StoreMessageInfo(mi)
64         }
65 }
66
67 func (x *RanFunction) String() string {
68         return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*RanFunction) ProtoMessage() {}
72
73 func (x *RanFunction) ProtoReflect() protoreflect.Message {
74         mi := &file_ran_function_proto_msgTypes[0]
75         if protoimpl.UnsafeEnabled && x != nil {
76                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77                 if ms.LoadMessageInfo() == nil {
78                         ms.StoreMessageInfo(mi)
79                 }
80                 return ms
81         }
82         return mi.MessageOf(x)
83 }
84
85 // Deprecated: Use RanFunction.ProtoReflect.Descriptor instead.
86 func (*RanFunction) Descriptor() ([]byte, []int) {
87         return file_ran_function_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *RanFunction) GetRanFunctionId() uint32 {
91         if x != nil {
92                 return x.RanFunctionId
93         }
94         return 0
95 }
96
97 func (x *RanFunction) GetRanFunctionDefinition() string {
98         if x != nil {
99                 return x.RanFunctionDefinition
100         }
101         return ""
102 }
103
104 func (x *RanFunction) GetRanFunctionRevision() uint32 {
105         if x != nil {
106                 return x.RanFunctionRevision
107         }
108         return 0
109 }
110
111 var File_ran_function_proto protoreflect.FileDescriptor
112
113 var file_ran_function_proto_rawDesc = []byte{
114         0x0a, 0x12, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
115         0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0xa1,
116         0x01, 0x0a, 0x0b, 0x52, 0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26,
117         0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
118         0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63,
119         0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75,
120         0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
121         0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x72, 0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63,
122         0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32,
123         0x0a, 0x15, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
124         0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72,
125         0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,
126         0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
127 }
128
129 var (
130         file_ran_function_proto_rawDescOnce sync.Once
131         file_ran_function_proto_rawDescData = file_ran_function_proto_rawDesc
132 )
133
134 func file_ran_function_proto_rawDescGZIP() []byte {
135         file_ran_function_proto_rawDescOnce.Do(func() {
136                 file_ran_function_proto_rawDescData = protoimpl.X.CompressGZIP(file_ran_function_proto_rawDescData)
137         })
138         return file_ran_function_proto_rawDescData
139 }
140
141 var file_ran_function_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
142 var file_ran_function_proto_goTypes = []interface{}{
143         (*RanFunction)(nil), // 0: entities.RanFunction
144 }
145 var file_ran_function_proto_depIdxs = []int32{
146         0, // [0:0] is the sub-list for method output_type
147         0, // [0:0] is the sub-list for method input_type
148         0, // [0:0] is the sub-list for extension type_name
149         0, // [0:0] is the sub-list for extension extendee
150         0, // [0:0] is the sub-list for field type_name
151 }
152
153 func init() { file_ran_function_proto_init() }
154 func file_ran_function_proto_init() {
155         if File_ran_function_proto != nil {
156                 return
157         }
158         if !protoimpl.UnsafeEnabled {
159                 file_ran_function_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
160                         switch v := v.(*RanFunction); i {
161                         case 0:
162                                 return &v.state
163                         case 1:
164                                 return &v.sizeCache
165                         case 2:
166                                 return &v.unknownFields
167                         default:
168                                 return nil
169                         }
170                 }
171         }
172         type x struct{}
173         out := protoimpl.TypeBuilder{
174                 File: protoimpl.DescBuilder{
175                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
176                         RawDescriptor: file_ran_function_proto_rawDesc,
177                         NumEnums:      0,
178                         NumMessages:   1,
179                         NumExtensions: 0,
180                         NumServices:   0,
181                 },
182                 GoTypes:           file_ran_function_proto_goTypes,
183                 DependencyIndexes: file_ran_function_proto_depIdxs,
184                 MessageInfos:      file_ran_function_proto_msgTypes,
185         }.Build()
186         File_ran_function_proto = out.File
187         file_ran_function_proto_rawDesc = nil
188         file_ran_function_proto_goTypes = nil
189         file_ran_function_proto_depIdxs = nil
190 }