languagedetection

package
v0.52.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_datadog_languagedetection_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DetectLanguageRequest

type DetectLanguageRequest struct {
	Processes []*Process `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	// contains filtered or unexported fields
}

func (*DetectLanguageRequest) Descriptor deprecated

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

Deprecated: Use DetectLanguageRequest.ProtoReflect.Descriptor instead.

func (*DetectLanguageRequest) GetProcesses

func (x *DetectLanguageRequest) GetProcesses() []*Process

func (*DetectLanguageRequest) ProtoMessage

func (*DetectLanguageRequest) ProtoMessage()

func (*DetectLanguageRequest) ProtoReflect

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

func (*DetectLanguageRequest) Reset

func (x *DetectLanguageRequest) Reset()

func (*DetectLanguageRequest) String

func (x *DetectLanguageRequest) String() string

type DetectLanguageResponse

type DetectLanguageResponse struct {
	Languages []*Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"`
	// contains filtered or unexported fields
}

func (*DetectLanguageResponse) Descriptor deprecated

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

Deprecated: Use DetectLanguageResponse.ProtoReflect.Descriptor instead.

func (*DetectLanguageResponse) GetLanguages

func (x *DetectLanguageResponse) GetLanguages() []*Language

func (*DetectLanguageResponse) ProtoMessage

func (*DetectLanguageResponse) ProtoMessage()

func (*DetectLanguageResponse) ProtoReflect

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

func (*DetectLanguageResponse) Reset

func (x *DetectLanguageResponse) Reset()

func (*DetectLanguageResponse) String

func (x *DetectLanguageResponse) String() string

type Language

type Language struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Should closely match `languagemodels.Language`

func (*Language) Descriptor deprecated

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

Deprecated: Use Language.ProtoReflect.Descriptor instead.

func (*Language) GetName

func (x *Language) GetName() string

func (*Language) GetVersion

func (x *Language) GetVersion() string

func (*Language) ProtoMessage

func (*Language) ProtoMessage()

func (*Language) ProtoReflect

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

func (*Language) Reset

func (x *Language) Reset()

func (*Language) String

func (x *Language) String() string

type Process

type Process struct {
	Pid     int32    `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	Command string   `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	Cmdline []string `protobuf:"bytes,3,rep,name=cmdline,proto3" json:"cmdline,omitempty"`
	// contains filtered or unexported fields
}

func (*Process) Descriptor deprecated

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

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetCmdline

func (x *Process) GetCmdline() []string

func (*Process) GetCommand

func (x *Process) GetCommand() string

func (*Process) GetPid

func (x *Process) GetPid() int32

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

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

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

Jump to

Keyboard shortcuts

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