clientpb

package
v0.0.0-...-d9bce91 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package clientpb is a generated protocol buffer package.

It is generated from these files:

protobuf/clientpb/client.proto

It has these top-level messages:

ExampleFile
ExampleIndex
Metric
EventTargets
ModelMeta

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthClient = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClient   = fmt.Errorf("proto: integer overflow")
)
View Source
var Event_name = map[int32]string{
	0: "EVENT_UNKNOWN",
	1: "EVENT_TRAIN",
	2: "EVENT_INFER",
	3: "EVENT_EVAL",
}
View Source
var Event_value = map[string]int32{
	"EVENT_UNKNOWN": 0,
	"EVENT_TRAIN":   1,
	"EVENT_INFER":   2,
	"EVENT_EVAL":    3,
}
View Source
var MetricReduce_name = map[int32]string{
	0:  "REDUCE_UNKNOWN",
	1:  "REDUCE_MEAN",
	2:  "REDUCE_MIN",
	3:  "REDUCE_MAX",
	4:  "REDUCE_SUM",
	5:  "REDUCE_PROD",
	6:  "REDUCE_P1",
	7:  "REDUCE_P5",
	8:  "REDUCE_P10",
	9:  "REDUCE_P25",
	10: "REDUCE_P50",
	11: "REDUCE_P75",
	12: "REDUCE_P90",
	13: "REDUCE_P95",
	14: "REDUCE_P99",
}
View Source
var MetricReduce_value = map[string]int32{
	"REDUCE_UNKNOWN": 0,
	"REDUCE_MEAN":    1,
	"REDUCE_MIN":     2,
	"REDUCE_MAX":     3,
	"REDUCE_SUM":     4,
	"REDUCE_PROD":    5,
	"REDUCE_P1":      6,
	"REDUCE_P5":      7,
	"REDUCE_P10":     8,
	"REDUCE_P25":     9,
	"REDUCE_P50":     10,
	"REDUCE_P75":     11,
	"REDUCE_P90":     12,
	"REDUCE_P95":     13,
	"REDUCE_P99":     14,
}

Functions

This section is empty.

Types

type Event

type Event int32
const (
	EVENT_UNKNOWN Event = 0
	EVENT_TRAIN   Event = 1
	EVENT_INFER   Event = 2
	EVENT_EVAL    Event = 3
)

func (Event) EnumDescriptor

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

func (Event) String

func (x Event) String() string

type EventTargets

type EventTargets struct {
	Pre  []string `protobuf:"bytes,1,rep,name=pre" json:"pre,omitempty"`
	Post []string `protobuf:"bytes,2,rep,name=post" json:"post,omitempty"`
}

func (*EventTargets) Descriptor

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

func (*EventTargets) Equal

func (this *EventTargets) Equal(that interface{}) bool

func (*EventTargets) GetPost

func (m *EventTargets) GetPost() []string

func (*EventTargets) GetPre

func (m *EventTargets) GetPre() []string

func (*EventTargets) GoString

func (this *EventTargets) GoString() string

func (*EventTargets) Marshal

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

func (*EventTargets) MarshalTo

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

func (*EventTargets) ProtoMessage

func (*EventTargets) ProtoMessage()

func (*EventTargets) Reset

func (m *EventTargets) Reset()

func (*EventTargets) Size

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

func (*EventTargets) String

func (this *EventTargets) String() string

func (*EventTargets) Unmarshal

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

type ExampleFile

type ExampleFile struct {
	Name      string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Created   time.Time `protobuf:"bytes,2,opt,name=created,stdtime" json:"created"`
	TotalSize int64     `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	Positions []int32   `protobuf:"varint,4,rep,packed,name=positions" json:"positions,omitempty"`
}

func (*ExampleFile) Descriptor

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

func (*ExampleFile) Equal

func (this *ExampleFile) Equal(that interface{}) bool

func (*ExampleFile) GetCreated

func (m *ExampleFile) GetCreated() time.Time

func (*ExampleFile) GetName

func (m *ExampleFile) GetName() string

func (*ExampleFile) GetPositions

func (m *ExampleFile) GetPositions() []int32

func (*ExampleFile) GetTotalSize

func (m *ExampleFile) GetTotalSize() int64

func (*ExampleFile) GoString

func (this *ExampleFile) GoString() string

func (*ExampleFile) Marshal

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

func (*ExampleFile) MarshalTo

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

func (*ExampleFile) ProtoMessage

func (*ExampleFile) ProtoMessage()

func (*ExampleFile) Reset

func (m *ExampleFile) Reset()

func (*ExampleFile) Size

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

func (*ExampleFile) String

func (this *ExampleFile) String() string

func (*ExampleFile) Unmarshal

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

type ExampleIndex

type ExampleIndex struct {
	TotalExamples int64         `protobuf:"varint,1,opt,name=total_examples,json=totalExamples,proto3" json:"total_examples,omitempty"`
	TotalSize     int64         `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	Files         []ExampleFile `protobuf:"bytes,3,rep,name=files" json:"files"`
}

func (*ExampleIndex) Descriptor

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

func (*ExampleIndex) Equal

func (this *ExampleIndex) Equal(that interface{}) bool

func (*ExampleIndex) GetFiles

func (m *ExampleIndex) GetFiles() []ExampleFile

func (*ExampleIndex) GetTotalExamples

func (m *ExampleIndex) GetTotalExamples() int64

func (*ExampleIndex) GetTotalSize

func (m *ExampleIndex) GetTotalSize() int64

func (*ExampleIndex) GoString

func (this *ExampleIndex) GoString() string

func (*ExampleIndex) Marshal

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

func (*ExampleIndex) MarshalTo

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

func (*ExampleIndex) ProtoMessage

func (*ExampleIndex) ProtoMessage()

func (*ExampleIndex) Reset

func (m *ExampleIndex) Reset()

func (*ExampleIndex) Size

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

func (*ExampleIndex) String

func (this *ExampleIndex) String() string

func (*ExampleIndex) Unmarshal

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

type Metric

type Metric struct {
	FetchName string       `protobuf:"bytes,1,opt,name=fetch_name,json=fetchName,proto3" json:"fetch_name,omitempty"`
	Reduce    MetricReduce `protobuf:"varint,2,opt,name=reduce,proto3,enum=clientpb.MetricReduce" json:"reduce,omitempty"`
	Name      string       `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}

func (*Metric) Descriptor

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

func (*Metric) Equal

func (this *Metric) Equal(that interface{}) bool

func (*Metric) GetFetchName

func (m *Metric) GetFetchName() string

func (*Metric) GetName

func (m *Metric) GetName() string

func (*Metric) GetReduce

func (m *Metric) GetReduce() MetricReduce

func (*Metric) GoString

func (this *Metric) GoString() string

func (*Metric) Marshal

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

func (*Metric) MarshalTo

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

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) Size

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

func (*Metric) String

func (this *Metric) String() string

func (*Metric) Unmarshal

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

type MetricReduce

type MetricReduce int32
const (
	REDUCE_UNKNOWN MetricReduce = 0
	REDUCE_MEAN    MetricReduce = 1
	REDUCE_MIN     MetricReduce = 2
	REDUCE_MAX     MetricReduce = 3
	REDUCE_SUM     MetricReduce = 4
	REDUCE_PROD    MetricReduce = 5
	REDUCE_P1      MetricReduce = 6
	REDUCE_P5      MetricReduce = 7
	REDUCE_P10     MetricReduce = 8
	REDUCE_P25     MetricReduce = 9
	REDUCE_P50     MetricReduce = 10
	REDUCE_P75     MetricReduce = 11
	REDUCE_P90     MetricReduce = 12
	REDUCE_P95     MetricReduce = 13
	REDUCE_P99     MetricReduce = 14
)

func (MetricReduce) EnumDescriptor

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

func (MetricReduce) String

func (x MetricReduce) String() string

type ModelMeta

type ModelMeta struct {
	TrainableVariables []string               `protobuf:"bytes,1,rep,name=trainable_variables,json=trainableVariables" json:"trainable_variables,omitempty"`
	Metrics            []Metric               `protobuf:"bytes,2,rep,name=metrics" json:"metrics"`
	EventTargets       map[Event]EventTargets `` /* 176-byte string literal not displayed */
}

func (*ModelMeta) Descriptor

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

func (*ModelMeta) Equal

func (this *ModelMeta) Equal(that interface{}) bool

func (*ModelMeta) GetEventTargets

func (m *ModelMeta) GetEventTargets() map[Event]EventTargets

func (*ModelMeta) GetMetrics

func (m *ModelMeta) GetMetrics() []Metric

func (*ModelMeta) GetTrainableVariables

func (m *ModelMeta) GetTrainableVariables() []string

func (*ModelMeta) GoString

func (this *ModelMeta) GoString() string

func (*ModelMeta) Marshal

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

func (*ModelMeta) MarshalTo

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

func (*ModelMeta) ProtoMessage

func (*ModelMeta) ProtoMessage()

func (*ModelMeta) Reset

func (m *ModelMeta) Reset()

func (*ModelMeta) Size

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

func (*ModelMeta) String

func (this *ModelMeta) String() string

func (*ModelMeta) Unmarshal

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

Jump to

Keyboard shortcuts

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