Commit f7c0a756 authored by Yilong Yao's avatar Yilong Yao Committed by Commit Bot

Export UMA protos with proto_export.py.

Bug: 32486634
Test: CQ
Change-Id: I1418d910625d32ac67d33624c002ca630b1de37d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2048407
Commit-Queue: Yilong Yao <yilongyao@google.com>
Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
Cr-Commit-Position: refs/heads/master@{#740815}
parent 602205da
...@@ -10,6 +10,7 @@ if (is_android) { ...@@ -10,6 +10,7 @@ if (is_android) {
_proto_files = [ _proto_files = [
"call_stack_profile.proto", "call_stack_profile.proto",
"cast_assistant_logs.proto",
"cast_logs.proto", "cast_logs.proto",
"chrome_os_app_list_launch_event.proto", "chrome_os_app_list_launch_event.proto",
"chrome_user_metrics_extension.proto", "chrome_user_metrics_extension.proto",
......
Name: Metrics Protos Name: Metrics Protos
Short Name: metrics_proto Short Name: metrics_proto
URL: This is the canonical public repository URL: This is the canonical public repository
Version: 293720960 Version: 294302021
Date: 2020/02/07 UTC Date: 2020/02/10 UTC
License: BSD License: BSD
Security Critical: Yes Security Critical: Yes
......
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
option java_outer_classname = "CastAssistantLogs";
option java_package = "org.chromium.components.metrics";
package metrics;
// CastAssistant specific device information.
// Next id: 13
message CastAssistantLogsProto {
// A unique id generated by the assistant client (approx. 11 bytes).
// This is used to join the assistant client logs with speech logs.
optional string request_id = 5;
// Base64-encoded assistant server event id.
// This is used to join the assistant client logs with server ones. For the
// time being, this will be logged in addition to the event_id_list. However,
// going forward this will be deprecated. Please see b/77491741.
optional string event_id = 1;
// A server generated key that is the same for all queries in a conversation.
optional string conversation_key = 6 [deprecated = true];
// GAIA ID of signed in user.
// This is used to join the cast_assistant client logs with server ones.
// cast_assistant_product_log_writer will move the contents of this field into
// userinfo.userid and erase the original value.
optional int64 gaia_id = 3;
// Client id tied to device.
optional fixed64 client_id = 4;
// S3 experiment id.
repeated string experiment_id = 8;
// Release track that device uses to get updates. The value is the first 32
// bits of the SHA-1 hash of the string which appears in the device
// configuration service
optional fixed32 virtual_release_track = 9;
// Next id: 7
message CastAssistantEventProto {
// The name of the action, hashed by same logic used to hash user action
// event and histogram.
optional fixed64 name_hash = 1;
// The timestamp for the event, in milliseconds.
optional int64 time_msec = 2;
// Deprecated
optional int64 value = 3 [deprecated = true];
// Optional value associated with the event. For example, may be used for
// error codes.
message Metadata {
optional fixed64 name_hash = 1;
optional int64 value = 2;
}
repeated Metadata metadata = 4;
// Duo core version.
optional fixed64 duo_core_version = 5;
// Model version of hotword detector.
optional string hotword_model_id = 6;
}
repeated CastAssistantEventProto cast_assistant_event = 2;
// An identifier that is specific to the combination of app and device, in
// this case the one used by backdrop. This will also be used for device
// linking to enable cloud casting and other features. This identifier will be
// consistent across sessions unless the device is factory reset, at which
// time a new identifier will be generated. This identifier is a printable
// ASCII string of not more than 64 characters (no spaces).
optional string backdrop_app_device_id = 10;
// List of event ids belonging to a particular interaction. One interaction
// could receive multiple assistant outputs, hence multiple event ids. Client
// should send this list for logging. Please see b/77491741 and
// go/concurrent_event_ids for details.
repeated string event_id_list = 12;
}
...@@ -12,6 +12,7 @@ option java_package = "org.chromium.components.metrics"; ...@@ -12,6 +12,7 @@ option java_package = "org.chromium.components.metrics";
package metrics; package metrics;
import "cast_logs.proto"; import "cast_logs.proto";
import "cast_assistant_logs.proto";
import "chrome_os_app_list_launch_event.proto"; import "chrome_os_app_list_launch_event.proto";
import "histogram_event.proto"; import "histogram_event.proto";
import "memory_leak_report.proto"; import "memory_leak_report.proto";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment