Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
527
pkg/grpc/kafka_grpc/trex_log.pb.go
Normal file
527
pkg/grpc/kafka_grpc/trex_log.pb.go
Normal file
@@ -0,0 +1,527 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.33.0
|
||||
// protoc v4.25.3
|
||||
// source: kafka_grpc/trex_log.proto
|
||||
|
||||
package kafka_grpc
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
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 TRexLog struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
||||
Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // This should become an int64 with message sent as unix time
|
||||
LineNumber int32 `protobuf:"varint,3,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
|
||||
Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
|
||||
Channel string `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
|
||||
Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TRexLog) Reset() {
|
||||
*x = TRexLog{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TRexLog) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TRexLog) ProtoMessage() {}
|
||||
|
||||
func (x *TRexLog) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TRexLog.ProtoReflect.Descriptor instead.
|
||||
func (*TRexLog) Descriptor() ([]byte, []int) {
|
||||
return file_kafka_grpc_trex_log_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetLevel() int32 {
|
||||
if x != nil {
|
||||
return x.Level
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetTimestamp() string {
|
||||
if x != nil {
|
||||
return x.Timestamp
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetLineNumber() int32 {
|
||||
if x != nil {
|
||||
return x.LineNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetFilename() string {
|
||||
if x != nil {
|
||||
return x.Filename
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetChannel() string {
|
||||
if x != nil {
|
||||
return x.Channel
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *TRexLog) GetMsg() string {
|
||||
if x != nil {
|
||||
return x.Msg
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type TRexLogs struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Logs []*TRexLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TRexLogs) Reset() {
|
||||
*x = TRexLogs{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TRexLogs) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TRexLogs) ProtoMessage() {}
|
||||
|
||||
func (x *TRexLogs) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TRexLogs.ProtoReflect.Descriptor instead.
|
||||
func (*TRexLogs) Descriptor() ([]byte, []int) {
|
||||
return file_kafka_grpc_trex_log_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *TRexLogs) GetLogs() []*TRexLog {
|
||||
if x != nil {
|
||||
return x.Logs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type TRexLogs_BatchPayload struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Handler string `protobuf:"bytes,1,opt,name=Handler,proto3" json:"Handler,omitempty"`
|
||||
// Types that are assignable to TRexMessage:
|
||||
//
|
||||
// *TRexLogs_BatchPayload_Data
|
||||
// *TRexLogs_BatchPayload_Error
|
||||
TRexMessage isTRexLogs_BatchPayload_TRexMessage `protobuf_oneof:"TRexMessage"`
|
||||
Version string `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) Reset() {
|
||||
*x = TRexLogs_BatchPayload{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TRexLogs_BatchPayload) ProtoMessage() {}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TRexLogs_BatchPayload.ProtoReflect.Descriptor instead.
|
||||
func (*TRexLogs_BatchPayload) Descriptor() ([]byte, []int) {
|
||||
return file_kafka_grpc_trex_log_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) GetHandler() string {
|
||||
if x != nil {
|
||||
return x.Handler
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TRexLogs_BatchPayload) GetTRexMessage() isTRexLogs_BatchPayload_TRexMessage {
|
||||
if m != nil {
|
||||
return m.TRexMessage
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) GetData() *TRexLogs {
|
||||
if x, ok := x.GetTRexMessage().(*TRexLogs_BatchPayload_Data); ok {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) GetError() *TRexError {
|
||||
if x, ok := x.GetTRexMessage().(*TRexLogs_BatchPayload_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TRexLogs_BatchPayload) GetVersion() string {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isTRexLogs_BatchPayload_TRexMessage interface {
|
||||
isTRexLogs_BatchPayload_TRexMessage()
|
||||
}
|
||||
|
||||
type TRexLogs_BatchPayload_Data struct {
|
||||
Data *TRexLogs `protobuf:"bytes,2,opt,name=Data,proto3,oneof"`
|
||||
}
|
||||
|
||||
type TRexLogs_BatchPayload_Error struct {
|
||||
Error *TRexError `protobuf:"bytes,3,opt,name=Error,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*TRexLogs_BatchPayload_Data) isTRexLogs_BatchPayload_TRexMessage() {}
|
||||
|
||||
func (*TRexLogs_BatchPayload_Error) isTRexLogs_BatchPayload_TRexMessage() {}
|
||||
|
||||
type TRexError struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||
Message []*TRexErrorMessage `protobuf:"bytes,2,rep,name=message,proto3" json:"message,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TRexError) Reset() {
|
||||
*x = TRexError{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TRexError) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TRexError) ProtoMessage() {}
|
||||
|
||||
func (x *TRexError) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TRexError.ProtoReflect.Descriptor instead.
|
||||
func (*TRexError) Descriptor() ([]byte, []int) {
|
||||
return file_kafka_grpc_trex_log_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *TRexError) GetCode() int64 {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TRexError) GetMessage() []*TRexErrorMessage {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type TRexErrorMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TRexErrorMessage) Reset() {
|
||||
*x = TRexErrorMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TRexErrorMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TRexErrorMessage) ProtoMessage() {}
|
||||
|
||||
func (x *TRexErrorMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_kafka_grpc_trex_log_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TRexErrorMessage.ProtoReflect.Descriptor instead.
|
||||
func (*TRexErrorMessage) Descriptor() ([]byte, []int) {
|
||||
return file_kafka_grpc_trex_log_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *TRexErrorMessage) GetContext() []string {
|
||||
if x != nil {
|
||||
return x.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *TRexErrorMessage) GetDescription() string {
|
||||
if x != nil {
|
||||
return x.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_kafka_grpc_trex_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_kafka_grpc_trex_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x19, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x72, 0x65,
|
||||
0x78, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x07,
|
||||
0x54, 0x52, 0x65, 0x78, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6c,
|
||||
0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e,
|
||||
0x6e, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x6d, 0x73, 0x67, 0x22, 0x28, 0x0a, 0x08, 0x54, 0x52, 0x65, 0x78, 0x4c, 0x6f, 0x67, 0x73,
|
||||
0x12, 0x1c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08,
|
||||
0x2e, 0x54, 0x52, 0x65, 0x78, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x9f,
|
||||
0x01, 0x0a, 0x15, 0x54, 0x52, 0x65, 0x78, 0x4c, 0x6f, 0x67, 0x73, 0x5f, 0x42, 0x61, 0x74, 0x63,
|
||||
0x68, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x48, 0x61, 0x6e, 0x64,
|
||||
0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x48, 0x61, 0x6e, 0x64, 0x6c,
|
||||
0x65, 0x72, 0x12, 0x1f, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x09, 0x2e, 0x54, 0x52, 0x65, 0x78, 0x4c, 0x6f, 0x67, 0x73, 0x48, 0x00, 0x52, 0x04, 0x44,
|
||||
0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x54, 0x52, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
|
||||
0x52, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x54, 0x52, 0x65, 0x78, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x22, 0x4c, 0x0a, 0x09, 0x54, 0x52, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x2b, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x54, 0x52, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4e,
|
||||
0x0a, 0x10, 0x54, 0x52, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11,
|
||||
0x5a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x67, 0x72, 0x70,
|
||||
0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_kafka_grpc_trex_log_proto_rawDescOnce sync.Once
|
||||
file_kafka_grpc_trex_log_proto_rawDescData = file_kafka_grpc_trex_log_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_kafka_grpc_trex_log_proto_rawDescGZIP() []byte {
|
||||
file_kafka_grpc_trex_log_proto_rawDescOnce.Do(func() {
|
||||
file_kafka_grpc_trex_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_kafka_grpc_trex_log_proto_rawDescData)
|
||||
})
|
||||
return file_kafka_grpc_trex_log_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_kafka_grpc_trex_log_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_kafka_grpc_trex_log_proto_goTypes = []interface{}{
|
||||
(*TRexLog)(nil), // 0: TRexLog
|
||||
(*TRexLogs)(nil), // 1: TRexLogs
|
||||
(*TRexLogs_BatchPayload)(nil), // 2: TRexLogs_BatchPayload
|
||||
(*TRexError)(nil), // 3: TRexError
|
||||
(*TRexErrorMessage)(nil), // 4: TRexErrorMessage
|
||||
}
|
||||
var file_kafka_grpc_trex_log_proto_depIdxs = []int32{
|
||||
0, // 0: TRexLogs.logs:type_name -> TRexLog
|
||||
1, // 1: TRexLogs_BatchPayload.Data:type_name -> TRexLogs
|
||||
3, // 2: TRexLogs_BatchPayload.Error:type_name -> TRexError
|
||||
4, // 3: TRexError.message:type_name -> TRexErrorMessage
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_kafka_grpc_trex_log_proto_init() }
|
||||
func file_kafka_grpc_trex_log_proto_init() {
|
||||
if File_kafka_grpc_trex_log_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TRexLog); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TRexLogs); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TRexLogs_BatchPayload); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TRexError); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TRexErrorMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_kafka_grpc_trex_log_proto_msgTypes[2].OneofWrappers = []interface{}{
|
||||
(*TRexLogs_BatchPayload_Data)(nil),
|
||||
(*TRexLogs_BatchPayload_Error)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_kafka_grpc_trex_log_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_kafka_grpc_trex_log_proto_goTypes,
|
||||
DependencyIndexes: file_kafka_grpc_trex_log_proto_depIdxs,
|
||||
MessageInfos: file_kafka_grpc_trex_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_kafka_grpc_trex_log_proto = out.File
|
||||
file_kafka_grpc_trex_log_proto_rawDesc = nil
|
||||
file_kafka_grpc_trex_log_proto_goTypes = nil
|
||||
file_kafka_grpc_trex_log_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user