Package mdg.engine.proto
Interface Reports.StatsReportOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reports.StatsReport,Reports.StatsReport.Builder
- Enclosing class:
- Reports
public static interface Reports.StatsReportOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOlder agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed).booleancontainsPerQuery(String key) Maps from query descriptor to QueryStats.com.google.protobuf.TimestampEnd of the period of which stats are collected.com.google.protobuf.TimestampOrBuilderEnd of the period of which stats are collected.requiredrequiredDeprecated.intOlder agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed).Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed).getLegacyPerQueryImplicitOperationNameOrDefault(String key, Reports.QueryStats defaultValue) Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed).Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed).These fields are about properties of the engineproxy and are not generated from FullTracesReports.These fields are about properties of the engineproxy and are not generated from FullTracesReports.Deprecated.intMaps from query descriptor to QueryStats.Maps from query descriptor to QueryStats.getPerQueryOrDefault(String key, Reports.QueryStats defaultValue) Maps from query descriptor to QueryStats.getPerQueryOrThrow(String key) Maps from query descriptor to QueryStats.longOnly used to interpret mem_stats and time_stats; not generated from FullTracesReports.com.google.protobuf.TimestampBeginning of the period over which stats are collected.com.google.protobuf.TimestampOrBuilderBeginning of the period over which stats are collected..mdg.engine.proto.TimeStats time_stats = 3;.mdg.engine.proto.TimeStats time_stats = 3;getType(int index) Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine.intDeprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine.Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine.getTypeOrBuilder(int index) Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine.List<? extends Reports.TypeOrBuilder>Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine.booleanEnd of the period of which stats are collected.booleanrequiredbooleanThese fields are about properties of the engineproxy and are not generated from FullTracesReports.booleanBeginning of the period over which stats are collected.boolean.mdg.engine.proto.TimeStats time_stats = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHeader
boolean hasHeader()required
.mdg.engine.proto.ReportHeader header = 1;- Returns:
- Whether the header field is set.
-
getHeader
Reports.ReportHeader getHeader()required
.mdg.engine.proto.ReportHeader header = 1;- Returns:
- The header.
-
getHeaderOrBuilder
Reports.ReportHeaderOrBuilder getHeaderOrBuilder()required
.mdg.engine.proto.ReportHeader header = 1; -
hasMemStats
boolean hasMemStats()These fields are about properties of the engineproxy and are not generated from FullTracesReports.
.mdg.engine.proto.MemStats mem_stats = 2;- Returns:
- Whether the memStats field is set.
-
getMemStats
Reports.MemStats getMemStats()These fields are about properties of the engineproxy and are not generated from FullTracesReports.
.mdg.engine.proto.MemStats mem_stats = 2;- Returns:
- The memStats.
-
getMemStatsOrBuilder
Reports.MemStatsOrBuilder getMemStatsOrBuilder()These fields are about properties of the engineproxy and are not generated from FullTracesReports.
.mdg.engine.proto.MemStats mem_stats = 2; -
hasTimeStats
boolean hasTimeStats().mdg.engine.proto.TimeStats time_stats = 3;- Returns:
- Whether the timeStats field is set.
-
getTimeStats
Reports.TimeStats getTimeStats().mdg.engine.proto.TimeStats time_stats = 3;- Returns:
- The timeStats.
-
getTimeStatsOrBuilder
Reports.TimeStatsOrBuilder getTimeStatsOrBuilder().mdg.engine.proto.TimeStats time_stats = 3; -
hasStartTime
boolean hasStartTime()Beginning of the period over which stats are collected.
.google.protobuf.Timestamp start_time = 8;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Beginning of the period over which stats are collected.
.google.protobuf.Timestamp start_time = 8;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Beginning of the period over which stats are collected.
.google.protobuf.Timestamp start_time = 8; -
hasEndTime
boolean hasEndTime()End of the period of which stats are collected.
.google.protobuf.Timestamp end_time = 9;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()End of the period of which stats are collected.
.google.protobuf.Timestamp end_time = 9;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()End of the period of which stats are collected.
.google.protobuf.Timestamp end_time = 9; -
getRealtimeDuration
long getRealtimeDuration()Only used to interpret mem_stats and time_stats; not generated from FullTracesReports.
uint64 realtime_duration = 10;- Returns:
- The realtimeDuration.
-
getPerQueryCount
int getPerQueryCount()Maps from query descriptor to QueryStats. Required unless legacy_per_query_missing_operation_name is set. The keys are strings of the form `# operationName\nsignature` (literal hash and space), with operationName - if there is no operation name.
map<string, .mdg.engine.proto.QueryStats> per_query = 14; -
containsPerQuery
Maps from query descriptor to QueryStats. Required unless legacy_per_query_missing_operation_name is set. The keys are strings of the form `# operationName\nsignature` (literal hash and space), with operationName - if there is no operation name.
map<string, .mdg.engine.proto.QueryStats> per_query = 14; -
getPerQuery
Deprecated.UsegetPerQueryMap()instead. -
getPerQueryMap
Map<String,Reports.QueryStats> getPerQueryMap()Maps from query descriptor to QueryStats. Required unless legacy_per_query_missing_operation_name is set. The keys are strings of the form `# operationName\nsignature` (literal hash and space), with operationName - if there is no operation name.
map<string, .mdg.engine.proto.QueryStats> per_query = 14; -
getPerQueryOrDefault
Maps from query descriptor to QueryStats. Required unless legacy_per_query_missing_operation_name is set. The keys are strings of the form `# operationName\nsignature` (literal hash and space), with operationName - if there is no operation name.
map<string, .mdg.engine.proto.QueryStats> per_query = 14; -
getPerQueryOrThrow
Maps from query descriptor to QueryStats. Required unless legacy_per_query_missing_operation_name is set. The keys are strings of the form `# operationName\nsignature` (literal hash and space), with operationName - if there is no operation name.
map<string, .mdg.engine.proto.QueryStats> per_query = 14; -
getLegacyPerQueryImplicitOperationNameCount
int getLegacyPerQueryImplicitOperationNameCount()Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed). The key here is just the query signature. Deprecated.
map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; -
containsLegacyPerQueryImplicitOperationName
Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed). The key here is just the query signature. Deprecated.
map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; -
getLegacyPerQueryImplicitOperationName
Deprecated.UsegetLegacyPerQueryImplicitOperationNameMap()instead. -
getLegacyPerQueryImplicitOperationNameMap
Map<String,Reports.QueryStats> getLegacyPerQueryImplicitOperationNameMap()Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed). The key here is just the query signature. Deprecated.
map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; -
getLegacyPerQueryImplicitOperationNameOrDefault
Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrDefault(String key, Reports.QueryStats defaultValue) Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed). The key here is just the query signature. Deprecated.
map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; -
getLegacyPerQueryImplicitOperationNameOrThrow
Older agents (Go engineproxy) didn't explicitly include the operation name in the key of this map, and the server had to parse it out (after a re-signing operation which is no longer performed). The key here is just the query signature. Deprecated.
map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; -
getTypeList
List<Reports.Type> getTypeList()Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine. apollo-engine-reporting will not send it.
repeated .mdg.engine.proto.Type type = 13; -
getType
Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine. apollo-engine-reporting will not send it.
repeated .mdg.engine.proto.Type type = 13; -
getTypeCount
int getTypeCount()Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine. apollo-engine-reporting will not send it.
repeated .mdg.engine.proto.Type type = 13; -
getTypeOrBuilderList
List<? extends Reports.TypeOrBuilder> getTypeOrBuilderList()Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine. apollo-engine-reporting will not send it.
repeated .mdg.engine.proto.Type type = 13; -
getTypeOrBuilder
Deprecated: it was useful in Optics where we had access to the whole schema but has not been ever used in Engine. apollo-engine-reporting will not send it.
repeated .mdg.engine.proto.Type type = 13;
-