Adding RanfunctionOID fro E2AP v1.1 support. 41/7041/3
authornaman.gupta <naman.gupta@samsung.com>
Fri, 12 Nov 2021 09:32:34 +0000 (15:02 +0530)
committernaman.gupta <naman.gupta@samsung.com>
Fri, 12 Nov 2021 11:02:37 +0000 (16:32 +0530)
 Issue-Id: RIC-640

Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: Icb7c8cd08bc14e03ebd0222780552f717a479818

entities/ran_function.pb.go
entities/ran_function.proto

index 56f62c4..2330991 100644 (file)
 
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-//     protoc-gen-go v1.25.0-devel
+//     protoc-gen-go v1.26.0
 //     protoc        v3.6.1
 // source: ran_function.proto
 
 package entities
 
 import (
-       proto "github.com/golang/protobuf/proto"
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
        reflect "reflect"
@@ -41,10 +40,6 @@ const (
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
 type RanFunction struct {
        state         protoimpl.MessageState
        sizeCache     protoimpl.SizeCache
@@ -53,6 +48,7 @@ type RanFunction struct {
        RanFunctionId         uint32 `protobuf:"varint,1,opt,name=ran_function_id,json=ranFunctionId,proto3" json:"ran_function_id,omitempty"`
        RanFunctionDefinition string `protobuf:"bytes,2,opt,name=ran_function_definition,json=ranFunctionDefinition,proto3" json:"ran_function_definition,omitempty"`
        RanFunctionRevision   uint32 `protobuf:"varint,3,opt,name=ran_function_revision,json=ranFunctionRevision,proto3" json:"ran_function_revision,omitempty"`
+       RanFunctionOid        string `protobuf:"bytes,4,opt,name=ran_function_oid,json=ranFunctionOid,proto3" json:"ran_function_oid,omitempty"`
 }
 
 func (x *RanFunction) Reset() {
@@ -108,11 +104,18 @@ func (x *RanFunction) GetRanFunctionRevision() uint32 {
        return 0
 }
 
+func (x *RanFunction) GetRanFunctionOid() string {
+       if x != nil {
+               return x.RanFunctionOid
+       }
+       return ""
+}
+
 var File_ran_function_proto protoreflect.FileDescriptor
 
 var file_ran_function_proto_rawDesc = []byte{
        0x0a, 0x12, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
-       0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0xa1,
+       0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0xcb,
        0x01, 0x0a, 0x0b, 0x52, 0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26,
        0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
        0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63,
@@ -123,7 +126,10 @@ var file_ran_function_proto_rawDesc = []byte{
        0x0a, 0x15, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
        0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72,
        0x61, 0x6e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,
-       0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+       0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x61, 0x6e, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
+       0x6f, 0x6e, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x61,
+       0x6e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x69, 0x64, 0x42, 0x04, 0x5a, 0x02,
+       0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
index 792bbaf..763f4d6 100644 (file)
 
 syntax = "proto3";
 package entities;
-
+option go_package = "./";
 message RanFunction {
     uint32 ran_function_id = 1;
     string ran_function_definition = 2;
     uint32 ran_function_revision = 3;
-}
\ No newline at end of file
+    string ran_function_oid=4;
+}