Debian Codegraph @

go/types/v1/session.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: types/v1/session.proto
6
7 package typesv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
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 Session struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 EnvironmentId int64 `protobuf:"varint,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
28 MachineId int64 `protobuf:"varint,2,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
29 SessionId int64 `protobuf:"varint,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
30 LogEventCount int64 `protobuf:"varint,4,opt,name=log_event_count,json=logEventCount,proto3" json:"log_event_count,omitempty"`
31 LogEventSizeBytes int64 `protobuf:"varint,5,opt,name=log_event_size_bytes,json=logEventSizeBytes,proto3" json:"log_event_size_bytes,omitempty"`
32 StartedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
33 FinishedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
34 unknownFields protoimpl.UnknownFields
35 sizeCache protoimpl.SizeCache
36 }
37
38 func (x *Session) Reset() {
39 *x = Session{}
40 mi := &file_types_v1_session_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44
45 func (x *Session) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*Session) ProtoMessage() {}
50
51 func (x *Session) ProtoReflect() protoreflect.Message {
52 mi := &file_types_v1_session_proto_msgTypes[0]
53 if x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63 // Deprecated: Use Session.ProtoReflect.Descriptor instead.
64 func (*Session) Descriptor() ([]byte, []int) {
65 return file_types_v1_session_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *Session) GetEnvironmentId() int64 {
69 if x != nil {
70 return x.EnvironmentId
71 }
72 return 0
73 }
74
75 func (x *Session) GetMachineId() int64 {
76 if x != nil {
77 return x.MachineId
78 }
79 return 0
80 }
81
82 func (x *Session) GetSessionId() int64 {
83 if x != nil {
84 return x.SessionId
85 }
86 return 0
87 }
88
89 func (x *Session) GetLogEventCount() int64 {
90 if x != nil {
91 return x.LogEventCount
92 }
93 return 0
94 }
95
96 func (x *Session) GetLogEventSizeBytes() int64 {
97 if x != nil {
98 return x.LogEventSizeBytes
99 }
100 return 0
101 }
102
103 func (x *Session) GetStartedAt() *timestamppb.Timestamp {
104 if x != nil {
105 return x.StartedAt
106 }
107 return nil
108 }
109
110 func (x *Session) GetFinishedAt() *timestamppb.Timestamp {
111 if x != nil {
112 return x.FinishedAt
113 }
114 return nil
115 }
116
117 var File_types_v1_session_proto protoreflect.FileDescriptor
118
119 var file_types_v1_session_proto_rawDesc = string([]byte{
120 0x0a, 0x16, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69,
121 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
122 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
123 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
124 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x02, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
125 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69,
126 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
127 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e,
128 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68,
129 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
130 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69,
131 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e,
132 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c,
133 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x14,
134 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62,
135 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6c, 0x6f, 0x67, 0x45,
136 0x76, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a,
137 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
138 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
139 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73,
140 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69,
141 0x73, 0x68, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
142 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
143 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73,
144 0x68, 0x65, 0x64, 0x41, 0x74, 0x42, 0x8c, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x79,
145 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50,
146 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
147 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70,
148 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79,
149 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79,
150 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56,
151 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42,
152 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x54, 0x79, 0x70, 0x65, 0x73,
153 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
154 })
155
156 var (
157 file_types_v1_session_proto_rawDescOnce sync.Once
158 file_types_v1_session_proto_rawDescData []byte
159 )
160
161 func file_types_v1_session_proto_rawDescGZIP() []byte {
162 file_types_v1_session_proto_rawDescOnce.Do(func() {
163 file_types_v1_session_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_session_proto_rawDesc), len(file_types_v1_session_proto_rawDesc)))
164 })
165 return file_types_v1_session_proto_rawDescData
166 }
167
168 var file_types_v1_session_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
169 var file_types_v1_session_proto_goTypes = []any{
170 (*Session)(nil), // 0: types.v1.Session
171 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
172 }
173 var file_types_v1_session_proto_depIdxs = []int32{
174 1, // 0: types.v1.Session.started_at:type_name -> google.protobuf.Timestamp
175 1, // 1: types.v1.Session.finished_at:type_name -> google.protobuf.Timestamp
176 2, // [2:2] is the sub-list for method output_type
177 2, // [2:2] is the sub-list for method input_type
178 2, // [2:2] is the sub-list for extension type_name
179 2, // [2:2] is the sub-list for extension extendee
180 0, // [0:2] is the sub-list for field type_name
181 }
182
183 func init() { file_types_v1_session_proto_init() }
184 func file_types_v1_session_proto_init() {
185 if File_types_v1_session_proto != nil {
186 return
187 }
188 type x struct{}
189 out := protoimpl.TypeBuilder{
190 File: protoimpl.DescBuilder{
191 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
192 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_session_proto_rawDesc), len(file_types_v1_session_proto_rawDesc)),
193 NumEnums: 0,
194 NumMessages: 1,
195 NumExtensions: 0,
196 NumServices: 0,
197 },
198 GoTypes: file_types_v1_session_proto_goTypes,
199 DependencyIndexes: file_types_v1_session_proto_depIdxs,
200 MessageInfos: file_types_v1_session_proto_msgTypes,
201 }.Build()
202 File_types_v1_session_proto = out.File
203 file_types_v1_session_proto_goTypes = nil
204 file_types_v1_session_proto_depIdxs = nil
205 }