blob: 81950c337948e48819f352c3dc796c144221deab [file] [log] [blame]
initial_response {
[search.now.wire.feed.FeedResponse.feed_response] {
data_operation {
operation: CLEAR_ALL
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "piet-shared-state"
id: 1
table: "piet-shared-state"
}
}
piet_shared_state {
stylesheets {
stylesheet_id: "feed-story-card"
styles {
style_id: "card"
padding {
start: 16
end: 16
}
}
}
templates {
template_id: "two-line-card-cap-template"
element {
grid_row {
cells {
width {
dp: 36
}
content {
element {
image_element {
image_binding {
binding_id: "icon-binding"
}
}
style_references {
style_ids: "icon"
style_ids: "icon-cell"
}
}
}
}
cells {
content {
element {
element_list {
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "title-binding"
}
}
style_references {
style_ids: "title"
}
}
}
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "subtitle-binding"
is_optional: true
}
}
style_references {
style_ids: "subtitle"
}
}
}
}
style_references {
style_ids: "title-container"
}
}
}
}
}
style_references {
style_ids: "card-cap"
}
}
stylesheets {
stylesheets {
styles {
style_id: "card-cap"
padding {
top: 4
bottom: 4
start: 16
end: 16
}
min_height: 42
}
styles {
style_id: "title-container"
padding {
top: 0
bottom: 0
start: 0
end: 0
}
}
styles {
style_id: "title"
color: 2315255808
font {
size: 14
}
}
styles {
style_id: "subtitle"
color: 2315255808
font {
size: 12
italic: true
}
padding {
top: 2
bottom: 0
start: 0
end: 0
}
}
styles {
style_id: "icon-cell"
padding {
top: 0
bottom: 0
start: 0
end: 0
}
}
styles {
style_id: "icon"
margins {
top: 0
bottom: 0
start: 0
end: 8
}
width: 24
height: 24
}
}
}
}
templates {
template_id: "story-content-template"
element {
grid_row {
cells {
width {
weight: 1
}
content {
element {
element_list {
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "title-binding"
}
}
style_references {
style_ids: "title"
}
}
}
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "snippet-binding"
}
}
style_references {
style_ids: "snippet"
}
}
}
contents {
element {
grid_row {
cells {
width {
dp: 16
}
content {
element {
image_element {
image_binding {
binding_id: "source-icon-binding"
}
}
style_references {
style_ids: "source-icon"
style_ids: "source-icon-list"
}
}
}
}
cells {
content {
element {
text_element {
parameterized_text_binding {
binding_id: "source-binding"
}
}
style_references {
style_ids: "source"
}
}
}
}
}
style_references {
style_ids: "source-row"
}
}
}
}
style_references {
style_ids: "story"
}
}
}
}
cells {
width {
dp: 72
}
content {
element {
image_element {
image_binding {
binding_id: "image-binding"
}
}
style_references {
style_ids: "image"
}
}
}
}
}
actions_binding {
binding_id: "actions-binding"
}
}
stylesheets {
stylesheets {
styles {
style_id: "story"
padding {
top: 0
bottom: 0
start: 8
end: 8
}
}
styles {
style_id: "image"
margins {
start: 8
end: 16
}
width: 72
height: 72
scale_type: CENTER_CROP
}
styles {
style_id: "title"
color: 3724541952
font {
size: 18
}
padding {
top: 0
bottom: 4
start: 8
end: 8
}
max_lines: 2
}
styles {
style_id: "snippet"
color: 2315255808
font {
size: 14
}
padding {
top: 0
bottom: 8
start: 8
end: 8
}
max_lines: 2
}
styles {
style_id: "source-row"
padding {
top: 0
bottom: 12
start: 8
end: 8
}
}
styles {
style_id: "source-icon-list"
padding {
top: 0
bottom: 0
start: 0
end: 0
}
}
styles {
style_id: "source-icon"
width: 16
height: 16
}
styles {
style_id: "source"
font {
size: 14
}
padding {
top: 0
bottom: 0
start: 12
end: 0
}
}
}
}
}
templates {
template_id: "hero-story-content-template"
element {
element_list {
contents {
element {
image_element {
image_binding {
binding_id: "image-binding"
}
}
style_references {
style_ids: "image"
}
overlays {
element {
image_element {
image {
sources {
url: "https://codelabs.developers.google.com/codelabs/wear-maps/img/img-5.png"
}
}
}
gravity_horizontal: GRAVITY_CENTER
style_references {
style_ids: "overlay1"
}
}
}
overlays {
element {
image_element {
image {
sources {
url: "https://storage.googleapis.com/gd-wagtail-prod-assets/original_images/logo_cardboard_color_2x_web_64dp.png"
}
}
}
gravity_horizontal: GRAVITY_CENTER
style_references {
style_ids: "overlay2"
}
}
}
}
}
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "title-binding"
}
}
style_references {
style_ids: "title"
}
}
}
contents {
element {
text_element {
parameterized_text_binding {
binding_id: "snippet-binding"
}
}
style_references {
style_ids: "snippet"
}
}
}
contents {
element {
grid_row {
cells {
width {
dp: 16
}
content {
element {
image_element {
image_binding {
binding_id: "source-icon-binding"
}
}
style_references {
style_ids: "source-icon"
style_ids: "source-icon-list"
}
}
}
}
cells {
content {
element {
text_element {
parameterized_text_binding {
binding_id: "source-binding"
}
}
style_references {
style_ids: "source"
}
}
}
}
}
style_references {
style_ids: "source-row"
}
}
}
}
actions_binding {
binding_id: "actions-binding"
}
}
stylesheets {
stylesheets {
styles {
style_id: "story"
padding {
top: 0
bottom: 0
start: 8
end: 8
}
}
styles {
style_id: "image"
padding {
top: 0
bottom: 8
start: 16
end: 16
}
height: 180
scale_type: CENTER_CROP
}
styles {
style_id: "overlay1"
width: 128
height: 128
scale_type: CENTER_CROP
gravity_horizontal: GRAVITY_CENTER
}
styles {
style_id: "overlay2"
width: 64
height: 64
scale_type: CENTER_CROP
gravity_horizontal: GRAVITY_CENTER
}
styles {
style_id: "title"
color: 3724541952
font {
size: 18
}
padding {
top: 0
bottom: 0
start: 16
end: 16
}
max_lines: 2
}
styles {
style_id: "snippet"
color: 2315255808
font {
size: 14
}
padding {
top: 4
bottom: 8
start: 16
end: 16
}
max_lines: 2
}
styles {
style_id: "source-row"
padding {
top: 0
bottom: 12
start: 16
end: 16
}
}
styles {
style_id: "source-icon-list"
padding {
top: 0
bottom: 0
start: 0
end: 0
}
}
styles {
style_id: "source-icon"
width: 16
height: 16
}
styles {
style_id: "source"
font {
size: 14
}
padding {
top: 0
bottom: 0
start: 12
end: 0
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
renderable_unit: STREAM
[search.now.ui.stream.Stream.stream_extension] {
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 1000
table: "feature"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
renderable_unit: CARD
[search.now.ui.stream.Card.card_extension] {
[search.now.ui.stream.SwipeActionExtension.swipe_action_extension] {
swipe_action {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: DISMISS_LOCAL
dismiss_data {
content_id {
content_domain: "news-story"
id: 1000
table: "feature"
}
data_operations {
operation: REMOVE
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 10000
table: "feature"
}
}
feature {
parent_id {
content_domain: "news-story"
id: 1000
table: "feature"
}
renderable_unit: CONTENT
[search.now.ui.stream.Content.content_extension] {
type: PIET
[search.now.ui.stream.PietContent.piet_content_extension] {
piet_shared_states {
content_domain: "piet-shared-state"
id: 1
table: "piet-shared-state"
}
frame {
tag: "Story-Card-Feed"
stylesheet_id: "feed-story-card"
style_references {
style_ids: "card"
}
contents {
template_invocation {
template_id: "two-line-card-cap-template"
binding_contexts {
binding_values {
binding_id: "icon-binding"
image {
sources {
url: "https://www.gstatic.com/proactive/header_trending.png"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Colorado Avalanche"
}
}
binding_values {
binding_id: "subtitle-binding"
parameterized_text {
text: "Trending"
}
}
}
}
}
contents {
template_invocation {
template_id: "story-content-template"
binding_contexts {
binding_values {
binding_id: "image-binding"
image {
sources {
url: "https://lh6.googleusercontent.com/proxy/hfVClqoaxYaYXhrn9tHaabCl1TwqbHpv1U8ZVAo5xA5asq-nzMYYFLKutd3hWm7E5yG-ci8v9S5Wakoq1En9_90uyDUX-FqwsE29DPQaeCdCFDi7w07caNo3BnEgJlSQxO0DUmHh4jKq7rvVmTbBRQw1QgwtqjLAs2cDDSEevRkBW5BNjM3yCqXE9VVJsSCJqzImow=w144-h144-p"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Analysis: Avalanche messed up in evaluating Francois Beauchemein"
}
}
binding_values {
binding_id: "snippet-binding"
parameterized_text {
text: "In defenseman Francois Beauchemin, the Anaheim Ducks saw what the Colorado Avalance could not. Ducks general manager..."
}
}
binding_values {
binding_id: "source-icon-binding"
image {
sources {
url: "https://www.google.com/s2/favicons?domain=www.denverpost.com&sz=48"
}
}
}
binding_values {
binding_id: "source-binding"
parameterized_text {
text: "The Denver Post \302\267 %s"
parameters {
timestamp_seconds: 1509478644
}
}
}
binding_values {
binding_id: "actions-binding"
actions {
on_click_action {
[search.now.ui.action.PietFeedActionPayload.piet_feed_action_payload_extension] {
feed_action_payload {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: OPEN_URL
open_url_data {
url: "http://www.denverpost.com/2017/08/22/francois-beauchemin-avalanche-analysis/"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 1002
table: "feature"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
renderable_unit: CARD
[search.now.ui.stream.Card.card_extension] {
[search.now.ui.stream.SwipeActionExtension.swipe_action_extension] {
swipe_action {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: DISMISS_LOCAL
dismiss_data {
content_id {
content_domain: "news-story"
id: 1002
table: "feature"
}
data_operations {
operation: REMOVE
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 10020
table: "feature"
}
}
feature {
parent_id {
content_domain: "news-story"
id: 1002
table: "feature"
}
renderable_unit: CONTENT
[search.now.ui.stream.Content.content_extension] {
type: PIET
[search.now.ui.stream.PietContent.piet_content_extension] {
piet_shared_states {
content_domain: "piet-shared-state"
id: 1
table: "piet-shared-state"
}
frame {
tag: "Story-Card-Feed"
stylesheet_id: "feed-story-card"
style_references {
style_ids: "card"
}
contents {
template_invocation {
template_id: "two-line-card-cap-template"
binding_contexts {
binding_values {
binding_id: "icon-binding"
image {
sources {
url: "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTYO488hfmXlcAvirnUGEahtlT8xTrJB6i6uWJ_2MGZSJe03s6m"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Denver Broncos"
}
}
binding_values {
binding_id: "subtitle-binding"
parameterized_text {
text: "Trending"
}
}
}
}
}
contents {
template_invocation {
template_id: "story-content-template"
binding_contexts {
binding_values {
binding_id: "image-binding"
image {
sources {
url: "https://lh3.googleusercontent.com/proxy/CyeQrfWvSkJ-4wjGmm1zVIP4XZKL4oAjywWcPh8lhrwtizOY4kGsDtVa3nk984qJB5q2-r7aInfG25UFjfwyu7QEraqepTlbsDdKX1yeenhh7EGeAR2Hp1QcbO24C7WyU8bLPx8o_2HA-opm6cqZ8f4ehEXCxMEbR79A44jcWpacTLfYERPGeVrljo2vAl2LyFMHrA=w266-h266-p"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Vance Joseph of Denver Broncos won\'t commit to Trevor Siemian at quarterback"
}
}
binding_values {
binding_id: "snippet-binding"
parameterized_text {
text: "With a stagnant offense that is negating the league\'s top-rated defense, the Broncos aren\'t ruling out any changes in their lineup, coach Vance Joseph said."
}
}
binding_values {
binding_id: "source-icon-binding"
image {
sources {
url: "https://www.google.com/s2/favicons?domain=www.espn.com&sz=48"
}
}
}
binding_values {
binding_id: "source-binding"
parameterized_text {
text: "ESPN \302\267 %s"
parameters {
timestamp_seconds: 1509478644
}
}
}
binding_values {
binding_id: "actions-binding"
actions {
on_click_action {
[search.now.ui.action.PietFeedActionPayload.piet_feed_action_payload_extension] {
feed_action_payload {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: OPEN_URL
open_url_data {
url: "http://www.denverpost.com/2017/08/22/francois-beauchemin-avalanche-analysis/"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 1003
table: "feature"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
renderable_unit: CARD
[search.now.ui.stream.Card.card_extension] {
[search.now.ui.stream.SwipeActionExtension.swipe_action_extension] {
swipe_action {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: DISMISS_LOCAL
dismiss_data {
content_id {
content_domain: "news-story"
id: 1003
table: "feature"
}
data_operations {
operation: REMOVE
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 10030
table: "feature"
}
}
feature {
parent_id {
content_domain: "news-story"
id: 1003
table: "feature"
}
renderable_unit: CONTENT
[search.now.ui.stream.Content.content_extension] {
type: PIET
[search.now.ui.stream.PietContent.piet_content_extension] {
piet_shared_states {
content_domain: "piet-shared-state"
id: 1
table: "piet-shared-state"
}
frame {
tag: "Story-Card-Feed"
stylesheet_id: "feed-story-card"
style_references {
style_ids: "card"
}
contents {
template_invocation {
template_id: "two-line-card-cap-template"
binding_contexts {
binding_values {
binding_id: "icon-binding"
image {
sources {
url: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRMP1uO2fvOzigZBQ9hWFFkL9mV9vZClzeK8_hGO3dma_CqxP5P"
}
}
}
binding_values {
binding_id: "subtitle-binding"
visibility: GONE
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "NYSE"
}
}
}
}
}
contents {
template_invocation {
template_id: "hero-story-content-template"
binding_contexts {
binding_values {
binding_id: "image-binding"
image {
sources {
url: "https://lh4.googleusercontent.com/proxy/-OyfF2O8pW5jxk2U9oWORuEZeatrnUdmKQygsho3ssXn_Vbk38oJRUDG7gqA9PIPRqsvYq0tLB6Aq4xrRem2mRsR3k9X3MPvk--5S5RwBsyG1eZ6cPNqWh9CLC5Z19VRtTaxJePQjbMjPhfha_1iJkA5P0wA964w4-GkK4H-wyY156PpGFCzlaOOfmiXbaxsGSBYkw=w1092-h532-p"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Wall Street little changed as focus shifts to Jackson Hole"
}
}
binding_values {
binding_id: "snippet-binding"
parameterized_text {
text: "(Reuters) - U.S. stocks struggled for dirction late on Thursday morning, as investores remained cautious ahead of Jackson Hole policymakers meeting."
}
}
binding_values {
binding_id: "source-icon-binding"
image {
sources {
url: "https://www.google.com/s2/favicons?domain=www.reuters.com&sz=48"
}
}
}
binding_values {
binding_id: "source-binding"
parameterized_text {
text: "Reuters \302\267 %s"
parameters {
timestamp_seconds: 1509478644
}
}
}
binding_values {
binding_id: "actions-binding"
actions {
on_click_action {
[search.now.ui.action.PietFeedActionPayload.piet_feed_action_payload_extension] {
feed_action_payload {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: OPEN_URL
open_url_data {
url: "https://www.reuters.com/article/usa-stocks-idUSL4N1LA4TE"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 1004
table: "feature"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
renderable_unit: CARD
[search.now.ui.stream.Card.card_extension] {
[search.now.ui.stream.SwipeActionExtension.swipe_action_extension] {
swipe_action {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: DISMISS_LOCAL
dismiss_data {
content_id {
content_domain: "news-story"
id: 1004
table: "feature"
}
data_operations {
operation: REMOVE
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
parent_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
}
}
}
}
}
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "news-story"
id: 10040
table: "feature"
}
}
feature {
parent_id {
content_domain: "news-story"
id: 1004
table: "feature"
}
renderable_unit: CONTENT
[search.now.ui.stream.Content.content_extension] {
type: PIET
[search.now.ui.stream.PietContent.piet_content_extension] {
piet_shared_states {
content_domain: "piet-shared-state"
id: 1
table: "piet-shared-state"
}
frame {
tag: "Story-Card-Feed"
stylesheet_id: "feed-story-card"
style_references {
style_ids: "card"
}
contents {
template_invocation {
template_id: "two-line-card-cap-template"
binding_contexts {
binding_values {
binding_id: "icon-binding"
image {
sources {
url: "https://www.gstatic.com/proactive/header_trending.png"
}
}
}
binding_values {
binding_id: "subtitle-binding"
parameterized_text {
text: "Trending"
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Nation"
}
}
}
}
}
contents {
template_invocation {
template_id: "hero-story-content-template"
binding_contexts {
binding_values {
binding_id: "image-binding"
image {
sources {
url: "http://www.gstatic.com/android/now/images/default/hdpi/context_day_at_work.png"
}
}
}
binding_values {
binding_id: "title-binding"
parameterized_text {
text: "Police Respond to Reports of Possible Shooting in Lower Manhattan"
}
}
binding_values {
binding_id: "snippet-binding"
parameterized_text {
text: "Officials said a motorist drove a truck as many as 20 blocks down a bike path, striking pedestrians, before he jumped out with fake guns as was shot by police."
}
}
binding_values {
binding_id: "source-icon-binding"
image {
sources {
url: "https://www.google.com/s2/favicons?domain=www.cnn.com&sz=48"
}
}
}
binding_values {
binding_id: "source-binding"
parameterized_text {
text: "CNN \302\267 %s"
parameters {
timestamp_seconds: 1509478644
}
}
}
binding_values {
binding_id: "actions-binding"
actions {
on_click_action {
[search.now.ui.action.PietFeedActionPayload.piet_feed_action_payload_extension] {
feed_action_payload {
[search.now.ui.action.FeedAction.feed_action_extension] {
metadata {
type: OPEN_URL
open_url_data {
url: "https://www.reuters.com/article/usa-stocks-idUSL4N1LA4TE"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}