1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 option optimize_for = LITE_RUNTIME;
8 package image.collections;
11 // Encrypted 64-bit image doc id, if it has been crawled,
12 // e.g. "kY7_4LKgNqDrbM:"
13 optional string doc_id = 1;
16 // The (normalized) URL this image can be found at.
17 optional string url = 1;
19 // The dimensions in pixels.
20 optional int32 width = 2;
21 optional int32 height = 3;
24 // Information about the original collected image.
25 optional ImageInfo original_info = 2;
27 // Information about the server hosted thumbnail.
28 optional ImageInfo thumbnail_info = 3;
32 // The title of the web page.
33 optional string title = 1;
35 // A snippet of text from the web page, either computed by us or chosen by
37 optional string snippet = 2;
39 // The (normalized) URL of the web page.
40 optional string url = 3;
42 // The /url redirect signed URL for the web page. This could be appended to
43 // "www.google.com" to create a URL redirect.
44 optional string signed_url = 5;
46 // The doc id of the page, if in the index. Uses the same encrypted docid
47 // format as ImageData.
48 optional string doc_id = 4;