diff --git a/dataset.pb.go b/dataset.pb.go index f7c4dc3..cd98c3c 100644 --- a/dataset.pb.go +++ b/dataset.pb.go @@ -118,6 +118,13 @@ func (m *DataSet_Categorization) String() string { return proto.Compa func (*DataSet_Categorization) ProtoMessage() {} func (*DataSet_Categorization) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} } +func (m *DataSet_Categorization) GetValues() []Category { + if m != nil { + return m.Values + } + return nil +} + type DataSet_AdFraud struct { Verdict bool `protobuf:"varint,1,opt,name=verdict" json:"verdict,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` @@ -128,6 +135,20 @@ func (m *DataSet_AdFraud) String() string { return proto.CompactTextS func (*DataSet_AdFraud) ProtoMessage() {} func (*DataSet_AdFraud) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 1} } +func (m *DataSet_AdFraud) GetVerdict() bool { + if m != nil { + return m.Verdict + } + return false +} + +func (m *DataSet_AdFraud) GetSignature() string { + if m != nil { + return m.Signature + } + return "" +} + type DataSet_Sentiment struct { Values map[string]float32 `protobuf:"bytes,1,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` } @@ -153,6 +174,13 @@ func (m *DataSet_Keyword) String() string { return proto.CompactTextS func (*DataSet_Keyword) ProtoMessage() {} func (*DataSet_Keyword) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 3} } +func (m *DataSet_Keyword) GetValues() []string { + if m != nil { + return m.Values + } + return nil +} + type DataSet_Malicious struct { Category Category `protobuf:"varint,1,opt,name=category,enum=zvelo.msg.Category" json:"category,omitempty"` // 2 reserved for signature @@ -164,6 +192,20 @@ func (m *DataSet_Malicious) String() string { return proto.CompactTex func (*DataSet_Malicious) ProtoMessage() {} func (*DataSet_Malicious) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 4} } +func (m *DataSet_Malicious) GetCategory() Category { + if m != nil { + return m.Category + } + return Category_UNKNOWN +} + +func (m *DataSet_Malicious) GetVerdict() bool { + if m != nil { + return m.Verdict + } + return false +} + type DataSet_Echo struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` } @@ -173,6 +215,13 @@ func (m *DataSet_Echo) String() string { return proto.CompactTextStri func (*DataSet_Echo) ProtoMessage() {} func (*DataSet_Echo) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 5} } +func (m *DataSet_Echo) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func init() { proto.RegisterType((*DataSet)(nil), "zvelo.msg.DataSet") proto.RegisterType((*DataSet_Categorization)(nil), "zvelo.msg.DataSet.Categorization") diff --git a/query_result.pb.go b/query_result.pb.go index 870195a..3de8b6a 100644 --- a/query_result.pb.go +++ b/query_result.pb.go @@ -27,6 +27,20 @@ func (m *QueryResult) String() string { return proto.CompactTextStrin func (*QueryResult) ProtoMessage() {} func (*QueryResult) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } +func (m *QueryResult) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *QueryResult) GetTrackingId() string { + if m != nil { + return m.TrackingId + } + return "" +} + func (m *QueryResult) GetStatus() *Status { if m != nil { return m.Status @@ -34,6 +48,13 @@ func (m *QueryResult) GetStatus() *Status { return nil } +func (m *QueryResult) GetRequestDataset() []DataSetType { + if m != nil { + return m.RequestDataset + } + return nil +} + func (m *QueryResult) GetResponseDataset() *DataSet { if m != nil { return m.ResponseDataset @@ -41,6 +62,13 @@ func (m *QueryResult) GetResponseDataset() *DataSet { return nil } +func (m *QueryResult) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func init() { proto.RegisterType((*QueryResult)(nil), "zvelo.msg.QueryResult") } diff --git a/seed_result.pb.go b/seed_result.pb.go index 6e6af73..0c0c31c 100644 --- a/seed_result.pb.go +++ b/seed_result.pb.go @@ -23,6 +23,13 @@ func (m *SeedResult) String() string { return proto.CompactTextString func (*SeedResult) ProtoMessage() {} func (*SeedResult) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} } +func (m *SeedResult) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func (m *SeedResult) GetDataset() *DataSet { if m != nil { return m.Dataset diff --git a/status.pb.go b/status.pb.go index c0dfe14..2d2b68f 100644 --- a/status.pb.go +++ b/status.pb.go @@ -186,6 +186,20 @@ func (m *Status) String() string { return proto.CompactTextString(m) func (*Status) ProtoMessage() {} func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} } +func (m *Status) GetCode() Status_Code { + if m != nil { + return m.Code + } + return Status_UNKNOWN +} + +func (m *Status) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + func (m *Status) GetFetchStatus() *Status { if m != nil { return m.FetchStatus @@ -193,6 +207,13 @@ func (m *Status) GetFetchStatus() *Status { return nil } +func (m *Status) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + func init() { proto.RegisterType((*Status)(nil), "zvelo.msg.Status") proto.RegisterEnum("zvelo.msg.Status_Code", Status_Code_name, Status_Code_value) diff --git a/stream.pb.go b/stream.pb.go index 2792c40..220ab61 100644 --- a/stream.pb.go +++ b/stream.pb.go @@ -28,6 +28,13 @@ func (m *StreamResult) String() string { return proto.CompactTextStri func (*StreamResult) ProtoMessage() {} func (*StreamResult) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} } +func (m *StreamResult) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func (m *StreamResult) GetDataset() *DataSet { if m != nil { return m.Dataset