profile_models

package
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthProfile = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProfile   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type DataWrapper

type DataWrapper struct {
	Data         []byte `protobuf:"bytes,1,req,name=data" json:"data"`
	ProfileType  string `protobuf:"bytes,2,req,name=profile_type,json=profileType" json:"profile_type"`
	SampleMethod string `protobuf:"bytes,3,req,name=sample_method,json=sampleMethod" json:"sample_method"`
}

func (*DataWrapper) Descriptor

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

func (*DataWrapper) GetData

func (m *DataWrapper) GetData() []byte

func (*DataWrapper) GetProfileType

func (m *DataWrapper) GetProfileType() string

func (*DataWrapper) GetSampleMethod

func (m *DataWrapper) GetSampleMethod() string

func (*DataWrapper) Marshal

func (m *DataWrapper) Marshal() (dAtA []byte, err error)

func (*DataWrapper) MarshalTo

func (m *DataWrapper) MarshalTo(dAtA []byte) (int, error)

func (*DataWrapper) ProtoMessage

func (*DataWrapper) ProtoMessage()

func (*DataWrapper) Reset

func (m *DataWrapper) Reset()

func (*DataWrapper) Size

func (m *DataWrapper) Size() (n int)

func (*DataWrapper) String

func (m *DataWrapper) String() string

func (*DataWrapper) Unmarshal

func (m *DataWrapper) Unmarshal(dAtA []byte) error

func (*DataWrapper) XXX_DiscardUnknown

func (m *DataWrapper) XXX_DiscardUnknown()

func (*DataWrapper) XXX_Marshal

func (m *DataWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataWrapper) XXX_Merge

func (dst *DataWrapper) XXX_Merge(src proto.Message)

func (*DataWrapper) XXX_Size

func (m *DataWrapper) XXX_Size() int

func (*DataWrapper) XXX_Unmarshal

func (m *DataWrapper) XXX_Unmarshal(b []byte) error

type ProfileInfo

type ProfileInfo struct {
	UploadInfo *UploadInfo `protobuf:"bytes,1,req,name=upload_info,json=uploadInfo" json:"upload_info,omitempty"`
	Data       []byte      `protobuf:"bytes,100,req,name=data" json:"data"`
	MultiData  [][]byte    `protobuf:"bytes,101,rep,name=multi_data,json=multiData" json:"multi_data,omitempty"`
}

func (*ProfileInfo) Descriptor

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

func (*ProfileInfo) GetData

func (m *ProfileInfo) GetData() []byte

func (*ProfileInfo) GetMultiData

func (m *ProfileInfo) GetMultiData() [][]byte

func (*ProfileInfo) GetUploadInfo

func (m *ProfileInfo) GetUploadInfo() *UploadInfo

func (*ProfileInfo) Marshal

func (m *ProfileInfo) Marshal() (dAtA []byte, err error)

func (*ProfileInfo) MarshalTo

func (m *ProfileInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProfileInfo) ProtoMessage

func (*ProfileInfo) ProtoMessage()

func (*ProfileInfo) Reset

func (m *ProfileInfo) Reset()

func (*ProfileInfo) Size

func (m *ProfileInfo) Size() (n int)

func (*ProfileInfo) String

func (m *ProfileInfo) String() string

func (*ProfileInfo) Unmarshal

func (m *ProfileInfo) Unmarshal(dAtA []byte) error

func (*ProfileInfo) XXX_DiscardUnknown

func (m *ProfileInfo) XXX_DiscardUnknown()

func (*ProfileInfo) XXX_Marshal

func (m *ProfileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileInfo) XXX_Merge

func (dst *ProfileInfo) XXX_Merge(src proto.Message)

func (*ProfileInfo) XXX_Size

func (m *ProfileInfo) XXX_Size() int

func (*ProfileInfo) XXX_Unmarshal

func (m *ProfileInfo) XXX_Unmarshal(b []byte) error

type UploadInfo

type UploadInfo struct {
	AppId                string  `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id"`
	ProfileId            int64   `protobuf:"varint,2,req,name=profile_id,json=profileId" json:"profile_id"`
	UploadId             string  `protobuf:"bytes,3,req,name=upload_id,json=uploadId" json:"upload_id"`
	Hostname             string  `protobuf:"bytes,4,opt,name=hostname" json:"hostname"`
	ContainerId          string  `protobuf:"bytes,5,opt,name=container_id,json=containerId" json:"container_id"`
	InstanceId           string  `protobuf:"bytes,6,opt,name=instance_id,json=instanceId" json:"instance_id"`
	RecordName           string  `protobuf:"bytes,7,opt,name=record_name,json=recordName" json:"record_name"`
	RuntimeType          string  `protobuf:"bytes,8,opt,name=runtime_type,json=runtimeType" json:"runtime_type"`
	Format               string  `protobuf:"bytes,9,opt,name=format" json:"format"`
	StartTime            int64   `protobuf:"varint,10,req,name=start_time,json=startTime" json:"start_time"`
	EndTime              int64   `protobuf:"varint,11,req,name=end_time,json=endTime" json:"end_time"`
	ApiTime              int64   `protobuf:"varint,12,req,name=api_time,json=apiTime" json:"api_time"`
	ServiceName          string  `protobuf:"bytes,13,req,name=service_name,json=serviceName" json:"service_name"`
	PtConfigList         string  `protobuf:"bytes,14,opt,name=pt_config_list,json=ptConfigList" json:"pt_config_list"`
	GoRuntimeInfo        string  `protobuf:"bytes,34,opt,name=go_runtime_info,json=goRuntimeInfo" json:"go_runtime_info"`
	CpuLimit             int64   `protobuf:"varint,35,opt,name=cpu_limit,json=cpuLimit" json:"cpu_limit"`
	ProcessCpuUsageRatio float64 `protobuf:"fixed64,50,opt,name=process_cpu_usage_ratio,json=processCpuUsageRatio" json:"process_cpu_usage_ratio"`
	ProcessMemRssRatio   float64 `protobuf:"fixed64,51,opt,name=process_mem_rss_ratio,json=processMemRssRatio" json:"process_mem_rss_ratio"`
}

func (*UploadInfo) Descriptor

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

func (*UploadInfo) GetApiTime

func (m *UploadInfo) GetApiTime() int64

func (*UploadInfo) GetAppId

func (m *UploadInfo) GetAppId() string

func (*UploadInfo) GetContainerId

func (m *UploadInfo) GetContainerId() string

func (*UploadInfo) GetCpuLimit

func (m *UploadInfo) GetCpuLimit() int64

func (*UploadInfo) GetEndTime

func (m *UploadInfo) GetEndTime() int64

func (*UploadInfo) GetFormat

func (m *UploadInfo) GetFormat() string

func (*UploadInfo) GetGoRuntimeInfo

func (m *UploadInfo) GetGoRuntimeInfo() string

func (*UploadInfo) GetHostname

func (m *UploadInfo) GetHostname() string

func (*UploadInfo) GetInstanceId

func (m *UploadInfo) GetInstanceId() string

func (*UploadInfo) GetProcessCpuUsageRatio

func (m *UploadInfo) GetProcessCpuUsageRatio() float64

func (*UploadInfo) GetProcessMemRssRatio

func (m *UploadInfo) GetProcessMemRssRatio() float64

func (*UploadInfo) GetProfileId

func (m *UploadInfo) GetProfileId() int64

func (*UploadInfo) GetPtConfigList

func (m *UploadInfo) GetPtConfigList() string

func (*UploadInfo) GetRecordName

func (m *UploadInfo) GetRecordName() string

func (*UploadInfo) GetRuntimeType

func (m *UploadInfo) GetRuntimeType() string

func (*UploadInfo) GetServiceName

func (m *UploadInfo) GetServiceName() string

func (*UploadInfo) GetStartTime

func (m *UploadInfo) GetStartTime() int64

func (*UploadInfo) GetUploadId

func (m *UploadInfo) GetUploadId() string

func (*UploadInfo) Marshal

func (m *UploadInfo) Marshal() (dAtA []byte, err error)

func (*UploadInfo) MarshalTo

func (m *UploadInfo) MarshalTo(dAtA []byte) (int, error)

func (*UploadInfo) ProtoMessage

func (*UploadInfo) ProtoMessage()

func (*UploadInfo) Reset

func (m *UploadInfo) Reset()

func (*UploadInfo) Size

func (m *UploadInfo) Size() (n int)

func (*UploadInfo) String

func (m *UploadInfo) String() string

func (*UploadInfo) Unmarshal

func (m *UploadInfo) Unmarshal(dAtA []byte) error

func (*UploadInfo) XXX_DiscardUnknown

func (m *UploadInfo) XXX_DiscardUnknown()

func (*UploadInfo) XXX_Marshal

func (m *UploadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UploadInfo) XXX_Merge

func (dst *UploadInfo) XXX_Merge(src proto.Message)

func (*UploadInfo) XXX_Size

func (m *UploadInfo) XXX_Size() int

func (*UploadInfo) XXX_Unmarshal

func (m *UploadInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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