blob: 916930090511cbcd5b2780db7b3dfc1d7babbdae [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: "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] {
frame {
contents {
element {
grid_row {
cells {
width {
dp: 48
}
content {
element {
image_element {
image {
sources {
url: "https://i.imgur.com/FFq3sJ7.png"
}
}
}
style_references {
style_ids: "CardCapImage"
}
}
}
}
cells {
content {
element {
element_list {
contents {
element {
text_element {
parameterized_text {
text: "Seattle"
}
}
style_references {
style_ids: "CardCapTitle"
style_ids: "Roboto"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Upcoming trip"
}
}
style_references {
style_ids: "CardCapSubtitle"
style_ids: "Roboto"
}
}
}
}
}
}
}
}
style_references {
style_ids: "FullWidthWithPadding"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Don\342\200\231t miss this event while you\342\200\231re in Seattle"
}
}
style_references {
style_ids: "FullWidthWithPadding"
style_ids: "Roboto"
style_ids: "Tagline"
}
}
}
contents {
element {
image_element {
image {
sources {
url: "https://i.imgur.com/GV2SM5J.png"
}
}
}
style_references {
style_ids: "FullWidthWithPadding"
}
}
}
contents {
element {
grid_row {
cells {
width {
dp: 56
}
content {
element {
element_list {
contents {
element {
text_element {
parameterized_text {
text: "09"
}
}
style_references {
style_ids: "EventDateDD"
style_ids: "Roboto"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "AUG"
}
}
style_references {
style_ids: "EventDateMM"
style_ids: "Roboto"
}
}
}
}
}
}
}
cells {
content {
element {
element_list {
contents {
element {
text_element {
parameterized_text {
text: "Seafair Weekend Festival"
}
}
style_references {
style_ids: "EventTitle"
style_ids: "Roboto"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Fri, Aug 9 \342\200\224 Sun, Aug 1"
}
}
style_references {
style_ids: "EventMetadata"
style_ids: "Roboto"
}
}
}
contents {
element {
text_element {
parameterized_text {
text: "Parc de Can Zam, Barcelona"
}
}
style_references {
style_ids: "EventMetadata"
style_ids: "Roboto"
}
}
}
}
}
}
}
}
style_references {
style_ids: "FullWidthWithPadding"
style_ids: "EventDetails"
}
}
}
stylesheets {
stylesheets {
styles {
style_id: "FullWidthWithPadding"
padding {
start: 16
end: 16
}
}
styles {
style_id: "CardCapTitle"
font {
size: 16
}
padding {
top: 8
}
}
styles {
style_id: "CardCapSubtitle"
color: 2566914048
font {
size: 14
}
padding {
top: 4
bottom: 8
}
}
styles {
style_id: "CardCapImage"
padding {
top: 12
end: 16
}
width: 32
height: 32
scale_type: CENTER_INSIDE
}
styles {
style_id: "Roboto"
font {
typefaces: "Roboto"
}
}
styles {
style_id: "Tagline"
color: 2566914048
font {
size: 14
}
padding {
top: 8
bottom: 8
}
}
styles {
style_id: "EventDetails"
margins {
top: 16
bottom: 16
}
}
styles {
style_id: "EventDateDD"
color: 2566914048
font {
size: 28
weight: LIGHT
}
}
styles {
style_id: "EventDateMM"
color: 1711276032
font {
size: 12
}
}
styles {
style_id: "EventTitle"
font {
size: 18
}
margins {
bottom: 8
}
padding {
top: 4
}
}
styles {
style_id: "EventMetadata"
color: 2566914048
font {
size: 14
line_height_ratio: 1.4
}
}
}
}
}
}
}
}
}
}
}