diff --git a/zvelo_api.pb.go b/zvelo_api.pb.go index 315105b..9075745 100644 --- a/zvelo_api.pb.go +++ b/zvelo_api.pb.go @@ -169,14 +169,8 @@ func (m *QueryContentRequests_URLContent) GetContent() string { } type QueryReply struct { - Status *Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"` - TrackingId string `protobuf:"bytes,4,opt,name=tracking_id,json=trackingId" json:"tracking_id,omitempty"` - // the target of QueryStatus, to ensure that the QueryStatus call - // goes to the same cluster as the original call. - // Will only be set if user set p=true in request. - StatusUrl string `protobuf:"bytes,5,opt,name=status_url,json=statusUrl" json:"status_url,omitempty"` + Status *Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"` } func (m *QueryReply) Reset() { *m = QueryReply{} } @@ -198,30 +192,11 @@ func (m *QueryReply) GetRequestId() string { return "" } -func (m *QueryReply) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *QueryReply) GetTrackingId() string { - if m != nil { - return m.TrackingId - } - return "" -} - -func (m *QueryReply) GetStatusUrl() string { - if m != nil { - return m.StatusUrl - } - return "" -} - // If a request contained more then one URL, or piece of content, we will reply // with this reply. Each sub-query should be reflected in the replies field, -// and with their own status. +// and with their own status. The position in the array will correspond to the +// index in the original array of URL or Content provided in the QueryURLRequests +// or QueryContentRequests message type QueryReplies struct { Replies []*QueryReply `protobuf:"bytes,1,rep,name=replies" json:"replies,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` @@ -257,35 +232,33 @@ func init() { func init() { proto.RegisterFile("zvelo/msg/zvelo_api.proto", fileDescriptor6) } var fileDescriptor6 = []byte{ - // 475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x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, 0x05, 0xe6, 0x1a, 0xc8, 0x7d, 0x00, 0x65, 0x99, 0x6f, 0xb3, 0xd4, 0x2d, - 0x1e, 0x3b, 0xe4, 0xbc, 0xf5, 0x23, 0xe8, 0xfc, 0x78, 0x00, 0x13, 0xa3, 0x78, 0xb2, 0xcf, 0x0e, - 0xbb, 0x7a, 0xc2, 0x6a, 0x80, 0x06, 0x3a, 0x4f, 0xeb, 0x8d, 0x76, 0xf7, 0xb6, 0x9e, 0x1c, 0xda, - 0x8d, 0x16, 0xd9, 0x28, 0xb9, 0xf8, 0x0c, 0xc7, 0x2d, 0xd3, 0x4c, 0x68, 0xb2, 0x82, 0x91, 0xb2, - 0xa1, 0x7b, 0x79, 0x77, 0x7e, 0x37, 0x18, 0x35, 0xb1, 0xa6, 0xab, 0x27, 0xce, 0xff, 0x8b, 0xb8, - 0x57, 0xd3, 0x8f, 0xc7, 0xb6, 0x96, 0xe1, 0xaf, 0xbe, 0x0a, 0xf1, 0x3f, 0x3f, 0xfd, 0x15, 0x00, - 0x00, 0xff, 0xff, 0x62, 0x91, 0xf8, 0x68, 0x28, 0x04, 0x00, 0x00, + // 441 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x93, 0xdf, 0x8b, 0xd3, 0x40, + 0x10, 0xc7, 0x49, 0xd2, 0x4b, 0xaf, 0xd3, 0xa3, 0x9e, 0xcb, 0x59, 0xd7, 0x80, 0x50, 0xfa, 0x62, + 0xf5, 0x21, 0x95, 0x0a, 0xa2, 0x3e, 0xea, 0x09, 0x0a, 0x87, 0xe0, 0x9e, 0xe7, 0x83, 0x2f, 0x65, + 0x2f, 0x19, 0xce, 0x78, 0x7b, 0x4d, 0xdc, 0xdd, 0x14, 0xe2, 0x3f, 0xe8, 0x1f, 0x20, 0xfe, 0x3f, + 0xd2, 0xd9, 0x4d, 0x13, 0x44, 0xd0, 0x57, 0xdf, 0x66, 0xbe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00, } diff --git a/zvelo_api.proto b/zvelo_api.proto index 596298c..541faa5 100644 --- a/zvelo_api.proto +++ b/zvelo_api.proto @@ -36,17 +36,13 @@ message QueryContentRequests { message QueryReply { Status status = 1; // The zvelo internal status. string request_id = 2; // The request_ids will identify the request after submission - string url = 3; // If the original request was a URL request, this will be populated - string tracking_id = 4; // If the original request was a Content request, this will be populated - // the target of QueryStatus, to ensure that the QueryStatus call - // goes to the same cluster as the original call. - // Will only be set if user set p=true in request. - string status_url = 5; } // If a request contained more then one URL, or piece of content, we will reply // with this reply. Each sub-query should be reflected in the replies field, -// and with their own status. +// and with their own status. The position in the array will correspond to the +// index in the original array of URL or Content provided in the QueryURLRequests +// or QueryContentRequests message message QueryReplies { repeated QueryReply replies = 1; // this contains a reply for each sub query Status status = 2; // this reflects the overall status of the sub-queries