| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package fifo |
| 10 |
|
| 11 |
import ( |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
reflect "reflect" |
| 15 |
sync "sync" |
| 16 |
) |
| 17 |
|
| 18 |
const ( |
| 19 |
|
| 20 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 21 |
|
| 22 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 23 |
) |
| 24 |
|
| 25 |
type FifoEntry struct { |
| 26 |
state protoimpl.MessageState |
| 27 |
sizeCache protoimpl.SizeCache |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
|
| 30 |
Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` |
| 31 |
PipeId *uint32 `protobuf:"varint,2,req,name=pipe_id,json=pipeId" json:"pipe_id,omitempty"` |
| 32 |
RegfId *uint32 `protobuf:"varint,3,opt,name=regf_id,json=regfId" json:"regf_id,omitempty"` |
| 33 |
} |
| 34 |
|
| 35 |
func (x *FifoEntry) Reset() { |
| 36 |
*x = FifoEntry{} |
| 37 |
if protoimpl.UnsafeEnabled { |
| 38 |
mi := &file_fifo_proto_msgTypes[0] |
| 39 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 40 |
ms.StoreMessageInfo(mi) |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
func (x *FifoEntry) String() string { |
| 45 |
return protoimpl.X.MessageStringOf(x) |
| 46 |
} |
| 47 |
|
| 48 |
func (*FifoEntry) ProtoMessage() {} |
| 49 |
|
| 50 |
func (x *FifoEntry) ProtoReflect() protoreflect.Message { |
| 51 |
mi := &file_fifo_proto_msgTypes[0] |
| 52 |
if protoimpl.UnsafeEnabled && x != nil { |
| 53 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 54 |
if ms.LoadMessageInfo() == nil { |
| 55 |
ms.StoreMessageInfo(mi) |
| 56 |
} |
| 57 |
return ms |
| 58 |
} |
| 59 |
return mi.MessageOf(x) |
| 60 |
} |
| 61 |
|
| 62 |
|
| 63 |
func (*FifoEntry) Descriptor() ([]byte, []int) { |
| 64 |
return file_fifo_proto_rawDescGZIP(), []int{0} |
| 65 |
} |
| 66 |
|
| 67 |
func (x *FifoEntry) GetId() uint32 { |
| 68 |
if x != nil && x.Id != nil { |
| 69 |
return *x.Id |
| 70 |
} |
| 71 |
return 0 |
| 72 |
} |
| 73 |
|
| 74 |
func (x *FifoEntry) GetPipeId() uint32 { |
| 75 |
if x != nil && x.PipeId != nil { |
| 76 |
return *x.PipeId |
| 77 |
} |
| 78 |
return 0 |
| 79 |
} |
| 80 |
|
| 81 |
func (x *FifoEntry) GetRegfId() uint32 { |
| 82 |
if x != nil && x.RegfId != nil { |
| 83 |
return *x.RegfId |
| 84 |
} |
| 85 |
return 0 |
| 86 |
} |
| 87 |
|
| 88 |
var File_fifo_proto protoreflect.FileDescriptor |
| 89 |
|
| 90 |
var file_fifo_proto_rawDesc = []byte{ |
| 91 |
0x0a, 0x0a, 0x66, 0x69, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0a, |
| 92 |
0x66, 0x69, 0x66, 0x6f, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, |
| 93 |
0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x69, |
| 94 |
0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x69, 0x70, |
| 95 |
0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x03, |
| 96 |
0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x67, 0x66, 0x49, 0x64, |
| 97 |
} |
| 98 |
|
| 99 |
var ( |
| 100 |
file_fifo_proto_rawDescOnce sync.Once |
| 101 |
file_fifo_proto_rawDescData = file_fifo_proto_rawDesc |
| 102 |
) |
| 103 |
|
| 104 |
func file_fifo_proto_rawDescGZIP() []byte { |
| 105 |
file_fifo_proto_rawDescOnce.Do(func() { |
| 106 |
file_fifo_proto_rawDescData = protoimpl.X.CompressGZIP(file_fifo_proto_rawDescData) |
| 107 |
}) |
| 108 |
return file_fifo_proto_rawDescData |
| 109 |
} |
| 110 |
|
| 111 |
var file_fifo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 112 |
var file_fifo_proto_goTypes = []interface{}{ |
| 113 |
(*FifoEntry)(nil), |
| 114 |
} |
| 115 |
var file_fifo_proto_depIdxs = []int32{ |
| 116 |
0, |
| 117 |
0, |
| 118 |
0, |
| 119 |
0, |
| 120 |
0, |
| 121 |
} |
| 122 |
|
| 123 |
func init() { file_fifo_proto_init() } |
| 124 |
func file_fifo_proto_init() { |
| 125 |
if File_fifo_proto != nil { |
| 126 |
return |
| 127 |
} |
| 128 |
if !protoimpl.UnsafeEnabled { |
| 129 |
file_fifo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 130 |
switch v := v.(*FifoEntry); i { |
| 131 |
case 0: |
| 132 |
return &v.state |
| 133 |
case 1: |
| 134 |
return &v.sizeCache |
| 135 |
case 2: |
| 136 |
return &v.unknownFields |
| 137 |
default: |
| 138 |
return nil |
| 139 |
} |
| 140 |
} |
| 141 |
} |
| 142 |
type x struct{} |
| 143 |
out := protoimpl.TypeBuilder{ |
| 144 |
File: protoimpl.DescBuilder{ |
| 145 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 146 |
RawDescriptor: file_fifo_proto_rawDesc, |
| 147 |
NumEnums: 0, |
| 148 |
NumMessages: 1, |
| 149 |
NumExtensions: 0, |
| 150 |
NumServices: 0, |
| 151 |
}, |
| 152 |
GoTypes: file_fifo_proto_goTypes, |
| 153 |
DependencyIndexes: file_fifo_proto_depIdxs, |
| 154 |
MessageInfos: file_fifo_proto_msgTypes, |
| 155 |
}.Build() |
| 156 |
File_fifo_proto = out.File |
| 157 |
file_fifo_proto_rawDesc = nil |
| 158 |
file_fifo_proto_goTypes = nil |
| 159 |
file_fifo_proto_depIdxs = nil |
| 160 |
} |