package secretflow.spec.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum AttrType

component.proto:215

Supported attribute types.

Used in: AttributeDef

message Attribute

component.proto:25

The value of an attribute

Used in: AttributeDef.AtomicAttrDesc, Descriptions.Item, NodeEvalParam, Table.Row

message AttributeDef

component.proto:56

Describe an attribute. There are three kinds of attribute. - Atomic Attributes: a solid field for users to fill-in. - Struct Attributes: a group of closely related attributes(including atomic, union and struct attributes). - Union Attributes: a group of mutually exlusive attributes(including union, group and dummy atomic attributes). Users should select only one children to fill-in. An atmoic attribute with ATTR_TYPE_UNSPECIFIED AttrType is regarded as dummy, which represents a selection of union without further configurations.

Used in: ComponentDef, IoDef.TableAttrDef

message AttributeDef.AtomicAttrDesc

component.proto:76

Extras for an atomic attribute. Including: `AT_FLOAT | AT_INT | AT_STRING | AT_BOOL | AT_FLOATS | AT_INTS | AT_STRINGS | AT_BOOLS`.

Used in: AttributeDef

message AttributeDef.UnionAttrGroupDesc

component.proto:112

Extras for a union attribute group.

Used in: AttributeDef

message CompListDef

component.proto:204

A list of components

message ComponentDef

component.proto:184

The definition of a comp.

Used in: CompListDef

message Descriptions

report.proto:26

Displays multiple read-only fields in groups.

Used in: Div.Child

message Descriptions.Item

report.proto:27

Used in: Descriptions

message DistData

data.proto:81

A public record for a general distributed data. The type of this distributed data, should be meaningful to components. The concrete data format (include public and private parts) is defined by other protos. Suggested internal types, i.e. - sf.table.vertical_table represent a secretflow vertical table - sf.table.individual_table represent a secretflow individual table

Used in: pipeline.NodeDef, NodeEvalParam, NodeEvalResult

message DistData.DataRef

data.proto:97

A reference to a data that is stored in the remote path.

Used in: DistData

message Div

report.proto:77

A division or a section of a page.

Used in: Div.Child, Tab

message Div.Child

report.proto:78

Used in: Div

message IndividualTable

data.proto:130

IndividualTable describes a table owned by a single party.

message IoDef

component.proto:124

Define an input/output for component.

Used in: ComponentDef

message IoDef.TableAttrDef

component.proto:159

An extra attribute for a table. If provided in a IoDef, e.g. ```json { "name": "feature", "types": [ "int", "float" ], "col_min_cnt_inclusive": 1, "col_max_cnt": 3, "attrs": [ { "name": "bucket_size", "type": "AT_INT" } ] } ``` means after a user provide a table as IO, they should also specify cols as "feature": - col_min_cnt_inclusive is 1: At least 1 col to be selected. - col_max_cnt_inclusive is 3: At most 3 cols to be selected. And afterwards, user have to fill an int attribute called bucket_size for each selected cols.

Used in: IoDef

message NodeEvalParam

evaluation.proto:31

Evaluate a node. - CompListDef + StorageConfig + NodeEvalParam + other extra configs -> NodeEvalResult NodeEvalParam contains all the information to evaluate a component.

message NodeEvalResult

evaluation.proto:71

NodeEvalResult contains outputs of a component evaluation.

message Report

report.proto:107

message StorageConfig

data.proto:38

A StorageConfig specifies the root for all data for one party. - At this moment, only local_fs / S3 compatible object storage is supported - We would support databases like mysql etc. in future.

message StorageConfig.LocalFSConfig

data.proto:43

For local_fs.

Used in: StorageConfig

message StorageConfig.S3Config

data.proto:49

For S3 compatible object storage

Used in: StorageConfig

message SystemInfo

data.proto:26

Describe the application related to data.

Used in: DistData

message Tab

report.proto:98

A page of a report.

Used in: Report

message Table

report.proto:48

Displays rows of data.

Used in: Div.Child

message Table.HeaderItem

report.proto:49

Used in: Table

message Table.Row

report.proto:58

Used in: Table

message TableSchema

data.proto:158

The schema of a table. - A col must be one of `id | feature | label`. By default, it should be a feature. - All names must match the regexp `[A-Za-z0-9.][A-Za-z0-9_>./]*`. - All data type must be one of * int8 * int16 * int32 * int64 * uint8 * uint16 * uint32 * uint64 * float16 * float32 * float64 * bool * int * float * str

Used in: IndividualTable, VerticalTable

message VerticalTable

data.proto:120

VerticalTable describes a virtual vertical partitioning table from multiple parties.