blob: 6bad77bfaf48b23c6fb2828fd4b8bd21b3846df1 [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: "basic-stylesheet"
styles {
style_id: "title"
color: 4294901760
}
styles {
style_id: "subtitle"
color: 4278190335
}
styles {
style_id: "source-icon"
width: 16
height: 16
}
}
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "root"
id: 0
table: "FEATURE"
}
}
feature {
renderable_unit: STREAM
}
}
data_operation {
operation: UPDATE_OR_APPEND
metadata {
content_id {
content_domain: "hello-world"
id: 1
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: "hello-world"
id: 1
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: "hello-world"
id: 10
table: "feature"
}
}
feature {
parent_id {
content_domain: "hello-world"
id: 1
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 {
contents {
element {
grid_row {
cells {
width {
dp: 16
}
content {
element {
image_element {
image {
sources {
url: "https://www.google.com/s2/favicons?domain=www.nytimes.com&sz=48"
}
}
}
style_references {
style_ids: "source-icon"
}
}
}
}
cells {
content {
element {
text_element {
parameterized_text {
text: "nytimes.com \302\267 %s"
parameters {
timestamp_seconds: 1516218755
}
}
}
}
}
}
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Hello, World!"
}
}
style_references {
style_ids: "title"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Lorem ipsum dolor sit amet"
}
}
style_references {
style_ids: "subtitle"
}
}
}
stylesheets {
stylesheet_ids: "basic-stylesheet"
}
}
}
}
}
}
}
}