common_types

package module
v0.0.0-...-b4ebc5e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JobStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "ERROR",
		2: "RECEIVED",
		3: "PRE_JOB",
		4: "READ_DB",
		5: "COMPUTE",
		6: "COMPLETED",
	}
	JobStatus_value = map[string]int32{
		"UNKNOWN":   0,
		"ERROR":     1,
		"RECEIVED":  2,
		"PRE_JOB":   3,
		"READ_DB":   4,
		"COMPUTE":   5,
		"COMPLETED": 6,
	}
)

Enum value maps for JobStatus.

View Source
var (
	ComputationMethod_name = map[int32]string{
		0: "COMPUTATION_METHOD_UNSPECIFIED",
		1: "COMPUTATION_METHOD_MEAN",
		2: "COMPUTATION_METHOD_VARIANCE",
		3: "COMPUTATION_METHOD_SUM",
		4: "COMPUTATION_METHOD_CORREL",
		5: "COMPUTATION_METHOD_MESH_CODE",
		6: "COMPUTATION_METHOD_JOIN_TABLE",
	}
	ComputationMethod_value = map[string]int32{
		"COMPUTATION_METHOD_UNSPECIFIED": 0,
		"COMPUTATION_METHOD_MEAN":        1,
		"COMPUTATION_METHOD_VARIANCE":    2,
		"COMPUTATION_METHOD_SUM":         3,
		"COMPUTATION_METHOD_CORREL":      4,
		"COMPUTATION_METHOD_MESH_CODE":   5,
		"COMPUTATION_METHOD_JOIN_TABLE":  6,
	}
)

Enum value maps for ComputationMethod.

View Source
var (
	ShareValueTypeEnum_name = map[int32]string{
		0: "SHARE_VALUE_TYPE_UNSPECIFIED",
		1: "SHARE_VALUE_TYPE_FIXED_POINT",
		2: "SHARE_VALUE_TYPE_UTF_8_INTEGER_REPRESENTATION",
	}
	ShareValueTypeEnum_value = map[string]int32{
		"SHARE_VALUE_TYPE_UNSPECIFIED":                  0,
		"SHARE_VALUE_TYPE_FIXED_POINT":                  1,
		"SHARE_VALUE_TYPE_UTF_8_INTEGER_REPRESENTATION": 2,
	}
)

Enum value maps for ShareValueTypeEnum.

View Source
var File_common_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BigIntByte

type BigIntByte struct {
	Sgn     bool   `protobuf:"varint,1,opt,name=sgn,proto3" json:"sgn,omitempty"`
	AbsByte []byte `protobuf:"bytes,2,opt,name=abs_byte,json=absByte,proto3" json:"abs_byte,omitempty"`
	// contains filtered or unexported fields
}

func (*BigIntByte) Descriptor deprecated

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

Deprecated: Use BigIntByte.ProtoReflect.Descriptor instead.

func (*BigIntByte) GetAbsByte

func (x *BigIntByte) GetAbsByte() []byte

func (*BigIntByte) GetSgn

func (x *BigIntByte) GetSgn() bool

func (*BigIntByte) ProtoMessage

func (*BigIntByte) ProtoMessage()

func (*BigIntByte) ProtoReflect

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

func (*BigIntByte) Reset

func (x *BigIntByte) Reset()

func (*BigIntByte) String

func (x *BigIntByte) String() string

type ComputationMethod

type ComputationMethod int32
const (
	ComputationMethod_COMPUTATION_METHOD_UNSPECIFIED ComputationMethod = 0
	ComputationMethod_COMPUTATION_METHOD_MEAN        ComputationMethod = 1
	ComputationMethod_COMPUTATION_METHOD_VARIANCE    ComputationMethod = 2
	ComputationMethod_COMPUTATION_METHOD_SUM         ComputationMethod = 3
	ComputationMethod_COMPUTATION_METHOD_CORREL      ComputationMethod = 4
	ComputationMethod_COMPUTATION_METHOD_MESH_CODE   ComputationMethod = 5
	ComputationMethod_COMPUTATION_METHOD_JOIN_TABLE  ComputationMethod = 6
)

func (ComputationMethod) Descriptor

func (ComputationMethod) Enum

func (ComputationMethod) EnumDescriptor deprecated

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

Deprecated: Use ComputationMethod.Descriptor instead.

func (ComputationMethod) Number

func (ComputationMethod) String

func (x ComputationMethod) String() string

func (ComputationMethod) Type

type JobErrorInfo

type JobErrorInfo struct {
	What           string      `protobuf:"bytes,1,opt,name=what,proto3" json:"what,omitempty"`
	AdditionalInfo *string     `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3,oneof" json:"additional_info,omitempty"`
	Stacktrace     *Stacktrace `protobuf:"bytes,3,opt,name=stacktrace,proto3,oneof" json:"stacktrace,omitempty"`
	// contains filtered or unexported fields
}

func (*JobErrorInfo) Descriptor deprecated

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

Deprecated: Use JobErrorInfo.ProtoReflect.Descriptor instead.

func (*JobErrorInfo) GetAdditionalInfo

func (x *JobErrorInfo) GetAdditionalInfo() string

func (*JobErrorInfo) GetStacktrace

func (x *JobErrorInfo) GetStacktrace() *Stacktrace

func (*JobErrorInfo) GetWhat

func (x *JobErrorInfo) GetWhat() string

func (*JobErrorInfo) ProtoMessage

func (*JobErrorInfo) ProtoMessage()

func (*JobErrorInfo) ProtoReflect

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

func (*JobErrorInfo) Reset

func (x *JobErrorInfo) Reset()

func (*JobErrorInfo) String

func (x *JobErrorInfo) String() string

type JobProgress

type JobProgress struct {
	JobUuid    string               `protobuf:"bytes,1,opt,name=job_uuid,json=jobUuid,proto3" json:"job_uuid,omitempty"`
	Status     JobStatus            `protobuf:"varint,2,opt,name=status,proto3,enum=pb_common_types.JobStatus" json:"status,omitempty"`
	Progresses []*ProcedureProgress `protobuf:"bytes,3,rep,name=progresses,proto3" json:"progresses,omitempty"`
	// contains filtered or unexported fields
}

func (*JobProgress) Descriptor deprecated

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

Deprecated: Use JobProgress.ProtoReflect.Descriptor instead.

func (*JobProgress) GetJobUuid

func (x *JobProgress) GetJobUuid() string

func (*JobProgress) GetProgresses

func (x *JobProgress) GetProgresses() []*ProcedureProgress

func (*JobProgress) GetStatus

func (x *JobProgress) GetStatus() JobStatus

func (*JobProgress) ProtoMessage

func (*JobProgress) ProtoMessage()

func (*JobProgress) ProtoReflect

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

func (*JobProgress) Reset

func (x *JobProgress) Reset()

func (*JobProgress) String

func (x *JobProgress) String() string

type JobStatus

type JobStatus int32
const (
	JobStatus_UNKNOWN   JobStatus = 0
	JobStatus_ERROR     JobStatus = 1
	JobStatus_RECEIVED  JobStatus = 2
	JobStatus_PRE_JOB   JobStatus = 3
	JobStatus_READ_DB   JobStatus = 4
	JobStatus_COMPUTE   JobStatus = 5
	JobStatus_COMPLETED JobStatus = 6
)

func (JobStatus) Descriptor

func (JobStatus) Descriptor() protoreflect.EnumDescriptor

func (JobStatus) Enum

func (x JobStatus) Enum() *JobStatus

func (JobStatus) EnumDescriptor deprecated

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

Deprecated: Use JobStatus.Descriptor instead.

func (JobStatus) Number

func (x JobStatus) Number() protoreflect.EnumNumber

func (JobStatus) String

func (x JobStatus) String() string

func (JobStatus) Type

type ProcedureProgress

type ProcedureProgress struct {
	Id          uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                  // unique id in ProgressManager context
	Description string  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // describe specific process in job
	Progress    float32 `protobuf:"fixed32,3,opt,name=progress,proto3" json:"progress,omitempty"`     // describe progress by [0.0, 100.0]
	Completed   bool    `protobuf:"varint,4,opt,name=completed,proto3" json:"completed,omitempty"`    // describe that procedure is completed or not
	Details     *string `protobuf:"bytes,5,opt,name=details,proto3,oneof" json:"details,omitempty"`   // describe progress in details
	// contains filtered or unexported fields
}

func (*ProcedureProgress) Descriptor deprecated

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

Deprecated: Use ProcedureProgress.ProtoReflect.Descriptor instead.

func (*ProcedureProgress) GetCompleted

func (x *ProcedureProgress) GetCompleted() bool

func (*ProcedureProgress) GetDescription

func (x *ProcedureProgress) GetDescription() string

func (*ProcedureProgress) GetDetails

func (x *ProcedureProgress) GetDetails() string

func (*ProcedureProgress) GetId

func (x *ProcedureProgress) GetId() uint64

func (*ProcedureProgress) GetProgress

func (x *ProcedureProgress) GetProgress() float32

func (*ProcedureProgress) ProtoMessage

func (*ProcedureProgress) ProtoMessage()

func (*ProcedureProgress) ProtoReflect

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

func (*ProcedureProgress) Reset

func (x *ProcedureProgress) Reset()

func (*ProcedureProgress) String

func (x *ProcedureProgress) String() string

type Schema

type Schema struct {
	Name string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type ShareValueTypeEnum `protobuf:"varint,2,opt,name=type,proto3,enum=pb_common_types.ShareValueTypeEnum" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetName

func (x *Schema) GetName() string

func (*Schema) GetType

func (x *Schema) GetType() ShareValueTypeEnum

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

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

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type ShareValueTypeEnum

type ShareValueTypeEnum int32
const (
	ShareValueTypeEnum_SHARE_VALUE_TYPE_UNSPECIFIED                  ShareValueTypeEnum = 0
	ShareValueTypeEnum_SHARE_VALUE_TYPE_FIXED_POINT                  ShareValueTypeEnum = 1
	ShareValueTypeEnum_SHARE_VALUE_TYPE_UTF_8_INTEGER_REPRESENTATION ShareValueTypeEnum = 2
)

func (ShareValueTypeEnum) Descriptor

func (ShareValueTypeEnum) Enum

func (ShareValueTypeEnum) EnumDescriptor deprecated

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

Deprecated: Use ShareValueTypeEnum.Descriptor instead.

func (ShareValueTypeEnum) Number

func (ShareValueTypeEnum) String

func (x ShareValueTypeEnum) String() string

func (ShareValueTypeEnum) Type

type Stacktrace

type Stacktrace struct {
	Frames []*Stacktrace_Frame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
	// contains filtered or unexported fields
}

func (*Stacktrace) Descriptor deprecated

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

Deprecated: Use Stacktrace.ProtoReflect.Descriptor instead.

func (*Stacktrace) GetFrames

func (x *Stacktrace) GetFrames() []*Stacktrace_Frame

func (*Stacktrace) ProtoMessage

func (*Stacktrace) ProtoMessage()

func (*Stacktrace) ProtoReflect

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

func (*Stacktrace) Reset

func (x *Stacktrace) Reset()

func (*Stacktrace) String

func (x *Stacktrace) String() string

type Stacktrace_Frame

type Stacktrace_Frame struct {
	SourceLocation string `protobuf:"bytes,1,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	SourceLine     uint64 `protobuf:"varint,2,opt,name=source_line,json=sourceLine,proto3" json:"source_line,omitempty"`
	FunctionName   string `protobuf:"bytes,3,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Stacktrace_Frame) Descriptor deprecated

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

Deprecated: Use Stacktrace_Frame.ProtoReflect.Descriptor instead.

func (*Stacktrace_Frame) GetFunctionName

func (x *Stacktrace_Frame) GetFunctionName() string

func (*Stacktrace_Frame) GetSourceLine

func (x *Stacktrace_Frame) GetSourceLine() uint64

func (*Stacktrace_Frame) GetSourceLocation

func (x *Stacktrace_Frame) GetSourceLocation() string

func (*Stacktrace_Frame) ProtoMessage

func (*Stacktrace_Frame) ProtoMessage()

func (*Stacktrace_Frame) ProtoReflect

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

func (*Stacktrace_Frame) Reset

func (x *Stacktrace_Frame) Reset()

func (*Stacktrace_Frame) String

func (x *Stacktrace_Frame) String() string

Jump to

Keyboard shortcuts

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