github.com/kubeshop/testkube@v1.17.23/pkg/logs/pb/logs.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.32.0 4 // protoc v3.19.4 5 // source: pkg/logs/pb/logs.proto 6 7 package pb 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 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type StreamResponseStatus int32 25 26 const ( 27 StreamResponseStatus_Completed StreamResponseStatus = 0 28 StreamResponseStatus_Failed StreamResponseStatus = 1 29 ) 30 31 // Enum value maps for StreamResponseStatus. 32 var ( 33 StreamResponseStatus_name = map[int32]string{ 34 0: "Completed", 35 1: "Failed", 36 } 37 StreamResponseStatus_value = map[string]int32{ 38 "Completed": 0, 39 "Failed": 1, 40 } 41 ) 42 43 func (x StreamResponseStatus) Enum() *StreamResponseStatus { 44 p := new(StreamResponseStatus) 45 *p = x 46 return p 47 } 48 49 func (x StreamResponseStatus) String() string { 50 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 51 } 52 53 func (StreamResponseStatus) Descriptor() protoreflect.EnumDescriptor { 54 return file_pkg_logs_pb_logs_proto_enumTypes[0].Descriptor() 55 } 56 57 func (StreamResponseStatus) Type() protoreflect.EnumType { 58 return &file_pkg_logs_pb_logs_proto_enumTypes[0] 59 } 60 61 func (x StreamResponseStatus) Number() protoreflect.EnumNumber { 62 return protoreflect.EnumNumber(x) 63 } 64 65 // Deprecated: Use StreamResponseStatus.Descriptor instead. 66 func (StreamResponseStatus) EnumDescriptor() ([]byte, []int) { 67 return file_pkg_logs_pb_logs_proto_rawDescGZIP(), []int{0} 68 } 69 70 type LogRequest struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 75 ExecutionId string `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` 76 } 77 78 func (x *LogRequest) Reset() { 79 *x = LogRequest{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_pkg_logs_pb_logs_proto_msgTypes[0] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85 } 86 87 func (x *LogRequest) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*LogRequest) ProtoMessage() {} 92 93 func (x *LogRequest) ProtoReflect() protoreflect.Message { 94 mi := &file_pkg_logs_pb_logs_proto_msgTypes[0] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use LogRequest.ProtoReflect.Descriptor instead. 106 func (*LogRequest) Descriptor() ([]byte, []int) { 107 return file_pkg_logs_pb_logs_proto_rawDescGZIP(), []int{0} 108 } 109 110 func (x *LogRequest) GetExecutionId() string { 111 if x != nil { 112 return x.ExecutionId 113 } 114 return "" 115 } 116 117 type Log struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` 123 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 124 Error bool `protobuf:"varint,3,opt,name=error,proto3" json:"error,omitempty"` 125 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` 126 Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` 127 Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` 128 Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 129 } 130 131 func (x *Log) Reset() { 132 *x = Log{} 133 if protoimpl.UnsafeEnabled { 134 mi := &file_pkg_logs_pb_logs_proto_msgTypes[1] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 ms.StoreMessageInfo(mi) 137 } 138 } 139 140 func (x *Log) String() string { 141 return protoimpl.X.MessageStringOf(x) 142 } 143 144 func (*Log) ProtoMessage() {} 145 146 func (x *Log) ProtoReflect() protoreflect.Message { 147 mi := &file_pkg_logs_pb_logs_proto_msgTypes[1] 148 if protoimpl.UnsafeEnabled && x != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(x) 156 } 157 158 // Deprecated: Use Log.ProtoReflect.Descriptor instead. 159 func (*Log) Descriptor() ([]byte, []int) { 160 return file_pkg_logs_pb_logs_proto_rawDescGZIP(), []int{1} 161 } 162 163 func (x *Log) GetTime() *timestamppb.Timestamp { 164 if x != nil { 165 return x.Time 166 } 167 return nil 168 } 169 170 func (x *Log) GetContent() string { 171 if x != nil { 172 return x.Content 173 } 174 return "" 175 } 176 177 func (x *Log) GetError() bool { 178 if x != nil { 179 return x.Error 180 } 181 return false 182 } 183 184 func (x *Log) GetType() string { 185 if x != nil { 186 return x.Type 187 } 188 return "" 189 } 190 191 func (x *Log) GetSource() string { 192 if x != nil { 193 return x.Source 194 } 195 return "" 196 } 197 198 func (x *Log) GetVersion() string { 199 if x != nil { 200 return x.Version 201 } 202 return "" 203 } 204 205 func (x *Log) GetMetadata() map[string]string { 206 if x != nil { 207 return x.Metadata 208 } 209 return nil 210 } 211 212 type CloudLogRequest struct { 213 state protoimpl.MessageState 214 sizeCache protoimpl.SizeCache 215 unknownFields protoimpl.UnknownFields 216 217 EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` 218 ExecutionId string `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` 219 TestName string `protobuf:"bytes,3,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"` 220 } 221 222 func (x *CloudLogRequest) Reset() { 223 *x = CloudLogRequest{} 224 if protoimpl.UnsafeEnabled { 225 mi := &file_pkg_logs_pb_logs_proto_msgTypes[2] 226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 227 ms.StoreMessageInfo(mi) 228 } 229 } 230 231 func (x *CloudLogRequest) String() string { 232 return protoimpl.X.MessageStringOf(x) 233 } 234 235 func (*CloudLogRequest) ProtoMessage() {} 236 237 func (x *CloudLogRequest) ProtoReflect() protoreflect.Message { 238 mi := &file_pkg_logs_pb_logs_proto_msgTypes[2] 239 if protoimpl.UnsafeEnabled && x != nil { 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 if ms.LoadMessageInfo() == nil { 242 ms.StoreMessageInfo(mi) 243 } 244 return ms 245 } 246 return mi.MessageOf(x) 247 } 248 249 // Deprecated: Use CloudLogRequest.ProtoReflect.Descriptor instead. 250 func (*CloudLogRequest) Descriptor() ([]byte, []int) { 251 return file_pkg_logs_pb_logs_proto_rawDescGZIP(), []int{2} 252 } 253 254 func (x *CloudLogRequest) GetEnvironmentId() string { 255 if x != nil { 256 return x.EnvironmentId 257 } 258 return "" 259 } 260 261 func (x *CloudLogRequest) GetExecutionId() string { 262 if x != nil { 263 return x.ExecutionId 264 } 265 return "" 266 } 267 268 func (x *CloudLogRequest) GetTestName() string { 269 if x != nil { 270 return x.TestName 271 } 272 return "" 273 } 274 275 type StreamResponse struct { 276 state protoimpl.MessageState 277 sizeCache protoimpl.SizeCache 278 unknownFields protoimpl.UnknownFields 279 280 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 281 Status StreamResponseStatus `protobuf:"varint,2,opt,name=status,proto3,enum=logs.StreamResponseStatus" json:"status,omitempty"` 282 } 283 284 func (x *StreamResponse) Reset() { 285 *x = StreamResponse{} 286 if protoimpl.UnsafeEnabled { 287 mi := &file_pkg_logs_pb_logs_proto_msgTypes[3] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291 } 292 293 func (x *StreamResponse) String() string { 294 return protoimpl.X.MessageStringOf(x) 295 } 296 297 func (*StreamResponse) ProtoMessage() {} 298 299 func (x *StreamResponse) ProtoReflect() protoreflect.Message { 300 mi := &file_pkg_logs_pb_logs_proto_msgTypes[3] 301 if protoimpl.UnsafeEnabled && x != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(x) 309 } 310 311 // Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead. 312 func (*StreamResponse) Descriptor() ([]byte, []int) { 313 return file_pkg_logs_pb_logs_proto_rawDescGZIP(), []int{3} 314 } 315 316 func (x *StreamResponse) GetMessage() string { 317 if x != nil { 318 return x.Message 319 } 320 return "" 321 } 322 323 func (x *StreamResponse) GetStatus() StreamResponseStatus { 324 if x != nil { 325 return x.Status 326 } 327 return StreamResponseStatus_Completed 328 } 329 330 var File_pkg_logs_pb_logs_proto protoreflect.FileDescriptor 331 332 var file_pkg_logs_pb_logs_proto_rawDesc = []byte{ 333 0x0a, 0x16, 0x70, 0x6b, 0x67, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x70, 0x62, 0x2f, 0x6c, 0x6f, 334 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x1a, 0x1f, 335 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 336 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 337 0x2f, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 338 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 339 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 340 0x22, 0x9d, 0x02, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 341 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 342 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 343 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 344 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 345 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 346 0x08, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 347 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 348 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 349 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 350 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 351 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 352 0x32, 0x17, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x61, 353 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 354 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 355 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 356 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 357 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 358 0x22, 0x78, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 359 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 360 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x76, 361 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 362 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 363 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 364 0x09, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 365 0x52, 0x08, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5e, 0x0a, 0x0e, 0x53, 0x74, 366 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 367 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 368 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 369 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x53, 0x74, 370 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 371 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x31, 0x0a, 0x14, 0x53, 0x74, 372 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 373 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x10, 374 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x01, 0x32, 0x34, 0x0a, 375 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x04, 376 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x10, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 377 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 378 0x67, 0x30, 0x01, 0x32, 0x6b, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x6f, 0x67, 0x73, 379 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x65, 0x61, 380 0x6d, 0x12, 0x09, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x1a, 0x14, 0x2e, 0x6c, 381 0x6f, 0x67, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 382 0x73, 0x65, 0x28, 0x01, 0x12, 0x2a, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x15, 0x2e, 0x6c, 383 0x6f, 0x67, 0x73, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 384 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x30, 0x01, 385 0x42, 0x0d, 0x5a, 0x0b, 0x70, 0x6b, 0x67, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x70, 0x62, 0x62, 386 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 387 } 388 389 var ( 390 file_pkg_logs_pb_logs_proto_rawDescOnce sync.Once 391 file_pkg_logs_pb_logs_proto_rawDescData = file_pkg_logs_pb_logs_proto_rawDesc 392 ) 393 394 func file_pkg_logs_pb_logs_proto_rawDescGZIP() []byte { 395 file_pkg_logs_pb_logs_proto_rawDescOnce.Do(func() { 396 file_pkg_logs_pb_logs_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_logs_pb_logs_proto_rawDescData) 397 }) 398 return file_pkg_logs_pb_logs_proto_rawDescData 399 } 400 401 var file_pkg_logs_pb_logs_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 402 var file_pkg_logs_pb_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 403 var file_pkg_logs_pb_logs_proto_goTypes = []interface{}{ 404 (StreamResponseStatus)(0), // 0: logs.StreamResponseStatus 405 (*LogRequest)(nil), // 1: logs.LogRequest 406 (*Log)(nil), // 2: logs.Log 407 (*CloudLogRequest)(nil), // 3: logs.CloudLogRequest 408 (*StreamResponse)(nil), // 4: logs.StreamResponse 409 nil, // 5: logs.Log.MetadataEntry 410 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 411 } 412 var file_pkg_logs_pb_logs_proto_depIdxs = []int32{ 413 6, // 0: logs.Log.time:type_name -> google.protobuf.Timestamp 414 5, // 1: logs.Log.metadata:type_name -> logs.Log.MetadataEntry 415 0, // 2: logs.StreamResponse.status:type_name -> logs.StreamResponseStatus 416 1, // 3: logs.LogsService.Logs:input_type -> logs.LogRequest 417 2, // 4: logs.CloudLogsService.Stream:input_type -> logs.Log 418 3, // 5: logs.CloudLogsService.Logs:input_type -> logs.CloudLogRequest 419 2, // 6: logs.LogsService.Logs:output_type -> logs.Log 420 4, // 7: logs.CloudLogsService.Stream:output_type -> logs.StreamResponse 421 2, // 8: logs.CloudLogsService.Logs:output_type -> logs.Log 422 6, // [6:9] is the sub-list for method output_type 423 3, // [3:6] is the sub-list for method input_type 424 3, // [3:3] is the sub-list for extension type_name 425 3, // [3:3] is the sub-list for extension extendee 426 0, // [0:3] is the sub-list for field type_name 427 } 428 429 func init() { file_pkg_logs_pb_logs_proto_init() } 430 func file_pkg_logs_pb_logs_proto_init() { 431 if File_pkg_logs_pb_logs_proto != nil { 432 return 433 } 434 if !protoimpl.UnsafeEnabled { 435 file_pkg_logs_pb_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 436 switch v := v.(*LogRequest); i { 437 case 0: 438 return &v.state 439 case 1: 440 return &v.sizeCache 441 case 2: 442 return &v.unknownFields 443 default: 444 return nil 445 } 446 } 447 file_pkg_logs_pb_logs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 448 switch v := v.(*Log); i { 449 case 0: 450 return &v.state 451 case 1: 452 return &v.sizeCache 453 case 2: 454 return &v.unknownFields 455 default: 456 return nil 457 } 458 } 459 file_pkg_logs_pb_logs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 460 switch v := v.(*CloudLogRequest); i { 461 case 0: 462 return &v.state 463 case 1: 464 return &v.sizeCache 465 case 2: 466 return &v.unknownFields 467 default: 468 return nil 469 } 470 } 471 file_pkg_logs_pb_logs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 472 switch v := v.(*StreamResponse); i { 473 case 0: 474 return &v.state 475 case 1: 476 return &v.sizeCache 477 case 2: 478 return &v.unknownFields 479 default: 480 return nil 481 } 482 } 483 } 484 type x struct{} 485 out := protoimpl.TypeBuilder{ 486 File: protoimpl.DescBuilder{ 487 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 488 RawDescriptor: file_pkg_logs_pb_logs_proto_rawDesc, 489 NumEnums: 1, 490 NumMessages: 5, 491 NumExtensions: 0, 492 NumServices: 2, 493 }, 494 GoTypes: file_pkg_logs_pb_logs_proto_goTypes, 495 DependencyIndexes: file_pkg_logs_pb_logs_proto_depIdxs, 496 EnumInfos: file_pkg_logs_pb_logs_proto_enumTypes, 497 MessageInfos: file_pkg_logs_pb_logs_proto_msgTypes, 498 }.Build() 499 File_pkg_logs_pb_logs_proto = out.File 500 file_pkg_logs_pb_logs_proto_rawDesc = nil 501 file_pkg_logs_pb_logs_proto_goTypes = nil 502 file_pkg_logs_pb_logs_proto_depIdxs = nil 503 }