statefulpb

package
v5.0.181 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatefulLogsService_LogsStream_FullMethodName = "/datadog.intake.stateful.StatefulLogsService/LogsStream"
)

Variables

View Source
var (
	BatchStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "OK",
	}
	BatchStatus_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"OK":      1,
	}
)

Enum value maps for BatchStatus_Status.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_proto_logsstateful_stateful_encoding_proto protoreflect.FileDescriptor
View Source
var StatefulLogsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "datadog.intake.stateful.StatefulLogsService",
	HandlerType: (*StatefulLogsServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "LogsStream",
			Handler:       _StatefulLogsService_LogsStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "proto/logsstateful/stateful_encoding.proto",
}

StatefulLogsService_ServiceDesc is the grpc.ServiceDesc for StatefulLogsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStatefulLogsServiceServer

func RegisterStatefulLogsServiceServer(s grpc.ServiceRegistrar, srv StatefulLogsServiceServer)

Types

type BatchStatus

type BatchStatus struct {
	BatchId uint32             `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	Status  BatchStatus_Status `protobuf:"varint,2,opt,name=status,proto3,enum=datadog.intake.stateful.BatchStatus_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchStatus) Descriptor deprecated

func (*BatchStatus) Descriptor() ([]byte, []int)

Deprecated: Use BatchStatus.ProtoReflect.Descriptor instead.

func (*BatchStatus) GetBatchId

func (x *BatchStatus) GetBatchId() uint32

func (*BatchStatus) GetStatus

func (x *BatchStatus) GetStatus() BatchStatus_Status

func (*BatchStatus) MarshalToSizedBufferVT

func (m *BatchStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BatchStatus) MarshalToVT

func (m *BatchStatus) MarshalToVT(dAtA []byte) (int, error)

func (*BatchStatus) MarshalVT

func (m *BatchStatus) MarshalVT() (dAtA []byte, err error)

func (*BatchStatus) ProtoMessage

func (*BatchStatus) ProtoMessage()

func (*BatchStatus) ProtoReflect

func (x *BatchStatus) ProtoReflect() protoreflect.Message

func (*BatchStatus) Reset

func (x *BatchStatus) Reset()

func (*BatchStatus) SizeVT

func (m *BatchStatus) SizeVT() (n int)

func (*BatchStatus) String

func (x *BatchStatus) String() string

func (*BatchStatus) UnmarshalVT

func (m *BatchStatus) UnmarshalVT(dAtA []byte) error

type BatchStatus_Status

type BatchStatus_Status int32

TODO: only OK is used right now - should we just remove this enum?

const (
	BatchStatus_UNKNOWN BatchStatus_Status = 0
	BatchStatus_OK      BatchStatus_Status = 1
)

func (BatchStatus_Status) Descriptor

func (BatchStatus_Status) Enum

func (BatchStatus_Status) EnumDescriptor deprecated

func (BatchStatus_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use BatchStatus_Status.Descriptor instead.

func (BatchStatus_Status) Number

func (BatchStatus_Status) String

func (x BatchStatus_Status) String() string

func (BatchStatus_Status) Type

type Datum

type Datum struct {

	// Types that are assignable to Data:
	//
	//	*Datum_PatternDefine
	//	*Datum_PatternDelete
	//	*Datum_DictEntryDefine
	//	*Datum_DictEntryDelete
	//	*Datum_DeltaEncodingSync
	//	*Datum_Logs
	Data isDatum_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Datum) Descriptor deprecated

func (*Datum) Descriptor() ([]byte, []int)

Deprecated: Use Datum.ProtoReflect.Descriptor instead.

func (*Datum) GetData

func (m *Datum) GetData() isDatum_Data

func (*Datum) GetDeltaEncodingSync

func (x *Datum) GetDeltaEncodingSync() *DeltaEncodingSync

func (*Datum) GetDictEntryDefine

func (x *Datum) GetDictEntryDefine() *DictEntryDefine

func (*Datum) GetDictEntryDelete

func (x *Datum) GetDictEntryDelete() *DictEntryDelete

func (*Datum) GetLogs

func (x *Datum) GetLogs() *Log

func (*Datum) GetPatternDefine

func (x *Datum) GetPatternDefine() *PatternDefine

func (*Datum) GetPatternDelete

func (x *Datum) GetPatternDelete() *PatternDelete

func (*Datum) MarshalToSizedBufferVT

func (m *Datum) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum) MarshalToVT

func (m *Datum) MarshalToVT(dAtA []byte) (int, error)

func (*Datum) MarshalVT

func (m *Datum) MarshalVT() (dAtA []byte, err error)

func (*Datum) ProtoMessage

func (*Datum) ProtoMessage()

func (*Datum) ProtoReflect

func (x *Datum) ProtoReflect() protoreflect.Message

func (*Datum) Reset

func (x *Datum) Reset()

func (*Datum) SizeVT

func (m *Datum) SizeVT() (n int)

func (*Datum) String

func (x *Datum) String() string

func (*Datum) UnmarshalVT

func (m *Datum) UnmarshalVT(dAtA []byte) error

type DatumSequence

type DatumSequence struct {
	Data []*Datum `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

DatumSequence wraps a sequence of Datum messages Used for serialization in application-level compression

func (*DatumSequence) Descriptor deprecated

func (*DatumSequence) Descriptor() ([]byte, []int)

Deprecated: Use DatumSequence.ProtoReflect.Descriptor instead.

func (*DatumSequence) GetData

func (x *DatumSequence) GetData() []*Datum

func (*DatumSequence) MarshalToSizedBufferVT

func (m *DatumSequence) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DatumSequence) MarshalToVT

func (m *DatumSequence) MarshalToVT(dAtA []byte) (int, error)

func (*DatumSequence) MarshalVT

func (m *DatumSequence) MarshalVT() (dAtA []byte, err error)

func (*DatumSequence) ProtoMessage

func (*DatumSequence) ProtoMessage()

func (*DatumSequence) ProtoReflect

func (x *DatumSequence) ProtoReflect() protoreflect.Message

func (*DatumSequence) Reset

func (x *DatumSequence) Reset()

func (*DatumSequence) SizeVT

func (m *DatumSequence) SizeVT() (n int)

func (*DatumSequence) String

func (x *DatumSequence) String() string

func (*DatumSequence) UnmarshalVT

func (m *DatumSequence) UnmarshalVT(dAtA []byte) error

type Datum_DeltaEncodingSync

type Datum_DeltaEncodingSync struct {
	DeltaEncodingSync *DeltaEncodingSync `protobuf:"bytes,5,opt,name=delta_encoding_sync,json=deltaEncodingSync,proto3,oneof"`
}

func (*Datum_DeltaEncodingSync) MarshalToSizedBufferVT

func (m *Datum_DeltaEncodingSync) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_DeltaEncodingSync) MarshalToVT

func (m *Datum_DeltaEncodingSync) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_DeltaEncodingSync) SizeVT

func (m *Datum_DeltaEncodingSync) SizeVT() (n int)

type Datum_DictEntryDefine

type Datum_DictEntryDefine struct {
	DictEntryDefine *DictEntryDefine `protobuf:"bytes,3,opt,name=dict_entry_define,json=dictEntryDefine,proto3,oneof"`
}

func (*Datum_DictEntryDefine) MarshalToSizedBufferVT

func (m *Datum_DictEntryDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_DictEntryDefine) MarshalToVT

func (m *Datum_DictEntryDefine) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_DictEntryDefine) SizeVT

func (m *Datum_DictEntryDefine) SizeVT() (n int)

type Datum_DictEntryDelete

type Datum_DictEntryDelete struct {
	DictEntryDelete *DictEntryDelete `protobuf:"bytes,4,opt,name=dict_entry_delete,json=dictEntryDelete,proto3,oneof"`
}

func (*Datum_DictEntryDelete) MarshalToSizedBufferVT

func (m *Datum_DictEntryDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_DictEntryDelete) MarshalToVT

func (m *Datum_DictEntryDelete) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_DictEntryDelete) SizeVT

func (m *Datum_DictEntryDelete) SizeVT() (n int)

type Datum_Logs

type Datum_Logs struct {
	Logs *Log `protobuf:"bytes,6,opt,name=logs,proto3,oneof"`
}

func (*Datum_Logs) MarshalToSizedBufferVT

func (m *Datum_Logs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_Logs) MarshalToVT

func (m *Datum_Logs) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_Logs) SizeVT

func (m *Datum_Logs) SizeVT() (n int)

type Datum_PatternDefine

type Datum_PatternDefine struct {
	PatternDefine *PatternDefine `protobuf:"bytes,1,opt,name=pattern_define,json=patternDefine,proto3,oneof"`
}

func (*Datum_PatternDefine) MarshalToSizedBufferVT

func (m *Datum_PatternDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_PatternDefine) MarshalToVT

func (m *Datum_PatternDefine) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_PatternDefine) SizeVT

func (m *Datum_PatternDefine) SizeVT() (n int)

type Datum_PatternDelete

type Datum_PatternDelete struct {
	PatternDelete *PatternDelete `protobuf:"bytes,2,opt,name=pattern_delete,json=patternDelete,proto3,oneof"`
}

func (*Datum_PatternDelete) MarshalToSizedBufferVT

func (m *Datum_PatternDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Datum_PatternDelete) MarshalToVT

func (m *Datum_PatternDelete) MarshalToVT(dAtA []byte) (int, error)

func (*Datum_PatternDelete) SizeVT

func (m *Datum_PatternDelete) SizeVT() (n int)

type DeltaEncodingSync

type DeltaEncodingSync struct {
	Timestamp uint64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PatternId uint64  `protobuf:"varint,2,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
	Tags      *TagSet `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

We could choose to delta encode at batch level or at stream level. If at stream level, then we need to send the delta encoding related state to resync the Intake on stream restart Currently we are doing it at batch level. This message below is not used, we declare it here for future use.

func (*DeltaEncodingSync) Descriptor deprecated

func (*DeltaEncodingSync) Descriptor() ([]byte, []int)

Deprecated: Use DeltaEncodingSync.ProtoReflect.Descriptor instead.

func (*DeltaEncodingSync) GetPatternId

func (x *DeltaEncodingSync) GetPatternId() uint64

func (*DeltaEncodingSync) GetTags

func (x *DeltaEncodingSync) GetTags() *TagSet

func (*DeltaEncodingSync) GetTimestamp

func (x *DeltaEncodingSync) GetTimestamp() uint64

func (*DeltaEncodingSync) MarshalToSizedBufferVT

func (m *DeltaEncodingSync) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeltaEncodingSync) MarshalToVT

func (m *DeltaEncodingSync) MarshalToVT(dAtA []byte) (int, error)

func (*DeltaEncodingSync) MarshalVT

func (m *DeltaEncodingSync) MarshalVT() (dAtA []byte, err error)

func (*DeltaEncodingSync) ProtoMessage

func (*DeltaEncodingSync) ProtoMessage()

func (*DeltaEncodingSync) ProtoReflect

func (x *DeltaEncodingSync) ProtoReflect() protoreflect.Message

func (*DeltaEncodingSync) Reset

func (x *DeltaEncodingSync) Reset()

func (*DeltaEncodingSync) SizeVT

func (m *DeltaEncodingSync) SizeVT() (n int)

func (*DeltaEncodingSync) String

func (x *DeltaEncodingSync) String() string

func (*DeltaEncodingSync) UnmarshalVT

func (m *DeltaEncodingSync) UnmarshalVT(dAtA []byte) error

type DictEntryDefine

type DictEntryDefine struct {
	Id    uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DictEntryDefine) Descriptor deprecated

func (*DictEntryDefine) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryDefine.ProtoReflect.Descriptor instead.

func (*DictEntryDefine) GetId

func (x *DictEntryDefine) GetId() uint64

func (*DictEntryDefine) GetValue

func (x *DictEntryDefine) GetValue() string

func (*DictEntryDefine) MarshalToSizedBufferVT

func (m *DictEntryDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DictEntryDefine) MarshalToVT

func (m *DictEntryDefine) MarshalToVT(dAtA []byte) (int, error)

func (*DictEntryDefine) MarshalVT

func (m *DictEntryDefine) MarshalVT() (dAtA []byte, err error)

func (*DictEntryDefine) ProtoMessage

func (*DictEntryDefine) ProtoMessage()

func (*DictEntryDefine) ProtoReflect

func (x *DictEntryDefine) ProtoReflect() protoreflect.Message

func (*DictEntryDefine) Reset

func (x *DictEntryDefine) Reset()

func (*DictEntryDefine) SizeVT

func (m *DictEntryDefine) SizeVT() (n int)

func (*DictEntryDefine) String

func (x *DictEntryDefine) String() string

func (*DictEntryDefine) UnmarshalVT

func (m *DictEntryDefine) UnmarshalVT(dAtA []byte) error

type DictEntryDelete

type DictEntryDelete struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DictEntryDelete) Descriptor deprecated

func (*DictEntryDelete) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryDelete.ProtoReflect.Descriptor instead.

func (*DictEntryDelete) GetId

func (x *DictEntryDelete) GetId() uint64

func (*DictEntryDelete) MarshalToSizedBufferVT

func (m *DictEntryDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DictEntryDelete) MarshalToVT

func (m *DictEntryDelete) MarshalToVT(dAtA []byte) (int, error)

func (*DictEntryDelete) MarshalVT

func (m *DictEntryDelete) MarshalVT() (dAtA []byte, err error)

func (*DictEntryDelete) ProtoMessage

func (*DictEntryDelete) ProtoMessage()

func (*DictEntryDelete) ProtoReflect

func (x *DictEntryDelete) ProtoReflect() protoreflect.Message

func (*DictEntryDelete) Reset

func (x *DictEntryDelete) Reset()

func (*DictEntryDelete) SizeVT

func (m *DictEntryDelete) SizeVT() (n int)

func (*DictEntryDelete) String

func (x *DictEntryDelete) String() string

func (*DictEntryDelete) UnmarshalVT

func (m *DictEntryDelete) UnmarshalVT(dAtA []byte) error

type DynamicValue

type DynamicValue struct {

	// Types that are assignable to Value:
	//
	//	*DynamicValue_IntValue
	//	*DynamicValue_FloatValue
	//	*DynamicValue_StringValue
	//	*DynamicValue_DictIndex
	Value isDynamicValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*DynamicValue) Descriptor deprecated

func (*DynamicValue) Descriptor() ([]byte, []int)

Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead.

func (*DynamicValue) GetDictIndex

func (x *DynamicValue) GetDictIndex() uint64

func (*DynamicValue) GetFloatValue

func (x *DynamicValue) GetFloatValue() float64

func (*DynamicValue) GetIntValue

func (x *DynamicValue) GetIntValue() int64

func (*DynamicValue) GetStringValue

func (x *DynamicValue) GetStringValue() string

func (*DynamicValue) GetValue

func (m *DynamicValue) GetValue() isDynamicValue_Value

func (*DynamicValue) MarshalToSizedBufferVT

func (m *DynamicValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DynamicValue) MarshalToVT

func (m *DynamicValue) MarshalToVT(dAtA []byte) (int, error)

func (*DynamicValue) MarshalVT

func (m *DynamicValue) MarshalVT() (dAtA []byte, err error)

func (*DynamicValue) ProtoMessage

func (*DynamicValue) ProtoMessage()

func (*DynamicValue) ProtoReflect

func (x *DynamicValue) ProtoReflect() protoreflect.Message

func (*DynamicValue) Reset

func (x *DynamicValue) Reset()

func (*DynamicValue) SizeVT

func (m *DynamicValue) SizeVT() (n int)

func (*DynamicValue) String

func (x *DynamicValue) String() string

func (*DynamicValue) UnmarshalVT

func (m *DynamicValue) UnmarshalVT(dAtA []byte) error

type DynamicValue_DictIndex

type DynamicValue_DictIndex struct {
	DictIndex uint64 `protobuf:"varint,4,opt,name=dict_index,json=dictIndex,proto3,oneof"`
}

func (*DynamicValue_DictIndex) MarshalToSizedBufferVT

func (m *DynamicValue_DictIndex) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DynamicValue_DictIndex) MarshalToVT

func (m *DynamicValue_DictIndex) MarshalToVT(dAtA []byte) (int, error)

func (*DynamicValue_DictIndex) SizeVT

func (m *DynamicValue_DictIndex) SizeVT() (n int)

type DynamicValue_FloatValue

type DynamicValue_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}

func (*DynamicValue_FloatValue) MarshalToSizedBufferVT

func (m *DynamicValue_FloatValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DynamicValue_FloatValue) MarshalToVT

func (m *DynamicValue_FloatValue) MarshalToVT(dAtA []byte) (int, error)

func (*DynamicValue_FloatValue) SizeVT

func (m *DynamicValue_FloatValue) SizeVT() (n int)

type DynamicValue_IntValue

type DynamicValue_IntValue struct {
	IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}

func (*DynamicValue_IntValue) MarshalToSizedBufferVT

func (m *DynamicValue_IntValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DynamicValue_IntValue) MarshalToVT

func (m *DynamicValue_IntValue) MarshalToVT(dAtA []byte) (int, error)

func (*DynamicValue_IntValue) SizeVT

func (m *DynamicValue_IntValue) SizeVT() (n int)

type DynamicValue_StringValue

type DynamicValue_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

func (*DynamicValue_StringValue) MarshalToSizedBufferVT

func (m *DynamicValue_StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DynamicValue_StringValue) MarshalToVT

func (m *DynamicValue_StringValue) MarshalToVT(dAtA []byte) (int, error)

func (*DynamicValue_StringValue) SizeVT

func (m *DynamicValue_StringValue) SizeVT() (n int)

type Log

type Log struct {
	Timestamp int64 `protobuf:"zigzag64,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Types that are assignable to Content:
	//
	//	*Log_Structured
	//	*Log_Raw
	Content isLog_Content `protobuf_oneof:"content"`
	// TODO: right now we are assuming logs are attached per tag - in the future we may have common tags in the stream
	// state and auto-populate them downstream.
	// Required tags: `service`, `hostname`,
	// Other tags on agent payload: `status`, `source`
	// All tags are joined together sent as a single tagset
	Tags *TagSet `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

func (*Log) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetContent

func (m *Log) GetContent() isLog_Content

func (*Log) GetRaw

func (x *Log) GetRaw() string

func (*Log) GetStructured

func (x *Log) GetStructured() *StructuredLog

func (*Log) GetTags

func (x *Log) GetTags() *TagSet

func (*Log) GetTimestamp

func (x *Log) GetTimestamp() int64

func (*Log) MarshalToSizedBufferVT

func (m *Log) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Log) MarshalToVT

func (m *Log) MarshalToVT(dAtA []byte) (int, error)

func (*Log) MarshalVT

func (m *Log) MarshalVT() (dAtA []byte, err error)

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) SizeVT

func (m *Log) SizeVT() (n int)

func (*Log) String

func (x *Log) String() string

func (*Log) UnmarshalVT

func (m *Log) UnmarshalVT(dAtA []byte) error

type Log_Raw

type Log_Raw struct {
	Raw string `protobuf:"bytes,3,opt,name=raw,proto3,oneof"`
}

func (*Log_Raw) MarshalToSizedBufferVT

func (m *Log_Raw) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Log_Raw) MarshalToVT

func (m *Log_Raw) MarshalToVT(dAtA []byte) (int, error)

func (*Log_Raw) SizeVT

func (m *Log_Raw) SizeVT() (n int)

type Log_Structured

type Log_Structured struct {
	Structured *StructuredLog `protobuf:"bytes,2,opt,name=structured,proto3,oneof"`
}

func (*Log_Structured) MarshalToSizedBufferVT

func (m *Log_Structured) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Log_Structured) MarshalToVT

func (m *Log_Structured) MarshalToVT(dAtA []byte) (int, error)

func (*Log_Structured) SizeVT

func (m *Log_Structured) SizeVT() (n int)

type PatternDefine

type PatternDefine struct {
	PatternId  uint64   `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
	Template   string   `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	ParamCount uint32   `protobuf:"varint,3,opt,name=param_count,json=paramCount,proto3" json:"param_count,omitempty"`
	PosList    []uint32 `protobuf:"varint,4,rep,packed,name=pos_list,json=posList,proto3" json:"pos_list,omitempty"`
	// contains filtered or unexported fields
}

pos_list is used to indicate where dynamic values should be inserted it's more accurate than a marker PatternDefine is also used to signal a update to an existing pattern.

func (*PatternDefine) Descriptor deprecated

func (*PatternDefine) Descriptor() ([]byte, []int)

Deprecated: Use PatternDefine.ProtoReflect.Descriptor instead.

func (*PatternDefine) GetParamCount

func (x *PatternDefine) GetParamCount() uint32

func (*PatternDefine) GetPatternId

func (x *PatternDefine) GetPatternId() uint64

func (*PatternDefine) GetPosList

func (x *PatternDefine) GetPosList() []uint32

func (*PatternDefine) GetTemplate

func (x *PatternDefine) GetTemplate() string

func (*PatternDefine) MarshalToSizedBufferVT

func (m *PatternDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PatternDefine) MarshalToVT

func (m *PatternDefine) MarshalToVT(dAtA []byte) (int, error)

func (*PatternDefine) MarshalVT

func (m *PatternDefine) MarshalVT() (dAtA []byte, err error)

func (*PatternDefine) ProtoMessage

func (*PatternDefine) ProtoMessage()

func (*PatternDefine) ProtoReflect

func (x *PatternDefine) ProtoReflect() protoreflect.Message

func (*PatternDefine) Reset

func (x *PatternDefine) Reset()

func (*PatternDefine) SizeVT

func (m *PatternDefine) SizeVT() (n int)

func (*PatternDefine) String

func (x *PatternDefine) String() string

func (*PatternDefine) UnmarshalVT

func (m *PatternDefine) UnmarshalVT(dAtA []byte) error

type PatternDelete

type PatternDelete struct {
	PatternId uint64 `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PatternDelete) Descriptor deprecated

func (*PatternDelete) Descriptor() ([]byte, []int)

Deprecated: Use PatternDelete.ProtoReflect.Descriptor instead.

func (*PatternDelete) GetPatternId

func (x *PatternDelete) GetPatternId() uint64

func (*PatternDelete) MarshalToSizedBufferVT

func (m *PatternDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PatternDelete) MarshalToVT

func (m *PatternDelete) MarshalToVT(dAtA []byte) (int, error)

func (*PatternDelete) MarshalVT

func (m *PatternDelete) MarshalVT() (dAtA []byte, err error)

func (*PatternDelete) ProtoMessage

func (*PatternDelete) ProtoMessage()

func (*PatternDelete) ProtoReflect

func (x *PatternDelete) ProtoReflect() protoreflect.Message

func (*PatternDelete) Reset

func (x *PatternDelete) Reset()

func (*PatternDelete) SizeVT

func (m *PatternDelete) SizeVT() (n int)

func (*PatternDelete) String

func (x *PatternDelete) String() string

func (*PatternDelete) UnmarshalVT

func (m *PatternDelete) UnmarshalVT(dAtA []byte) error

type StatefulBatch

type StatefulBatch struct {
	BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	// Bytes of a serialized and compressed DatumSequence.
	// This allows for Datums to be compressed while they are buffered in memory before being acked by the server.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

data is sequence of pattern/dictionary changes + logs the ordering is significant, must be processed in order

func (*StatefulBatch) Descriptor deprecated

func (*StatefulBatch) Descriptor() ([]byte, []int)

Deprecated: Use StatefulBatch.ProtoReflect.Descriptor instead.

func (*StatefulBatch) GetBatchId

func (x *StatefulBatch) GetBatchId() uint32

func (*StatefulBatch) GetData

func (x *StatefulBatch) GetData() []byte

func (*StatefulBatch) MarshalToSizedBufferVT

func (m *StatefulBatch) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StatefulBatch) MarshalToVT

func (m *StatefulBatch) MarshalToVT(dAtA []byte) (int, error)

func (*StatefulBatch) MarshalVT

func (m *StatefulBatch) MarshalVT() (dAtA []byte, err error)

func (*StatefulBatch) ProtoMessage

func (*StatefulBatch) ProtoMessage()

func (*StatefulBatch) ProtoReflect

func (x *StatefulBatch) ProtoReflect() protoreflect.Message

func (*StatefulBatch) Reset

func (x *StatefulBatch) Reset()

func (*StatefulBatch) SizeVT

func (m *StatefulBatch) SizeVT() (n int)

func (*StatefulBatch) String

func (x *StatefulBatch) String() string

func (*StatefulBatch) UnmarshalVT

func (m *StatefulBatch) UnmarshalVT(dAtA []byte) error

type StatefulLogsServiceClient

type StatefulLogsServiceClient interface {
	LogsStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StatefulBatch, BatchStatus], error)
}

StatefulLogsServiceClient is the client API for StatefulLogsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StatefulLogsServiceServer

type StatefulLogsServiceServer interface {
	LogsStream(grpc.BidiStreamingServer[StatefulBatch, BatchStatus]) error
	// contains filtered or unexported methods
}

StatefulLogsServiceServer is the server API for StatefulLogsService service. All implementations must embed UnimplementedStatefulLogsServiceServer for forward compatibility.

type StatefulLogsService_LogsStreamClient

type StatefulLogsService_LogsStreamClient = grpc.BidiStreamingClient[StatefulBatch, BatchStatus]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StatefulLogsService_LogsStreamServer

type StatefulLogsService_LogsStreamServer = grpc.BidiStreamingServer[StatefulBatch, BatchStatus]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StructuredLog

type StructuredLog struct {
	PatternId     uint64          `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
	DynamicValues []*DynamicValue `protobuf:"bytes,2,rep,name=dynamic_values,json=dynamicValues,proto3" json:"dynamic_values,omitempty"`
	JsonContext   []byte          `protobuf:"bytes,3,opt,name=json_context,json=jsonContext,proto3" json:"json_context,omitempty"`
	// contains filtered or unexported fields
}

func (*StructuredLog) Descriptor deprecated

func (*StructuredLog) Descriptor() ([]byte, []int)

Deprecated: Use StructuredLog.ProtoReflect.Descriptor instead.

func (*StructuredLog) GetDynamicValues

func (x *StructuredLog) GetDynamicValues() []*DynamicValue

func (*StructuredLog) GetJsonContext

func (x *StructuredLog) GetJsonContext() []byte

func (*StructuredLog) GetPatternId

func (x *StructuredLog) GetPatternId() uint64

func (*StructuredLog) MarshalToSizedBufferVT

func (m *StructuredLog) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StructuredLog) MarshalToVT

func (m *StructuredLog) MarshalToVT(dAtA []byte) (int, error)

func (*StructuredLog) MarshalVT

func (m *StructuredLog) MarshalVT() (dAtA []byte, err error)

func (*StructuredLog) ProtoMessage

func (*StructuredLog) ProtoMessage()

func (*StructuredLog) ProtoReflect

func (x *StructuredLog) ProtoReflect() protoreflect.Message

func (*StructuredLog) Reset

func (x *StructuredLog) Reset()

func (*StructuredLog) SizeVT

func (m *StructuredLog) SizeVT() (n int)

func (*StructuredLog) String

func (x *StructuredLog) String() string

func (*StructuredLog) UnmarshalVT

func (m *StructuredLog) UnmarshalVT(dAtA []byte) error

type Tag

type Tag struct {
	Key   *DynamicValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *DynamicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() *DynamicValue

func (*Tag) GetValue

func (x *Tag) GetValue() *DynamicValue

func (*Tag) MarshalToSizedBufferVT

func (m *Tag) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Tag) MarshalToVT

func (m *Tag) MarshalToVT(dAtA []byte) (int, error)

func (*Tag) MarshalVT

func (m *Tag) MarshalVT() (dAtA []byte, err error)

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) SizeVT

func (m *Tag) SizeVT() (n int)

func (*Tag) String

func (x *Tag) String() string

func (*Tag) UnmarshalVT

func (m *Tag) UnmarshalVT(dAtA []byte) error

type TagSet

type TagSet struct {
	Tagset *DynamicValue `protobuf:"bytes,1,opt,name=tagset,proto3" json:"tagset,omitempty"`
	// contains filtered or unexported fields
}

func (*TagSet) Descriptor deprecated

func (*TagSet) Descriptor() ([]byte, []int)

Deprecated: Use TagSet.ProtoReflect.Descriptor instead.

func (*TagSet) GetTagset

func (x *TagSet) GetTagset() *DynamicValue

func (*TagSet) MarshalToSizedBufferVT

func (m *TagSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TagSet) MarshalToVT

func (m *TagSet) MarshalToVT(dAtA []byte) (int, error)

func (*TagSet) MarshalVT

func (m *TagSet) MarshalVT() (dAtA []byte, err error)

func (*TagSet) ProtoMessage

func (*TagSet) ProtoMessage()

func (*TagSet) ProtoReflect

func (x *TagSet) ProtoReflect() protoreflect.Message

func (*TagSet) Reset

func (x *TagSet) Reset()

func (*TagSet) SizeVT

func (m *TagSet) SizeVT() (n int)

func (*TagSet) String

func (x *TagSet) String() string

func (*TagSet) UnmarshalVT

func (m *TagSet) UnmarshalVT(dAtA []byte) error

type UnimplementedStatefulLogsServiceServer

type UnimplementedStatefulLogsServiceServer struct{}

UnimplementedStatefulLogsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedStatefulLogsServiceServer) LogsStream

type UnsafeStatefulLogsServiceServer

type UnsafeStatefulLogsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStatefulLogsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatefulLogsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL