// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc (unknown) // source: logging/v1/logging.proto package loggingv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 LogQuery struct { state protoimpl.MessageState `protogen:"open.v1"` Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Levels []string `protobuf:"bytes,2,rep,name=levels,proto3" json:"levels,omitempty"` Component string `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"` Contains string `protobuf:"bytes,4,opt,name=contains,proto3" json:"contains,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LogQuery) Reset() { *x = LogQuery{} mi := &file_logging_v1_logging_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LogQuery) String() string { return protoimpl.X.MessageStringOf(x) } func (*LogQuery) ProtoMessage() {} func (x *LogQuery) ProtoReflect() protoreflect.Message { mi := &file_logging_v1_logging_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 LogQuery.ProtoReflect.Descriptor instead. func (*LogQuery) Descriptor() ([]byte, []int) { return file_logging_v1_logging_proto_rawDescGZIP(), []int{0} } func (x *LogQuery) GetLimit() int32 { if x != nil { return x.Limit } return 0 } func (x *LogQuery) GetLevels() []string { if x != nil { return x.Levels } return nil } func (x *LogQuery) GetComponent() string { if x != nil { return x.Component } return "" } func (x *LogQuery) GetContains() string { if x != nil { return x.Contains } return "" } type LogSnapshot struct { state protoimpl.MessageState `protogen:"open.v1"` EntriesJson []byte `protobuf:"bytes,1,opt,name=entries_json,json=entriesJson,proto3" json:"entries_json,omitempty"` Truncated bool `protobuf:"varint,2,opt,name=truncated,proto3" json:"truncated,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LogSnapshot) Reset() { *x = LogSnapshot{} mi := &file_logging_v1_logging_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LogSnapshot) String() string { return protoimpl.X.MessageStringOf(x) } func (*LogSnapshot) ProtoMessage() {} func (x *LogSnapshot) ProtoReflect() protoreflect.Message { mi := &file_logging_v1_logging_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 LogSnapshot.ProtoReflect.Descriptor instead. func (*LogSnapshot) Descriptor() ([]byte, []int) { return file_logging_v1_logging_proto_rawDescGZIP(), []int{1} } func (x *LogSnapshot) GetEntriesJson() []byte { if x != nil { return x.EntriesJson } return nil } func (x *LogSnapshot) GetTruncated() bool { if x != nil { return x.Truncated } return false } var File_logging_v1_logging_proto protoreflect.FileDescriptor const file_logging_v1_logging_proto_rawDesc = "" + "\n" + "\x18logging/v1/logging.proto\x12\n" + "logging.v1\"r\n" + "\bLogQuery\x12\x14\n" + "\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" + "\x06levels\x18\x02 \x03(\tR\x06levels\x12\x1c\n" + "\tcomponent\x18\x03 \x01(\tR\tcomponent\x12\x1a\n" + "\bcontains\x18\x04 \x01(\tR\bcontains\"N\n" + "\vLogSnapshot\x12!\n" + "\fentries_json\x18\x01 \x01(\fR\ventriesJson\x12\x1c\n" + "\ttruncated\x18\x02 \x01(\bR\ttruncatedB\xa5\x01\n" + "\x0ecom.logging.v1B\fLoggingProtoP\x01Z