Make proto field annotations lint-able.
PiperOrigin-RevId: 336387125 Change-Id: I4972d19337d3558ac8242e2e4cd943c1c46966af
This commit is contained in:
parent
8a35913f70
commit
8afd8532b1
@ -29,6 +29,7 @@ message ToolRequestOptions {
|
|||||||
bool save_to_repo = 3;
|
bool save_to_repo = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Next-ID: 9
|
||||||
message ProfileRequest {
|
message ProfileRequest {
|
||||||
// In future, the caller will be able to customize when profiling starts and
|
// In future, the caller will be able to customize when profiling starts and
|
||||||
// stops. For now, it collects `duration_ms` milliseconds worth of data.
|
// stops. For now, it collects `duration_ms` milliseconds worth of data.
|
||||||
@ -61,7 +62,6 @@ message ProfileRequest {
|
|||||||
// In future, the caller will indicate which TF session is being profiled, and
|
// In future, the caller will indicate which TF session is being profiled, and
|
||||||
// only data relating to that program will be returned. For now, we assume
|
// only data relating to that program will be returned. For now, we assume
|
||||||
// all activity during the profiling period is relevant.
|
// all activity during the profiling period is relevant.
|
||||||
// next-field: 9
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message ProfileToolData {
|
message ProfileToolData {
|
||||||
@ -73,6 +73,7 @@ message ProfileToolData {
|
|||||||
bytes data = 2;
|
bytes data = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Next-ID: 8
|
||||||
message ProfileResponse {
|
message ProfileResponse {
|
||||||
// Data payload for each required tools.
|
// Data payload for each required tools.
|
||||||
repeated ProfileToolData tool_data = 6;
|
repeated ProfileToolData tool_data = 6;
|
||||||
@ -82,7 +83,6 @@ message ProfileResponse {
|
|||||||
bool empty_trace = 7;
|
bool empty_trace = 7;
|
||||||
|
|
||||||
reserved 1, 2, 3, 4, 5;
|
reserved 1, 2, 3, 4, 5;
|
||||||
// next-field: 8
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message TerminateRequest {
|
message TerminateRequest {
|
||||||
@ -92,6 +92,7 @@ message TerminateRequest {
|
|||||||
|
|
||||||
message TerminateResponse {}
|
message TerminateResponse {}
|
||||||
|
|
||||||
|
// Next-ID: 4
|
||||||
message MonitorRequest {
|
message MonitorRequest {
|
||||||
// Duration for which to profile between each update.
|
// Duration for which to profile between each update.
|
||||||
uint64 duration_ms = 1;
|
uint64 duration_ms = 1;
|
||||||
@ -106,10 +107,9 @@ message MonitorRequest {
|
|||||||
int32 monitoring_level = 2;
|
int32 monitoring_level = 2;
|
||||||
// True to display timestamp in monitoring result.
|
// True to display timestamp in monitoring result.
|
||||||
bool timestamp = 3;
|
bool timestamp = 3;
|
||||||
|
|
||||||
// next-field: 4
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Next-ID: 11
|
||||||
message MonitorResponse {
|
message MonitorResponse {
|
||||||
// Properly formatted string data that can be directly returned back to user.
|
// Properly formatted string data that can be directly returned back to user.
|
||||||
string data = 1;
|
string data = 1;
|
||||||
@ -118,6 +118,4 @@ message MonitorResponse {
|
|||||||
ProfilerServiceMonitorResult monitor_result = 10;
|
ProfilerServiceMonitorResult monitor_result = 10;
|
||||||
|
|
||||||
reserved 2, 3, 4, 5, 6, 7, 8, 9;
|
reserved 2, 3, 4, 5, 6, 7, 8, 9;
|
||||||
|
|
||||||
// next-field: 11
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user