// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v5.29.3
// source: datadog/trace/tracer_payload.proto

package trace

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)
)

// TraceChunk represents a list of spans with the same trace ID. In other words, a chunk of a trace.
type TraceChunk struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// priority specifies sampling priority of the trace.
	// @gotags: json:"priority" msg:"priority"
	Priority int32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority" msg:"priority"`
	// origin specifies origin product ("lambda", "rum", etc.) of the trace.
	// @gotags: json:"origin" msg:"origin"
	Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin" msg:"origin"`
	// spans specifies list of containing spans.
	// @gotags: json:"spans" msg:"spans"
	Spans []*Span `protobuf:"bytes,3,rep,name=spans,proto3" json:"spans" msg:"spans"`
	// tags specifies tags common in all `spans`.
	// @gotags: json:"tags" msg:"tags"
	Tags map[string]string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" msg:"tags"`
	// droppedTrace specifies whether the trace was dropped by samplers or not.
	// @gotags: json:"dropped_trace" msg:"dropped_trace"
	DroppedTrace  bool `protobuf:"varint,5,opt,name=droppedTrace,proto3" json:"dropped_trace" msg:"dropped_trace"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TraceChunk) Reset() {
	*x = TraceChunk{}
	mi := &file_datadog_trace_tracer_payload_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TraceChunk) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TraceChunk) ProtoMessage() {}

func (x *TraceChunk) ProtoReflect() protoreflect.Message {
	mi := &file_datadog_trace_tracer_payload_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 TraceChunk.ProtoReflect.Descriptor instead.
func (*TraceChunk) Descriptor() ([]byte, []int) {
	return file_datadog_trace_tracer_payload_proto_rawDescGZIP(), []int{0}
}

func (x *TraceChunk) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *TraceChunk) GetOrigin() string {
	if x != nil {
		return x.Origin
	}
	return ""
}

func (x *TraceChunk) GetSpans() []*Span {
	if x != nil {
		return x.Spans
	}
	return nil
}

func (x *TraceChunk) GetTags() map[string]string {
	if x != nil {
		return x.Tags
	}
	return nil
}

func (x *TraceChunk) GetDroppedTrace() bool {
	if x != nil {
		return x.DroppedTrace
	}
	return false
}

// TracerPayload represents a payload the trace agent receives from tracers.
type TracerPayload struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// containerID specifies the ID of the container where the tracer is running on.
	// @gotags: json:"container_id" msg:"container_id"
	ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"container_id" msg:"container_id"`
	// languageName specifies language of the tracer.
	// @gotags: json:"language_name" msg:"language_name"
	LanguageName string `protobuf:"bytes,2,opt,name=languageName,proto3" json:"language_name" msg:"language_name"`
	// languageVersion specifies language version of the tracer.
	// @gotags: json:"language_version" msg:"language_version"
	LanguageVersion string `protobuf:"bytes,3,opt,name=languageVersion,proto3" json:"language_version" msg:"language_version"`
	// tracerVersion specifies version of the tracer.
	// @gotags: json:"tracer_version" msg:"tracer_version"
	TracerVersion string `protobuf:"bytes,4,opt,name=tracerVersion,proto3" json:"tracer_version" msg:"tracer_version"`
	// runtimeID specifies V4 UUID representation of a tracer session.
	// @gotags: json:"runtime_id" msg:"runtime_id"
	RuntimeID string `protobuf:"bytes,5,opt,name=runtimeID,proto3" json:"runtime_id" msg:"runtime_id"`
	// chunks specifies list of containing trace chunks.
	// @gotags: json:"chunks" msg:"chunks"
	Chunks []*TraceChunk `protobuf:"bytes,6,rep,name=chunks,proto3" json:"chunks" msg:"chunks"`
	// tags specifies tags common in all `chunks`.
	// @gotags: json:"tags" msg:"tags"
	Tags map[string]string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" msg:"tags"`
	// env specifies `env` tag that set with the tracer.
	// @gotags: json:"env" msg:"env"
	Env string `protobuf:"bytes,8,opt,name=env,proto3" json:"env" msg:"env"`
	// hostname specifies hostname of where the tracer is running.
	// @gotags: json:"hostname" msg:"hostname"
	Hostname string `protobuf:"bytes,9,opt,name=hostname,proto3" json:"hostname" msg:"hostname"`
	// version specifies `version` tag that set with the tracer.
	// @gotags: json:"app_version" msg:"app_version"
	AppVersion    string `protobuf:"bytes,10,opt,name=appVersion,proto3" json:"app_version" msg:"app_version"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TracerPayload) Reset() {
	*x = TracerPayload{}
	mi := &file_datadog_trace_tracer_payload_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TracerPayload) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TracerPayload) ProtoMessage() {}

func (x *TracerPayload) ProtoReflect() protoreflect.Message {
	mi := &file_datadog_trace_tracer_payload_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 TracerPayload.ProtoReflect.Descriptor instead.
func (*TracerPayload) Descriptor() ([]byte, []int) {
	return file_datadog_trace_tracer_payload_proto_rawDescGZIP(), []int{1}
}

func (x *TracerPayload) GetContainerID() string {
	if x != nil {
		return x.ContainerID
	}
	return ""
}

func (x *TracerPayload) GetLanguageName() string {
	if x != nil {
		return x.LanguageName
	}
	return ""
}

func (x *TracerPayload) GetLanguageVersion() string {
	if x != nil {
		return x.LanguageVersion
	}
	return ""
}

func (x *TracerPayload) GetTracerVersion() string {
	if x != nil {
		return x.TracerVersion
	}
	return ""
}

func (x *TracerPayload) GetRuntimeID() string {
	if x != nil {
		return x.RuntimeID
	}
	return ""
}

func (x *TracerPayload) GetChunks() []*TraceChunk {
	if x != nil {
		return x.Chunks
	}
	return nil
}

func (x *TracerPayload) GetTags() map[string]string {
	if x != nil {
		return x.Tags
	}
	return nil
}

func (x *TracerPayload) GetEnv() string {
	if x != nil {
		return x.Env
	}
	return ""
}

func (x *TracerPayload) GetHostname() string {
	if x != nil {
		return x.Hostname
	}
	return ""
}

func (x *TracerPayload) GetAppVersion() string {
	if x != nil {
		return x.AppVersion
	}
	return ""
}

var File_datadog_trace_tracer_payload_proto protoreflect.FileDescriptor

const file_datadog_trace_tracer_payload_proto_rawDesc = "" +
	"\n" +
	"\"datadog/trace/tracer_payload.proto\x12\rdatadog.trace\x1a\x18datadog/trace/span.proto\"\x81\x02\n" +
	"\n" +
	"TraceChunk\x12\x1a\n" +
	"\bpriority\x18\x01 \x01(\x05R\bpriority\x12\x16\n" +
	"\x06origin\x18\x02 \x01(\tR\x06origin\x12)\n" +
	"\x05spans\x18\x03 \x03(\v2\x13.datadog.trace.SpanR\x05spans\x127\n" +
	"\x04tags\x18\x04 \x03(\v2#.datadog.trace.TraceChunk.TagsEntryR\x04tags\x12\"\n" +
	"\fdroppedTrace\x18\x05 \x01(\bR\fdroppedTrace\x1a7\n" +
	"\tTagsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb9\x03\n" +
	"\rTracerPayload\x12 \n" +
	"\vcontainerID\x18\x01 \x01(\tR\vcontainerID\x12\"\n" +
	"\flanguageName\x18\x02 \x01(\tR\flanguageName\x12(\n" +
	"\x0flanguageVersion\x18\x03 \x01(\tR\x0flanguageVersion\x12$\n" +
	"\rtracerVersion\x18\x04 \x01(\tR\rtracerVersion\x12\x1c\n" +
	"\truntimeID\x18\x05 \x01(\tR\truntimeID\x121\n" +
	"\x06chunks\x18\x06 \x03(\v2\x19.datadog.trace.TraceChunkR\x06chunks\x12:\n" +
	"\x04tags\x18\a \x03(\v2&.datadog.trace.TracerPayload.TagsEntryR\x04tags\x12\x10\n" +
	"\x03env\x18\b \x01(\tR\x03env\x12\x1a\n" +
	"\bhostname\x18\t \x01(\tR\bhostname\x12\x1e\n" +
	"\n" +
	"appVersion\x18\n" +
	" \x01(\tR\n" +
	"appVersion\x1a7\n" +
	"\tTagsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x16Z\x14pkg/proto/pbgo/traceb\x06proto3"

var (
	file_datadog_trace_tracer_payload_proto_rawDescOnce sync.Once
	file_datadog_trace_tracer_payload_proto_rawDescData []byte
)

func file_datadog_trace_tracer_payload_proto_rawDescGZIP() []byte {
	file_datadog_trace_tracer_payload_proto_rawDescOnce.Do(func() {
		file_datadog_trace_tracer_payload_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_datadog_trace_tracer_payload_proto_rawDesc), len(file_datadog_trace_tracer_payload_proto_rawDesc)))
	})
	return file_datadog_trace_tracer_payload_proto_rawDescData
}

var file_datadog_trace_tracer_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_datadog_trace_tracer_payload_proto_goTypes = []any{
	(*TraceChunk)(nil),    // 0: datadog.trace.TraceChunk
	(*TracerPayload)(nil), // 1: datadog.trace.TracerPayload
	nil,                   // 2: datadog.trace.TraceChunk.TagsEntry
	nil,                   // 3: datadog.trace.TracerPayload.TagsEntry
	(*Span)(nil),          // 4: datadog.trace.Span
}
var file_datadog_trace_tracer_payload_proto_depIdxs = []int32{
	4, // 0: datadog.trace.TraceChunk.spans:type_name -> datadog.trace.Span
	2, // 1: datadog.trace.TraceChunk.tags:type_name -> datadog.trace.TraceChunk.TagsEntry
	0, // 2: datadog.trace.TracerPayload.chunks:type_name -> datadog.trace.TraceChunk
	3, // 3: datadog.trace.TracerPayload.tags:type_name -> datadog.trace.TracerPayload.TagsEntry
	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_datadog_trace_tracer_payload_proto_init() }
func file_datadog_trace_tracer_payload_proto_init() {
	if File_datadog_trace_tracer_payload_proto != nil {
		return
	}
	file_datadog_trace_span_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_datadog_trace_tracer_payload_proto_rawDesc), len(file_datadog_trace_tracer_payload_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_datadog_trace_tracer_payload_proto_goTypes,
		DependencyIndexes: file_datadog_trace_tracer_payload_proto_depIdxs,
		MessageInfos:      file_datadog_trace_tracer_payload_proto_msgTypes,
	}.Build()
	File_datadog_trace_tracer_payload_proto = out.File
	file_datadog_trace_tracer_payload_proto_goTypes = nil
	file_datadog_trace_tracer_payload_proto_depIdxs = nil
}
