| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis_beta.toolresults.v1beta3; | 3 library googleapis_beta.toolresults.v1beta3; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 * Possible string values are: | 1736 * Possible string values are: |
| 1737 * - "cpu" | 1737 * - "cpu" |
| 1738 * - "memory" | 1738 * - "memory" |
| 1739 * - "network" | 1739 * - "network" |
| 1740 * - "perfMetricTypeUnspecified" | 1740 * - "perfMetricTypeUnspecified" |
| 1741 */ | 1741 */ |
| 1742 core.String perfMetricType; | 1742 core.String perfMetricType; |
| 1743 /** | 1743 /** |
| 1744 * | 1744 * |
| 1745 * Possible string values are: | 1745 * Possible string values are: |
| 1746 * - "bytesPerSecond" |
| 1746 * - "kibibyte" | 1747 * - "kibibyte" |
| 1747 * - "percent" | 1748 * - "percent" |
| 1748 * - "perfUnitUnspecified" | 1749 * - "perfUnitUnspecified" |
| 1749 */ | 1750 */ |
| 1750 core.String perfUnit; | 1751 core.String perfUnit; |
| 1751 /** | 1752 /** |
| 1752 * | 1753 * |
| 1753 * Possible string values are: | 1754 * Possible string values are: |
| 1754 * - "cpuKernel" | 1755 * - "cpuKernel" |
| 1755 * - "cpuTotal" | 1756 * - "cpuTotal" |
| 1756 * - "cpuUser" | 1757 * - "cpuUser" |
| 1757 * - "memoryRssPrivate" | 1758 * - "memoryRssPrivate" |
| 1758 * - "memoryRssShared" | 1759 * - "memoryRssShared" |
| 1759 * - "memoryRssTotal" | 1760 * - "memoryRssTotal" |
| 1761 * - "memoryTotal" |
| 1762 * - "networkReceived" |
| 1763 * - "networkSent" |
| 1760 * - "ntBytesReceived" | 1764 * - "ntBytesReceived" |
| 1761 * - "ntBytesTransferred" | 1765 * - "ntBytesTransferred" |
| 1762 * - "sampleSeriesTypeUnspecified" | 1766 * - "sampleSeriesTypeUnspecified" |
| 1763 */ | 1767 */ |
| 1764 core.String sampleSeriesLabel; | 1768 core.String sampleSeriesLabel; |
| 1765 | 1769 |
| 1766 BasicPerfSampleSeries(); | 1770 BasicPerfSampleSeries(); |
| 1767 | 1771 |
| 1768 BasicPerfSampleSeries.fromJson(core.Map _json) { | 1772 BasicPerfSampleSeries.fromJson(core.Map _json) { |
| 1769 if (_json.containsKey("perfMetricType")) { | 1773 if (_json.containsKey("perfMetricType")) { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1927 /** | 1931 /** |
| 1928 * Signed fractions of a second at nanosecond resolution of the span of time. | 1932 * Signed fractions of a second at nanosecond resolution of the span of time. |
| 1929 * Durations less than one second are represented with a 0 `seconds` field and | 1933 * Durations less than one second are represented with a 0 `seconds` field and |
| 1930 * a positive or negative `nanos` field. For durations of one second or more, | 1934 * a positive or negative `nanos` field. For durations of one second or more, |
| 1931 * a non-zero value for the `nanos` field must be of the same sign as the | 1935 * a non-zero value for the `nanos` field must be of the same sign as the |
| 1932 * `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. | 1936 * `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. |
| 1933 */ | 1937 */ |
| 1934 core.int nanos; | 1938 core.int nanos; |
| 1935 /** | 1939 /** |
| 1936 * Signed seconds of the span of time. Must be from -315,576,000,000 to | 1940 * Signed seconds of the span of time. Must be from -315,576,000,000 to |
| 1937 * +315,576,000,000 inclusive. | 1941 * +315,576,000,000 inclusive. Note: these bounds are computed from: 60 |
| 1942 * sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
| 1938 */ | 1943 */ |
| 1939 core.String seconds; | 1944 core.String seconds; |
| 1940 | 1945 |
| 1941 Duration(); | 1946 Duration(); |
| 1942 | 1947 |
| 1943 Duration.fromJson(core.Map _json) { | 1948 Duration.fromJson(core.Map _json) { |
| 1944 if (_json.containsKey("nanos")) { | 1949 if (_json.containsKey("nanos")) { |
| 1945 nanos = _json["nanos"]; | 1950 nanos = _json["nanos"]; |
| 1946 } | 1951 } |
| 1947 if (_json.containsKey("seconds")) { | 1952 if (_json.containsKey("seconds")) { |
| (...skipping 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4087 } | 4092 } |
| 4088 if (output != null) { | 4093 if (output != null) { |
| 4089 _json["output"] = (output).toJson(); | 4094 _json["output"] = (output).toJson(); |
| 4090 } | 4095 } |
| 4091 if (testCase != null) { | 4096 if (testCase != null) { |
| 4092 _json["testCase"] = (testCase).toJson(); | 4097 _json["testCase"] = (testCase).toJson(); |
| 4093 } | 4098 } |
| 4094 return _json; | 4099 return _json; |
| 4095 } | 4100 } |
| 4096 } | 4101 } |
| OLD | NEW |