1"""Generated message classes for toolresults version v1beta3. 2 3API to publish and access results from developer tools. 4""" 5# NOTE: This file is autogenerated and should not be edited by hand. 6 7from __future__ import absolute_import 8 9from apitools.base.protorpclite import messages as _messages 10from apitools.base.py import encoding 11from apitools.base.py import extra_types 12 13 14package = 'toolresults' 15 16 17class ANR(_messages.Message): 18 r"""Additional details for an ANR crash. 19 20 Fields: 21 stackTrace: The stack trace of the ANR crash. Optional. 22 """ 23 24 stackTrace = _messages.MessageField('StackTrace', 1) 25 26 27class AndroidAppInfo(_messages.Message): 28 r"""Android app information. 29 30 Fields: 31 name: The name of the app. Optional 32 packageName: The package name of the app. Required. 33 versionCode: The internal version code of the app. Optional. 34 versionName: The version name of the app. Optional. 35 """ 36 37 name = _messages.StringField(1) 38 packageName = _messages.StringField(2) 39 versionCode = _messages.StringField(3) 40 versionName = _messages.StringField(4) 41 42 43class AndroidInstrumentationTest(_messages.Message): 44 r"""A test of an Android application that can control an Android component 45 independently of its normal lifecycle. See for more information on types of 46 Android tests. 47 48 Fields: 49 testPackageId: The java package for the test to be executed. Required 50 testRunnerClass: The InstrumentationTestRunner class. Required 51 testTargets: Each target must be fully qualified with the package name or 52 class name, in one of these formats: - "package package_name" - "class 53 package_name.class_name" - "class package_name.class_name#method_name" 54 If empty, all targets in the module will be run. 55 useOrchestrator: The flag indicates whether Android Test Orchestrator will 56 be used to run test or not. 57 """ 58 59 testPackageId = _messages.StringField(1) 60 testRunnerClass = _messages.StringField(2) 61 testTargets = _messages.StringField(3, repeated=True) 62 useOrchestrator = _messages.BooleanField(4) 63 64 65class AndroidRoboTest(_messages.Message): 66 r"""A test of an android application that explores the application on a 67 virtual or physical Android device, finding culprits and crashes as it goes. 68 69 Fields: 70 appInitialActivity: The initial activity that should be used to start the 71 app. Optional 72 bootstrapPackageId: The java package for the bootstrap. Optional 73 bootstrapRunnerClass: The runner class for the bootstrap. Optional 74 maxDepth: The max depth of the traversal stack Robo can explore. Optional 75 maxSteps: The max number of steps/actions Robo can execute. Default is no 76 limit (0). Optional 77 """ 78 79 appInitialActivity = _messages.StringField(1) 80 bootstrapPackageId = _messages.StringField(2) 81 bootstrapRunnerClass = _messages.StringField(3) 82 maxDepth = _messages.IntegerField(4, variant=_messages.Variant.INT32) 83 maxSteps = _messages.IntegerField(5, variant=_messages.Variant.INT32) 84 85 86class AndroidTest(_messages.Message): 87 r"""An Android mobile test specification. 88 89 Fields: 90 androidAppInfo: Information about the application under test. 91 androidInstrumentationTest: An Android instrumentation test. 92 androidRoboTest: An Android robo test. 93 androidTestLoop: An Android test loop. 94 testTimeout: Max time a test is allowed to run before it is automatically 95 cancelled. 96 """ 97 98 androidAppInfo = _messages.MessageField('AndroidAppInfo', 1) 99 androidInstrumentationTest = _messages.MessageField('AndroidInstrumentationTest', 2) 100 androidRoboTest = _messages.MessageField('AndroidRoboTest', 3) 101 androidTestLoop = _messages.MessageField('AndroidTestLoop', 4) 102 testTimeout = _messages.MessageField('Duration', 5) 103 104 105class AndroidTestLoop(_messages.Message): 106 r"""Test Loops are tests that can be launched by the app itself, determining 107 when to run by listening for an intent. 108 """ 109 110 111 112class Any(_messages.Message): 113 r""" `Any` contains an arbitrary serialized protocol buffer message along 114 with a URL that describes the type of the serialized message. Protobuf 115 library provides support to pack/unpack Any values in the form of utility 116 functions or additional generated methods of the Any type. Example 1: Pack 117 and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... 118 if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in 119 Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { 120 foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in 121 Python. foo = Foo(...) any = Any() any.Pack(foo) ... if 122 any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a 123 message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo 124 := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The 125 pack methods provided by protobuf library will by default use 126 'type.googleapis.com/full.type.name' as the type URL and the unpack methods 127 only use the fully qualified type name after the last '/' in the type URL, 128 for example "foo.bar.com/x/y.z" will yield type name "y.z". # JSON The JSON 129 representation of an `Any` value uses the regular representation of the 130 deserialized, embedded message, with an additional field `@type` which 131 contains the type URL. Example: package google.profile; message Person { 132 string first_name = 1; string last_name = 2; } { "@type": 133 "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If 134 the embedded message type is well-known and has a custom JSON 135 representation, that representation will be embedded adding a field `value` 136 which holds the custom JSON in addition to the `@type` field. Example (for 137 message google.protobuf.Duration): { "@type": 138 "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } 139 140 Fields: 141 typeUrl: A URL/resource name that uniquely identifies the type of the 142 serialized protocol buffer message. This string must contain at least 143 one "/" character. The last segment of the URL's path must represent the 144 fully qualified name of the type (as in 145 `path/google.protobuf.Duration`). The name should be in a canonical form 146 (e.g., leading "." is not accepted). In practice, teams usually 147 precompile into the binary all types that they expect it to use in the 148 context of Any. However, for URLs which use the scheme `http`, `https`, 149 or no scheme, one can optionally set up a type server that maps type 150 URLs to message definitions as follows: * If no scheme is provided, 151 `https` is assumed. * An HTTP GET on the URL must yield a 152 google.protobuf.Type value in binary format, or produce an error. * 153 Applications are allowed to cache lookup results based on the URL, or 154 have them precompiled into a binary to avoid any lookup. Therefore, 155 binary compatibility needs to be preserved on changes to types. (Use 156 versioned type names to manage breaking changes.) Note: this 157 functionality is not currently available in the official protobuf 158 release, and it is not used for type URLs beginning with 159 type.googleapis.com. Schemes other than `http`, `https` (or the empty 160 scheme) might be used with implementation specific semantics. 161 value: Must be a valid serialized protocol buffer of the above specified 162 type. 163 """ 164 165 typeUrl = _messages.StringField(1) 166 value = _messages.BytesField(2) 167 168 169class AppStartTime(_messages.Message): 170 r"""A AppStartTime object. 171 172 Fields: 173 fullyDrawnTime: Optional. The time from app start to reaching the 174 developer-reported "fully drawn" time. This is only stored if the app 175 includes a call to Activity.reportFullyDrawn(). See 176 https://developer.android.com/topic/performance/launch-time.html#time- 177 full 178 initialDisplayTime: The time from app start to the first displayed 179 activity being drawn, as reported in Logcat. See 180 https://developer.android.com/topic/performance/launch-time.html#time- 181 initial 182 """ 183 184 fullyDrawnTime = _messages.MessageField('Duration', 1) 185 initialDisplayTime = _messages.MessageField('Duration', 2) 186 187 188class AvailableDeepLinks(_messages.Message): 189 r"""A suggestion to use deep links for a Robo run.""" 190 191 192class BasicPerfSampleSeries(_messages.Message): 193 r"""Encapsulates the metadata for basic sample series represented by a line 194 chart 195 196 Enums: 197 PerfMetricTypeValueValuesEnum: 198 PerfUnitValueValuesEnum: 199 SampleSeriesLabelValueValuesEnum: 200 201 Fields: 202 perfMetricType: A PerfMetricTypeValueValuesEnum attribute. 203 perfUnit: A PerfUnitValueValuesEnum attribute. 204 sampleSeriesLabel: A SampleSeriesLabelValueValuesEnum attribute. 205 """ 206 207 class PerfMetricTypeValueValuesEnum(_messages.Enum): 208 r"""PerfMetricTypeValueValuesEnum enum type. 209 210 Values: 211 perfMetricTypeUnspecified: <no description> 212 memory: <no description> 213 cpu: <no description> 214 network: <no description> 215 graphics: <no description> 216 """ 217 perfMetricTypeUnspecified = 0 218 memory = 1 219 cpu = 2 220 network = 3 221 graphics = 4 222 223 class PerfUnitValueValuesEnum(_messages.Enum): 224 r"""PerfUnitValueValuesEnum enum type. 225 226 Values: 227 perfUnitUnspecified: <no description> 228 kibibyte: <no description> 229 percent: <no description> 230 bytesPerSecond: <no description> 231 framesPerSecond: <no description> 232 byte: <no description> 233 """ 234 perfUnitUnspecified = 0 235 kibibyte = 1 236 percent = 2 237 bytesPerSecond = 3 238 framesPerSecond = 4 239 byte = 5 240 241 class SampleSeriesLabelValueValuesEnum(_messages.Enum): 242 r"""SampleSeriesLabelValueValuesEnum enum type. 243 244 Values: 245 sampleSeriesTypeUnspecified: <no description> 246 memoryRssPrivate: Memory sample series 247 memoryRssShared: <no description> 248 memoryRssTotal: <no description> 249 memoryTotal: <no description> 250 cpuUser: CPU sample series 251 cpuKernel: <no description> 252 cpuTotal: <no description> 253 ntBytesTransferred: Network sample series 254 ntBytesReceived: <no description> 255 networkSent: <no description> 256 networkReceived: <no description> 257 graphicsFrameRate: Graphics sample series 258 """ 259 sampleSeriesTypeUnspecified = 0 260 memoryRssPrivate = 1 261 memoryRssShared = 2 262 memoryRssTotal = 3 263 memoryTotal = 4 264 cpuUser = 5 265 cpuKernel = 6 266 cpuTotal = 7 267 ntBytesTransferred = 8 268 ntBytesReceived = 9 269 networkSent = 10 270 networkReceived = 11 271 graphicsFrameRate = 12 272 273 perfMetricType = _messages.EnumField('PerfMetricTypeValueValuesEnum', 1) 274 perfUnit = _messages.EnumField('PerfUnitValueValuesEnum', 2) 275 sampleSeriesLabel = _messages.EnumField('SampleSeriesLabelValueValuesEnum', 3) 276 277 278class BatchCreatePerfSamplesRequest(_messages.Message): 279 r"""The request must provide up to a maximum of 5000 samples to be created; 280 a larger sample size will cause an INVALID_ARGUMENT error 281 282 Fields: 283 perfSamples: The set of PerfSamples to create should not include existing 284 timestamps 285 """ 286 287 perfSamples = _messages.MessageField('PerfSample', 1, repeated=True) 288 289 290class BatchCreatePerfSamplesResponse(_messages.Message): 291 r"""A BatchCreatePerfSamplesResponse object. 292 293 Fields: 294 perfSamples: A PerfSample attribute. 295 """ 296 297 perfSamples = _messages.MessageField('PerfSample', 1, repeated=True) 298 299 300class BlankScreen(_messages.Message): 301 r"""A warning that Robo encountered a screen that was mostly blank; this may 302 indicate a problem with the app. 303 304 Fields: 305 screenId: The screen id of the element 306 """ 307 308 screenId = _messages.StringField(1) 309 310 311class CPUInfo(_messages.Message): 312 r"""A CPUInfo object. 313 314 Fields: 315 cpuProcessor: description of the device processor ie '1.8 GHz hexa core 316 64-bit ARMv8-A' 317 cpuSpeedInGhz: the CPU clock speed in GHz 318 numberOfCores: the number of CPU cores 319 """ 320 321 cpuProcessor = _messages.StringField(1) 322 cpuSpeedInGhz = _messages.FloatField(2, variant=_messages.Variant.FLOAT) 323 numberOfCores = _messages.IntegerField(3, variant=_messages.Variant.INT32) 324 325 326class CrashDialogError(_messages.Message): 327 r"""Crash dialog was detected during the test execution 328 329 Fields: 330 crashPackage: The name of the package that caused the dialog. 331 """ 332 333 crashPackage = _messages.StringField(1) 334 335 336class DeviceOutOfMemory(_messages.Message): 337 r"""A warning that device ran out of memory""" 338 339 340class Duration(_messages.Message): 341 r""" A Duration represents a signed, fixed-length span of time represented 342 as a count of seconds and fractions of seconds at nanosecond resolution. It 343 is independent of any calendar and concepts like "day" or "month". It is 344 related to Timestamp in that the difference between two Timestamp values is 345 a Duration and it can be added or subtracted from a Timestamp. Range is 346 approximately +-10,000 years. 347 348 Fields: 349 nanos: Signed fractions of a second at nanosecond resolution of the span 350 of time. Durations less than one second are represented with a 0 351 `seconds` field and a positive or negative `nanos` field. For durations 352 of one second or more, a non-zero value for the `nanos` field must be of 353 the same sign as the `seconds` field. Must be from -999,999,999 to 354 +999,999,999 inclusive. 355 seconds: Signed seconds of the span of time. Must be from -315,576,000,000 356 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 357 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 358 """ 359 360 nanos = _messages.IntegerField(1, variant=_messages.Variant.INT32) 361 seconds = _messages.IntegerField(2) 362 363 364class EncounteredLoginScreen(_messages.Message): 365 r"""Additional details about encountered login screens. 366 367 Fields: 368 distinctScreens: Number of encountered distinct login screens. 369 screenIds: Subset of login screens. 370 """ 371 372 distinctScreens = _messages.IntegerField(1, variant=_messages.Variant.INT32) 373 screenIds = _messages.StringField(2, repeated=True) 374 375 376class EncounteredNonAndroidUiWidgetScreen(_messages.Message): 377 r"""Additional details about encountered screens with elements that are not 378 Android UI widgets. 379 380 Fields: 381 distinctScreens: Number of encountered distinct screens with non Android 382 UI widgets. 383 screenIds: Subset of screens which contain non Android UI widgets. 384 """ 385 386 distinctScreens = _messages.IntegerField(1, variant=_messages.Variant.INT32) 387 screenIds = _messages.StringField(2, repeated=True) 388 389 390class Environment(_messages.Message): 391 r"""An Environment represents the set of test runs (Steps) from the parent 392 Execution that are configured with the same set of dimensions (Model, 393 Version, Locale, and Orientation). Multiple such runs occur particularly 394 because of features like sharding (splitting up a test suite to run in 395 parallel across devices) and reruns (running a test multiple times to check 396 for different outcomes). 397 398 Fields: 399 completionTime: Output only. The time when the Environment status was set 400 to complete. This value will be set automatically when state transitions 401 to COMPLETE. 402 creationTime: Output only. The time when the Environment was created. 403 dimensionValue: Dimension values describing the environment. Dimension 404 values always consist of "Model", "Version", "Locale", and 405 "Orientation". - In response: always set - In create request: always set 406 - In update request: never set 407 displayName: A short human-readable name to display in the UI. Maximum of 408 100 characters. For example: Nexus 5, API 27. 409 environmentId: Output only. An Environment id. 410 environmentResult: Merged result of the environment. 411 executionId: Output only. An Execution id. 412 historyId: Output only. A History id. 413 projectId: Output only. A Project id. 414 resultsStorage: The location where output files are stored in the user 415 bucket. 416 shardSummaries: Output only. Summaries of shards. Only one shard will 417 present unless sharding feature is enabled in TestExecutionService. 418 """ 419 420 completionTime = _messages.MessageField('Timestamp', 1) 421 creationTime = _messages.MessageField('Timestamp', 2) 422 dimensionValue = _messages.MessageField('EnvironmentDimensionValueEntry', 3, repeated=True) 423 displayName = _messages.StringField(4) 424 environmentId = _messages.StringField(5) 425 environmentResult = _messages.MessageField('MergedResult', 6) 426 executionId = _messages.StringField(7) 427 historyId = _messages.StringField(8) 428 projectId = _messages.StringField(9) 429 resultsStorage = _messages.MessageField('ResultsStorage', 10) 430 shardSummaries = _messages.MessageField('ShardSummary', 11, repeated=True) 431 432 433class EnvironmentDimensionValueEntry(_messages.Message): 434 r"""A EnvironmentDimensionValueEntry object. 435 436 Fields: 437 key: A string attribute. 438 value: A string attribute. 439 """ 440 441 key = _messages.StringField(1) 442 value = _messages.StringField(2) 443 444 445class Execution(_messages.Message): 446 r"""An Execution represents a collection of Steps. For instance, it could 447 represent: - a mobile test executed across a range of device configurations 448 - a jenkins job with a build step followed by a test step The maximum size 449 of an execution message is 1 MiB. An Execution can be updated until its 450 state is set to COMPLETE at which point it becomes immutable. 451 452 Enums: 453 StateValueValuesEnum: The initial state is IN_PROGRESS. The only legal 454 state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED 455 will be returned if an invalid transition is requested. The state can 456 only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if 457 the state is set to COMPLETE multiple times. If the state is set to 458 COMPLETE, all the in-progress steps within the execution will be set as 459 COMPLETE. If the outcome of the step is not set, the outcome will be set 460 to INCONCLUSIVE. - In response always set - In create/update request: 461 optional 462 463 Fields: 464 completionTime: The time when the Execution status transitioned to 465 COMPLETE. This value will be set automatically when state transitions to 466 COMPLETE. - In response: set if the execution state is COMPLETE. - In 467 create/update request: never set 468 creationTime: The time when the Execution was created. This value will be 469 set automatically when CreateExecution is called. - In response: always 470 set - In create/update request: never set 471 dimensionDefinitions: The dimensions along which different steps in this 472 execution may vary. This must remain fixed over the life of the 473 execution. Returns INVALID_ARGUMENT if this field is set in an update 474 request. Returns INVALID_ARGUMENT if the same name occurs in more than 475 one dimension_definition. Returns INVALID_ARGUMENT if the size of the 476 list is over 100. - In response: present if set by create - In create 477 request: optional - In update request: never set 478 executionId: A unique identifier within a History for this Execution. 479 Returns INVALID_ARGUMENT if this field is set or overwritten by the 480 caller. - In response always set - In create/update request: never set 481 outcome: Classify the result, for example into SUCCESS or FAILURE - In 482 response: present if set by create/update request - In create/update 483 request: optional 484 specification: Lightweight information about execution request. - In 485 response: present if set by create - In create: optional - In update: 486 optional 487 state: The initial state is IN_PROGRESS. The only legal state transitions 488 is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned 489 if an invalid transition is requested. The state can only be set to 490 COMPLETE once. A FAILED_PRECONDITION will be returned if the state is 491 set to COMPLETE multiple times. If the state is set to COMPLETE, all the 492 in-progress steps within the execution will be set as COMPLETE. If the 493 outcome of the step is not set, the outcome will be set to INCONCLUSIVE. 494 - In response always set - In create/update request: optional 495 testExecutionMatrixId: TestExecution Matrix ID that the 496 TestExecutionService uses. - In response: present if set by create - In 497 create: optional - In update: never set 498 """ 499 500 class StateValueValuesEnum(_messages.Enum): 501 r"""The initial state is IN_PROGRESS. The only legal state transitions is 502 from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an 503 invalid transition is requested. The state can only be set to COMPLETE 504 once. A FAILED_PRECONDITION will be returned if the state is set to 505 COMPLETE multiple times. If the state is set to COMPLETE, all the in- 506 progress steps within the execution will be set as COMPLETE. If the 507 outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - 508 In response always set - In create/update request: optional 509 510 Values: 511 unknownState: Should never be in this state. Exists for proto 512 deserialization backward compatibility. 513 pending: The Execution/Step is created, ready to run, but not running 514 yet. If an Execution/Step is created without initial state, it is 515 assumed that the Execution/Step is in PENDING state. 516 inProgress: The Execution/Step is in progress. 517 complete: The finalized, immutable state. Steps/Executions in this state 518 cannot be modified. 519 """ 520 unknownState = 0 521 pending = 1 522 inProgress = 2 523 complete = 3 524 525 completionTime = _messages.MessageField('Timestamp', 1) 526 creationTime = _messages.MessageField('Timestamp', 2) 527 dimensionDefinitions = _messages.MessageField('MatrixDimensionDefinition', 3, repeated=True) 528 executionId = _messages.StringField(4) 529 outcome = _messages.MessageField('Outcome', 5) 530 specification = _messages.MessageField('Specification', 6) 531 state = _messages.EnumField('StateValueValuesEnum', 7) 532 testExecutionMatrixId = _messages.StringField(8) 533 534 535class FailedToInstall(_messages.Message): 536 r"""Failed to install the APK.""" 537 538 539class FailureDetail(_messages.Message): 540 r"""Details for an outcome with a FAILURE outcome summary. 541 542 Fields: 543 crashed: If the failure was severe because the system (app) under test 544 crashed. 545 deviceOutOfMemory: If the device ran out of memory during a test, causing 546 the test to crash. 547 failedRoboscript: If the Roboscript failed to complete successfully, e.g., 548 because a Roboscript action or assertion failed or a Roboscript action 549 could not be matched during the entire crawl. 550 notInstalled: If an app is not installed and thus no test can be run with 551 the app. This might be caused by trying to run a test on an unsupported 552 platform. 553 otherNativeCrash: If a native process (including any other than the app) 554 crashed. 555 timedOut: If the test overran some time limit, and that is why it failed. 556 unableToCrawl: If the robo was unable to crawl the app; perhaps because 557 the app did not start. 558 """ 559 560 crashed = _messages.BooleanField(1) 561 deviceOutOfMemory = _messages.BooleanField(2) 562 failedRoboscript = _messages.BooleanField(3) 563 notInstalled = _messages.BooleanField(4) 564 otherNativeCrash = _messages.BooleanField(5) 565 timedOut = _messages.BooleanField(6) 566 unableToCrawl = _messages.BooleanField(7) 567 568 569class FatalException(_messages.Message): 570 r"""Additional details for a fatal exception. 571 572 Fields: 573 stackTrace: The stack trace of the fatal exception. Optional. 574 """ 575 576 stackTrace = _messages.MessageField('StackTrace', 1) 577 578 579class FileReference(_messages.Message): 580 r"""A reference to a file. 581 582 Fields: 583 fileUri: The URI of a file stored in Google Cloud Storage. For example: 584 http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil 585 format: gs://mybucket/path/to/test.xml with version-specific info, 586 gs://mybucket/path/to/test.xml#1360383693690000 An INVALID_ARGUMENT 587 error will be returned if the URI format is not supported. - In 588 response: always set - In create/update request: always set 589 """ 590 591 fileUri = _messages.StringField(1) 592 593 594class GraphicsStats(_messages.Message): 595 r"""Graphics statistics for the App. The information is collected from 'adb 596 shell dumpsys graphicsstats'. For more info see: 597 https://developer.android.com/training/testing/performance.html Statistics 598 will only be present for API 23+. 599 600 Fields: 601 buckets: Histogram of frame render times. There should be 154 buckets 602 ranging from [5ms, 6ms) to [4950ms, infinity) 603 highInputLatencyCount: Total "high input latency" events. 604 jankyFrames: Total frames with slow render time. Should be <= 605 total_frames. 606 missedVsyncCount: Total "missed vsync" events. 607 p50Millis: 50th percentile frame render time in milliseconds. 608 p90Millis: 90th percentile frame render time in milliseconds. 609 p95Millis: 95th percentile frame render time in milliseconds. 610 p99Millis: 99th percentile frame render time in milliseconds. 611 slowBitmapUploadCount: Total "slow bitmap upload" events. 612 slowDrawCount: Total "slow draw" events. 613 slowUiThreadCount: Total "slow UI thread" events. 614 totalFrames: Total frames rendered by package. 615 """ 616 617 buckets = _messages.MessageField('GraphicsStatsBucket', 1, repeated=True) 618 highInputLatencyCount = _messages.IntegerField(2) 619 jankyFrames = _messages.IntegerField(3) 620 missedVsyncCount = _messages.IntegerField(4) 621 p50Millis = _messages.IntegerField(5) 622 p90Millis = _messages.IntegerField(6) 623 p95Millis = _messages.IntegerField(7) 624 p99Millis = _messages.IntegerField(8) 625 slowBitmapUploadCount = _messages.IntegerField(9) 626 slowDrawCount = _messages.IntegerField(10) 627 slowUiThreadCount = _messages.IntegerField(11) 628 totalFrames = _messages.IntegerField(12) 629 630 631class GraphicsStatsBucket(_messages.Message): 632 r"""A GraphicsStatsBucket object. 633 634 Fields: 635 frameCount: Number of frames in the bucket. 636 renderMillis: Lower bound of render time in milliseconds. 637 """ 638 639 frameCount = _messages.IntegerField(1) 640 renderMillis = _messages.IntegerField(2) 641 642 643class History(_messages.Message): 644 r"""A History represents a sorted list of Executions ordered by the 645 start_timestamp_millis field (descending). It can be used to group all the 646 Executions of a continuous build. Note that the ordering only operates on 647 one-dimension. If a repository has multiple branches, it means that multiple 648 histories will need to be used in order to order Executions per branch. 649 650 Enums: 651 TestPlatformValueValuesEnum: The platform of the test history. - In 652 response: always set. Returns the platform of the last execution if 653 unknown. 654 655 Fields: 656 displayName: A short human-readable (plain text) name to display in the 657 UI. Maximum of 100 characters. - In response: present if set during 658 create. - In create request: optional 659 historyId: A unique identifier within a project for this History. Returns 660 INVALID_ARGUMENT if this field is set or overwritten by the caller. - In 661 response always set - In create request: never set 662 name: A name to uniquely identify a history within a project. Maximum of 663 200 characters. - In response always set - In create request: always set 664 testPlatform: The platform of the test history. - In response: always set. 665 Returns the platform of the last execution if unknown. 666 """ 667 668 class TestPlatformValueValuesEnum(_messages.Enum): 669 r"""The platform of the test history. - In response: always set. Returns 670 the platform of the last execution if unknown. 671 672 Values: 673 unknownPlatform: <no description> 674 android: <no description> 675 ios: <no description> 676 """ 677 unknownPlatform = 0 678 android = 1 679 ios = 2 680 681 displayName = _messages.StringField(1) 682 historyId = _messages.StringField(2) 683 name = _messages.StringField(3) 684 testPlatform = _messages.EnumField('TestPlatformValueValuesEnum', 4) 685 686 687class Image(_messages.Message): 688 r"""An image, with a link to the main image and a thumbnail. 689 690 Fields: 691 error: An error explaining why the thumbnail could not be rendered. 692 sourceImage: A reference to the full-size, original image. This is the 693 same as the tool_outputs entry for the image under its Step. Always set. 694 stepId: The step to which the image is attached. Always set. 695 thumbnail: The thumbnail. 696 """ 697 698 error = _messages.MessageField('Status', 1) 699 sourceImage = _messages.MessageField('ToolOutputReference', 2) 700 stepId = _messages.StringField(3) 701 thumbnail = _messages.MessageField('Thumbnail', 4) 702 703 704class InAppPurchasesFound(_messages.Message): 705 r"""Additional details of in-app purchases encountered during the crawl. 706 707 Fields: 708 inAppPurchasesFlowsExplored: The total number of in-app purchases flows 709 explored: how many times the robo tries to buy a SKU. 710 inAppPurchasesFlowsStarted: The total number of in-app purchases flows 711 started. 712 """ 713 714 inAppPurchasesFlowsExplored = _messages.IntegerField(1, variant=_messages.Variant.INT32) 715 inAppPurchasesFlowsStarted = _messages.IntegerField(2, variant=_messages.Variant.INT32) 716 717 718class InconclusiveDetail(_messages.Message): 719 r"""Details for an outcome with an INCONCLUSIVE outcome summary. 720 721 Fields: 722 abortedByUser: If the end user aborted the test execution before a pass or 723 fail could be determined. For example, the user pressed ctrl-c which 724 sent a kill signal to the test runner while the test was running. 725 hasErrorLogs: If results are being provided to the user in certain cases 726 of infrastructure failures 727 infrastructureFailure: If the test runner could not determine success or 728 failure because the test depends on a component other than the system 729 under test which failed. For example, a mobile test requires 730 provisioning a device where the test executes, and that provisioning can 731 fail. 732 """ 733 734 abortedByUser = _messages.BooleanField(1) 735 hasErrorLogs = _messages.BooleanField(2) 736 infrastructureFailure = _messages.BooleanField(3) 737 738 739class IndividualOutcome(_messages.Message): 740 r"""Step Id and outcome of each individual step that was run as a group with 741 other steps with the same configuration. 742 743 Enums: 744 OutcomeSummaryValueValuesEnum: 745 746 Fields: 747 multistepNumber: Unique int given to each step. Ranges from 0(inclusive) 748 to total number of steps(exclusive). The primary step is 0. 749 outcomeSummary: A OutcomeSummaryValueValuesEnum attribute. 750 runDuration: How long it took for this step to run. 751 stepId: A string attribute. 752 """ 753 754 class OutcomeSummaryValueValuesEnum(_messages.Enum): 755 r"""OutcomeSummaryValueValuesEnum enum type. 756 757 Values: 758 unset: Do not use. For proto versioning only. 759 success: The test matrix run was successful, for instance: - All the 760 test cases passed. - Robo did not detect a crash of the application 761 under test. 762 failure: A run failed, for instance: - One or more test case failed. - A 763 test timed out. - The application under test crashed. 764 inconclusive: Something unexpected happened. The run should still be 765 considered unsuccessful but this is likely a transient problem and re- 766 running the test might be successful. 767 skipped: All tests were skipped, for instance: - All device 768 configurations were incompatible. 769 flaky: A group of steps that were run with the same configuration had 770 both failure and success outcomes. 771 """ 772 unset = 0 773 success = 1 774 failure = 2 775 inconclusive = 3 776 skipped = 4 777 flaky = 5 778 779 multistepNumber = _messages.IntegerField(1, variant=_messages.Variant.INT32) 780 outcomeSummary = _messages.EnumField('OutcomeSummaryValueValuesEnum', 2) 781 runDuration = _messages.MessageField('Duration', 3) 782 stepId = _messages.StringField(4) 783 784 785class InsufficientCoverage(_messages.Message): 786 r"""A warning that Robo did not crawl potentially important parts of the 787 app. 788 """ 789 790 791 792class IosAppCrashed(_messages.Message): 793 r"""Additional details for an iOS app crash. 794 795 Fields: 796 stackTrace: The stack trace, if one is available. Optional. 797 """ 798 799 stackTrace = _messages.MessageField('StackTrace', 1) 800 801 802class IosAppInfo(_messages.Message): 803 r"""iOS app information 804 805 Fields: 806 name: The name of the app. Required 807 """ 808 809 name = _messages.StringField(1) 810 811 812class IosRoboTest(_messages.Message): 813 r"""A Robo test for an iOS application.""" 814 815 816class IosTest(_messages.Message): 817 r"""A iOS mobile test specification 818 819 Fields: 820 iosAppInfo: Information about the application under test. 821 iosRoboTest: An iOS Robo test. 822 iosTestLoop: An iOS test loop. 823 iosXcTest: An iOS XCTest. 824 testTimeout: Max time a test is allowed to run before it is automatically 825 cancelled. 826 """ 827 828 iosAppInfo = _messages.MessageField('IosAppInfo', 1) 829 iosRoboTest = _messages.MessageField('IosRoboTest', 2) 830 iosTestLoop = _messages.MessageField('IosTestLoop', 3) 831 iosXcTest = _messages.MessageField('IosXcTest', 4) 832 testTimeout = _messages.MessageField('Duration', 5) 833 834 835class IosTestLoop(_messages.Message): 836 r"""A game loop test of an iOS application. 837 838 Fields: 839 bundleId: Bundle ID of the app. 840 """ 841 842 bundleId = _messages.StringField(1) 843 844 845class IosXcTest(_messages.Message): 846 r"""A test of an iOS application that uses the XCTest framework. 847 848 Fields: 849 bundleId: Bundle ID of the app. 850 xcodeVersion: Xcode version that the test was run with. 851 """ 852 853 bundleId = _messages.StringField(1) 854 xcodeVersion = _messages.StringField(2) 855 856 857class LauncherActivityNotFound(_messages.Message): 858 r"""Failed to find the launcher activity of an app.""" 859 860 861class ListEnvironmentsResponse(_messages.Message): 862 r"""Response message for EnvironmentService.ListEnvironments. 863 864 Fields: 865 environments: Environments. Always set. 866 executionId: A Execution id Always set. 867 historyId: A History id. Always set. 868 nextPageToken: A continuation token to resume the query at the next item. 869 Will only be set if there are more Environments to fetch. 870 projectId: A Project id. Always set. 871 """ 872 873 environments = _messages.MessageField('Environment', 1, repeated=True) 874 executionId = _messages.StringField(2) 875 historyId = _messages.StringField(3) 876 nextPageToken = _messages.StringField(4) 877 projectId = _messages.StringField(5) 878 879 880class ListExecutionsResponse(_messages.Message): 881 r"""A ListExecutionsResponse object. 882 883 Fields: 884 executions: Executions. Always set. 885 nextPageToken: A continuation token to resume the query at the next item. 886 Will only be set if there are more Executions to fetch. 887 """ 888 889 executions = _messages.MessageField('Execution', 1, repeated=True) 890 nextPageToken = _messages.StringField(2) 891 892 893class ListHistoriesResponse(_messages.Message): 894 r"""Response message for HistoryService.List 895 896 Fields: 897 histories: Histories. 898 nextPageToken: A continuation token to resume the query at the next item. 899 Will only be set if there are more histories to fetch. Tokens are valid 900 for up to one hour from the time of the first list request. For 901 instance, if you make a list request at 1PM and use the token from this 902 first request 10 minutes later, the token from this second response will 903 only be valid for 50 minutes. 904 """ 905 906 histories = _messages.MessageField('History', 1, repeated=True) 907 nextPageToken = _messages.StringField(2) 908 909 910class ListPerfSampleSeriesResponse(_messages.Message): 911 r"""A ListPerfSampleSeriesResponse object. 912 913 Fields: 914 perfSampleSeries: The resulting PerfSampleSeries sorted by id 915 """ 916 917 perfSampleSeries = _messages.MessageField('PerfSampleSeries', 1, repeated=True) 918 919 920class ListPerfSamplesResponse(_messages.Message): 921 r"""A ListPerfSamplesResponse object. 922 923 Fields: 924 nextPageToken: Optional, returned if result size exceeds the page size 925 specified in the request (or the default page size, 500, if 926 unspecified). It indicates the last sample timestamp to be used as 927 page_token in subsequent request 928 perfSamples: A PerfSample attribute. 929 """ 930 931 nextPageToken = _messages.StringField(1) 932 perfSamples = _messages.MessageField('PerfSample', 2, repeated=True) 933 934 935class ListScreenshotClustersResponse(_messages.Message): 936 r"""A ListScreenshotClustersResponse object. 937 938 Fields: 939 clusters: The set of clusters associated with an execution Always set 940 """ 941 942 clusters = _messages.MessageField('ScreenshotCluster', 1, repeated=True) 943 944 945class ListStepAccessibilityClustersResponse(_messages.Message): 946 r"""Response message for AccessibilityService.ListStepAccessibilityClusters. 947 948 Fields: 949 clusters: A sequence of accessibility suggestions, grouped into clusters. 950 Within the sequence, clusters that belong to the same SuggestionCategory 951 should be adjacent. Within each category, clusters should be ordered by 952 their SuggestionPriority (ERRORs first). The categories should be 953 ordered by their highest priority cluster. 954 name: A full resource name of the step. For example, projects/my- 955 project/histories/bh.1234567890abcdef/executions/ 956 1234567890123456789/steps/bs.1234567890abcdef Always presents. 957 """ 958 959 clusters = _messages.MessageField('SuggestionClusterProto', 1, repeated=True) 960 name = _messages.StringField(2) 961 962 963class ListStepThumbnailsResponse(_messages.Message): 964 r"""A response containing the thumbnails in a step. 965 966 Fields: 967 nextPageToken: A continuation token to resume the query at the next item. 968 If set, indicates that there are more thumbnails to read, by calling 969 list again with this value in the page_token field. 970 thumbnails: A list of image data. Images are returned in a deterministic 971 order; they are ordered by these factors, in order of importance: * 972 First, by their associated test case. Images without a test case are 973 considered greater than images with one. * Second, by their creation 974 time. Images without a creation time are greater than images with one. * 975 Third, by the order in which they were added to the step (by calls to 976 CreateStep or UpdateStep). 977 """ 978 979 nextPageToken = _messages.StringField(1) 980 thumbnails = _messages.MessageField('Image', 2, repeated=True) 981 982 983class ListStepsResponse(_messages.Message): 984 r"""Response message for StepService.List. 985 986 Fields: 987 nextPageToken: A continuation token to resume the query at the next item. 988 If set, indicates that there are more steps to read, by calling list 989 again with this value in the page_token field. 990 steps: Steps. 991 """ 992 993 nextPageToken = _messages.StringField(1) 994 steps = _messages.MessageField('Step', 2, repeated=True) 995 996 997class ListTestCasesResponse(_messages.Message): 998 r"""Response message for StepService.ListTestCases. 999 1000 Fields: 1001 nextPageToken: A string attribute. 1002 testCases: List of test cases. 1003 """ 1004 1005 nextPageToken = _messages.StringField(1) 1006 testCases = _messages.MessageField('TestCase', 2, repeated=True) 1007 1008 1009class LogcatCollectionError(_messages.Message): 1010 r"""A warning that there were issues in logcat collection.""" 1011 1012 1013class MatrixDimensionDefinition(_messages.Message): 1014 r"""One dimension of the matrix of different runs of a step.""" 1015 1016 1017class MemoryInfo(_messages.Message): 1018 r"""A MemoryInfo object. 1019 1020 Fields: 1021 memoryCapInKibibyte: Maximum memory that can be allocated to the process 1022 in KiB 1023 memoryTotalInKibibyte: Total memory available on the device in KiB 1024 """ 1025 1026 memoryCapInKibibyte = _messages.IntegerField(1) 1027 memoryTotalInKibibyte = _messages.IntegerField(2) 1028 1029 1030class MergedResult(_messages.Message): 1031 r"""Merged test result for environment. If the environment has only one step 1032 (no reruns or shards), then the merged result is the same as the step 1033 result. If the environment has multiple shards and/or reruns, then the 1034 results of shards and reruns that belong to the same environment are merged 1035 into one environment result. 1036 1037 Enums: 1038 StateValueValuesEnum: State of the resource 1039 1040 Fields: 1041 outcome: Outcome of the resource 1042 state: State of the resource 1043 testSuiteOverviews: The combined and rolled-up result of each test suite 1044 that was run as part of this environment. Combining: When the test cases 1045 from a suite are run in different steps (sharding), the results are 1046 added back together in one overview. (e.g., if shard1 has 2 failures and 1047 shard2 has 1 failure than the overview failure_count = 3). Rollup: When 1048 test cases from the same suite are run multiple times (flaky), the 1049 results are combined (e.g., if testcase1.run1 fails, testcase1.run2 1050 passes, and both testcase2.run1 and testcase2.run2 fail then the 1051 overview flaky_count = 1 and failure_count = 1). 1052 """ 1053 1054 class StateValueValuesEnum(_messages.Enum): 1055 r"""State of the resource 1056 1057 Values: 1058 unknownState: Should never be in this state. Exists for proto 1059 deserialization backward compatibility. 1060 pending: The Execution/Step is created, ready to run, but not running 1061 yet. If an Execution/Step is created without initial state, it is 1062 assumed that the Execution/Step is in PENDING state. 1063 inProgress: The Execution/Step is in progress. 1064 complete: The finalized, immutable state. Steps/Executions in this state 1065 cannot be modified. 1066 """ 1067 unknownState = 0 1068 pending = 1 1069 inProgress = 2 1070 complete = 3 1071 1072 outcome = _messages.MessageField('Outcome', 1) 1073 state = _messages.EnumField('StateValueValuesEnum', 2) 1074 testSuiteOverviews = _messages.MessageField('TestSuiteOverview', 3, repeated=True) 1075 1076 1077class MultiStep(_messages.Message): 1078 r"""Details when multiple steps are run with the same configuration as a 1079 group. 1080 1081 Fields: 1082 multistepNumber: Unique int given to each step. Ranges from 0(inclusive) 1083 to total number of steps(exclusive). The primary step is 0. 1084 primaryStep: Present if it is a primary (original) step. 1085 primaryStepId: Step Id of the primary (original) step, which might be this 1086 step. 1087 """ 1088 1089 multistepNumber = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1090 primaryStep = _messages.MessageField('PrimaryStep', 2) 1091 primaryStepId = _messages.StringField(3) 1092 1093 1094class NativeCrash(_messages.Message): 1095 r"""Additional details for a native crash. 1096 1097 Fields: 1098 stackTrace: The stack trace of the native crash. Optional. 1099 """ 1100 1101 stackTrace = _messages.MessageField('StackTrace', 1) 1102 1103 1104class NonSdkApi(_messages.Message): 1105 r"""A non-sdk API and examples of it being called along with other metadata 1106 See https://developer.android.com/distribute/best- 1107 practices/develop/restrictions-non-sdk-interfaces 1108 1109 Enums: 1110 ListValueValuesEnum: Which list this API appears on 1111 1112 Fields: 1113 apiSignature: The signature of the Non-SDK API 1114 exampleStackTraces: Example stack traces of this API being called. 1115 insights: Optional debugging insights for non-SDK API violations. 1116 invocationCount: The total number of times this API was observed to have 1117 been called. 1118 list: Which list this API appears on 1119 """ 1120 1121 class ListValueValuesEnum(_messages.Enum): 1122 r"""Which list this API appears on 1123 1124 Values: 1125 NONE: <no description> 1126 WHITE: <no description> 1127 BLACK: <no description> 1128 GREY: <no description> 1129 GREY_MAX_O: <no description> 1130 GREY_MAX_P: <no description> 1131 GREY_MAX_Q: <no description> 1132 GREY_MAX_R: <no description> 1133 """ 1134 NONE = 0 1135 WHITE = 1 1136 BLACK = 2 1137 GREY = 3 1138 GREY_MAX_O = 4 1139 GREY_MAX_P = 5 1140 GREY_MAX_Q = 6 1141 GREY_MAX_R = 7 1142 1143 apiSignature = _messages.StringField(1) 1144 exampleStackTraces = _messages.StringField(2, repeated=True) 1145 insights = _messages.MessageField('NonSdkApiInsight', 3, repeated=True) 1146 invocationCount = _messages.IntegerField(4, variant=_messages.Variant.INT32) 1147 list = _messages.EnumField('ListValueValuesEnum', 5) 1148 1149 1150class NonSdkApiInsight(_messages.Message): 1151 r"""Non-SDK API insights (to address debugging solutions). 1152 1153 Fields: 1154 exampleTraceMessages: Optional sample stack traces, for which this insight 1155 applies (there should be at least one). 1156 matcherId: A unique ID, to be used for determining the effectiveness of 1157 this particular insight in the context of a matcher. (required) 1158 pendingGoogleUpdateInsight: An insight indicating that the hidden API 1159 usage originates from a Google-provided library. 1160 upgradeInsight: An insight indicating that the hidden API usage originates 1161 from the use of a library that needs to be upgraded. 1162 """ 1163 1164 exampleTraceMessages = _messages.StringField(1, repeated=True) 1165 matcherId = _messages.StringField(2) 1166 pendingGoogleUpdateInsight = _messages.MessageField('PendingGoogleUpdateInsight', 3) 1167 upgradeInsight = _messages.MessageField('UpgradeInsight', 4) 1168 1169 1170class NonSdkApiUsageViolation(_messages.Message): 1171 r"""Additional details for a non-sdk API usage violation. 1172 1173 Fields: 1174 apiSignatures: Signatures of a subset of those hidden API's. 1175 uniqueApis: Total number of unique hidden API's accessed. 1176 """ 1177 1178 apiSignatures = _messages.StringField(1, repeated=True) 1179 uniqueApis = _messages.IntegerField(2, variant=_messages.Variant.INT32) 1180 1181 1182class NonSdkApiUsageViolationReport(_messages.Message): 1183 r"""Contains a summary and examples of non-sdk API usage violations. 1184 1185 Fields: 1186 exampleApis: Examples of the detected API usages. 1187 minSdkVersion: Minimum API level required for the application to run. 1188 targetSdkVersion: Specifies the API Level on which the application is 1189 designed to run. 1190 uniqueApis: Total number of unique Non-SDK API's accessed. 1191 """ 1192 1193 exampleApis = _messages.MessageField('NonSdkApi', 1, repeated=True) 1194 minSdkVersion = _messages.IntegerField(2, variant=_messages.Variant.INT32) 1195 targetSdkVersion = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1196 uniqueApis = _messages.IntegerField(4, variant=_messages.Variant.INT32) 1197 1198 1199class Outcome(_messages.Message): 1200 r"""Interprets a result so that humans and machines can act on it. 1201 1202 Enums: 1203 SummaryValueValuesEnum: The simplest way to interpret a result. Required 1204 1205 Fields: 1206 failureDetail: More information about a FAILURE outcome. Returns 1207 INVALID_ARGUMENT if this field is set but the summary is not FAILURE. 1208 Optional 1209 inconclusiveDetail: More information about an INCONCLUSIVE outcome. 1210 Returns INVALID_ARGUMENT if this field is set but the summary is not 1211 INCONCLUSIVE. Optional 1212 skippedDetail: More information about a SKIPPED outcome. Returns 1213 INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. 1214 Optional 1215 successDetail: More information about a SUCCESS outcome. Returns 1216 INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. 1217 Optional 1218 summary: The simplest way to interpret a result. Required 1219 """ 1220 1221 class SummaryValueValuesEnum(_messages.Enum): 1222 r"""The simplest way to interpret a result. Required 1223 1224 Values: 1225 unset: Do not use. For proto versioning only. 1226 success: The test matrix run was successful, for instance: - All the 1227 test cases passed. - Robo did not detect a crash of the application 1228 under test. 1229 failure: A run failed, for instance: - One or more test case failed. - A 1230 test timed out. - The application under test crashed. 1231 inconclusive: Something unexpected happened. The run should still be 1232 considered unsuccessful but this is likely a transient problem and re- 1233 running the test might be successful. 1234 skipped: All tests were skipped, for instance: - All device 1235 configurations were incompatible. 1236 flaky: A group of steps that were run with the same configuration had 1237 both failure and success outcomes. 1238 """ 1239 unset = 0 1240 success = 1 1241 failure = 2 1242 inconclusive = 3 1243 skipped = 4 1244 flaky = 5 1245 1246 failureDetail = _messages.MessageField('FailureDetail', 1) 1247 inconclusiveDetail = _messages.MessageField('InconclusiveDetail', 2) 1248 skippedDetail = _messages.MessageField('SkippedDetail', 3) 1249 successDetail = _messages.MessageField('SuccessDetail', 4) 1250 summary = _messages.EnumField('SummaryValueValuesEnum', 5) 1251 1252 1253class OverlappingUIElements(_messages.Message): 1254 r"""A warning that Robo encountered a screen that has overlapping clickable 1255 elements; this may indicate a potential UI issue. 1256 1257 Fields: 1258 resourceName: Resource names of the overlapping screen elements 1259 screenId: The screen id of the elements 1260 """ 1261 1262 resourceName = _messages.StringField(1, repeated=True) 1263 screenId = _messages.StringField(2) 1264 1265 1266class PendingGoogleUpdateInsight(_messages.Message): 1267 r"""This insight indicates that the hidden API usage originates from a 1268 Google-provided library. Users need not take any action. 1269 1270 Fields: 1271 nameOfGoogleLibrary: The name of the Google-provided library with the non- 1272 SDK API dependency. 1273 """ 1274 1275 nameOfGoogleLibrary = _messages.StringField(1) 1276 1277 1278class PerfEnvironment(_messages.Message): 1279 r"""Encapsulates performance environment info 1280 1281 Fields: 1282 cpuInfo: CPU related environment info 1283 memoryInfo: Memory related environment info 1284 """ 1285 1286 cpuInfo = _messages.MessageField('CPUInfo', 1) 1287 memoryInfo = _messages.MessageField('MemoryInfo', 2) 1288 1289 1290class PerfMetricsSummary(_messages.Message): 1291 r"""A summary of perf metrics collected and performance environment info 1292 1293 Enums: 1294 PerfMetricsValueListEntryValuesEnum: 1295 1296 Fields: 1297 appStartTime: A AppStartTime attribute. 1298 executionId: A tool results execution ID. @OutputOnly 1299 graphicsStats: Graphics statistics for the entire run. Statistics are 1300 reset at the beginning of the run and collected at the end of the run. 1301 historyId: A tool results history ID. @OutputOnly 1302 perfEnvironment: Describes the environment in which the performance 1303 metrics were collected 1304 perfMetrics: Set of resource collected 1305 projectId: The cloud project @OutputOnly 1306 stepId: A tool results step ID. @OutputOnly 1307 """ 1308 1309 class PerfMetricsValueListEntryValuesEnum(_messages.Enum): 1310 r"""PerfMetricsValueListEntryValuesEnum enum type. 1311 1312 Values: 1313 perfMetricTypeUnspecified: <no description> 1314 memory: <no description> 1315 cpu: <no description> 1316 network: <no description> 1317 graphics: <no description> 1318 """ 1319 perfMetricTypeUnspecified = 0 1320 memory = 1 1321 cpu = 2 1322 network = 3 1323 graphics = 4 1324 1325 appStartTime = _messages.MessageField('AppStartTime', 1) 1326 executionId = _messages.StringField(2) 1327 graphicsStats = _messages.MessageField('GraphicsStats', 3) 1328 historyId = _messages.StringField(4) 1329 perfEnvironment = _messages.MessageField('PerfEnvironment', 5) 1330 perfMetrics = _messages.EnumField('PerfMetricsValueListEntryValuesEnum', 6, repeated=True) 1331 projectId = _messages.StringField(7) 1332 stepId = _messages.StringField(8) 1333 1334 1335class PerfSample(_messages.Message): 1336 r"""Resource representing a single performance measure or data point 1337 1338 Fields: 1339 sampleTime: Timestamp of collection. 1340 value: Value observed 1341 """ 1342 1343 sampleTime = _messages.MessageField('Timestamp', 1) 1344 value = _messages.FloatField(2) 1345 1346 1347class PerfSampleSeries(_messages.Message): 1348 r"""Resource representing a collection of performance samples (or data 1349 points) 1350 1351 Fields: 1352 basicPerfSampleSeries: Basic series represented by a line chart 1353 executionId: A tool results execution ID. @OutputOnly 1354 historyId: A tool results history ID. @OutputOnly 1355 projectId: The cloud project @OutputOnly 1356 sampleSeriesId: A sample series id @OutputOnly 1357 stepId: A tool results step ID. @OutputOnly 1358 """ 1359 1360 basicPerfSampleSeries = _messages.MessageField('BasicPerfSampleSeries', 1) 1361 executionId = _messages.StringField(2) 1362 historyId = _messages.StringField(3) 1363 projectId = _messages.StringField(4) 1364 sampleSeriesId = _messages.StringField(5) 1365 stepId = _messages.StringField(6) 1366 1367 1368class PerformedGoogleLogin(_messages.Message): 1369 r"""A notification that Robo signed in with Google.""" 1370 1371 1372class PerformedMonkeyActions(_messages.Message): 1373 r"""A notification that Robo performed some monkey actions. 1374 1375 Fields: 1376 totalActions: The total number of monkey actions performed during the 1377 crawl. 1378 """ 1379 1380 totalActions = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1381 1382 1383class PrimaryStep(_messages.Message): 1384 r"""Stores rollup test status of multiple steps that were run as a group and 1385 outcome of each individual step. 1386 1387 Enums: 1388 RollUpValueValuesEnum: Rollup test status of multiple steps that were run 1389 with the same configuration as a group. 1390 1391 Fields: 1392 individualOutcome: Step Id and outcome of each individual step. 1393 rollUp: Rollup test status of multiple steps that were run with the same 1394 configuration as a group. 1395 """ 1396 1397 class RollUpValueValuesEnum(_messages.Enum): 1398 r"""Rollup test status of multiple steps that were run with the same 1399 configuration as a group. 1400 1401 Values: 1402 unset: Do not use. For proto versioning only. 1403 success: The test matrix run was successful, for instance: - All the 1404 test cases passed. - Robo did not detect a crash of the application 1405 under test. 1406 failure: A run failed, for instance: - One or more test case failed. - A 1407 test timed out. - The application under test crashed. 1408 inconclusive: Something unexpected happened. The run should still be 1409 considered unsuccessful but this is likely a transient problem and re- 1410 running the test might be successful. 1411 skipped: All tests were skipped, for instance: - All device 1412 configurations were incompatible. 1413 flaky: A group of steps that were run with the same configuration had 1414 both failure and success outcomes. 1415 """ 1416 unset = 0 1417 success = 1 1418 failure = 2 1419 inconclusive = 3 1420 skipped = 4 1421 flaky = 5 1422 1423 individualOutcome = _messages.MessageField('IndividualOutcome', 1, repeated=True) 1424 rollUp = _messages.EnumField('RollUpValueValuesEnum', 2) 1425 1426 1427class ProjectSettings(_messages.Message): 1428 r"""Per-project settings for the Tool Results service. 1429 1430 Fields: 1431 defaultBucket: The name of the Google Cloud Storage bucket to which 1432 results are written. By default, this is unset. In update request: 1433 optional In response: optional 1434 name: The name of the project's settings. Always of the form: 1435 projects/{project-id}/settings In update request: never set In response: 1436 always set 1437 """ 1438 1439 defaultBucket = _messages.StringField(1) 1440 name = _messages.StringField(2) 1441 1442 1443class PublishXunitXmlFilesRequest(_messages.Message): 1444 r"""Request message for StepService.PublishXunitXmlFiles. 1445 1446 Fields: 1447 xunitXmlFiles: URI of the Xunit XML files to publish. The maximum size of 1448 the file this reference is pointing to is 50MB. Required. 1449 """ 1450 1451 xunitXmlFiles = _messages.MessageField('FileReference', 1, repeated=True) 1452 1453 1454class RegionProto(_messages.Message): 1455 r"""A rectangular region. 1456 1457 Fields: 1458 heightPx: The height, in pixels. Always set. 1459 leftPx: The left side of the rectangle, in pixels. Always set. 1460 topPx: The top of the rectangle, in pixels. Always set. 1461 widthPx: The width, in pixels. Always set. 1462 """ 1463 1464 heightPx = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1465 leftPx = _messages.IntegerField(2, variant=_messages.Variant.INT32) 1466 topPx = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1467 widthPx = _messages.IntegerField(4, variant=_messages.Variant.INT32) 1468 1469 1470class ResultsStorage(_messages.Message): 1471 r"""The storage for test results. 1472 1473 Fields: 1474 resultsStoragePath: The root directory for test results. 1475 xunitXmlFile: The path to the Xunit XML file. 1476 """ 1477 1478 resultsStoragePath = _messages.MessageField('FileReference', 1) 1479 xunitXmlFile = _messages.MessageField('FileReference', 2) 1480 1481 1482class RoboScriptExecution(_messages.Message): 1483 r"""Execution stats for a user-provided Robo script. 1484 1485 Fields: 1486 successfulActions: The number of Robo script actions executed 1487 successfully. 1488 totalActions: The total number of actions in the Robo script. 1489 """ 1490 1491 successfulActions = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1492 totalActions = _messages.IntegerField(2, variant=_messages.Variant.INT32) 1493 1494 1495class SafeHtmlProto(_messages.Message): 1496 r"""IMPORTANT: It is unsafe to accept this message from an untrusted source, 1497 since it's trivial for an attacker to forge serialized messages that don't 1498 fulfill the type's safety contract -- for example, it could contain attacker 1499 controlled script. A system which receives a SafeHtmlProto implicitly trusts 1500 the producer of the SafeHtmlProto. So, it's generally safe to return this 1501 message in RPC responses, but generally unsafe to accept it in RPC requests. 1502 1503 Fields: 1504 privateDoNotAccessOrElseSafeHtmlWrappedValue: IMPORTANT: Never set or read 1505 this field, even from tests, it is private. See documentation at the top 1506 of .proto file for programming language packages with which to create or 1507 read this message. 1508 """ 1509 1510 privateDoNotAccessOrElseSafeHtmlWrappedValue = _messages.StringField(1) 1511 1512 1513class Screen(_messages.Message): 1514 r"""A Screen object. 1515 1516 Fields: 1517 fileReference: File reference of the png file. Required. 1518 locale: Locale of the device that the screenshot was taken on. Required. 1519 model: Model of the device that the screenshot was taken on. Required. 1520 version: OS version of the device that the screenshot was taken on. 1521 Required. 1522 """ 1523 1524 fileReference = _messages.StringField(1) 1525 locale = _messages.StringField(2) 1526 model = _messages.StringField(3) 1527 version = _messages.StringField(4) 1528 1529 1530class ScreenshotCluster(_messages.Message): 1531 r"""A ScreenshotCluster object. 1532 1533 Fields: 1534 activity: A string that describes the activity of every screen in the 1535 cluster. 1536 clusterId: A unique identifier for the cluster. @OutputOnly 1537 keyScreen: A singular screen that represents the cluster as a whole. This 1538 screen will act as the "cover" of the entire cluster. When users look at 1539 the clusters, only the key screen from each cluster will be shown. Which 1540 screen is the key screen is determined by the ClusteringAlgorithm 1541 screens: Full list of screens. 1542 """ 1543 1544 activity = _messages.StringField(1) 1545 clusterId = _messages.StringField(2) 1546 keyScreen = _messages.MessageField('Screen', 3) 1547 screens = _messages.MessageField('Screen', 4, repeated=True) 1548 1549 1550class ShardSummary(_messages.Message): 1551 r"""Result summary for a shard in an environment. 1552 1553 Fields: 1554 runs: Summaries of the steps belonging to the shard. With 1555 flaky_test_attempts enabled from TestExecutionService, more than one run 1556 (Step) can present. And the runs will be sorted by multistep_number. 1557 shardResult: Merged result of the shard. 1558 """ 1559 1560 runs = _messages.MessageField('StepSummary', 1, repeated=True) 1561 shardResult = _messages.MessageField('MergedResult', 2) 1562 1563 1564class SkippedDetail(_messages.Message): 1565 r"""Details for an outcome with a SKIPPED outcome summary. 1566 1567 Fields: 1568 incompatibleAppVersion: If the App doesn't support the specific API level. 1569 incompatibleArchitecture: If the App doesn't run on the specific 1570 architecture, for example, x86. 1571 incompatibleDevice: If the requested OS version doesn't run on the 1572 specific device model. 1573 """ 1574 1575 incompatibleAppVersion = _messages.BooleanField(1) 1576 incompatibleArchitecture = _messages.BooleanField(2) 1577 incompatibleDevice = _messages.BooleanField(3) 1578 1579 1580class Specification(_messages.Message): 1581 r"""The details about how to run the execution. 1582 1583 Fields: 1584 androidTest: An Android mobile test execution specification. 1585 iosTest: An iOS mobile test execution specification. 1586 """ 1587 1588 androidTest = _messages.MessageField('AndroidTest', 1) 1589 iosTest = _messages.MessageField('IosTest', 2) 1590 1591 1592class StackTrace(_messages.Message): 1593 r"""A stacktrace. 1594 1595 Fields: 1596 exception: The stack trace message. Required 1597 """ 1598 1599 exception = _messages.StringField(1) 1600 1601 1602class StandardQueryParameters(_messages.Message): 1603 r"""Query parameters accepted by all methods. 1604 1605 Enums: 1606 FXgafvValueValuesEnum: V1 error format. 1607 AltValueValuesEnum: Data format for response. 1608 1609 Fields: 1610 f__xgafv: V1 error format. 1611 access_token: OAuth access token. 1612 alt: Data format for response. 1613 callback: JSONP 1614 fields: Selector specifying which fields to include in a partial response. 1615 key: API key. Your API key identifies your project and provides you with 1616 API access, quota, and reports. Required unless you provide an OAuth 2.0 1617 token. 1618 oauth_token: OAuth 2.0 token for the current user. 1619 prettyPrint: Returns response with indentations and line breaks. 1620 quotaUser: Available to use for quota purposes for server-side 1621 applications. Can be any arbitrary string assigned to a user, but should 1622 not exceed 40 characters. 1623 trace: A tracing token of the form "token:<tokenid>" to include in api 1624 requests. 1625 uploadType: Legacy upload protocol for media (e.g. "media", "multipart"). 1626 upload_protocol: Upload protocol for media (e.g. "raw", "multipart"). 1627 """ 1628 1629 class AltValueValuesEnum(_messages.Enum): 1630 r"""Data format for response. 1631 1632 Values: 1633 json: Responses with Content-Type of application/json 1634 media: Media download with context-dependent Content-Type 1635 proto: Responses with Content-Type of application/x-protobuf 1636 """ 1637 json = 0 1638 media = 1 1639 proto = 2 1640 1641 class FXgafvValueValuesEnum(_messages.Enum): 1642 r"""V1 error format. 1643 1644 Values: 1645 _1: v1 error format 1646 _2: v2 error format 1647 """ 1648 _1 = 0 1649 _2 = 1 1650 1651 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1) 1652 access_token = _messages.StringField(2) 1653 alt = _messages.EnumField('AltValueValuesEnum', 3, default='json') 1654 callback = _messages.StringField(4) 1655 fields = _messages.StringField(5) 1656 key = _messages.StringField(6) 1657 oauth_token = _messages.StringField(7) 1658 prettyPrint = _messages.BooleanField(8, default=True) 1659 quotaUser = _messages.StringField(9) 1660 trace = _messages.StringField(10) 1661 uploadType = _messages.StringField(11) 1662 upload_protocol = _messages.StringField(12) 1663 1664 1665class StartActivityNotFound(_messages.Message): 1666 r"""User provided intent failed to resolve to an activity. 1667 1668 Fields: 1669 action: A string attribute. 1670 uri: A string attribute. 1671 """ 1672 1673 action = _messages.StringField(1) 1674 uri = _messages.StringField(2) 1675 1676 1677class Status(_messages.Message): 1678 r"""The `Status` type defines a logical error model that is suitable for 1679 different programming environments, including REST APIs and RPC APIs. It is 1680 used by [gRPC](https://github.com/grpc). Each `Status` message contains 1681 three pieces of data: error code, error message, and error details. You can 1682 find out more about this error model and how to work with it in the [API 1683 Design Guide](https://cloud.google.com/apis/design/errors). 1684 1685 Messages: 1686 DetailsValueListEntry: A DetailsValueListEntry object. 1687 1688 Fields: 1689 code: The status code, which should be an enum value of google.rpc.Code. 1690 details: A list of messages that carry the error details. There is a 1691 common set of message types for APIs to use. 1692 message: A developer-facing error message, which should be in English. Any 1693 user-facing error message should be localized and sent in the 1694 google.rpc.Status.details field, or localized by the client. 1695 """ 1696 1697 @encoding.MapUnrecognizedFields('additionalProperties') 1698 class DetailsValueListEntry(_messages.Message): 1699 r"""A DetailsValueListEntry object. 1700 1701 Messages: 1702 AdditionalProperty: An additional property for a DetailsValueListEntry 1703 object. 1704 1705 Fields: 1706 additionalProperties: Properties of the object. Contains field @type 1707 with type URL. 1708 """ 1709 1710 class AdditionalProperty(_messages.Message): 1711 r"""An additional property for a DetailsValueListEntry object. 1712 1713 Fields: 1714 key: Name of the additional property. 1715 value: A extra_types.JsonValue attribute. 1716 """ 1717 1718 key = _messages.StringField(1) 1719 value = _messages.MessageField('extra_types.JsonValue', 2) 1720 1721 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1722 1723 code = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1724 details = _messages.MessageField('DetailsValueListEntry', 2, repeated=True) 1725 message = _messages.StringField(3) 1726 1727 1728class Step(_messages.Message): 1729 r"""A Step represents a single operation performed as part of Execution. A 1730 step can be used to represent the execution of a tool ( for example a test 1731 runner execution or an execution of a compiler). Steps can overlap (for 1732 instance two steps might have the same start time if some operations are 1733 done in parallel). Here is an example, let's consider that we have a 1734 continuous build is executing a test runner for each iteration. The workflow 1735 would look like: - user creates a Execution with id 1 - user creates an 1736 TestExecutionStep with id 100 for Execution 1 - user update 1737 TestExecutionStep with id 100 to add a raw xml log + the service parses the 1738 xml logs and returns a TestExecutionStep with updated TestResult(s). - user 1739 update the status of TestExecutionStep with id 100 to COMPLETE A Step can be 1740 updated until its state is set to COMPLETE at which points it becomes 1741 immutable. Next tag: 27 1742 1743 Enums: 1744 StateValueValuesEnum: The initial state is IN_PROGRESS. The only legal 1745 state transitions are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED 1746 will be returned if an invalid transition is requested. It is valid to 1747 create Step with a state set to COMPLETE. The state can only be set to 1748 COMPLETE once. A PRECONDITION_FAILED will be returned if the state is 1749 set to COMPLETE multiple times. - In response: always set - In 1750 create/update request: optional 1751 1752 Fields: 1753 completionTime: The time when the step status was set to complete. This 1754 value will be set automatically when state transitions to COMPLETE. - In 1755 response: set if the execution state is COMPLETE. - In create/update 1756 request: never set 1757 creationTime: The time when the step was created. - In response: always 1758 set - In create/update request: never set 1759 description: A description of this tool For example: mvn clean package -D 1760 skipTests=true - In response: present if set by create/update request - 1761 In create/update request: optional 1762 deviceUsageDuration: How much the device resource is used to perform the 1763 test. This is the device usage used for billing purpose, which is 1764 different from the run_duration, for example, infrastructure failure 1765 won't be charged for device usage. PRECONDITION_FAILED will be returned 1766 if one attempts to set a device_usage on a step which already has this 1767 field set. - In response: present if previously set. - In create 1768 request: optional - In update request: optional 1769 dimensionValue: If the execution containing this step has any 1770 dimension_definition set, then this field allows the child to specify 1771 the values of the dimensions. The keys must exactly match the 1772 dimension_definition of the execution. For example, if the execution has 1773 `dimension_definition = ['attempt', 'device']` then a step must define 1774 values for those dimensions, eg. `dimension_value = ['attempt': '1', 1775 'device': 'Nexus 6']` If a step does not participate in one dimension of 1776 the matrix, the value for that dimension should be empty string. For 1777 example, if one of the tests is executed by a runner which does not 1778 support retries, the step could have `dimension_value = ['attempt': '', 1779 'device': 'Nexus 6']` If the step does not participate in any dimensions 1780 of the matrix, it may leave dimension_value unset. A PRECONDITION_FAILED 1781 will be returned if any of the keys do not exist in the 1782 dimension_definition of the execution. A PRECONDITION_FAILED will be 1783 returned if another step in this execution already has the same name and 1784 dimension_value, but differs on other data fields, for example, step 1785 field is different. A PRECONDITION_FAILED will be returned if 1786 dimension_value is set, and there is a dimension_definition in the 1787 execution which is not specified as one of the keys. - In response: 1788 present if set by create - In create request: optional - In update 1789 request: never set 1790 hasImages: Whether any of the outputs of this step are images whose 1791 thumbnails can be fetched with ListThumbnails. - In response: always set 1792 - In create/update request: never set 1793 labels: Arbitrary user-supplied key/value pairs that are associated with 1794 the step. Users are responsible for managing the key namespace such that 1795 keys don't accidentally collide. An INVALID_ARGUMENT will be returned if 1796 the number of labels exceeds 100 or if the length of any of the keys or 1797 values exceeds 100 characters. - In response: always set - In create 1798 request: optional - In update request: optional; any new key/value pair 1799 will be added to the map, and any new value for an existing key will 1800 update that key's value 1801 multiStep: Details when multiple steps are run with the same configuration 1802 as a group. These details can be used identify which group this step is 1803 part of. It also identifies the groups 'primary step' which indexes all 1804 the group members. - In response: present if previously set. - In create 1805 request: optional, set iff this step was performed more than once. - In 1806 update request: optional 1807 name: A short human-readable name to display in the UI. Maximum of 100 1808 characters. For example: Clean build A PRECONDITION_FAILED will be 1809 returned upon creating a new step if it shares its name and 1810 dimension_value with an existing step. If two steps represent a similar 1811 action, but have different dimension values, they should share the same 1812 name. For instance, if the same set of tests is run on two different 1813 platforms, the two steps should have the same name. - In response: 1814 always set - In create request: always set - In update request: never 1815 set 1816 outcome: Classification of the result, for example into SUCCESS or FAILURE 1817 - In response: present if set by create/update request - In 1818 create/update request: optional 1819 runDuration: How long it took for this step to run. If unset, this is set 1820 to the difference between creation_time and completion_time when the 1821 step is set to the COMPLETE state. In some cases, it is appropriate to 1822 set this value separately: For instance, if a step is created, but the 1823 operation it represents is queued for a few minutes before it executes, 1824 it would be appropriate not to include the time spent queued in its 1825 run_duration. PRECONDITION_FAILED will be returned if one attempts to 1826 set a run_duration on a step which already has this field set. - In 1827 response: present if previously set; always present on COMPLETE step - 1828 In create request: optional - In update request: optional 1829 state: The initial state is IN_PROGRESS. The only legal state transitions 1830 are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if 1831 an invalid transition is requested. It is valid to create Step with a 1832 state set to COMPLETE. The state can only be set to COMPLETE once. A 1833 PRECONDITION_FAILED will be returned if the state is set to COMPLETE 1834 multiple times. - In response: always set - In create/update request: 1835 optional 1836 stepId: A unique identifier within a Execution for this Step. Returns 1837 INVALID_ARGUMENT if this field is set or overwritten by the caller. - In 1838 response: always set - In create/update request: never set 1839 testExecutionStep: An execution of a test runner. 1840 toolExecutionStep: An execution of a tool (used for steps we don't 1841 explicitly support). 1842 """ 1843 1844 class StateValueValuesEnum(_messages.Enum): 1845 r"""The initial state is IN_PROGRESS. The only legal state transitions are 1846 * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if an 1847 invalid transition is requested. It is valid to create Step with a state 1848 set to COMPLETE. The state can only be set to COMPLETE once. A 1849 PRECONDITION_FAILED will be returned if the state is set to COMPLETE 1850 multiple times. - In response: always set - In create/update request: 1851 optional 1852 1853 Values: 1854 unknownState: Should never be in this state. Exists for proto 1855 deserialization backward compatibility. 1856 pending: The Execution/Step is created, ready to run, but not running 1857 yet. If an Execution/Step is created without initial state, it is 1858 assumed that the Execution/Step is in PENDING state. 1859 inProgress: The Execution/Step is in progress. 1860 complete: The finalized, immutable state. Steps/Executions in this state 1861 cannot be modified. 1862 """ 1863 unknownState = 0 1864 pending = 1 1865 inProgress = 2 1866 complete = 3 1867 1868 completionTime = _messages.MessageField('Timestamp', 1) 1869 creationTime = _messages.MessageField('Timestamp', 2) 1870 description = _messages.StringField(3) 1871 deviceUsageDuration = _messages.MessageField('Duration', 4) 1872 dimensionValue = _messages.MessageField('StepDimensionValueEntry', 5, repeated=True) 1873 hasImages = _messages.BooleanField(6) 1874 labels = _messages.MessageField('StepLabelsEntry', 7, repeated=True) 1875 multiStep = _messages.MessageField('MultiStep', 8) 1876 name = _messages.StringField(9) 1877 outcome = _messages.MessageField('Outcome', 10) 1878 runDuration = _messages.MessageField('Duration', 11) 1879 state = _messages.EnumField('StateValueValuesEnum', 12) 1880 stepId = _messages.StringField(13) 1881 testExecutionStep = _messages.MessageField('TestExecutionStep', 14) 1882 toolExecutionStep = _messages.MessageField('ToolExecutionStep', 15) 1883 1884 1885class StepDimensionValueEntry(_messages.Message): 1886 r"""A StepDimensionValueEntry object. 1887 1888 Fields: 1889 key: A string attribute. 1890 value: A string attribute. 1891 """ 1892 1893 key = _messages.StringField(1) 1894 value = _messages.StringField(2) 1895 1896 1897class StepLabelsEntry(_messages.Message): 1898 r"""A StepLabelsEntry object. 1899 1900 Fields: 1901 key: A string attribute. 1902 value: A string attribute. 1903 """ 1904 1905 key = _messages.StringField(1) 1906 value = _messages.StringField(2) 1907 1908 1909class StepSummary(_messages.Message): 1910 r"""Lightweight summary of a step within this execution.""" 1911 1912 1913class SuccessDetail(_messages.Message): 1914 r"""Details for an outcome with a SUCCESS outcome summary. LINT.IfChange 1915 1916 Fields: 1917 otherNativeCrash: If a native process other than the app crashed. 1918 """ 1919 1920 otherNativeCrash = _messages.BooleanField(1) 1921 1922 1923class SuggestionClusterProto(_messages.Message): 1924 r"""A set of similar suggestions that we suspect are closely related. This 1925 proto and most of the nested protos are branched from 1926 foxandcrown.prelaunchreport.service.SuggestionClusterProto, replacing PLR's 1927 dependencies with FTL's. 1928 1929 Enums: 1930 CategoryValueValuesEnum: Category in which these types of suggestions 1931 should appear. Always set. 1932 1933 Fields: 1934 category: Category in which these types of suggestions should appear. 1935 Always set. 1936 suggestions: A sequence of suggestions. All of the suggestions within a 1937 cluster must have the same SuggestionPriority and belong to the same 1938 SuggestionCategory. Suggestions with the same screenshot URL should be 1939 adjacent. 1940 """ 1941 1942 class CategoryValueValuesEnum(_messages.Enum): 1943 r"""Category in which these types of suggestions should appear. Always 1944 set. 1945 1946 Values: 1947 unknownCategory: <no description> 1948 contentLabeling: <no description> 1949 touchTargetSize: <no description> 1950 lowContrast: <no description> 1951 implementation: <no description> 1952 """ 1953 unknownCategory = 0 1954 contentLabeling = 1 1955 touchTargetSize = 2 1956 lowContrast = 3 1957 implementation = 4 1958 1959 category = _messages.EnumField('CategoryValueValuesEnum', 1) 1960 suggestions = _messages.MessageField('SuggestionProto', 2, repeated=True) 1961 1962 1963class SuggestionProto(_messages.Message): 1964 r"""A SuggestionProto object. 1965 1966 Enums: 1967 PriorityValueValuesEnum: Relative importance of a suggestion. Always set. 1968 1969 Fields: 1970 helpUrl: Reference to a help center article concerning this type of 1971 suggestion. Always set. 1972 longMessage: Message, in the user's language, explaining the suggestion, 1973 which may contain markup. Always set. 1974 priority: Relative importance of a suggestion. Always set. 1975 pseudoResourceId: A somewhat human readable identifier of the source view, 1976 if it does not have a resource_name. This is a path within the 1977 accessibility hierarchy, an element with resource name; similar to an 1978 XPath. 1979 region: Region within the screenshot that is relevant to this suggestion. 1980 Optional. 1981 resourceName: Reference to a view element, identified by its resource 1982 name, if it has one. 1983 screenId: ID of the screen for the suggestion. It is used for getting the 1984 corresponding screenshot path. For example, screen_id "1" corresponds to 1985 "1.png" file in GCS. Always set. 1986 secondaryPriority: Relative importance of a suggestion as compared with 1987 other suggestions that have the same priority and category. This is a 1988 meaningless value that can be used to order suggestions that are in the 1989 same category and have the same priority. The larger values have higher 1990 priority (i.e., are more important). Optional. 1991 shortMessage: Concise message, in the user's language, representing the 1992 suggestion, which may contain markup. Always set. 1993 title: General title for the suggestion, in the user's language, without 1994 markup. Always set. 1995 """ 1996 1997 class PriorityValueValuesEnum(_messages.Enum): 1998 r"""Relative importance of a suggestion. Always set. 1999 2000 Values: 2001 unknownPriority: <no description> 2002 error: <no description> 2003 warning: <no description> 2004 info: <no description> 2005 """ 2006 unknownPriority = 0 2007 error = 1 2008 warning = 2 2009 info = 3 2010 2011 helpUrl = _messages.StringField(1) 2012 longMessage = _messages.MessageField('SafeHtmlProto', 2) 2013 priority = _messages.EnumField('PriorityValueValuesEnum', 3) 2014 pseudoResourceId = _messages.StringField(4) 2015 region = _messages.MessageField('RegionProto', 5) 2016 resourceName = _messages.StringField(6) 2017 screenId = _messages.StringField(7) 2018 secondaryPriority = _messages.FloatField(8) 2019 shortMessage = _messages.MessageField('SafeHtmlProto', 9) 2020 title = _messages.StringField(10) 2021 2022 2023class TestCase(_messages.Message): 2024 r"""A TestCase object. 2025 2026 Enums: 2027 StatusValueValuesEnum: The status of the test case. Required. 2028 2029 Fields: 2030 elapsedTime: The elapsed run time of the test case. Required. 2031 endTime: The end time of the test case. 2032 skippedMessage: Why the test case was skipped. Present only for skipped 2033 test case 2034 stackTraces: The stack trace details if the test case failed or 2035 encountered an error. The maximum size of the stack traces is 100KiB, 2036 beyond which the stack track will be truncated. Zero if the test case 2037 passed. 2038 startTime: The start time of the test case. 2039 status: The status of the test case. Required. 2040 testCaseId: A unique identifier within a Step for this Test Case. 2041 testCaseReference: Test case reference, e.g. name, class name and test 2042 suite name. Required. 2043 toolOutputs: References to opaque files of any format output by the tool 2044 execution. @OutputOnly 2045 """ 2046 2047 class StatusValueValuesEnum(_messages.Enum): 2048 r"""The status of the test case. Required. 2049 2050 Values: 2051 passed: Test passed. 2052 failed: Test failed. 2053 error: Test encountered an error 2054 skipped: Test skipped 2055 flaky: Test flaked. Present only for rollup test cases; test cases from 2056 steps that were run with the same configuration had both failure and 2057 success outcomes. 2058 """ 2059 passed = 0 2060 failed = 1 2061 error = 2 2062 skipped = 3 2063 flaky = 4 2064 2065 elapsedTime = _messages.MessageField('Duration', 1) 2066 endTime = _messages.MessageField('Timestamp', 2) 2067 skippedMessage = _messages.StringField(3) 2068 stackTraces = _messages.MessageField('StackTrace', 4, repeated=True) 2069 startTime = _messages.MessageField('Timestamp', 5) 2070 status = _messages.EnumField('StatusValueValuesEnum', 6) 2071 testCaseId = _messages.StringField(7) 2072 testCaseReference = _messages.MessageField('TestCaseReference', 8) 2073 toolOutputs = _messages.MessageField('ToolOutputReference', 9, repeated=True) 2074 2075 2076class TestCaseReference(_messages.Message): 2077 r"""A reference to a test case. Test case references are canonically ordered 2078 lexicographically by these three factors: * First, by test_suite_name. * 2079 Second, by class_name. * Third, by name. 2080 2081 Fields: 2082 className: The name of the class. 2083 name: The name of the test case. Required. 2084 testSuiteName: The name of the test suite to which this test case belongs. 2085 """ 2086 2087 className = _messages.StringField(1) 2088 name = _messages.StringField(2) 2089 testSuiteName = _messages.StringField(3) 2090 2091 2092class TestExecutionStep(_messages.Message): 2093 r"""A step that represents running tests. It accepts ant-junit xml files 2094 which will be parsed into structured test results by the service. Xml file 2095 paths are updated in order to append more files, however they can't be 2096 deleted. Users can also add test results manually by using the test_result 2097 field. 2098 2099 Fields: 2100 testIssues: Issues observed during the test execution. For example, if the 2101 mobile app under test crashed during the test, the error message and the 2102 stack trace content can be recorded here to assist debugging. - In 2103 response: present if set by create or update - In create/update request: 2104 optional 2105 testSuiteOverviews: List of test suite overview contents. This could be 2106 parsed from xUnit XML log by server, or uploaded directly by user. This 2107 references should only be called when test suites are fully parsed or 2108 uploaded. The maximum allowed number of test suite overviews per step is 2109 1000. - In response: always set - In create request: optional - In 2110 update request: never (use publishXunitXmlFiles custom method instead) 2111 testTiming: The timing break down of the test execution. - In response: 2112 present if set by create or update - In create/update request: optional 2113 toolExecution: Represents the execution of the test runner. The exit code 2114 of this tool will be used to determine if the test passed. - In 2115 response: always set - In create/update request: optional 2116 """ 2117 2118 testIssues = _messages.MessageField('TestIssue', 1, repeated=True) 2119 testSuiteOverviews = _messages.MessageField('TestSuiteOverview', 2, repeated=True) 2120 testTiming = _messages.MessageField('TestTiming', 3) 2121 toolExecution = _messages.MessageField('ToolExecution', 4) 2122 2123 2124class TestIssue(_messages.Message): 2125 r"""An issue detected occurring during a test execution. 2126 2127 Enums: 2128 CategoryValueValuesEnum: Category of issue. Required. 2129 SeverityValueValuesEnum: Severity of issue. Required. 2130 TypeValueValuesEnum: Type of issue. Required. 2131 2132 Fields: 2133 category: Category of issue. Required. 2134 errorMessage: A brief human-readable message describing the issue. 2135 Required. 2136 severity: Severity of issue. Required. 2137 stackTrace: Deprecated in favor of stack trace fields inside specific 2138 warnings. 2139 type: Type of issue. Required. 2140 warning: Warning message with additional details of the issue. Should 2141 always be a message from com.google.devtools.toolresults.v1.warnings 2142 """ 2143 2144 class CategoryValueValuesEnum(_messages.Enum): 2145 r"""Category of issue. Required. 2146 2147 Values: 2148 unspecifiedCategory: Default unspecified category. Do not use. For 2149 versioning only. 2150 common: Issue is not specific to a particular test kind (e.g., a native 2151 crash). 2152 robo: Issue is specific to Robo run. 2153 """ 2154 unspecifiedCategory = 0 2155 common = 1 2156 robo = 2 2157 2158 class SeverityValueValuesEnum(_messages.Enum): 2159 r"""Severity of issue. Required. 2160 2161 Values: 2162 unspecifiedSeverity: Default unspecified severity. Do not use. For 2163 versioning only. 2164 info: Non critical issue, providing users with some info about the test 2165 run. 2166 suggestion: Non critical issue, providing users with some hints on 2167 improving their testing experience, e.g., suggesting to use Game 2168 Loops. 2169 warning: Potentially critical issue. 2170 severe: Critical issue. 2171 """ 2172 unspecifiedSeverity = 0 2173 info = 1 2174 suggestion = 2 2175 warning = 3 2176 severe = 4 2177 2178 class TypeValueValuesEnum(_messages.Enum): 2179 r"""Type of issue. Required. 2180 2181 Values: 2182 unspecifiedType: Default unspecified type. Do not use. For versioning 2183 only. 2184 fatalException: Issue is a fatal exception. 2185 nativeCrash: Issue is a native crash. 2186 anr: Issue is an ANR crash. 2187 unusedRoboDirective: Issue is an unused robo directive. 2188 compatibleWithOrchestrator: Issue is a suggestion to use orchestrator. 2189 launcherActivityNotFound: Issue with finding a launcher activity 2190 startActivityNotFound: Issue with resolving a user-provided intent to 2191 start an activity 2192 incompleteRoboScriptExecution: A Robo script was not fully executed. 2193 completeRoboScriptExecution: A Robo script was fully and successfully 2194 executed. 2195 failedToInstall: The APK failed to install. 2196 availableDeepLinks: The app-under-test has deep links, but none were 2197 provided to Robo. 2198 nonSdkApiUsageViolation: App accessed a non-sdk Api. 2199 nonSdkApiUsageReport: App accessed a non-sdk Api (new detailed report) 2200 encounteredNonAndroidUiWidgetScreen: Robo crawl encountered at least one 2201 screen with elements that are not Android UI widgets. 2202 encounteredLoginScreen: Robo crawl encountered at least one probable 2203 login screen. 2204 performedGoogleLogin: Robo signed in with Google. 2205 iosException: iOS App crashed with an exception. 2206 iosCrash: iOS App crashed without an exception (e.g. killed). 2207 performedMonkeyActions: Robo crawl involved performing some monkey 2208 actions. 2209 usedRoboDirective: Robo crawl used a Robo directive. 2210 usedRoboIgnoreDirective: Robo crawl used a Robo directive to ignore an 2211 UI element. 2212 insufficientCoverage: Robo did not crawl some potentially important 2213 parts of the app. 2214 inAppPurchases: Robo crawl involved some in-app purchases. 2215 crashDialogError: Crash dialog was detected during the test execution 2216 uiElementsTooDeep: UI element depth is greater than the threshold 2217 blankScreen: Blank screen is found in the Robo crawl 2218 overlappingUiElements: Overlapping UI elements are found in the Robo 2219 crawl 2220 unityException: An uncaught Unity exception was detected (these don't 2221 crash apps). 2222 deviceOutOfMemory: Device running out of memory was detected 2223 logcatCollectionError: Problems detected while collecting logcat 2224 """ 2225 unspecifiedType = 0 2226 fatalException = 1 2227 nativeCrash = 2 2228 anr = 3 2229 unusedRoboDirective = 4 2230 compatibleWithOrchestrator = 5 2231 launcherActivityNotFound = 6 2232 startActivityNotFound = 7 2233 incompleteRoboScriptExecution = 8 2234 completeRoboScriptExecution = 9 2235 failedToInstall = 10 2236 availableDeepLinks = 11 2237 nonSdkApiUsageViolation = 12 2238 nonSdkApiUsageReport = 13 2239 encounteredNonAndroidUiWidgetScreen = 14 2240 encounteredLoginScreen = 15 2241 performedGoogleLogin = 16 2242 iosException = 17 2243 iosCrash = 18 2244 performedMonkeyActions = 19 2245 usedRoboDirective = 20 2246 usedRoboIgnoreDirective = 21 2247 insufficientCoverage = 22 2248 inAppPurchases = 23 2249 crashDialogError = 24 2250 uiElementsTooDeep = 25 2251 blankScreen = 26 2252 overlappingUiElements = 27 2253 unityException = 28 2254 deviceOutOfMemory = 29 2255 logcatCollectionError = 30 2256 2257 category = _messages.EnumField('CategoryValueValuesEnum', 1) 2258 errorMessage = _messages.StringField(2) 2259 severity = _messages.EnumField('SeverityValueValuesEnum', 3) 2260 stackTrace = _messages.MessageField('StackTrace', 4) 2261 type = _messages.EnumField('TypeValueValuesEnum', 5) 2262 warning = _messages.MessageField('Any', 6) 2263 2264 2265class TestSuiteOverview(_messages.Message): 2266 r"""A summary of a test suite result either parsed from XML or uploaded 2267 directly by a user. Note: the API related comments are for StepService only. 2268 This message is also being used in ExecutionService in a read only mode for 2269 the corresponding step. 2270 2271 Fields: 2272 elapsedTime: Elapsed time of test suite. 2273 errorCount: Number of test cases in error, typically set by the service by 2274 parsing the xml_source. - In create/response: always set - In update 2275 request: never 2276 failureCount: Number of failed test cases, typically set by the service by 2277 parsing the xml_source. May also be set by the user. - In 2278 create/response: always set - In update request: never 2279 flakyCount: Number of flaky test cases, set by the service by rolling up 2280 flaky test attempts. Present only for rollup test suite overview at 2281 environment level. A step cannot have flaky test cases. 2282 name: The name of the test suite. - In create/response: always set - In 2283 update request: never 2284 skippedCount: Number of test cases not run, typically set by the service 2285 by parsing the xml_source. - In create/response: always set - In update 2286 request: never 2287 totalCount: Number of test cases, typically set by the service by parsing 2288 the xml_source. - In create/response: always set - In update request: 2289 never 2290 xmlSource: If this test suite was parsed from XML, this is the URI where 2291 the original XML file is stored. Note: Multiple test suites can share 2292 the same xml_source Returns INVALID_ARGUMENT if the uri format is not 2293 supported. - In create/response: optional - In update request: never 2294 """ 2295 2296 elapsedTime = _messages.MessageField('Duration', 1) 2297 errorCount = _messages.IntegerField(2, variant=_messages.Variant.INT32) 2298 failureCount = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2299 flakyCount = _messages.IntegerField(4, variant=_messages.Variant.INT32) 2300 name = _messages.StringField(5) 2301 skippedCount = _messages.IntegerField(6, variant=_messages.Variant.INT32) 2302 totalCount = _messages.IntegerField(7, variant=_messages.Variant.INT32) 2303 xmlSource = _messages.MessageField('FileReference', 8) 2304 2305 2306class TestTiming(_messages.Message): 2307 r"""Testing timing break down to know phases. 2308 2309 Fields: 2310 testProcessDuration: How long it took to run the test process. - In 2311 response: present if previously set. - In create/update request: 2312 optional 2313 """ 2314 2315 testProcessDuration = _messages.MessageField('Duration', 1) 2316 2317 2318class Thumbnail(_messages.Message): 2319 r"""A single thumbnail, with its size and format. 2320 2321 Fields: 2322 contentType: The thumbnail's content type, i.e. "image/png". Always set. 2323 data: The thumbnail file itself. That is, the bytes here are precisely the 2324 bytes that make up the thumbnail file; they can be served as an image 2325 as-is (with the appropriate content type.) Always set. 2326 heightPx: The height of the thumbnail, in pixels. Always set. 2327 widthPx: The width of the thumbnail, in pixels. Always set. 2328 """ 2329 2330 contentType = _messages.StringField(1) 2331 data = _messages.BytesField(2) 2332 heightPx = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2333 widthPx = _messages.IntegerField(4, variant=_messages.Variant.INT32) 2334 2335 2336class Timestamp(_messages.Message): 2337 r"""A Timestamp represents a point in time independent of any time zone or 2338 local calendar, encoded as a count of seconds and fractions of seconds at 2339 nanosecond resolution. The count is relative to an epoch at UTC midnight on 2340 January 1, 1970, in the proleptic Gregorian calendar which extends the 2341 Gregorian calendar backwards to year one. All minutes are 60 seconds long. 2342 Leap seconds are "smeared" so that no leap second table is needed for 2343 interpretation, using a [24-hour linear 2344 smear](https://developers.google.com/time/smear). The range is from 2345 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to 2346 that range, we ensure that we can convert to and from [RFC 2347 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. 2348 2349 Fields: 2350 nanos: Non-negative fractions of a second at nanosecond resolution. 2351 Negative second values with fractions must still have non-negative nanos 2352 values that count forward in time. Must be from 0 to 999,999,999 2353 inclusive. 2354 seconds: Represents seconds of UTC time since Unix epoch 2355 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 2356 9999-12-31T23:59:59Z inclusive. 2357 """ 2358 2359 nanos = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2360 seconds = _messages.IntegerField(2) 2361 2362 2363class ToolExecution(_messages.Message): 2364 r"""An execution of an arbitrary tool. It could be a test runner or a tool 2365 copying artifacts or deploying code. 2366 2367 Fields: 2368 commandLineArguments: The full tokenized command line including the 2369 program name (equivalent to argv in a C program). - In response: present 2370 if set by create request - In create request: optional - In update 2371 request: never set 2372 exitCode: Tool execution exit code. This field will be set once the tool 2373 has exited. - In response: present if set by create/update request - In 2374 create request: optional - In update request: optional, a 2375 FAILED_PRECONDITION error will be returned if an exit_code is already 2376 set. 2377 toolLogs: References to any plain text logs output the tool execution. 2378 This field can be set before the tool has exited in order to be able to 2379 have access to a live view of the logs while the tool is running. The 2380 maximum allowed number of tool logs per step is 1000. - In response: 2381 present if set by create/update request - In create request: optional - 2382 In update request: optional, any value provided will be appended to the 2383 existing list 2384 toolOutputs: References to opaque files of any format output by the tool 2385 execution. The maximum allowed number of tool outputs per step is 1000. 2386 - In response: present if set by create/update request - In create 2387 request: optional - In update request: optional, any value provided will 2388 be appended to the existing list 2389 """ 2390 2391 commandLineArguments = _messages.StringField(1, repeated=True) 2392 exitCode = _messages.MessageField('ToolExitCode', 2) 2393 toolLogs = _messages.MessageField('FileReference', 3, repeated=True) 2394 toolOutputs = _messages.MessageField('ToolOutputReference', 4, repeated=True) 2395 2396 2397class ToolExecutionStep(_messages.Message): 2398 r"""Generic tool step to be used for binaries we do not explicitly support. 2399 For example: running cp to copy artifacts from one location to another. 2400 2401 Fields: 2402 toolExecution: A Tool execution. - In response: present if set by 2403 create/update request - In create/update request: optional 2404 """ 2405 2406 toolExecution = _messages.MessageField('ToolExecution', 1) 2407 2408 2409class ToolExitCode(_messages.Message): 2410 r"""Exit code from a tool execution. 2411 2412 Fields: 2413 number: Tool execution exit code. A value of 0 means that the execution 2414 was successful. - In response: always set - In create/update request: 2415 always set 2416 """ 2417 2418 number = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2419 2420 2421class ToolOutputReference(_messages.Message): 2422 r"""A reference to a ToolExecution output file. 2423 2424 Fields: 2425 creationTime: The creation time of the file. - In response: present if set 2426 by create/update request - In create/update request: optional 2427 output: A FileReference to an output file. - In response: always set - In 2428 create/update request: always set 2429 testCase: The test case to which this output file belongs. - In response: 2430 present if set by create/update request - In create/update request: 2431 optional 2432 """ 2433 2434 creationTime = _messages.MessageField('Timestamp', 1) 2435 output = _messages.MessageField('FileReference', 2) 2436 testCase = _messages.MessageField('TestCaseReference', 3) 2437 2438 2439class ToolresultsProjectsGetSettingsRequest(_messages.Message): 2440 r"""A ToolresultsProjectsGetSettingsRequest object. 2441 2442 Fields: 2443 projectId: A Project id. Required. 2444 """ 2445 2446 projectId = _messages.StringField(1, required=True) 2447 2448 2449class ToolresultsProjectsHistoriesCreateRequest(_messages.Message): 2450 r"""A ToolresultsProjectsHistoriesCreateRequest object. 2451 2452 Fields: 2453 history: A History resource to be passed as the request body. 2454 projectId: A Project id. Required. 2455 requestId: A unique request ID for server to detect duplicated requests. 2456 For example, a UUID. Optional, but strongly recommended. 2457 """ 2458 2459 history = _messages.MessageField('History', 1) 2460 projectId = _messages.StringField(2, required=True) 2461 requestId = _messages.StringField(3) 2462 2463 2464class ToolresultsProjectsHistoriesExecutionsClustersGetRequest(_messages.Message): 2465 r"""A ToolresultsProjectsHistoriesExecutionsClustersGetRequest object. 2466 2467 Fields: 2468 clusterId: A Cluster id Required. 2469 executionId: An Execution id. Required. 2470 historyId: A History id. Required. 2471 projectId: A Project id. Required. 2472 """ 2473 2474 clusterId = _messages.StringField(1, required=True) 2475 executionId = _messages.StringField(2, required=True) 2476 historyId = _messages.StringField(3, required=True) 2477 projectId = _messages.StringField(4, required=True) 2478 2479 2480class ToolresultsProjectsHistoriesExecutionsClustersListRequest(_messages.Message): 2481 r"""A ToolresultsProjectsHistoriesExecutionsClustersListRequest object. 2482 2483 Fields: 2484 executionId: An Execution id. Required. 2485 historyId: A History id. Required. 2486 projectId: A Project id. Required. 2487 """ 2488 2489 executionId = _messages.StringField(1, required=True) 2490 historyId = _messages.StringField(2, required=True) 2491 projectId = _messages.StringField(3, required=True) 2492 2493 2494class ToolresultsProjectsHistoriesExecutionsCreateRequest(_messages.Message): 2495 r"""A ToolresultsProjectsHistoriesExecutionsCreateRequest object. 2496 2497 Fields: 2498 execution: A Execution resource to be passed as the request body. 2499 historyId: A History id. Required. 2500 projectId: A Project id. Required. 2501 requestId: A unique request ID for server to detect duplicated requests. 2502 For example, a UUID. Optional, but strongly recommended. 2503 """ 2504 2505 execution = _messages.MessageField('Execution', 1) 2506 historyId = _messages.StringField(2, required=True) 2507 projectId = _messages.StringField(3, required=True) 2508 requestId = _messages.StringField(4) 2509 2510 2511class ToolresultsProjectsHistoriesExecutionsEnvironmentsGetRequest(_messages.Message): 2512 r"""A ToolresultsProjectsHistoriesExecutionsEnvironmentsGetRequest object. 2513 2514 Fields: 2515 environmentId: Required. An Environment id. 2516 executionId: Required. An Execution id. 2517 historyId: Required. A History id. 2518 projectId: Required. A Project id. 2519 """ 2520 2521 environmentId = _messages.StringField(1, required=True) 2522 executionId = _messages.StringField(2, required=True) 2523 historyId = _messages.StringField(3, required=True) 2524 projectId = _messages.StringField(4, required=True) 2525 2526 2527class ToolresultsProjectsHistoriesExecutionsEnvironmentsListRequest(_messages.Message): 2528 r"""A ToolresultsProjectsHistoriesExecutionsEnvironmentsListRequest object. 2529 2530 Fields: 2531 executionId: Required. An Execution id. 2532 historyId: Required. A History id. 2533 pageSize: The maximum number of Environments to fetch. Default value: 25. 2534 The server will use this default if the field is not set or has a value 2535 of 0. 2536 pageToken: A continuation token to resume the query at the next item. 2537 projectId: Required. A Project id. 2538 """ 2539 2540 executionId = _messages.StringField(1, required=True) 2541 historyId = _messages.StringField(2, required=True) 2542 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2543 pageToken = _messages.StringField(4) 2544 projectId = _messages.StringField(5, required=True) 2545 2546 2547class ToolresultsProjectsHistoriesExecutionsGetRequest(_messages.Message): 2548 r"""A ToolresultsProjectsHistoriesExecutionsGetRequest object. 2549 2550 Fields: 2551 executionId: An Execution id. Required. 2552 historyId: A History id. Required. 2553 projectId: A Project id. Required. 2554 """ 2555 2556 executionId = _messages.StringField(1, required=True) 2557 historyId = _messages.StringField(2, required=True) 2558 projectId = _messages.StringField(3, required=True) 2559 2560 2561class ToolresultsProjectsHistoriesExecutionsListRequest(_messages.Message): 2562 r"""A ToolresultsProjectsHistoriesExecutionsListRequest object. 2563 2564 Fields: 2565 historyId: A History id. Required. 2566 pageSize: The maximum number of Executions to fetch. Default value: 25. 2567 The server will use this default if the field is not set or has a value 2568 of 0. Optional. 2569 pageToken: A continuation token to resume the query at the next item. 2570 Optional. 2571 projectId: A Project id. Required. 2572 """ 2573 2574 historyId = _messages.StringField(1, required=True) 2575 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 2576 pageToken = _messages.StringField(3) 2577 projectId = _messages.StringField(4, required=True) 2578 2579 2580class ToolresultsProjectsHistoriesExecutionsPatchRequest(_messages.Message): 2581 r"""A ToolresultsProjectsHistoriesExecutionsPatchRequest object. 2582 2583 Fields: 2584 execution: A Execution resource to be passed as the request body. 2585 executionId: Required. 2586 historyId: Required. 2587 projectId: A Project id. Required. 2588 requestId: A unique request ID for server to detect duplicated requests. 2589 For example, a UUID. Optional, but strongly recommended. 2590 """ 2591 2592 execution = _messages.MessageField('Execution', 1) 2593 executionId = _messages.StringField(2, required=True) 2594 historyId = _messages.StringField(3, required=True) 2595 projectId = _messages.StringField(4, required=True) 2596 requestId = _messages.StringField(5) 2597 2598 2599class ToolresultsProjectsHistoriesExecutionsStepsAccessibilityClustersRequest(_messages.Message): 2600 r"""A 2601 ToolresultsProjectsHistoriesExecutionsStepsAccessibilityClustersRequest 2602 object. 2603 2604 Fields: 2605 locale: The accepted format is the canonical Unicode format with hyphen as 2606 a delimiter. Language must be lowercase, Language Script - Capitalized, 2607 Region - UPPERCASE. See 2608 http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for 2609 details. Required. 2610 name: A full resource name of the step. For example, projects/my- 2611 project/histories/bh.1234567890abcdef/executions/ 2612 1234567890123456789/steps/bs.1234567890abcdef Required. 2613 """ 2614 2615 locale = _messages.StringField(1) 2616 name = _messages.StringField(2, required=True) 2617 2618 2619class ToolresultsProjectsHistoriesExecutionsStepsCreateRequest(_messages.Message): 2620 r"""A ToolresultsProjectsHistoriesExecutionsStepsCreateRequest object. 2621 2622 Fields: 2623 executionId: Required. An Execution id. 2624 historyId: Required. A History id. 2625 projectId: Required. A Project id. 2626 requestId: A unique request ID for server to detect duplicated requests. 2627 For example, a UUID. Optional, but strongly recommended. 2628 step: A Step resource to be passed as the request body. 2629 """ 2630 2631 executionId = _messages.StringField(1, required=True) 2632 historyId = _messages.StringField(2, required=True) 2633 projectId = _messages.StringField(3, required=True) 2634 requestId = _messages.StringField(4) 2635 step = _messages.MessageField('Step', 5) 2636 2637 2638class ToolresultsProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryRequest(_messages.Message): 2639 r"""A 2640 ToolresultsProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryRequest 2641 object. 2642 2643 Fields: 2644 executionId: A tool results execution ID. 2645 historyId: A tool results history ID. 2646 projectId: The cloud project 2647 stepId: A tool results step ID. 2648 """ 2649 2650 executionId = _messages.StringField(1, required=True) 2651 historyId = _messages.StringField(2, required=True) 2652 projectId = _messages.StringField(3, required=True) 2653 stepId = _messages.StringField(4, required=True) 2654 2655 2656class ToolresultsProjectsHistoriesExecutionsStepsGetRequest(_messages.Message): 2657 r"""A ToolresultsProjectsHistoriesExecutionsStepsGetRequest object. 2658 2659 Fields: 2660 executionId: A Execution id. Required. 2661 historyId: A History id. Required. 2662 projectId: A Project id. Required. 2663 stepId: A Step id. Required. 2664 """ 2665 2666 executionId = _messages.StringField(1, required=True) 2667 historyId = _messages.StringField(2, required=True) 2668 projectId = _messages.StringField(3, required=True) 2669 stepId = _messages.StringField(4, required=True) 2670 2671 2672class ToolresultsProjectsHistoriesExecutionsStepsListRequest(_messages.Message): 2673 r"""A ToolresultsProjectsHistoriesExecutionsStepsListRequest object. 2674 2675 Fields: 2676 executionId: A Execution id. Required. 2677 historyId: A History id. Required. 2678 pageSize: The maximum number of Steps to fetch. Default value: 25. The 2679 server will use this default if the field is not set or has a value of 2680 0. Optional. 2681 pageToken: A continuation token to resume the query at the next item. 2682 Optional. 2683 projectId: A Project id. Required. 2684 """ 2685 2686 executionId = _messages.StringField(1, required=True) 2687 historyId = _messages.StringField(2, required=True) 2688 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2689 pageToken = _messages.StringField(4) 2690 projectId = _messages.StringField(5, required=True) 2691 2692 2693class ToolresultsProjectsHistoriesExecutionsStepsPatchRequest(_messages.Message): 2694 r"""A ToolresultsProjectsHistoriesExecutionsStepsPatchRequest object. 2695 2696 Fields: 2697 executionId: A Execution id. Required. 2698 historyId: A History id. Required. 2699 projectId: A Project id. Required. 2700 requestId: A unique request ID for server to detect duplicated requests. 2701 For example, a UUID. Optional, but strongly recommended. 2702 step: A Step resource to be passed as the request body. 2703 stepId: A Step id. Required. 2704 """ 2705 2706 executionId = _messages.StringField(1, required=True) 2707 historyId = _messages.StringField(2, required=True) 2708 projectId = _messages.StringField(3, required=True) 2709 requestId = _messages.StringField(4) 2710 step = _messages.MessageField('Step', 5) 2711 stepId = _messages.StringField(6, required=True) 2712 2713 2714class ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesGetRequest(_messages.Message): 2715 r"""A ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesGetRequest 2716 object. 2717 2718 Fields: 2719 executionId: A tool results execution ID. 2720 historyId: A tool results history ID. 2721 projectId: The cloud project 2722 sampleSeriesId: A sample series id 2723 stepId: A tool results step ID. 2724 """ 2725 2726 executionId = _messages.StringField(1, required=True) 2727 historyId = _messages.StringField(2, required=True) 2728 projectId = _messages.StringField(3, required=True) 2729 sampleSeriesId = _messages.StringField(4, required=True) 2730 stepId = _messages.StringField(5, required=True) 2731 2732 2733class ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesListRequest(_messages.Message): 2734 r"""A ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesListRequest 2735 object. 2736 2737 Enums: 2738 FilterValueValuesEnum: Specify one or more PerfMetricType values such as 2739 CPU to filter the result 2740 2741 Fields: 2742 executionId: A tool results execution ID. 2743 filter: Specify one or more PerfMetricType values such as CPU to filter 2744 the result 2745 historyId: A tool results history ID. 2746 projectId: The cloud project 2747 stepId: A tool results step ID. 2748 """ 2749 2750 class FilterValueValuesEnum(_messages.Enum): 2751 r"""Specify one or more PerfMetricType values such as CPU to filter the 2752 result 2753 2754 Values: 2755 perfMetricTypeUnspecified: <no description> 2756 memory: <no description> 2757 cpu: <no description> 2758 network: <no description> 2759 graphics: <no description> 2760 """ 2761 perfMetricTypeUnspecified = 0 2762 memory = 1 2763 cpu = 2 2764 network = 3 2765 graphics = 4 2766 2767 executionId = _messages.StringField(1, required=True) 2768 filter = _messages.EnumField('FilterValueValuesEnum', 2, repeated=True) 2769 historyId = _messages.StringField(3, required=True) 2770 projectId = _messages.StringField(4, required=True) 2771 stepId = _messages.StringField(5, required=True) 2772 2773 2774class ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateRequest(_messages.Message): 2775 r"""A ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatc 2776 hCreateRequest object. 2777 2778 Fields: 2779 batchCreatePerfSamplesRequest: A BatchCreatePerfSamplesRequest resource to 2780 be passed as the request body. 2781 executionId: A tool results execution ID. 2782 historyId: A tool results history ID. 2783 projectId: The cloud project 2784 sampleSeriesId: A sample series id 2785 stepId: A tool results step ID. 2786 """ 2787 2788 batchCreatePerfSamplesRequest = _messages.MessageField('BatchCreatePerfSamplesRequest', 1) 2789 executionId = _messages.StringField(2, required=True) 2790 historyId = _messages.StringField(3, required=True) 2791 projectId = _messages.StringField(4, required=True) 2792 sampleSeriesId = _messages.StringField(5, required=True) 2793 stepId = _messages.StringField(6, required=True) 2794 2795 2796class ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListRequest(_messages.Message): 2797 r"""A ToolresultsProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesList 2798 Request object. 2799 2800 Fields: 2801 executionId: A tool results execution ID. 2802 historyId: A tool results history ID. 2803 pageSize: The default page size is 500 samples, and the maximum size is 2804 5000. If the page_size is greater than 5000, the effective page size 2805 will be 5000 2806 pageToken: Optional, the next_page_token returned in the previous response 2807 projectId: The cloud project 2808 sampleSeriesId: A sample series id 2809 stepId: A tool results step ID. 2810 """ 2811 2812 executionId = _messages.StringField(1, required=True) 2813 historyId = _messages.StringField(2, required=True) 2814 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2815 pageToken = _messages.StringField(4) 2816 projectId = _messages.StringField(5, required=True) 2817 sampleSeriesId = _messages.StringField(6, required=True) 2818 stepId = _messages.StringField(7, required=True) 2819 2820 2821class ToolresultsProjectsHistoriesExecutionsStepsPublishXunitXmlFilesRequest(_messages.Message): 2822 r"""A ToolresultsProjectsHistoriesExecutionsStepsPublishXunitXmlFilesRequest 2823 object. 2824 2825 Fields: 2826 executionId: A Execution id. Required. 2827 historyId: A History id. Required. 2828 projectId: A Project id. Required. 2829 publishXunitXmlFilesRequest: A PublishXunitXmlFilesRequest resource to be 2830 passed as the request body. 2831 stepId: A Step id. Note: This step must include a TestExecutionStep. 2832 Required. 2833 """ 2834 2835 executionId = _messages.StringField(1, required=True) 2836 historyId = _messages.StringField(2, required=True) 2837 projectId = _messages.StringField(3, required=True) 2838 publishXunitXmlFilesRequest = _messages.MessageField('PublishXunitXmlFilesRequest', 4) 2839 stepId = _messages.StringField(5, required=True) 2840 2841 2842class ToolresultsProjectsHistoriesExecutionsStepsTestCasesGetRequest(_messages.Message): 2843 r"""A ToolresultsProjectsHistoriesExecutionsStepsTestCasesGetRequest object. 2844 2845 Fields: 2846 executionId: A Execution id Required. 2847 historyId: A History id. Required. 2848 projectId: A Project id. Required. 2849 stepId: A Step id. Note: This step must include a TestExecutionStep. 2850 Required. 2851 testCaseId: A Test Case id. Required. 2852 """ 2853 2854 executionId = _messages.StringField(1, required=True) 2855 historyId = _messages.StringField(2, required=True) 2856 projectId = _messages.StringField(3, required=True) 2857 stepId = _messages.StringField(4, required=True) 2858 testCaseId = _messages.StringField(5, required=True) 2859 2860 2861class ToolresultsProjectsHistoriesExecutionsStepsTestCasesListRequest(_messages.Message): 2862 r"""A ToolresultsProjectsHistoriesExecutionsStepsTestCasesListRequest 2863 object. 2864 2865 Fields: 2866 executionId: A Execution id Required. 2867 historyId: A History id. Required. 2868 pageSize: The maximum number of TestCases to fetch. Default value: 100. 2869 The server will use this default if the field is not set or has a value 2870 of 0. Optional. 2871 pageToken: A continuation token to resume the query at the next item. 2872 Optional. 2873 projectId: A Project id. Required. 2874 stepId: A Step id. Note: This step must include a TestExecutionStep. 2875 Required. 2876 """ 2877 2878 executionId = _messages.StringField(1, required=True) 2879 historyId = _messages.StringField(2, required=True) 2880 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2881 pageToken = _messages.StringField(4) 2882 projectId = _messages.StringField(5, required=True) 2883 stepId = _messages.StringField(6, required=True) 2884 2885 2886class ToolresultsProjectsHistoriesExecutionsStepsThumbnailsListRequest(_messages.Message): 2887 r"""A ToolresultsProjectsHistoriesExecutionsStepsThumbnailsListRequest 2888 object. 2889 2890 Fields: 2891 executionId: An Execution id. Required. 2892 historyId: A History id. Required. 2893 pageSize: The maximum number of thumbnails to fetch. Default value: 50. 2894 The server will use this default if the field is not set or has a value 2895 of 0. Optional. 2896 pageToken: A continuation token to resume the query at the next item. 2897 Optional. 2898 projectId: A Project id. Required. 2899 stepId: A Step id. Required. 2900 """ 2901 2902 executionId = _messages.StringField(1, required=True) 2903 historyId = _messages.StringField(2, required=True) 2904 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2905 pageToken = _messages.StringField(4) 2906 projectId = _messages.StringField(5, required=True) 2907 stepId = _messages.StringField(6, required=True) 2908 2909 2910class ToolresultsProjectsHistoriesGetRequest(_messages.Message): 2911 r"""A ToolresultsProjectsHistoriesGetRequest object. 2912 2913 Fields: 2914 historyId: A History id. Required. 2915 projectId: A Project id. Required. 2916 """ 2917 2918 historyId = _messages.StringField(1, required=True) 2919 projectId = _messages.StringField(2, required=True) 2920 2921 2922class ToolresultsProjectsHistoriesListRequest(_messages.Message): 2923 r"""A ToolresultsProjectsHistoriesListRequest object. 2924 2925 Fields: 2926 filterByName: If set, only return histories with the given name. Optional. 2927 pageSize: The maximum number of Histories to fetch. Default value: 20. The 2928 server will use this default if the field is not set or has a value of 2929 0. Any value greater than 100 will be treated as 100. Optional. 2930 pageToken: A continuation token to resume the query at the next item. 2931 Optional. 2932 projectId: A Project id. Required. 2933 """ 2934 2935 filterByName = _messages.StringField(1) 2936 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 2937 pageToken = _messages.StringField(3) 2938 projectId = _messages.StringField(4, required=True) 2939 2940 2941class ToolresultsProjectsInitializeSettingsRequest(_messages.Message): 2942 r"""A ToolresultsProjectsInitializeSettingsRequest object. 2943 2944 Fields: 2945 projectId: A Project id. Required. 2946 """ 2947 2948 projectId = _messages.StringField(1, required=True) 2949 2950 2951class UIElementTooDeep(_messages.Message): 2952 r"""A warning that the screen hierarchy is deeper than the recommended 2953 threshold. 2954 2955 Fields: 2956 depth: The depth of the screen element 2957 screenId: The screen id of the element 2958 screenStateId: The screen state id of the element 2959 """ 2960 2961 depth = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2962 screenId = _messages.StringField(2) 2963 screenStateId = _messages.StringField(3) 2964 2965 2966class UnspecifiedWarning(_messages.Message): 2967 r"""Default unspecified warning.""" 2968 2969 2970class UnusedRoboDirective(_messages.Message): 2971 r"""Additional details of an unused robodirective. 2972 2973 Fields: 2974 resourceName: The name of the resource that was unused. 2975 """ 2976 2977 resourceName = _messages.StringField(1) 2978 2979 2980class UpgradeInsight(_messages.Message): 2981 r"""This insight is a recommendation to upgrade a given library to the 2982 specified version, in order to avoid dependencies on non-SDK APIs. 2983 2984 Fields: 2985 packageName: The name of the package to be upgraded. 2986 upgradeToVersion: The suggested version to upgrade to. Optional: In case 2987 we are not sure which version solves this problem 2988 """ 2989 2990 packageName = _messages.StringField(1) 2991 upgradeToVersion = _messages.StringField(2) 2992 2993 2994class UsedRoboDirective(_messages.Message): 2995 r"""Additional details of a used Robo directive. 2996 2997 Fields: 2998 resourceName: The name of the resource that was used. 2999 """ 3000 3001 resourceName = _messages.StringField(1) 3002 3003 3004class UsedRoboIgnoreDirective(_messages.Message): 3005 r"""Additional details of a used Robo directive with an ignore action. Note: 3006 This is a different scenario than unused directive. 3007 3008 Fields: 3009 resourceName: The name of the resource that was ignored. 3010 """ 3011 3012 resourceName = _messages.StringField(1) 3013 3014 3015encoding.AddCustomJsonFieldMapping( 3016 StandardQueryParameters, 'f__xgafv', '$.xgafv') 3017encoding.AddCustomJsonEnumMapping( 3018 StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1') 3019encoding.AddCustomJsonEnumMapping( 3020 StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2') 3021