Debian Codegraph @

crit/images/timens/timens.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: timens.proto
8
9 package timens
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 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type Timespec struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 TvSec *uint64 `protobuf:"varint,1,req,name=tv_sec,json=tvSec" json:"tv_sec,omitempty"`
31 TvNsec *uint64 `protobuf:"varint,2,req,name=tv_nsec,json=tvNsec" json:"tv_nsec,omitempty"`
32 }
33
34 func (x *Timespec) Reset() {
35 *x = Timespec{}
36 if protoimpl.UnsafeEnabled {
37 mi := &file_timens_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41 }
42
43 func (x *Timespec) String() string {
44 return protoimpl.X.MessageStringOf(x)
45 }
46
47 func (*Timespec) ProtoMessage() {}
48
49 func (x *Timespec) ProtoReflect() protoreflect.Message {
50 mi := &file_timens_proto_msgTypes[0]
51 if protoimpl.UnsafeEnabled && x != nil {
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 if ms.LoadMessageInfo() == nil {
54 ms.StoreMessageInfo(mi)
55 }
56 return ms
57 }
58 return mi.MessageOf(x)
59 }
60
61 // Deprecated: Use Timespec.ProtoReflect.Descriptor instead.
62 func (*Timespec) Descriptor() ([]byte, []int) {
63 return file_timens_proto_rawDescGZIP(), []int{0}
64 }
65
66 func (x *Timespec) GetTvSec() uint64 {
67 if x != nil && x.TvSec != nil {
68 return *x.TvSec
69 }
70 return 0
71 }
72
73 func (x *Timespec) GetTvNsec() uint64 {
74 if x != nil && x.TvNsec != nil {
75 return *x.TvNsec
76 }
77 return 0
78 }
79
80 type TimensEntry struct {
81 state protoimpl.MessageState
82 sizeCache protoimpl.SizeCache
83 unknownFields protoimpl.UnknownFields
84
85 Monotonic *Timespec `protobuf:"bytes,1,req,name=monotonic" json:"monotonic,omitempty"`
86 Boottime *Timespec `protobuf:"bytes,2,req,name=boottime" json:"boottime,omitempty"`
87 }
88
89 func (x *TimensEntry) Reset() {
90 *x = TimensEntry{}
91 if protoimpl.UnsafeEnabled {
92 mi := &file_timens_proto_msgTypes[1]
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 ms.StoreMessageInfo(mi)
95 }
96 }
97
98 func (x *TimensEntry) String() string {
99 return protoimpl.X.MessageStringOf(x)
100 }
101
102 func (*TimensEntry) ProtoMessage() {}
103
104 func (x *TimensEntry) ProtoReflect() protoreflect.Message {
105 mi := &file_timens_proto_msgTypes[1]
106 if protoimpl.UnsafeEnabled && x != nil {
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 if ms.LoadMessageInfo() == nil {
109 ms.StoreMessageInfo(mi)
110 }
111 return ms
112 }
113 return mi.MessageOf(x)
114 }
115
116 // Deprecated: Use TimensEntry.ProtoReflect.Descriptor instead.
117 func (*TimensEntry) Descriptor() ([]byte, []int) {
118 return file_timens_proto_rawDescGZIP(), []int{1}
119 }
120
121 func (x *TimensEntry) GetMonotonic() *Timespec {
122 if x != nil {
123 return x.Monotonic
124 }
125 return nil
126 }
127
128 func (x *TimensEntry) GetBoottime() *Timespec {
129 if x != nil {
130 return x.Boottime
131 }
132 return nil
133 }
134
135 var File_timens_proto protoreflect.FileDescriptor
136
137 var file_timens_proto_rawDesc = []byte{
138 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a,
139 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x70, 0x65, 0x63, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x76,
140 0x5f, 0x73, 0x65, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x74, 0x76, 0x53, 0x65,
141 0x63, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x76, 0x5f, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x02,
142 0x28, 0x04, 0x52, 0x06, 0x74, 0x76, 0x4e, 0x73, 0x65, 0x63, 0x22, 0x5e, 0x0a, 0x0c, 0x74, 0x69,
143 0x6d, 0x65, 0x6e, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x09, 0x6d, 0x6f,
144 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x09, 0x2e,
145 0x74, 0x69, 0x6d, 0x65, 0x73, 0x70, 0x65, 0x63, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f,
146 0x6e, 0x69, 0x63, 0x12, 0x25, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18,
147 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x70, 0x65, 0x63,
148 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x74, 0x74, 0x69, 0x6d, 0x65,
149 }
150
151 var (
152 file_timens_proto_rawDescOnce sync.Once
153 file_timens_proto_rawDescData = file_timens_proto_rawDesc
154 )
155
156 func file_timens_proto_rawDescGZIP() []byte {
157 file_timens_proto_rawDescOnce.Do(func() {
158 file_timens_proto_rawDescData = protoimpl.X.CompressGZIP(file_timens_proto_rawDescData)
159 })
160 return file_timens_proto_rawDescData
161 }
162
163 var file_timens_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
164 var file_timens_proto_goTypes = []interface{}{
165 (*Timespec)(nil), // 0: timespec
166 (*TimensEntry)(nil), // 1: timens_entry
167 }
168 var file_timens_proto_depIdxs = []int32{
169 0, // 0: timens_entry.monotonic:type_name -> timespec
170 0, // 1: timens_entry.boottime:type_name -> timespec
171 2, // [2:2] is the sub-list for method output_type
172 2, // [2:2] is the sub-list for method input_type
173 2, // [2:2] is the sub-list for extension type_name
174 2, // [2:2] is the sub-list for extension extendee
175 0, // [0:2] is the sub-list for field type_name
176 }
177
178 func init() { file_timens_proto_init() }
179 func file_timens_proto_init() {
180 if File_timens_proto != nil {
181 return
182 }
183 if !protoimpl.UnsafeEnabled {
184 file_timens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
185 switch v := v.(*Timespec); i {
186 case 0:
187 return &v.state
188 case 1:
189 return &v.sizeCache
190 case 2:
191 return &v.unknownFields
192 default:
193 return nil
194 }
195 }
196 file_timens_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
197 switch v := v.(*TimensEntry); i {
198 case 0:
199 return &v.state
200 case 1:
201 return &v.sizeCache
202 case 2:
203 return &v.unknownFields
204 default:
205 return nil
206 }
207 }
208 }
209 type x struct{}
210 out := protoimpl.TypeBuilder{
211 File: protoimpl.DescBuilder{
212 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
213 RawDescriptor: file_timens_proto_rawDesc,
214 NumEnums: 0,
215 NumMessages: 2,
216 NumExtensions: 0,
217 NumServices: 0,
218 },
219 GoTypes: file_timens_proto_goTypes,
220 DependencyIndexes: file_timens_proto_depIdxs,
221 MessageInfos: file_timens_proto_msgTypes,
222 }.Build()
223 File_timens_proto = out.File
224 file_timens_proto_rawDesc = nil
225 file_timens_proto_goTypes = nil
226 file_timens_proto_depIdxs = nil
227 }