2 // Copyright 2019 AT&T Intellectual Property
3 // Copyright 2019 Nokia
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
21 // Code generated by protoc-gen-go. DO NOT EDIT.
23 // protoc-gen-go v1.23.0
25 // source: ran_function.proto
30 proto "github.com/golang/protobuf/proto"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
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
48 type RanFunction struct {
49 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
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"`
58 func (x *RanFunction) Reset() {
60 if protoimpl.UnsafeEnabled {
61 mi := &file_ran_function_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
67 func (x *RanFunction) String() string {
68 return protoimpl.X.MessageStringOf(x)
71 func (*RanFunction) ProtoMessage() {}
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)
82 return mi.MessageOf(x)
85 // Deprecated: Use RanFunction.ProtoReflect.Descriptor instead.
86 func (*RanFunction) Descriptor() ([]byte, []int) {
87 return file_ran_function_proto_rawDescGZIP(), []int{0}
90 func (x *RanFunction) GetRanFunctionId() uint32 {
92 return x.RanFunctionId
97 func (x *RanFunction) GetRanFunctionDefinition() string {
99 return x.RanFunctionDefinition
104 func (x *RanFunction) GetRanFunctionRevision() uint32 {
106 return x.RanFunctionRevision
111 var File_ran_function_proto protoreflect.FileDescriptor
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,
130 file_ran_function_proto_rawDescOnce sync.Once
131 file_ran_function_proto_rawDescData = file_ran_function_proto_rawDesc
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)
138 return file_ran_function_proto_rawDescData
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
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
153 func init() { file_ran_function_proto_init() }
154 func file_ran_function_proto_init() {
155 if File_ran_function_proto != nil {
158 if !protoimpl.UnsafeEnabled {
159 file_ran_function_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
160 switch v := v.(*RanFunction); i {
166 return &v.unknownFields
173 out := protoimpl.TypeBuilder{
174 File: protoimpl.DescBuilder{
175 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
176 RawDescriptor: file_ran_function_proto_rawDesc,
182 GoTypes: file_ran_function_proto_goTypes,
183 DependencyIndexes: file_ran_function_proto_depIdxs,
184 MessageInfos: file_ran_function_proto_msgTypes,
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