// Copyright (c) Ultraviolet // SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.35.1 // source: agent/log/log.proto package log import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type LogEntry struct { state protoimpl.MessageState `protogen:"open.v1"` Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` ComputationId string `protobuf:"bytes,2,opt,name=computation_id,json=computationId,proto3" json:"computation_id,omitempty"` Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LogEntry) Reset() { *x = LogEntry{} mi := &file_agent_log_log_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LogEntry) String() string { return protoimpl.X.MessageStringOf(x) } func (*LogEntry) ProtoMessage() {} func (x *LogEntry) ProtoReflect() protoreflect.Message { mi := &file_agent_log_log_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LogEntry.ProtoReflect.Descriptor instead. func (*LogEntry) Descriptor() ([]byte, []int) { return file_agent_log_log_proto_rawDescGZIP(), []int{0} } func (x *LogEntry) GetMessage() string { if x != nil { return x.Message } return "" } func (x *LogEntry) GetComputationId() string { if x != nil { return x.ComputationId } return "" } func (x *LogEntry) GetLevel() string { if x != nil { return x.Level } return "" } func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp { if x != nil { return x.Timestamp } return nil } type EventEntry struct { state protoimpl.MessageState `protogen:"open.v1"` EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ComputationId string `protobuf:"bytes,3,opt,name=computation_id,json=computationId,proto3" json:"computation_id,omitempty"` Details []byte `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` // JSON payload Originator string `protobuf:"bytes,5,opt,name=originator,proto3" json:"originator,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EventEntry) Reset() { *x = EventEntry{} mi := &file_agent_log_log_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EventEntry) String() string { return protoimpl.X.MessageStringOf(x) } func (*EventEntry) ProtoMessage() {} func (x *EventEntry) ProtoReflect() protoreflect.Message { mi := &file_agent_log_log_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EventEntry.ProtoReflect.Descriptor instead. func (*EventEntry) Descriptor() ([]byte, []int) { return file_agent_log_log_proto_rawDescGZIP(), []int{1} } func (x *EventEntry) GetEventType() string { if x != nil { return x.EventType } return "" } func (x *EventEntry) GetTimestamp() *timestamppb.Timestamp { if x != nil { return x.Timestamp } return nil } func (x *EventEntry) GetComputationId() string { if x != nil { return x.ComputationId } return "" } func (x *EventEntry) GetDetails() []byte { if x != nil { return x.Details } return nil } func (x *EventEntry) GetOriginator() string { if x != nil { return x.Originator } return "" } func (x *EventEntry) GetStatus() string { if x != nil { return x.Status } return "" } var File_agent_log_log_proto protoreflect.FileDescriptor const file_agent_log_log_proto_rawDesc = "" + "\n" + "\x13agent/log/log.proto\x12\x03log\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9b\x01\n" + "\bLogEntry\x12\x18\n" + "\amessage\x18\x01 \x01(\tR\amessage\x12%\n" + "\x0ecomputation_id\x18\x02 \x01(\tR\rcomputationId\x12\x14\n" + "\x05level\x18\x03 \x01(\tR\x05level\x128\n" + "\ttimestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\"\xde\x01\n" + "\n" + "EventEntry\x12\x1d\n" + "\n" + "event_type\x18\x01 \x01(\tR\teventType\x128\n" + "\ttimestamp\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12%\n" + "\x0ecomputation_id\x18\x03 \x01(\tR\rcomputationId\x12\x18\n" + "\adetails\x18\x04 \x01(\fR\adetails\x12\x1e\n" + "\n" + "originator\x18\x05 \x01(\tR\n" + "originator\x12\x16\n" + "\x06status\x18\x06 \x01(\tR\x06status2v\n" + "\fLogCollector\x120\n" + "\aSendLog\x12\r.log.LogEntry\x1a\x16.google.protobuf.Empty\x124\n" + "\tSendEvent\x12\x0f.log.EventEntry\x1a\x16.google.protobuf.EmptyB\aZ\x05./logb\x06proto3" var ( file_agent_log_log_proto_rawDescOnce sync.Once file_agent_log_log_proto_rawDescData []byte ) func file_agent_log_log_proto_rawDescGZIP() []byte { file_agent_log_log_proto_rawDescOnce.Do(func() { file_agent_log_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agent_log_log_proto_rawDesc), len(file_agent_log_log_proto_rawDesc))) }) return file_agent_log_log_proto_rawDescData } var file_agent_log_log_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_agent_log_log_proto_goTypes = []any{ (*LogEntry)(nil), // 0: log.LogEntry (*EventEntry)(nil), // 1: log.EventEntry (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp (*emptypb.Empty)(nil), // 3: google.protobuf.Empty } var file_agent_log_log_proto_depIdxs = []int32{ 2, // 0: log.LogEntry.timestamp:type_name -> google.protobuf.Timestamp 2, // 1: log.EventEntry.timestamp:type_name -> google.protobuf.Timestamp 0, // 2: log.LogCollector.SendLog:input_type -> log.LogEntry 1, // 3: log.LogCollector.SendEvent:input_type -> log.EventEntry 3, // 4: log.LogCollector.SendLog:output_type -> google.protobuf.Empty 3, // 5: log.LogCollector.SendEvent:output_type -> google.protobuf.Empty 4, // [4:6] is the sub-list for method output_type 2, // [2:4] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_agent_log_log_proto_init() } func file_agent_log_log_proto_init() { if File_agent_log_log_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_log_log_proto_rawDesc), len(file_agent_log_log_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_agent_log_log_proto_goTypes, DependencyIndexes: file_agent_log_log_proto_depIdxs, MessageInfos: file_agent_log_log_proto_msgTypes, }.Build() File_agent_log_log_proto = out.File file_agent_log_log_proto_goTypes = nil file_agent_log_log_proto_depIdxs = nil }