Enum value maps for DeviceForm.
var ( DeviceForm_name = map[int32]string{ 0: "DEVICE_FORM_UNSPECIFIED", 1: "VIRTUAL", 2: "PHYSICAL", 3: "EMULATOR", } DeviceForm_value = map[string]int32{ "DEVICE_FORM_UNSPECIFIED": 0, "VIRTUAL": 1, "PHYSICAL": 2, "EMULATOR": 3, } )
Enum value maps for DeviceFormFactor.
var ( DeviceFormFactor_name = map[int32]string{ 0: "DEVICE_FORM_FACTOR_UNSPECIFIED", 1: "PHONE", 2: "TABLET", 3: "WEARABLE", } DeviceFormFactor_value = map[string]int32{ "DEVICE_FORM_FACTOR_UNSPECIFIED": 0, "PHONE": 1, "TABLET": 2, "WEARABLE": 3, } )
Enum value maps for DeviceCapacity.
var ( DeviceCapacity_name = map[int32]string{ 0: "DEVICE_CAPACITY_UNSPECIFIED", 1: "DEVICE_CAPACITY_HIGH", 2: "DEVICE_CAPACITY_MEDIUM", 3: "DEVICE_CAPACITY_LOW", 4: "DEVICE_CAPACITY_NONE", } DeviceCapacity_value = map[string]int32{ "DEVICE_CAPACITY_UNSPECIFIED": 0, "DEVICE_CAPACITY_HIGH": 1, "DEVICE_CAPACITY_MEDIUM": 2, "DEVICE_CAPACITY_LOW": 3, "DEVICE_CAPACITY_NONE": 4, } )
Enum value maps for GetTestEnvironmentCatalogRequest_EnvironmentType.
var ( GetTestEnvironmentCatalogRequest_EnvironmentType_name = map[int32]string{ 0: "ENVIRONMENT_TYPE_UNSPECIFIED", 1: "ANDROID", 3: "IOS", 4: "NETWORK_CONFIGURATION", 5: "PROVIDED_SOFTWARE", 6: "DEVICE_IP_BLOCKS", } GetTestEnvironmentCatalogRequest_EnvironmentType_value = map[string]int32{ "ENVIRONMENT_TYPE_UNSPECIFIED": 0, "ANDROID": 1, "IOS": 3, "NETWORK_CONFIGURATION": 4, "PROVIDED_SOFTWARE": 5, "DEVICE_IP_BLOCKS": 6, } )
Enum value maps for OrchestratorOption.
var ( OrchestratorOption_name = map[int32]string{ 0: "ORCHESTRATOR_OPTION_UNSPECIFIED", 1: "USE_ORCHESTRATOR", 2: "DO_NOT_USE_ORCHESTRATOR", } OrchestratorOption_value = map[string]int32{ "ORCHESTRATOR_OPTION_UNSPECIFIED": 0, "USE_ORCHESTRATOR": 1, "DO_NOT_USE_ORCHESTRATOR": 2, } )
Enum value maps for RoboMode.
var ( RoboMode_name = map[int32]string{ 0: "ROBO_MODE_UNSPECIFIED", 1: "ROBO_VERSION_1", 2: "ROBO_VERSION_2", } RoboMode_value = map[string]int32{ "ROBO_MODE_UNSPECIFIED": 0, "ROBO_VERSION_1": 1, "ROBO_VERSION_2": 2, } )
Enum value maps for RoboActionType.
var ( RoboActionType_name = map[int32]string{ 0: "ACTION_TYPE_UNSPECIFIED", 1: "SINGLE_CLICK", 2: "ENTER_TEXT", 3: "IGNORE", } RoboActionType_value = map[string]int32{ "ACTION_TYPE_UNSPECIFIED": 0, "SINGLE_CLICK": 1, "ENTER_TEXT": 2, "IGNORE": 3, } )
Enum value maps for InvalidMatrixDetails.
var ( InvalidMatrixDetails_name = map[int32]string{ 0: "INVALID_MATRIX_DETAILS_UNSPECIFIED", 1: "DETAILS_UNAVAILABLE", 2: "MALFORMED_APK", 3: "MALFORMED_TEST_APK", 4: "NO_MANIFEST", 5: "NO_PACKAGE_NAME", 31: "INVALID_PACKAGE_NAME", 6: "TEST_SAME_AS_APP", 7: "NO_INSTRUMENTATION", 20: "NO_SIGNATURE", 18: "INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE", 19: "NO_TEST_RUNNER_CLASS", 8: "NO_LAUNCHER_ACTIVITY", 9: "FORBIDDEN_PERMISSIONS", 10: "INVALID_ROBO_DIRECTIVES", 33: "INVALID_RESOURCE_NAME", 34: "INVALID_DIRECTIVE_ACTION", 12: "TEST_LOOP_INTENT_FILTER_NOT_FOUND", 13: "SCENARIO_LABEL_NOT_DECLARED", 14: "SCENARIO_LABEL_MALFORMED", 15: "SCENARIO_NOT_DECLARED", 17: "DEVICE_ADMIN_RECEIVER", 11: "MALFORMED_XC_TEST_ZIP", 24: "BUILT_FOR_IOS_SIMULATOR", 25: "NO_TESTS_IN_XC_TEST_ZIP", 26: "USE_DESTINATION_ARTIFACTS", 28: "TEST_NOT_APP_HOSTED", 30: "PLIST_CANNOT_BE_PARSED", 21: "TEST_ONLY_APK", 22: "MALFORMED_IPA", 35: "MISSING_URL_SCHEME", 36: "MALFORMED_APP_BUNDLE", 23: "NO_CODE_APK", 27: "INVALID_INPUT_APK", 29: "INVALID_APK_PREVIEW_SDK", 37: "MATRIX_TOO_LARGE", 39: "TEST_QUOTA_EXCEEDED", 40: "SERVICE_NOT_ACTIVATED", 41: "UNKNOWN_PERMISSION_ERROR", } InvalidMatrixDetails_value = map[string]int32{ "INVALID_MATRIX_DETAILS_UNSPECIFIED": 0, "DETAILS_UNAVAILABLE": 1, "MALFORMED_APK": 2, "MALFORMED_TEST_APK": 3, "NO_MANIFEST": 4, "NO_PACKAGE_NAME": 5, "INVALID_PACKAGE_NAME": 31, "TEST_SAME_AS_APP": 6, "NO_INSTRUMENTATION": 7, "NO_SIGNATURE": 20, "INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE": 18, "NO_TEST_RUNNER_CLASS": 19, "NO_LAUNCHER_ACTIVITY": 8, "FORBIDDEN_PERMISSIONS": 9, "INVALID_ROBO_DIRECTIVES": 10, "INVALID_RESOURCE_NAME": 33, "INVALID_DIRECTIVE_ACTION": 34, "TEST_LOOP_INTENT_FILTER_NOT_FOUND": 12, "SCENARIO_LABEL_NOT_DECLARED": 13, "SCENARIO_LABEL_MALFORMED": 14, "SCENARIO_NOT_DECLARED": 15, "DEVICE_ADMIN_RECEIVER": 17, "MALFORMED_XC_TEST_ZIP": 11, "BUILT_FOR_IOS_SIMULATOR": 24, "NO_TESTS_IN_XC_TEST_ZIP": 25, "USE_DESTINATION_ARTIFACTS": 26, "TEST_NOT_APP_HOSTED": 28, "PLIST_CANNOT_BE_PARSED": 30, "TEST_ONLY_APK": 21, "MALFORMED_IPA": 22, "MISSING_URL_SCHEME": 35, "MALFORMED_APP_BUNDLE": 36, "NO_CODE_APK": 23, "INVALID_INPUT_APK": 27, "INVALID_APK_PREVIEW_SDK": 29, "MATRIX_TOO_LARGE": 37, "TEST_QUOTA_EXCEEDED": 39, "SERVICE_NOT_ACTIVATED": 40, "UNKNOWN_PERMISSION_ERROR": 41, } )
Enum value maps for TestState.
var ( TestState_name = map[int32]string{ 0: "TEST_STATE_UNSPECIFIED", 8: "VALIDATING", 1: "PENDING", 2: "RUNNING", 3: "FINISHED", 4: "ERROR", 5: "UNSUPPORTED_ENVIRONMENT", 9: "INCOMPATIBLE_ENVIRONMENT", 10: "INCOMPATIBLE_ARCHITECTURE", 6: "CANCELLED", 7: "INVALID", } TestState_value = map[string]int32{ "TEST_STATE_UNSPECIFIED": 0, "VALIDATING": 8, "PENDING": 1, "RUNNING": 2, "FINISHED": 3, "ERROR": 4, "UNSUPPORTED_ENVIRONMENT": 5, "INCOMPATIBLE_ENVIRONMENT": 9, "INCOMPATIBLE_ARCHITECTURE": 10, "CANCELLED": 6, "INVALID": 7, } )
Enum value maps for OutcomeSummary.
var ( OutcomeSummary_name = map[int32]string{ 0: "OUTCOME_SUMMARY_UNSPECIFIED", 1: "SUCCESS", 2: "FAILURE", 3: "INCONCLUSIVE", 4: "SKIPPED", } OutcomeSummary_value = map[string]int32{ "OUTCOME_SUMMARY_UNSPECIFIED": 0, "SUCCESS": 1, "FAILURE": 2, "INCONCLUSIVE": 3, "SKIPPED": 4, } )
Enum value maps for InvalidRequestDetail_Reason.
var ( InvalidRequestDetail_Reason_name = map[int32]string{ 0: "REASON_UNSPECIFIED", 1: "REQUEST_INVALID", 2: "RESOURCE_TOO_BIG", 3: "RESOURCE_NOT_FOUND", 4: "UNSUPPORTED", 5: "NOT_IMPLEMENTED", } InvalidRequestDetail_Reason_value = map[string]int32{ "REASON_UNSPECIFIED": 0, "REQUEST_INVALID": 1, "RESOURCE_TOO_BIG": 2, "RESOURCE_NOT_FOUND": 3, "UNSUPPORTED": 4, "NOT_IMPLEMENTED": 5, } )
var File_google_devtools_testing_v1_application_details_proto protoreflect.FileDescriptor
var File_google_devtools_testing_v1_test_environment_discovery_proto protoreflect.FileDescriptor
var File_google_devtools_testing_v1_test_execution_proto protoreflect.FileDescriptor
func RegisterApplicationDetailServiceServer(s *grpc.Server, srv ApplicationDetailServiceServer)
func RegisterTestEnvironmentDiscoveryServiceServer(s *grpc.Server, srv TestEnvironmentDiscoveryServiceServer)
func RegisterTestExecutionServiceServer(s *grpc.Server, srv TestExecutionServiceServer)
Identifies an account and how to log into it.
type Account struct { // Required. The type of account, based what it's for (e.g. Google) and what // its login mechanism is (e.g. username and password). // // Types that are assignable to AccountType: // // *Account_GoogleAuto AccountType isAccount_AccountType `protobuf_oneof:"account_type"` // contains filtered or unexported fields }
func (*Account) Descriptor() ([]byte, []int)
Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (m *Account) GetAccountType() isAccount_AccountType
func (x *Account) GetGoogleAuto() *GoogleAuto
func (*Account) ProtoMessage()
func (x *Account) ProtoReflect() protoreflect.Message
func (x *Account) Reset()
func (x *Account) String() string
type Account_GoogleAuto struct { // An automatic google login account. GoogleAuto *GoogleAuto `protobuf:"bytes,1,opt,name=google_auto,json=googleAuto,proto3,oneof"` }
A single Android device.
type AndroidDevice struct { // Required. The id of the Android device to be used. // Use the TestEnvironmentDiscoveryService to get supported options. AndroidModelId string `protobuf:"bytes,1,opt,name=android_model_id,json=androidModelId,proto3" json:"android_model_id,omitempty"` // Required. The id of the Android OS version to be used. // Use the TestEnvironmentDiscoveryService to get supported options. AndroidVersionId string `protobuf:"bytes,2,opt,name=android_version_id,json=androidVersionId,proto3" json:"android_version_id,omitempty"` // Required. The locale the test device used for testing. // Use the TestEnvironmentDiscoveryService to get supported options. Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // Required. How the device is oriented during the test. // Use the TestEnvironmentDiscoveryService to get supported options. Orientation string `protobuf:"bytes,4,opt,name=orientation,proto3" json:"orientation,omitempty"` // contains filtered or unexported fields }
func (*AndroidDevice) Descriptor() ([]byte, []int)
Deprecated: Use AndroidDevice.ProtoReflect.Descriptor instead.
func (x *AndroidDevice) GetAndroidModelId() string
func (x *AndroidDevice) GetAndroidVersionId() string
func (x *AndroidDevice) GetLocale() string
func (x *AndroidDevice) GetOrientation() string
func (*AndroidDevice) ProtoMessage()
func (x *AndroidDevice) ProtoReflect() protoreflect.Message
func (x *AndroidDevice) Reset()
func (x *AndroidDevice) String() string
The currently supported Android devices.
type AndroidDeviceCatalog struct { // The set of supported Android device models. Models []*AndroidModel `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // The set of supported Android OS versions. Versions []*AndroidVersion `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` // The set of supported runtime configurations. RuntimeConfiguration *AndroidRuntimeConfiguration `protobuf:"bytes,3,opt,name=runtime_configuration,json=runtimeConfiguration,proto3" json:"runtime_configuration,omitempty"` // contains filtered or unexported fields }
func (*AndroidDeviceCatalog) Descriptor() ([]byte, []int)
Deprecated: Use AndroidDeviceCatalog.ProtoReflect.Descriptor instead.
func (x *AndroidDeviceCatalog) GetModels() []*AndroidModel
func (x *AndroidDeviceCatalog) GetRuntimeConfiguration() *AndroidRuntimeConfiguration
func (x *AndroidDeviceCatalog) GetVersions() []*AndroidVersion
func (*AndroidDeviceCatalog) ProtoMessage()
func (x *AndroidDeviceCatalog) ProtoReflect() protoreflect.Message
func (x *AndroidDeviceCatalog) Reset()
func (x *AndroidDeviceCatalog) String() string
A list of Android device configurations in which the test is to be executed.
type AndroidDeviceList struct { // Required. A list of Android devices. AndroidDevices []*AndroidDevice `protobuf:"bytes,1,rep,name=android_devices,json=androidDevices,proto3" json:"android_devices,omitempty"` // contains filtered or unexported fields }
func (*AndroidDeviceList) Descriptor() ([]byte, []int)
Deprecated: Use AndroidDeviceList.ProtoReflect.Descriptor instead.
func (x *AndroidDeviceList) GetAndroidDevices() []*AndroidDevice
func (*AndroidDeviceList) ProtoMessage()
func (x *AndroidDeviceList) ProtoReflect() protoreflect.Message
func (x *AndroidDeviceList) Reset()
func (x *AndroidDeviceList) String() string
A test of an Android application that can control an Android component independently of its normal lifecycle. Android instrumentation tests run an application APK and test APK inside the same process on a virtual or physical AndroidDevice. They also specify a test runner class, such as com.google.GoogleTestRunner, which can vary on the specific instrumentation framework chosen.
See <https://developer.android.com/training/testing/fundamentals> for more information on types of Android tests.
type AndroidInstrumentationTest struct { // Required. // // Types that are assignable to AppUnderTest: // // *AndroidInstrumentationTest_AppApk // *AndroidInstrumentationTest_AppBundle AppUnderTest isAndroidInstrumentationTest_AppUnderTest `protobuf_oneof:"app_under_test"` // Required. The APK containing the test code to be executed. TestApk *FileReference `protobuf:"bytes,2,opt,name=test_apk,json=testApk,proto3" json:"test_apk,omitempty"` // The java package for the application under test. // The default value is determined by examining the application's manifest. AppPackageId string `protobuf:"bytes,3,opt,name=app_package_id,json=appPackageId,proto3" json:"app_package_id,omitempty"` // The java package for the test to be executed. // The default value is determined by examining the application's manifest. TestPackageId string `protobuf:"bytes,4,opt,name=test_package_id,json=testPackageId,proto3" json:"test_package_id,omitempty"` // The InstrumentationTestRunner class. // The default value is determined by examining the application's manifest. TestRunnerClass string `protobuf:"bytes,5,opt,name=test_runner_class,json=testRunnerClass,proto3" json:"test_runner_class,omitempty"` // Each target must be fully qualified with the package name or class name, // in one of these formats: // - "package package_name" // - "class package_name.class_name" // - "class package_name.class_name#method_name" // // If empty, all targets in the module will be run. TestTargets []string `protobuf:"bytes,6,rep,name=test_targets,json=testTargets,proto3" json:"test_targets,omitempty"` // The option of whether running each test within its own invocation of // instrumentation with Android Test Orchestrator or not. // ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or // higher! ** // Orchestrator offers the following benefits: // - No shared state // - Crashes are isolated // - Logs are scoped per test // // See // <https://developer.android.com/training/testing/junit-runner.html#using-android-test-orchestrator> // for more information about Android Test Orchestrator. // // If not set, the test will be run without the orchestrator. OrchestratorOption OrchestratorOption `protobuf:"varint,7,opt,name=orchestrator_option,json=orchestratorOption,proto3,enum=google.devtools.testing.v1.OrchestratorOption" json:"orchestrator_option,omitempty"` // The option to run tests in multiple shards in parallel. ShardingOption *ShardingOption `protobuf:"bytes,9,opt,name=sharding_option,json=shardingOption,proto3" json:"sharding_option,omitempty"` // contains filtered or unexported fields }
func (*AndroidInstrumentationTest) Descriptor() ([]byte, []int)
Deprecated: Use AndroidInstrumentationTest.ProtoReflect.Descriptor instead.
func (x *AndroidInstrumentationTest) GetAppApk() *FileReference
func (x *AndroidInstrumentationTest) GetAppBundle() *AppBundle
func (x *AndroidInstrumentationTest) GetAppPackageId() string
func (m *AndroidInstrumentationTest) GetAppUnderTest() isAndroidInstrumentationTest_AppUnderTest
func (x *AndroidInstrumentationTest) GetOrchestratorOption() OrchestratorOption
func (x *AndroidInstrumentationTest) GetShardingOption() *ShardingOption
func (x *AndroidInstrumentationTest) GetTestApk() *FileReference
func (x *AndroidInstrumentationTest) GetTestPackageId() string
func (x *AndroidInstrumentationTest) GetTestRunnerClass() string
func (x *AndroidInstrumentationTest) GetTestTargets() []string
func (*AndroidInstrumentationTest) ProtoMessage()
func (x *AndroidInstrumentationTest) ProtoReflect() protoreflect.Message
func (x *AndroidInstrumentationTest) Reset()
func (x *AndroidInstrumentationTest) String() string
type AndroidInstrumentationTest_AppApk struct { // The APK for the application under test. AppApk *FileReference `protobuf:"bytes,1,opt,name=app_apk,json=appApk,proto3,oneof"` }
type AndroidInstrumentationTest_AppBundle struct { // A multi-apk app bundle for the application under test. AppBundle *AppBundle `protobuf:"bytes,8,opt,name=app_bundle,json=appBundle,proto3,oneof"` }
A set of Android device configuration permutations is defined by the the cross-product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices.
Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored.
type AndroidMatrix struct { // Required. The ids of the set of Android device to be used. // Use the TestEnvironmentDiscoveryService to get supported options. AndroidModelIds []string `protobuf:"bytes,1,rep,name=android_model_ids,json=androidModelIds,proto3" json:"android_model_ids,omitempty"` // Required. The ids of the set of Android OS version to be used. // Use the TestEnvironmentDiscoveryService to get supported options. AndroidVersionIds []string `protobuf:"bytes,2,rep,name=android_version_ids,json=androidVersionIds,proto3" json:"android_version_ids,omitempty"` // Required. The set of locales the test device will enable for testing. // Use the TestEnvironmentDiscoveryService to get supported options. Locales []string `protobuf:"bytes,3,rep,name=locales,proto3" json:"locales,omitempty"` // Required. The set of orientations to test with. // Use the TestEnvironmentDiscoveryService to get supported options. Orientations []string `protobuf:"bytes,4,rep,name=orientations,proto3" json:"orientations,omitempty"` // contains filtered or unexported fields }
func (*AndroidMatrix) Descriptor() ([]byte, []int)
Deprecated: Use AndroidMatrix.ProtoReflect.Descriptor instead.
func (x *AndroidMatrix) GetAndroidModelIds() []string
func (x *AndroidMatrix) GetAndroidVersionIds() []string
func (x *AndroidMatrix) GetLocales() []string
func (x *AndroidMatrix) GetOrientations() []string
func (*AndroidMatrix) ProtoMessage()
func (x *AndroidMatrix) ProtoReflect() protoreflect.Message
func (x *AndroidMatrix) Reset()
func (x *AndroidMatrix) String() string
A description of an Android device tests may be run on.
type AndroidModel struct { // The unique opaque id for this model. // Use this for invoking the TestExecutionService. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The human-readable marketing name for this device model. // Examples: "Nexus 5", "Galaxy S5". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The manufacturer of this device. Manufacturer string `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` // The company that this device is branded with. // Example: "Google", "Samsung". Brand string `protobuf:"bytes,9,opt,name=brand,proto3" json:"brand,omitempty"` // The name of the industrial design. // This corresponds to android.os.Build.DEVICE. Codename string `protobuf:"bytes,10,opt,name=codename,proto3" json:"codename,omitempty"` // Whether this device is virtual or physical. Form DeviceForm `protobuf:"varint,4,opt,name=form,proto3,enum=google.devtools.testing.v1.DeviceForm" json:"form,omitempty"` // Whether this device is a phone, tablet, wearable, etc. FormFactor DeviceFormFactor `protobuf:"varint,16,opt,name=form_factor,json=formFactor,proto3,enum=google.devtools.testing.v1.DeviceFormFactor" json:"form_factor,omitempty"` // Version-specific information of an Android model. PerVersionInfo []*PerAndroidVersionInfo `protobuf:"bytes,21,rep,name=per_version_info,json=perVersionInfo,proto3" json:"per_version_info,omitempty"` // Screen size in the horizontal (X) dimension measured in pixels. ScreenX int32 `protobuf:"varint,5,opt,name=screen_x,json=screenX,proto3" json:"screen_x,omitempty"` // Screen size in the vertical (Y) dimension measured in pixels. ScreenY int32 `protobuf:"varint,6,opt,name=screen_y,json=screenY,proto3" json:"screen_y,omitempty"` // Screen density in DPI. // This corresponds to ro.sf.lcd_density ScreenDensity int32 `protobuf:"varint,12,opt,name=screen_density,json=screenDensity,proto3" json:"screen_density,omitempty"` // True if and only if tests with this model are recorded by stitching // together screenshots. See use_low_spec_video_recording in device config. LowFpsVideoRecording bool `protobuf:"varint,17,opt,name=low_fps_video_recording,json=lowFpsVideoRecording,proto3" json:"low_fps_video_recording,omitempty"` // The set of Android versions this device supports. SupportedVersionIds []string `protobuf:"bytes,7,rep,name=supported_version_ids,json=supportedVersionIds,proto3" json:"supported_version_ids,omitempty"` // The list of supported ABIs for this device. // This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level // 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. // The most preferred ABI is the first element in the list. // // Elements are optionally prefixed by "version_id:" (where version_id is // the id of an AndroidVersion), denoting an ABI that is supported only on // a particular version. SupportedAbis []string `protobuf:"bytes,11,rep,name=supported_abis,json=supportedAbis,proto3" json:"supported_abis,omitempty"` // Tags for this dimension. // Examples: "default", "preview", "deprecated". Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // URL of a thumbnail image (photo) of the device. ThumbnailUrl string `protobuf:"bytes,19,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // contains filtered or unexported fields }
func (*AndroidModel) Descriptor() ([]byte, []int)
Deprecated: Use AndroidModel.ProtoReflect.Descriptor instead.
func (x *AndroidModel) GetBrand() string
func (x *AndroidModel) GetCodename() string
func (x *AndroidModel) GetForm() DeviceForm
func (x *AndroidModel) GetFormFactor() DeviceFormFactor
func (x *AndroidModel) GetId() string
func (x *AndroidModel) GetLowFpsVideoRecording() bool
func (x *AndroidModel) GetManufacturer() string
func (x *AndroidModel) GetName() string
func (x *AndroidModel) GetPerVersionInfo() []*PerAndroidVersionInfo
func (x *AndroidModel) GetScreenDensity() int32
func (x *AndroidModel) GetScreenX() int32
func (x *AndroidModel) GetScreenY() int32
func (x *AndroidModel) GetSupportedAbis() []string
func (x *AndroidModel) GetSupportedVersionIds() []string
func (x *AndroidModel) GetTags() []string
func (x *AndroidModel) GetThumbnailUrl() string
func (*AndroidModel) ProtoMessage()
func (x *AndroidModel) ProtoReflect() protoreflect.Message
func (x *AndroidModel) Reset()
func (x *AndroidModel) String() string
A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.
type AndroidRoboTest struct { // Required. // // Types that are assignable to AppUnderTest: // // *AndroidRoboTest_AppApk // *AndroidRoboTest_AppBundle AppUnderTest isAndroidRoboTest_AppUnderTest `protobuf_oneof:"app_under_test"` // The java package for the application under test. // The default value is determined by examining the application's manifest. AppPackageId string `protobuf:"bytes,2,opt,name=app_package_id,json=appPackageId,proto3" json:"app_package_id,omitempty"` // The initial activity that should be used to start the app. AppInitialActivity string `protobuf:"bytes,3,opt,name=app_initial_activity,json=appInitialActivity,proto3" json:"app_initial_activity,omitempty"` // The max depth of the traversal stack Robo can explore. Needs to be at least // 2 to make Robo explore the app beyond the first activity. // Default is 50. // // Deprecated: Do not use. MaxDepth int32 `protobuf:"varint,7,opt,name=max_depth,json=maxDepth,proto3" json:"max_depth,omitempty"` // The max number of steps Robo can execute. // Default is no limit. // // Deprecated: Do not use. MaxSteps int32 `protobuf:"varint,8,opt,name=max_steps,json=maxSteps,proto3" json:"max_steps,omitempty"` // A set of directives Robo should apply during the crawl. // This allows users to customize the crawl. For example, the username and // password for a test account can be provided. RoboDirectives []*RoboDirective `protobuf:"bytes,11,rep,name=robo_directives,json=roboDirectives,proto3" json:"robo_directives,omitempty"` // The mode in which Robo should run. Most clients should allow the server to // populate this field automatically. RoboMode RoboMode `protobuf:"varint,14,opt,name=robo_mode,json=roboMode,proto3,enum=google.devtools.testing.v1.RoboMode" json:"robo_mode,omitempty"` // A JSON file with a sequence of actions Robo should perform as a prologue // for the crawl. RoboScript *FileReference `protobuf:"bytes,13,opt,name=robo_script,json=roboScript,proto3" json:"robo_script,omitempty"` // The intents used to launch the app for the crawl. // If none are provided, then the main launcher activity is launched. // If some are provided, then only those provided are launched (the main // launcher activity must be provided explicitly). StartingIntents []*RoboStartingIntent `protobuf:"bytes,15,rep,name=starting_intents,json=startingIntents,proto3" json:"starting_intents,omitempty"` // contains filtered or unexported fields }
func (*AndroidRoboTest) Descriptor() ([]byte, []int)
Deprecated: Use AndroidRoboTest.ProtoReflect.Descriptor instead.
func (x *AndroidRoboTest) GetAppApk() *FileReference
func (x *AndroidRoboTest) GetAppBundle() *AppBundle
func (x *AndroidRoboTest) GetAppInitialActivity() string
func (x *AndroidRoboTest) GetAppPackageId() string
func (m *AndroidRoboTest) GetAppUnderTest() isAndroidRoboTest_AppUnderTest
func (x *AndroidRoboTest) GetMaxDepth() int32
Deprecated: Do not use.
func (x *AndroidRoboTest) GetMaxSteps() int32
Deprecated: Do not use.
func (x *AndroidRoboTest) GetRoboDirectives() []*RoboDirective
func (x *AndroidRoboTest) GetRoboMode() RoboMode
func (x *AndroidRoboTest) GetRoboScript() *FileReference
func (x *AndroidRoboTest) GetStartingIntents() []*RoboStartingIntent
func (*AndroidRoboTest) ProtoMessage()
func (x *AndroidRoboTest) ProtoReflect() protoreflect.Message
func (x *AndroidRoboTest) Reset()
func (x *AndroidRoboTest) String() string
type AndroidRoboTest_AppApk struct { // The APK for the application under test. AppApk *FileReference `protobuf:"bytes,1,opt,name=app_apk,json=appApk,proto3,oneof"` }
type AndroidRoboTest_AppBundle struct { // A multi-apk app bundle for the application under test. AppBundle *AppBundle `protobuf:"bytes,16,opt,name=app_bundle,json=appBundle,proto3,oneof"` }
Android configuration that can be selected at the time a test is run.
type AndroidRuntimeConfiguration struct { // The set of available locales. Locales []*Locale `protobuf:"bytes,1,rep,name=locales,proto3" json:"locales,omitempty"` // The set of available orientations. Orientations []*Orientation `protobuf:"bytes,2,rep,name=orientations,proto3" json:"orientations,omitempty"` // contains filtered or unexported fields }
func (*AndroidRuntimeConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use AndroidRuntimeConfiguration.ProtoReflect.Descriptor instead.
func (x *AndroidRuntimeConfiguration) GetLocales() []*Locale
func (x *AndroidRuntimeConfiguration) GetOrientations() []*Orientation
func (*AndroidRuntimeConfiguration) ProtoMessage()
func (x *AndroidRuntimeConfiguration) ProtoReflect() protoreflect.Message
func (x *AndroidRuntimeConfiguration) Reset()
func (x *AndroidRuntimeConfiguration) String() string
A test of an Android Application with a Test Loop. The intent \<intent-name\> will be implicitly added, since Games is the only user of this api, for the time being.
type AndroidTestLoop struct { // Required. The Android package to test. // // Types that are assignable to AppUnderTest: // // *AndroidTestLoop_AppApk // *AndroidTestLoop_AppBundle AppUnderTest isAndroidTestLoop_AppUnderTest `protobuf_oneof:"app_under_test"` // The java package for the application under test. // The default is determined by examining the application's manifest. AppPackageId string `protobuf:"bytes,2,opt,name=app_package_id,json=appPackageId,proto3" json:"app_package_id,omitempty"` // The list of scenarios that should be run during the test. // The default is all test loops, derived from the application's // manifest. Scenarios []int32 `protobuf:"varint,3,rep,packed,name=scenarios,proto3" json:"scenarios,omitempty"` // The list of scenario labels that should be run during the test. // The scenario labels should map to labels defined in the application's // manifest. For example, player_experience and // com.google.test.loops.player_experience add all of the loops labeled in the // manifest with the com.google.test.loops.player_experience name to the // execution. // Scenarios can also be specified in the scenarios field. ScenarioLabels []string `protobuf:"bytes,4,rep,name=scenario_labels,json=scenarioLabels,proto3" json:"scenario_labels,omitempty"` // contains filtered or unexported fields }
func (*AndroidTestLoop) Descriptor() ([]byte, []int)
Deprecated: Use AndroidTestLoop.ProtoReflect.Descriptor instead.
func (x *AndroidTestLoop) GetAppApk() *FileReference
func (x *AndroidTestLoop) GetAppBundle() *AppBundle
func (x *AndroidTestLoop) GetAppPackageId() string
func (m *AndroidTestLoop) GetAppUnderTest() isAndroidTestLoop_AppUnderTest
func (x *AndroidTestLoop) GetScenarioLabels() []string
func (x *AndroidTestLoop) GetScenarios() []int32
func (*AndroidTestLoop) ProtoMessage()
func (x *AndroidTestLoop) ProtoReflect() protoreflect.Message
func (x *AndroidTestLoop) Reset()
func (x *AndroidTestLoop) String() string
type AndroidTestLoop_AppApk struct { // The APK for the application under test. AppApk *FileReference `protobuf:"bytes,1,opt,name=app_apk,json=appApk,proto3,oneof"` }
type AndroidTestLoop_AppBundle struct { // A multi-apk app bundle for the application under test. AppBundle *AppBundle `protobuf:"bytes,5,opt,name=app_bundle,json=appBundle,proto3,oneof"` }
A version of the Android OS.
type AndroidVersion struct { // An opaque id for this Android version. // Use this id to invoke the TestExecutionService. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A string representing this version of the Android OS. // Examples: "4.3", "4.4". VersionString string `protobuf:"bytes,2,opt,name=version_string,json=versionString,proto3" json:"version_string,omitempty"` // The API level for this Android version. // Examples: 18, 19. ApiLevel int32 `protobuf:"varint,3,opt,name=api_level,json=apiLevel,proto3" json:"api_level,omitempty"` // The code name for this Android version. // Examples: "JellyBean", "KitKat". CodeName string `protobuf:"bytes,4,opt,name=code_name,json=codeName,proto3" json:"code_name,omitempty"` // The date this Android version became available in the market. ReleaseDate *date.Date `protobuf:"bytes,5,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"` // Market share for this version. Distribution *Distribution `protobuf:"bytes,6,opt,name=distribution,proto3" json:"distribution,omitempty"` // Tags for this dimension. // Examples: "default", "preview", "deprecated". Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*AndroidVersion) Descriptor() ([]byte, []int)
Deprecated: Use AndroidVersion.ProtoReflect.Descriptor instead.
func (x *AndroidVersion) GetApiLevel() int32
func (x *AndroidVersion) GetCodeName() string
func (x *AndroidVersion) GetDistribution() *Distribution
func (x *AndroidVersion) GetId() string
func (x *AndroidVersion) GetReleaseDate() *date.Date
func (x *AndroidVersion) GetTags() []string
func (x *AndroidVersion) GetVersionString() string
func (*AndroidVersion) ProtoMessage()
func (x *AndroidVersion) ProtoReflect() protoreflect.Message
func (x *AndroidVersion) Reset()
func (x *AndroidVersion) String() string
An Android package file to install.
type Apk struct { // The path to an APK to be installed on the device before the test begins. Location *FileReference `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The java package for the APK to be installed. // Value is determined by examining the application's manifest. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // contains filtered or unexported fields }
func (*Apk) Descriptor() ([]byte, []int)
Deprecated: Use Apk.ProtoReflect.Descriptor instead.
func (x *Apk) GetLocation() *FileReference
func (x *Apk) GetPackageName() string
func (*Apk) ProtoMessage()
func (x *Apk) ProtoReflect() protoreflect.Message
func (x *Apk) Reset()
func (x *Apk) String() string
Android application details based on application manifest and apk archive contents.
type ApkDetail struct { ApkManifest *ApkManifest `protobuf:"bytes,1,opt,name=apk_manifest,json=apkManifest,proto3" json:"apk_manifest,omitempty"` // contains filtered or unexported fields }
func (*ApkDetail) Descriptor() ([]byte, []int)
Deprecated: Use ApkDetail.ProtoReflect.Descriptor instead.
func (x *ApkDetail) GetApkManifest() *ApkManifest
func (*ApkDetail) ProtoMessage()
func (x *ApkDetail) ProtoReflect() protoreflect.Message
func (x *ApkDetail) Reset()
func (x *ApkDetail) String() string
An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html
type ApkManifest struct { // Full Java-style package name for this application, e.g. // "com.example.foo". PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Minimum API level required for the application to run. MinSdkVersion int32 `protobuf:"varint,2,opt,name=min_sdk_version,json=minSdkVersion,proto3" json:"min_sdk_version,omitempty"` // Maximum API level on which the application is designed to run. MaxSdkVersion int32 `protobuf:"varint,3,opt,name=max_sdk_version,json=maxSdkVersion,proto3" json:"max_sdk_version,omitempty"` // Specifies the API Level on which the application is designed to run. TargetSdkVersion int32 `protobuf:"varint,6,opt,name=target_sdk_version,json=targetSdkVersion,proto3" json:"target_sdk_version,omitempty"` // User-readable name for the application. ApplicationLabel string `protobuf:"bytes,4,opt,name=application_label,json=applicationLabel,proto3" json:"application_label,omitempty"` IntentFilters []*IntentFilter `protobuf:"bytes,5,rep,name=intent_filters,json=intentFilters,proto3" json:"intent_filters,omitempty"` // Permissions declared to be used by the application UsesPermission []string `protobuf:"bytes,7,rep,name=uses_permission,json=usesPermission,proto3" json:"uses_permission,omitempty"` // Version number used internally by the app. VersionCode int64 `protobuf:"varint,8,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"` // Version number shown to users. VersionName string `protobuf:"bytes,9,opt,name=version_name,json=versionName,proto3" json:"version_name,omitempty"` // Meta-data tags defined in the manifest. Metadata []*Metadata `protobuf:"bytes,10,rep,name=metadata,proto3" json:"metadata,omitempty"` // Feature usage tags defined in the manifest. UsesFeature []*UsesFeature `protobuf:"bytes,11,rep,name=uses_feature,json=usesFeature,proto3" json:"uses_feature,omitempty"` // contains filtered or unexported fields }
func (*ApkManifest) Descriptor() ([]byte, []int)
Deprecated: Use ApkManifest.ProtoReflect.Descriptor instead.
func (x *ApkManifest) GetApplicationLabel() string
func (x *ApkManifest) GetIntentFilters() []*IntentFilter
func (x *ApkManifest) GetMaxSdkVersion() int32
func (x *ApkManifest) GetMetadata() []*Metadata
func (x *ApkManifest) GetMinSdkVersion() int32
func (x *ApkManifest) GetPackageName() string
func (x *ApkManifest) GetTargetSdkVersion() int32
func (x *ApkManifest) GetUsesFeature() []*UsesFeature
func (x *ApkManifest) GetUsesPermission() []string
func (x *ApkManifest) GetVersionCode() int64
func (x *ApkManifest) GetVersionName() string
func (*ApkManifest) ProtoMessage()
func (x *ApkManifest) ProtoReflect() protoreflect.Message
func (x *ApkManifest) Reset()
func (x *ApkManifest) String() string
An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. <p>See https://developer.android.com/guide/app-bundle/build for guidance on building App Bundles.
type AppBundle struct { // Required. Bundle location information. // // Types that are assignable to Bundle: // // *AppBundle_BundleLocation Bundle isAppBundle_Bundle `protobuf_oneof:"bundle"` // contains filtered or unexported fields }
func (*AppBundle) Descriptor() ([]byte, []int)
Deprecated: Use AppBundle.ProtoReflect.Descriptor instead.
func (m *AppBundle) GetBundle() isAppBundle_Bundle
func (x *AppBundle) GetBundleLocation() *FileReference
func (*AppBundle) ProtoMessage()
func (x *AppBundle) ProtoReflect() protoreflect.Message
func (x *AppBundle) Reset()
func (x *AppBundle) String() string
type AppBundle_BundleLocation struct { // .aab file representing the app bundle under test. BundleLocation *FileReference `protobuf:"bytes,1,opt,name=bundle_location,json=bundleLocation,proto3,oneof"` }
ApplicationDetailServiceClient is the client API for ApplicationDetailService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ApplicationDetailServiceClient interface { // Gets the details of an Android application APK. GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error) }
func NewApplicationDetailServiceClient(cc grpc.ClientConnInterface) ApplicationDetailServiceClient
ApplicationDetailServiceServer is the server API for ApplicationDetailService service.
type ApplicationDetailServiceServer interface { // Gets the details of an Android application APK. GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error) }
Request to stop running all of the tests in the specified matrix.
type CancelTestMatrixRequest struct { // Cloud project that owns the test. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Test matrix that will be canceled. TestMatrixId string `protobuf:"bytes,2,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,omitempty"` // contains filtered or unexported fields }
func (*CancelTestMatrixRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTestMatrixRequest.ProtoReflect.Descriptor instead.
func (x *CancelTestMatrixRequest) GetProjectId() string
func (x *CancelTestMatrixRequest) GetTestMatrixId() string
func (*CancelTestMatrixRequest) ProtoMessage()
func (x *CancelTestMatrixRequest) ProtoReflect() protoreflect.Message
func (x *CancelTestMatrixRequest) Reset()
func (x *CancelTestMatrixRequest) String() string
Response containing the current state of the specified test matrix.
type CancelTestMatrixResponse struct { // The current rolled-up state of the test matrix. // If this state is already final, then the cancelation request will // have no effect. TestState TestState `protobuf:"varint,1,opt,name=test_state,json=testState,proto3,enum=google.devtools.testing.v1.TestState" json:"test_state,omitempty"` // contains filtered or unexported fields }
func (*CancelTestMatrixResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelTestMatrixResponse.ProtoReflect.Descriptor instead.
func (x *CancelTestMatrixResponse) GetTestState() TestState
func (*CancelTestMatrixResponse) ProtoMessage()
func (x *CancelTestMatrixResponse) ProtoReflect() protoreflect.Message
func (x *CancelTestMatrixResponse) Reset()
func (x *CancelTestMatrixResponse) String() string
Information about the client which invoked the test.
type ClientInfo struct { // Required. Client name, such as gcloud. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of detailed information about client. ClientInfoDetails []*ClientInfoDetail `protobuf:"bytes,2,rep,name=client_info_details,json=clientInfoDetails,proto3" json:"client_info_details,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (x *ClientInfo) GetClientInfoDetails() []*ClientInfoDetail
func (x *ClientInfo) GetName() string
func (*ClientInfo) ProtoMessage()
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (x *ClientInfo) Reset()
func (x *ClientInfo) String() string
Key-value pair of detailed information about the client which invoked the test. Examples: {'Version', '1.0'}, {'Release Track', 'BETA'}.
type ClientInfoDetail struct { // Required. The key of detailed client information. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Required. The value of detailed client information. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ClientInfoDetail) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfoDetail.ProtoReflect.Descriptor instead.
func (x *ClientInfoDetail) GetKey() string
func (x *ClientInfoDetail) GetValue() string
func (*ClientInfoDetail) ProtoMessage()
func (x *ClientInfoDetail) ProtoReflect() protoreflect.Message
func (x *ClientInfoDetail) Reset()
func (x *ClientInfoDetail) String() string
Request to submit a matrix of tests for execution.
type CreateTestMatrixRequest struct { // The GCE project under which this job will run. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The matrix of tests that the user wants to run. TestMatrix *TestMatrix `protobuf:"bytes,2,opt,name=test_matrix,json=testMatrix,proto3" json:"test_matrix,omitempty"` // A string id used to detect duplicated requests. // Ids are automatically scoped to a project, so // users should ensure the ID is unique per-project. // A UUID is recommended. // // Optional, but strongly recommended. RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CreateTestMatrixRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTestMatrixRequest.ProtoReflect.Descriptor instead.
func (x *CreateTestMatrixRequest) GetProjectId() string
func (x *CreateTestMatrixRequest) GetRequestId() string
func (x *CreateTestMatrixRequest) GetTestMatrix() *TestMatrix
func (*CreateTestMatrixRequest) ProtoMessage()
func (x *CreateTestMatrixRequest) ProtoReflect() protoreflect.Message
func (x *CreateTestMatrixRequest) Reset()
func (x *CreateTestMatrixRequest) String() string
Capacity based on the number of online devices in the lab.
Important: device capacity does not directly reflect the length of the queue at a moment in time. It does not take into account current traffic or the state of the devices.
For physical devices, the number is the average of online devices in the last 30 days.
type DeviceCapacity int32
const ( // The value of device capacity is unknown or unset. DeviceCapacity_DEVICE_CAPACITY_UNSPECIFIED DeviceCapacity = 0 // Devices that are high in capacity (The lab has a large number of these // devices). // // These devices are generally suggested for running a large number of // simultaneous tests (e.g. more than 100 tests). // // Please note that high capacity devices do not guarantee short wait times // due to several factors: // 1. Traffic (how heavily they are used at any given moment) // 2. High capacity devices are prioritized for certain usages, which may // cause user tests to be slower than selecting other similar device types. DeviceCapacity_DEVICE_CAPACITY_HIGH DeviceCapacity = 1 // Devices that are medium in capacity (The lab has a decent number of these // devices, though not as many as high capacity devices). // // These devices are suitable for fewer test runs (e.g. fewer than 100 tests) // and only for low shard counts (e.g. less than 10 shards). DeviceCapacity_DEVICE_CAPACITY_MEDIUM DeviceCapacity = 2 // Devices that are low in capacity (The lab has a small number of these // devices). // // These devices may be used if users need to test on this specific device // model and version. Please note that due to low capacity, the tests may take // much longer to finish, especially if a large number of tests are invoked at // once. These devices are not suitable for test sharding. DeviceCapacity_DEVICE_CAPACITY_LOW DeviceCapacity = 3 // Devices that are completely missing from the lab. // // These devices are unavailable either temporarily or permanently and should // not be requested. If the device is also marked as deprecated, this state // is very likely permanent. DeviceCapacity_DEVICE_CAPACITY_NONE DeviceCapacity = 4 )
func (DeviceCapacity) Descriptor() protoreflect.EnumDescriptor
func (x DeviceCapacity) Enum() *DeviceCapacity
func (DeviceCapacity) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceCapacity.Descriptor instead.
func (x DeviceCapacity) Number() protoreflect.EnumNumber
func (x DeviceCapacity) String() string
func (DeviceCapacity) Type() protoreflect.EnumType
A single device file description.
type DeviceFile struct { // Required. // // Types that are assignable to DeviceFile: // // *DeviceFile_ObbFile // *DeviceFile_RegularFile DeviceFile isDeviceFile_DeviceFile `protobuf_oneof:"device_file"` // contains filtered or unexported fields }
func (*DeviceFile) Descriptor() ([]byte, []int)
Deprecated: Use DeviceFile.ProtoReflect.Descriptor instead.
func (m *DeviceFile) GetDeviceFile() isDeviceFile_DeviceFile
func (x *DeviceFile) GetObbFile() *ObbFile
func (x *DeviceFile) GetRegularFile() *RegularFile
func (*DeviceFile) ProtoMessage()
func (x *DeviceFile) ProtoReflect() protoreflect.Message
func (x *DeviceFile) Reset()
func (x *DeviceFile) String() string
type DeviceFile_ObbFile struct { // A reference to an opaque binary blob file. ObbFile *ObbFile `protobuf:"bytes,1,opt,name=obb_file,json=obbFile,proto3,oneof"` }
type DeviceFile_RegularFile struct { // A reference to a regular file. RegularFile *RegularFile `protobuf:"bytes,2,opt,name=regular_file,json=regularFile,proto3,oneof"` }
Whether the device is physical or virtual.
type DeviceForm int32
const ( // Do not use. For proto versioning only. DeviceForm_DEVICE_FORM_UNSPECIFIED DeviceForm = 0 // Android virtual device using Compute Engine native virtualization. Firebase // Test Lab only. DeviceForm_VIRTUAL DeviceForm = 1 // Actual hardware. DeviceForm_PHYSICAL DeviceForm = 2 // Android virtual device using emulator in nested virtualization. Equivalent // to Android Studio. DeviceForm_EMULATOR DeviceForm = 3 )
func (DeviceForm) Descriptor() protoreflect.EnumDescriptor
func (x DeviceForm) Enum() *DeviceForm
func (DeviceForm) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceForm.Descriptor instead.
func (x DeviceForm) Number() protoreflect.EnumNumber
func (x DeviceForm) String() string
func (DeviceForm) Type() protoreflect.EnumType
The form factor of a device.
type DeviceFormFactor int32
const ( // Do not use. For proto versioning only. DeviceFormFactor_DEVICE_FORM_FACTOR_UNSPECIFIED DeviceFormFactor = 0 // This device has the shape of a phone. DeviceFormFactor_PHONE DeviceFormFactor = 1 // This device has the shape of a tablet. DeviceFormFactor_TABLET DeviceFormFactor = 2 // This device has the shape of a watch or other wearable. DeviceFormFactor_WEARABLE DeviceFormFactor = 3 )
func (DeviceFormFactor) Descriptor() protoreflect.EnumDescriptor
func (x DeviceFormFactor) Enum() *DeviceFormFactor
func (DeviceFormFactor) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceFormFactor.Descriptor instead.
func (x DeviceFormFactor) Number() protoreflect.EnumNumber
func (x DeviceFormFactor) String() string
func (DeviceFormFactor) Type() protoreflect.EnumType
A single device IP block
type DeviceIpBlock struct { // An IP address block in CIDR notation eg: 34.68.194.64/29 Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // Whether this block is used by physical or virtual devices Form DeviceForm `protobuf:"varint,2,opt,name=form,proto3,enum=google.devtools.testing.v1.DeviceForm" json:"form,omitempty"` // The date this block was added to Firebase Test Lab AddedDate *date.Date `protobuf:"bytes,3,opt,name=added_date,json=addedDate,proto3" json:"added_date,omitempty"` // contains filtered or unexported fields }
func (*DeviceIpBlock) Descriptor() ([]byte, []int)
Deprecated: Use DeviceIpBlock.ProtoReflect.Descriptor instead.
func (x *DeviceIpBlock) GetAddedDate() *date.Date
func (x *DeviceIpBlock) GetBlock() string
func (x *DeviceIpBlock) GetForm() DeviceForm
func (*DeviceIpBlock) ProtoMessage()
func (x *DeviceIpBlock) ProtoReflect() protoreflect.Message
func (x *DeviceIpBlock) Reset()
func (x *DeviceIpBlock) String() string
List of IP blocks used by the Firebase Test Lab
type DeviceIpBlockCatalog struct { // The device IP blocks used by Firebase Test Lab IpBlocks []*DeviceIpBlock `protobuf:"bytes,1,rep,name=ip_blocks,json=ipBlocks,proto3" json:"ip_blocks,omitempty"` // contains filtered or unexported fields }
func (*DeviceIpBlockCatalog) Descriptor() ([]byte, []int)
Deprecated: Use DeviceIpBlockCatalog.ProtoReflect.Descriptor instead.
func (x *DeviceIpBlockCatalog) GetIpBlocks() []*DeviceIpBlock
func (*DeviceIpBlockCatalog) ProtoMessage()
func (x *DeviceIpBlockCatalog) ProtoReflect() protoreflect.Message
func (x *DeviceIpBlockCatalog) Reset()
func (x *DeviceIpBlockCatalog) String() string
Data about the relative number of devices running a given configuration of the Android platform.
type Distribution struct { // Output only. The time this distribution was measured. MeasurementTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=measurement_time,json=measurementTime,proto3" json:"measurement_time,omitempty"` // Output only. The estimated fraction (0-1) of the total market with this // configuration. MarketShare float64 `protobuf:"fixed64,2,opt,name=market_share,json=marketShare,proto3" json:"market_share,omitempty"` // contains filtered or unexported fields }
func (*Distribution) Descriptor() ([]byte, []int)
Deprecated: Use Distribution.ProtoReflect.Descriptor instead.
func (x *Distribution) GetMarketShare() float64
func (x *Distribution) GetMeasurementTime() *timestamppb.Timestamp
func (*Distribution) ProtoMessage()
func (x *Distribution) ProtoReflect() protoreflect.Message
func (x *Distribution) Reset()
func (x *Distribution) String() string
The environment in which the test is run.
type Environment struct { // Required. The environment. // // Types that are assignable to Environment: // // *Environment_AndroidDevice // *Environment_IosDevice Environment isEnvironment_Environment `protobuf_oneof:"environment"` // contains filtered or unexported fields }
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (x *Environment) GetAndroidDevice() *AndroidDevice
func (m *Environment) GetEnvironment() isEnvironment_Environment
func (x *Environment) GetIosDevice() *IosDevice
func (*Environment) ProtoMessage()
func (x *Environment) ProtoReflect() protoreflect.Message
func (x *Environment) Reset()
func (x *Environment) String() string
The matrix of environments in which the test is to be executed.
type EnvironmentMatrix struct { // Required. The environment matrix. // // Types that are assignable to EnvironmentMatrix: // // *EnvironmentMatrix_AndroidMatrix // *EnvironmentMatrix_AndroidDeviceList // *EnvironmentMatrix_IosDeviceList EnvironmentMatrix isEnvironmentMatrix_EnvironmentMatrix `protobuf_oneof:"environment_matrix"` // contains filtered or unexported fields }
func (*EnvironmentMatrix) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentMatrix.ProtoReflect.Descriptor instead.
func (x *EnvironmentMatrix) GetAndroidDeviceList() *AndroidDeviceList
func (x *EnvironmentMatrix) GetAndroidMatrix() *AndroidMatrix
func (m *EnvironmentMatrix) GetEnvironmentMatrix() isEnvironmentMatrix_EnvironmentMatrix
func (x *EnvironmentMatrix) GetIosDeviceList() *IosDeviceList
func (*EnvironmentMatrix) ProtoMessage()
func (x *EnvironmentMatrix) ProtoReflect() protoreflect.Message
func (x *EnvironmentMatrix) Reset()
func (x *EnvironmentMatrix) String() string
type EnvironmentMatrix_AndroidDeviceList struct { // A list of Android devices; the test will be run only on the specified // devices. AndroidDeviceList *AndroidDeviceList `protobuf:"bytes,2,opt,name=android_device_list,json=androidDeviceList,proto3,oneof"` }
type EnvironmentMatrix_AndroidMatrix struct { // A matrix of Android devices. AndroidMatrix *AndroidMatrix `protobuf:"bytes,1,opt,name=android_matrix,json=androidMatrix,proto3,oneof"` }
type EnvironmentMatrix_IosDeviceList struct { // A list of iOS devices. IosDeviceList *IosDeviceList `protobuf:"bytes,3,opt,name=ios_device_list,json=iosDeviceList,proto3,oneof"` }
A key-value pair passed as an environment variable to the test.
type EnvironmentVariable struct { // Key for the environment variable. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value for the environment variable. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EnvironmentVariable) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.
func (x *EnvironmentVariable) GetKey() string
func (x *EnvironmentVariable) GetValue() string
func (*EnvironmentVariable) ProtoMessage()
func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message
func (x *EnvironmentVariable) Reset()
func (x *EnvironmentVariable) String() string
type Environment_AndroidDevice struct { // An Android device which must be used with an Android test. AndroidDevice *AndroidDevice `protobuf:"bytes,1,opt,name=android_device,json=androidDevice,proto3,oneof"` }
type Environment_IosDevice struct { // An iOS device which must be used with an iOS test. IosDevice *IosDevice `protobuf:"bytes,2,opt,name=ios_device,json=iosDevice,proto3,oneof"` }
A reference to a file, used for user inputs.
type FileReference struct { // Required. The file reference. // // Types that are assignable to File: // // *FileReference_GcsPath File isFileReference_File `protobuf_oneof:"file"` // contains filtered or unexported fields }
func (*FileReference) Descriptor() ([]byte, []int)
Deprecated: Use FileReference.ProtoReflect.Descriptor instead.
func (m *FileReference) GetFile() isFileReference_File
func (x *FileReference) GetGcsPath() string
func (*FileReference) ProtoMessage()
func (x *FileReference) ProtoReflect() protoreflect.Message
func (x *FileReference) Reset()
func (x *FileReference) String() string
type FileReference_GcsPath struct { // A path to a file in Google Cloud Storage. // Example: gs://build-app-1414623860166/app%40debug-unaligned.apk // These paths are expected to be url encoded (percent encoding) GcsPath string `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3,oneof"` }
A request to get the details of an Android application APK.
type GetApkDetailsRequest struct { // The APK to be parsed for details. Location *FileReference `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*GetApkDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApkDetailsRequest.ProtoReflect.Descriptor instead.
func (x *GetApkDetailsRequest) GetLocation() *FileReference
func (*GetApkDetailsRequest) ProtoMessage()
func (x *GetApkDetailsRequest) ProtoReflect() protoreflect.Message
func (x *GetApkDetailsRequest) Reset()
func (x *GetApkDetailsRequest) String() string
Response containing the details of the specified Android application APK.
type GetApkDetailsResponse struct { // Details of the Android APK. ApkDetail *ApkDetail `protobuf:"bytes,1,opt,name=apk_detail,json=apkDetail,proto3" json:"apk_detail,omitempty"` // contains filtered or unexported fields }
func (*GetApkDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetApkDetailsResponse.ProtoReflect.Descriptor instead.
func (x *GetApkDetailsResponse) GetApkDetail() *ApkDetail
func (*GetApkDetailsResponse) ProtoMessage()
func (x *GetApkDetailsResponse) ProtoReflect() protoreflect.Message
func (x *GetApkDetailsResponse) Reset()
func (x *GetApkDetailsResponse) String() string
Request to list the currently supported values for an environment type.
type GetTestEnvironmentCatalogRequest struct { // Required. The type of environment that should be listed. EnvironmentType GetTestEnvironmentCatalogRequest_EnvironmentType `protobuf:"varint,1,opt,name=environment_type,json=environmentType,proto3,enum=google.devtools.testing.v1.GetTestEnvironmentCatalogRequest_EnvironmentType" json:"environment_type,omitempty"` // For authorization, the cloud project requesting the TestEnvironmentCatalog. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*GetTestEnvironmentCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTestEnvironmentCatalogRequest.ProtoReflect.Descriptor instead.
func (x *GetTestEnvironmentCatalogRequest) GetEnvironmentType() GetTestEnvironmentCatalogRequest_EnvironmentType
func (x *GetTestEnvironmentCatalogRequest) GetProjectId() string
func (*GetTestEnvironmentCatalogRequest) ProtoMessage()
func (x *GetTestEnvironmentCatalogRequest) ProtoReflect() protoreflect.Message
func (x *GetTestEnvironmentCatalogRequest) Reset()
func (x *GetTestEnvironmentCatalogRequest) String() string
Types of environments the Test API supports.
type GetTestEnvironmentCatalogRequest_EnvironmentType int32
const ( // Do not use. For proto versioning only. GetTestEnvironmentCatalogRequest_ENVIRONMENT_TYPE_UNSPECIFIED GetTestEnvironmentCatalogRequest_EnvironmentType = 0 // A device running a version of the Android OS. GetTestEnvironmentCatalogRequest_ANDROID GetTestEnvironmentCatalogRequest_EnvironmentType = 1 // A device running a version of iOS. GetTestEnvironmentCatalogRequest_IOS GetTestEnvironmentCatalogRequest_EnvironmentType = 3 // A network configuration to use when running a test. GetTestEnvironmentCatalogRequest_NETWORK_CONFIGURATION GetTestEnvironmentCatalogRequest_EnvironmentType = 4 // The software environment provided by TestExecutionService. GetTestEnvironmentCatalogRequest_PROVIDED_SOFTWARE GetTestEnvironmentCatalogRequest_EnvironmentType = 5 // The IP blocks used by devices in the test environment. GetTestEnvironmentCatalogRequest_DEVICE_IP_BLOCKS GetTestEnvironmentCatalogRequest_EnvironmentType = 6 )
func (GetTestEnvironmentCatalogRequest_EnvironmentType) Descriptor() protoreflect.EnumDescriptor
func (x GetTestEnvironmentCatalogRequest_EnvironmentType) Enum() *GetTestEnvironmentCatalogRequest_EnvironmentType
func (GetTestEnvironmentCatalogRequest_EnvironmentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetTestEnvironmentCatalogRequest_EnvironmentType.Descriptor instead.
func (x GetTestEnvironmentCatalogRequest_EnvironmentType) Number() protoreflect.EnumNumber
func (x GetTestEnvironmentCatalogRequest_EnvironmentType) String() string
func (GetTestEnvironmentCatalogRequest_EnvironmentType) Type() protoreflect.EnumType
Request to get the Test Matrix with the given id.
type GetTestMatrixRequest struct { // Cloud project that owns the test matrix. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Unique test matrix id which was assigned by the service. TestMatrixId string `protobuf:"bytes,2,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,omitempty"` // contains filtered or unexported fields }
func (*GetTestMatrixRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTestMatrixRequest.ProtoReflect.Descriptor instead.
func (x *GetTestMatrixRequest) GetProjectId() string
func (x *GetTestMatrixRequest) GetTestMatrixId() string
func (*GetTestMatrixRequest) ProtoMessage()
func (x *GetTestMatrixRequest) ProtoReflect() protoreflect.Message
func (x *GetTestMatrixRequest) Reset()
func (x *GetTestMatrixRequest) String() string
Enables automatic Google account login. If set, the service automatically generates a Google test account and adds it to the device, before executing the test. Note that test accounts might be reused. Many applications show their full set of functionalities when an account is present on the device. Logging into the device with these generated accounts allows testing more functionalities.
type GoogleAuto struct {
// contains filtered or unexported fields
}
func (*GoogleAuto) Descriptor() ([]byte, []int)
Deprecated: Use GoogleAuto.ProtoReflect.Descriptor instead.
func (*GoogleAuto) ProtoMessage()
func (x *GoogleAuto) ProtoReflect() protoreflect.Message
func (x *GoogleAuto) Reset()
func (x *GoogleAuto) String() string
A storage location within Google cloud storage (GCS).
type GoogleCloudStorage struct { // Required. The path to a directory in GCS that will // eventually contain the results for this test. // The requesting user must have write access on the bucket in the supplied // path. GcsPath string `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"` // contains filtered or unexported fields }
func (*GoogleCloudStorage) Descriptor() ([]byte, []int)
Deprecated: Use GoogleCloudStorage.ProtoReflect.Descriptor instead.
func (x *GoogleCloudStorage) GetGcsPath() string
func (*GoogleCloudStorage) ProtoMessage()
func (x *GoogleCloudStorage) ProtoReflect() protoreflect.Message
func (x *GoogleCloudStorage) Reset()
func (x *GoogleCloudStorage) String() string
The <intent-filter> section of an <activity> tag. https://developer.android.com/guide/topics/manifest/intent-filter-element.html
type IntentFilter struct { // The android:name value of the <action> tag. ActionNames []string `protobuf:"bytes,1,rep,name=action_names,json=actionNames,proto3" json:"action_names,omitempty"` // The android:name value of the <category> tag. CategoryNames []string `protobuf:"bytes,2,rep,name=category_names,json=categoryNames,proto3" json:"category_names,omitempty"` // The android:mimeType value of the <data> tag. MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // contains filtered or unexported fields }
func (*IntentFilter) Descriptor() ([]byte, []int)
Deprecated: Use IntentFilter.ProtoReflect.Descriptor instead.
func (x *IntentFilter) GetActionNames() []string
func (x *IntentFilter) GetCategoryNames() []string
func (x *IntentFilter) GetMimeType() string
func (*IntentFilter) ProtoMessage()
func (x *IntentFilter) ProtoReflect() protoreflect.Message
func (x *IntentFilter) Reset()
func (x *IntentFilter) String() string
The detailed reason that a Matrix was deemed INVALID.
type InvalidMatrixDetails int32
const ( // Do not use. For proto versioning only. InvalidMatrixDetails_INVALID_MATRIX_DETAILS_UNSPECIFIED InvalidMatrixDetails = 0 // The matrix is INVALID, but there are no further details available. InvalidMatrixDetails_DETAILS_UNAVAILABLE InvalidMatrixDetails = 1 // The input app APK could not be parsed. InvalidMatrixDetails_MALFORMED_APK InvalidMatrixDetails = 2 // The input test APK could not be parsed. InvalidMatrixDetails_MALFORMED_TEST_APK InvalidMatrixDetails = 3 // The AndroidManifest.xml could not be found. InvalidMatrixDetails_NO_MANIFEST InvalidMatrixDetails = 4 // The APK manifest does not declare a package name. InvalidMatrixDetails_NO_PACKAGE_NAME InvalidMatrixDetails = 5 // The APK application ID (aka package name) is invalid. // See also // https://developer.android.com/studio/build/application-id InvalidMatrixDetails_INVALID_PACKAGE_NAME InvalidMatrixDetails = 31 // The test package and app package are the same. InvalidMatrixDetails_TEST_SAME_AS_APP InvalidMatrixDetails = 6 // The test apk does not declare an instrumentation. InvalidMatrixDetails_NO_INSTRUMENTATION InvalidMatrixDetails = 7 // The input app apk does not have a signature. InvalidMatrixDetails_NO_SIGNATURE InvalidMatrixDetails = 20 // The test runner class specified by user or in the test APK's manifest file // is not compatible with Android Test Orchestrator. // Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or // higher. // Orchestrator can be disabled by using DO_NOT_USE_ORCHESTRATOR // OrchestratorOption. InvalidMatrixDetails_INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE InvalidMatrixDetails = 18 // The test APK does not contain the test runner class specified by user or in // the manifest file. // This can be caused by either of the following reasons: // - the user provided a runner class name that's incorrect, or // - the test runner isn't built into the test APK (might be in the app APK // instead). InvalidMatrixDetails_NO_TEST_RUNNER_CLASS InvalidMatrixDetails = 19 // A main launcher activity could not be found. InvalidMatrixDetails_NO_LAUNCHER_ACTIVITY InvalidMatrixDetails = 8 // The app declares one or more permissions that are not allowed. InvalidMatrixDetails_FORBIDDEN_PERMISSIONS InvalidMatrixDetails = 9 // There is a conflict in the provided robo_directives. InvalidMatrixDetails_INVALID_ROBO_DIRECTIVES InvalidMatrixDetails = 10 // There is at least one invalid resource name in the provided // robo directives InvalidMatrixDetails_INVALID_RESOURCE_NAME InvalidMatrixDetails = 33 // Invalid definition of action in the robo directives // (e.g. a click or ignore action includes an input text field) InvalidMatrixDetails_INVALID_DIRECTIVE_ACTION InvalidMatrixDetails = 34 // There is no test loop intent filter, or the one that is given is // not formatted correctly. InvalidMatrixDetails_TEST_LOOP_INTENT_FILTER_NOT_FOUND InvalidMatrixDetails = 12 // The request contains a scenario label that was not declared in the // manifest. InvalidMatrixDetails_SCENARIO_LABEL_NOT_DECLARED InvalidMatrixDetails = 13 // There was an error when parsing a label's value. InvalidMatrixDetails_SCENARIO_LABEL_MALFORMED InvalidMatrixDetails = 14 // The request contains a scenario number that was not declared in the // manifest. InvalidMatrixDetails_SCENARIO_NOT_DECLARED InvalidMatrixDetails = 15 // Device administrator applications are not allowed. InvalidMatrixDetails_DEVICE_ADMIN_RECEIVER InvalidMatrixDetails = 17 // The zipped XCTest was malformed. The zip did not contain a single // .xctestrun file and the contents of the DerivedData/Build/Products // directory. InvalidMatrixDetails_MALFORMED_XC_TEST_ZIP InvalidMatrixDetails = 11 // The zipped XCTest was built for the iOS simulator rather than for a // physical device. InvalidMatrixDetails_BUILT_FOR_IOS_SIMULATOR InvalidMatrixDetails = 24 // The .xctestrun file did not specify any test targets. InvalidMatrixDetails_NO_TESTS_IN_XC_TEST_ZIP InvalidMatrixDetails = 25 // One or more of the test targets defined in the .xctestrun file specifies // "UseDestinationArtifacts", which is disallowed. InvalidMatrixDetails_USE_DESTINATION_ARTIFACTS InvalidMatrixDetails = 26 // XC tests which run on physical devices must have // "IsAppHostedTestBundle" == "true" in the xctestrun file. InvalidMatrixDetails_TEST_NOT_APP_HOSTED InvalidMatrixDetails = 28 // An Info.plist file in the XCTest zip could not be parsed. InvalidMatrixDetails_PLIST_CANNOT_BE_PARSED InvalidMatrixDetails = 30 // The APK is marked as "testOnly". // Deprecated and not currently used. // // Deprecated: Do not use. InvalidMatrixDetails_TEST_ONLY_APK InvalidMatrixDetails = 21 // The input IPA could not be parsed. InvalidMatrixDetails_MALFORMED_IPA InvalidMatrixDetails = 22 // The application doesn't register the game loop URL scheme. InvalidMatrixDetails_MISSING_URL_SCHEME InvalidMatrixDetails = 35 // The iOS application bundle (.app) couldn't be processed. InvalidMatrixDetails_MALFORMED_APP_BUNDLE InvalidMatrixDetails = 36 // APK contains no code. // See also // https://developer.android.com/guide/topics/manifest/application-element.html#code InvalidMatrixDetails_NO_CODE_APK InvalidMatrixDetails = 23 // Either the provided input APK path was malformed, // the APK file does not exist, or the user does not have permission to // access the APK file. InvalidMatrixDetails_INVALID_INPUT_APK InvalidMatrixDetails = 27 // APK is built for a preview SDK which is unsupported InvalidMatrixDetails_INVALID_APK_PREVIEW_SDK InvalidMatrixDetails = 29 // The matrix expanded to contain too many executions. InvalidMatrixDetails_MATRIX_TOO_LARGE InvalidMatrixDetails = 37 // Not enough test quota to run the executions in this matrix. InvalidMatrixDetails_TEST_QUOTA_EXCEEDED InvalidMatrixDetails = 39 // A required cloud service api is not activated. // See: // https://firebase.google.com/docs/test-lab/android/continuous#requirements InvalidMatrixDetails_SERVICE_NOT_ACTIVATED InvalidMatrixDetails = 40 // There was an unknown permission issue running this test. InvalidMatrixDetails_UNKNOWN_PERMISSION_ERROR InvalidMatrixDetails = 41 )
func (InvalidMatrixDetails) Descriptor() protoreflect.EnumDescriptor
func (x InvalidMatrixDetails) Enum() *InvalidMatrixDetails
func (InvalidMatrixDetails) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvalidMatrixDetails.Descriptor instead.
func (x InvalidMatrixDetails) Number() protoreflect.EnumNumber
func (x InvalidMatrixDetails) String() string
func (InvalidMatrixDetails) Type() protoreflect.EnumType
Details behind an invalid request.
type InvalidRequestDetail struct { // The reason behind the error. Reason InvalidRequestDetail_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=google.devtools.testing.v1.InvalidRequestDetail_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*InvalidRequestDetail) Descriptor() ([]byte, []int)
Deprecated: Use InvalidRequestDetail.ProtoReflect.Descriptor instead.
func (x *InvalidRequestDetail) GetReason() InvalidRequestDetail_Reason
func (*InvalidRequestDetail) ProtoMessage()
func (x *InvalidRequestDetail) ProtoReflect() protoreflect.Message
func (x *InvalidRequestDetail) Reset()
func (x *InvalidRequestDetail) String() string
Possible invalid request reasons.
type InvalidRequestDetail_Reason int32
const ( // No reason has been specified - the default. InvalidRequestDetail_REASON_UNSPECIFIED InvalidRequestDetail_Reason = 0 // The request is not valid. InvalidRequestDetail_REQUEST_INVALID InvalidRequestDetail_Reason = 1 // One or more of the resources specified in the request is too large. InvalidRequestDetail_RESOURCE_TOO_BIG InvalidRequestDetail_Reason = 2 // One or more resources specified in the request cannot be found. InvalidRequestDetail_RESOURCE_NOT_FOUND InvalidRequestDetail_Reason = 3 // This request is not (currently) supported. InvalidRequestDetail_UNSUPPORTED InvalidRequestDetail_Reason = 4 // This request is not currently implemented. InvalidRequestDetail_NOT_IMPLEMENTED InvalidRequestDetail_Reason = 5 )
func (InvalidRequestDetail_Reason) Descriptor() protoreflect.EnumDescriptor
func (x InvalidRequestDetail_Reason) Enum() *InvalidRequestDetail_Reason
func (InvalidRequestDetail_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvalidRequestDetail_Reason.Descriptor instead.
func (x InvalidRequestDetail_Reason) Number() protoreflect.EnumNumber
func (x InvalidRequestDetail_Reason) String() string
func (InvalidRequestDetail_Reason) Type() protoreflect.EnumType
A single iOS device.
type IosDevice struct { // Required. The id of the iOS device to be used. // Use the TestEnvironmentDiscoveryService to get supported options. IosModelId string `protobuf:"bytes,1,opt,name=ios_model_id,json=iosModelId,proto3" json:"ios_model_id,omitempty"` // Required. The id of the iOS major software version to be used. // Use the TestEnvironmentDiscoveryService to get supported options. IosVersionId string `protobuf:"bytes,2,opt,name=ios_version_id,json=iosVersionId,proto3" json:"ios_version_id,omitempty"` // Required. The locale the test device used for testing. // Use the TestEnvironmentDiscoveryService to get supported options. Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // Required. How the device is oriented during the test. // Use the TestEnvironmentDiscoveryService to get supported options. Orientation string `protobuf:"bytes,4,opt,name=orientation,proto3" json:"orientation,omitempty"` // contains filtered or unexported fields }
func (*IosDevice) Descriptor() ([]byte, []int)
Deprecated: Use IosDevice.ProtoReflect.Descriptor instead.
func (x *IosDevice) GetIosModelId() string
func (x *IosDevice) GetIosVersionId() string
func (x *IosDevice) GetLocale() string
func (x *IosDevice) GetOrientation() string
func (*IosDevice) ProtoMessage()
func (x *IosDevice) ProtoReflect() protoreflect.Message
func (x *IosDevice) Reset()
func (x *IosDevice) String() string
The currently supported iOS devices.
type IosDeviceCatalog struct { // The set of supported iOS device models. Models []*IosModel `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // The set of supported iOS software versions. Versions []*IosVersion `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` // The set of supported Xcode versions. XcodeVersions []*XcodeVersion `protobuf:"bytes,4,rep,name=xcode_versions,json=xcodeVersions,proto3" json:"xcode_versions,omitempty"` // The set of supported runtime configurations. RuntimeConfiguration *IosRuntimeConfiguration `protobuf:"bytes,3,opt,name=runtime_configuration,json=runtimeConfiguration,proto3" json:"runtime_configuration,omitempty"` // contains filtered or unexported fields }
func (*IosDeviceCatalog) Descriptor() ([]byte, []int)
Deprecated: Use IosDeviceCatalog.ProtoReflect.Descriptor instead.
func (x *IosDeviceCatalog) GetModels() []*IosModel
func (x *IosDeviceCatalog) GetRuntimeConfiguration() *IosRuntimeConfiguration
func (x *IosDeviceCatalog) GetVersions() []*IosVersion
func (x *IosDeviceCatalog) GetXcodeVersions() []*XcodeVersion
func (*IosDeviceCatalog) ProtoMessage()
func (x *IosDeviceCatalog) ProtoReflect() protoreflect.Message
func (x *IosDeviceCatalog) Reset()
func (x *IosDeviceCatalog) String() string
A file or directory to install on the device before the test starts.
type IosDeviceFile struct { // The source file Content *FileReference `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // The bundle id of the app where this file lives. // // iOS apps sandbox their own filesystem, so app files must specify which app // installed on the device. BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` // Location of the file on the device, inside the app's sandboxed filesystem DevicePath string `protobuf:"bytes,3,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"` // contains filtered or unexported fields }
func (*IosDeviceFile) Descriptor() ([]byte, []int)
Deprecated: Use IosDeviceFile.ProtoReflect.Descriptor instead.
func (x *IosDeviceFile) GetBundleId() string
func (x *IosDeviceFile) GetContent() *FileReference
func (x *IosDeviceFile) GetDevicePath() string
func (*IosDeviceFile) ProtoMessage()
func (x *IosDeviceFile) ProtoReflect() protoreflect.Message
func (x *IosDeviceFile) Reset()
func (x *IosDeviceFile) String() string
A list of iOS device configurations in which the test is to be executed.
type IosDeviceList struct { // Required. A list of iOS devices. IosDevices []*IosDevice `protobuf:"bytes,1,rep,name=ios_devices,json=iosDevices,proto3" json:"ios_devices,omitempty"` // contains filtered or unexported fields }
func (*IosDeviceList) Descriptor() ([]byte, []int)
Deprecated: Use IosDeviceList.ProtoReflect.Descriptor instead.
func (x *IosDeviceList) GetIosDevices() []*IosDevice
func (*IosDeviceList) ProtoMessage()
func (x *IosDeviceList) ProtoReflect() protoreflect.Message
func (x *IosDeviceList) Reset()
func (x *IosDeviceList) String() string
A description of an iOS device tests may be run on.
type IosModel struct { // The unique opaque id for this model. // Use this for invoking the TestExecutionService. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The human-readable name for this device model. // Examples: "iPhone 4s", "iPad Mini 2". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The set of iOS major software versions this device supports. SupportedVersionIds []string `protobuf:"bytes,3,rep,name=supported_version_ids,json=supportedVersionIds,proto3" json:"supported_version_ids,omitempty"` // Tags for this dimension. // Examples: "default", "preview", "deprecated". Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // Device capabilities. // Copied from // https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html DeviceCapabilities []string `protobuf:"bytes,5,rep,name=device_capabilities,json=deviceCapabilities,proto3" json:"device_capabilities,omitempty"` // Screen size in the horizontal (X) dimension measured in pixels. ScreenX int32 `protobuf:"varint,7,opt,name=screen_x,json=screenX,proto3" json:"screen_x,omitempty"` // Screen size in the vertical (Y) dimension measured in pixels. ScreenY int32 `protobuf:"varint,8,opt,name=screen_y,json=screenY,proto3" json:"screen_y,omitempty"` // Screen density in DPI. ScreenDensity int32 `protobuf:"varint,9,opt,name=screen_density,json=screenDensity,proto3" json:"screen_density,omitempty"` // Whether this device is a phone, tablet, wearable, etc. FormFactor DeviceFormFactor `protobuf:"varint,6,opt,name=form_factor,json=formFactor,proto3,enum=google.devtools.testing.v1.DeviceFormFactor" json:"form_factor,omitempty"` // Version-specific information of an iOS model. PerVersionInfo []*PerIosVersionInfo `protobuf:"bytes,14,rep,name=per_version_info,json=perVersionInfo,proto3" json:"per_version_info,omitempty"` // contains filtered or unexported fields }
func (*IosModel) Descriptor() ([]byte, []int)
Deprecated: Use IosModel.ProtoReflect.Descriptor instead.
func (x *IosModel) GetDeviceCapabilities() []string
func (x *IosModel) GetFormFactor() DeviceFormFactor
func (x *IosModel) GetId() string
func (x *IosModel) GetName() string
func (x *IosModel) GetPerVersionInfo() []*PerIosVersionInfo
func (x *IosModel) GetScreenDensity() int32
func (x *IosModel) GetScreenX() int32
func (x *IosModel) GetScreenY() int32
func (x *IosModel) GetSupportedVersionIds() []string
func (x *IosModel) GetTags() []string
func (*IosModel) ProtoMessage()
func (x *IosModel) ProtoReflect() protoreflect.Message
func (x *IosModel) Reset()
func (x *IosModel) String() string
iOS configuration that can be selected at the time a test is run.
type IosRuntimeConfiguration struct { // The set of available locales. Locales []*Locale `protobuf:"bytes,1,rep,name=locales,proto3" json:"locales,omitempty"` // The set of available orientations. Orientations []*Orientation `protobuf:"bytes,2,rep,name=orientations,proto3" json:"orientations,omitempty"` // contains filtered or unexported fields }
func (*IosRuntimeConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use IosRuntimeConfiguration.ProtoReflect.Descriptor instead.
func (x *IosRuntimeConfiguration) GetLocales() []*Locale
func (x *IosRuntimeConfiguration) GetOrientations() []*Orientation
func (*IosRuntimeConfiguration) ProtoMessage()
func (x *IosRuntimeConfiguration) ProtoReflect() protoreflect.Message
func (x *IosRuntimeConfiguration) Reset()
func (x *IosRuntimeConfiguration) String() string
A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially.
type IosTestLoop struct { // Required. The .ipa of the application to test. AppIpa *FileReference `protobuf:"bytes,1,opt,name=app_ipa,json=appIpa,proto3" json:"app_ipa,omitempty"` // The list of scenarios that should be run during the test. Defaults to the // single scenario 0 if unspecified. Scenarios []int32 `protobuf:"varint,2,rep,packed,name=scenarios,proto3" json:"scenarios,omitempty"` // Output only. The bundle id for the application under test. AppBundleId string `protobuf:"bytes,3,opt,name=app_bundle_id,json=appBundleId,proto3" json:"app_bundle_id,omitempty"` // contains filtered or unexported fields }
func (*IosTestLoop) Descriptor() ([]byte, []int)
Deprecated: Use IosTestLoop.ProtoReflect.Descriptor instead.
func (x *IosTestLoop) GetAppBundleId() string
func (x *IosTestLoop) GetAppIpa() *FileReference
func (x *IosTestLoop) GetScenarios() []int32
func (*IosTestLoop) ProtoMessage()
func (x *IosTestLoop) ProtoReflect() protoreflect.Message
func (x *IosTestLoop) Reset()
func (x *IosTestLoop) String() string
A description of how to set up an iOS device prior to running the test.
type IosTestSetup struct { // The network traffic profile used for running the test. // Available network profiles can be queried by using the // NETWORK_CONFIGURATION environment type when calling // TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog. NetworkProfile string `protobuf:"bytes,1,opt,name=network_profile,json=networkProfile,proto3" json:"network_profile,omitempty"` // iOS apps to install in addition to those being directly tested. AdditionalIpas []*FileReference `protobuf:"bytes,2,rep,name=additional_ipas,json=additionalIpas,proto3" json:"additional_ipas,omitempty"` // List of files to push to the device before starting the test. PushFiles []*IosDeviceFile `protobuf:"bytes,3,rep,name=push_files,json=pushFiles,proto3" json:"push_files,omitempty"` // List of directories on the device to upload to Cloud Storage at the end of // the test. // // Directories should either be in a shared directory (such as // /private/var/mobile/Media) or within an accessible directory inside the // app's filesystem (such as /Documents) by specifying the bundle ID. PullDirectories []*IosDeviceFile `protobuf:"bytes,4,rep,name=pull_directories,json=pullDirectories,proto3" json:"pull_directories,omitempty"` // contains filtered or unexported fields }
func (*IosTestSetup) Descriptor() ([]byte, []int)
Deprecated: Use IosTestSetup.ProtoReflect.Descriptor instead.
func (x *IosTestSetup) GetAdditionalIpas() []*FileReference
func (x *IosTestSetup) GetNetworkProfile() string
func (x *IosTestSetup) GetPullDirectories() []*IosDeviceFile
func (x *IosTestSetup) GetPushFiles() []*IosDeviceFile
func (*IosTestSetup) ProtoMessage()
func (x *IosTestSetup) ProtoReflect() protoreflect.Message
func (x *IosTestSetup) Reset()
func (x *IosTestSetup) String() string
An iOS version.
type IosVersion struct { // An opaque id for this iOS version. // Use this id to invoke the TestExecutionService. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An integer representing the major iOS version. // Examples: "8", "9". MajorVersion int32 `protobuf:"varint,2,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"` // An integer representing the minor iOS version. // Examples: "1", "2". MinorVersion int32 `protobuf:"varint,4,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"` // Tags for this dimension. // Examples: "default", "preview", "deprecated". Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // The available Xcode versions for this version. SupportedXcodeVersionIds []string `protobuf:"bytes,5,rep,name=supported_xcode_version_ids,json=supportedXcodeVersionIds,proto3" json:"supported_xcode_version_ids,omitempty"` // contains filtered or unexported fields }
func (*IosVersion) Descriptor() ([]byte, []int)
Deprecated: Use IosVersion.ProtoReflect.Descriptor instead.
func (x *IosVersion) GetId() string
func (x *IosVersion) GetMajorVersion() int32
func (x *IosVersion) GetMinorVersion() int32
func (x *IosVersion) GetSupportedXcodeVersionIds() []string
func (x *IosVersion) GetTags() []string
func (*IosVersion) ProtoMessage()
func (x *IosVersion) ProtoReflect() protoreflect.Message
func (x *IosVersion) Reset()
func (x *IosVersion) String() string
A test of an iOS application that uses the XCTest framework. Xcode supports the option to "build for testing", which generates an .xctestrun file that contains a test specification (arguments, test methods, etc). This test type accepts a zip file containing the .xctestrun file and the corresponding contents of the Build/Products directory that contains all the binaries needed to run the tests.
type IosXcTest struct { // Required. The .zip containing the .xctestrun file and the contents of the // DerivedData/Build/Products directory. // The .xctestrun file in this zip is ignored if the xctestrun field is // specified. TestsZip *FileReference `protobuf:"bytes,1,opt,name=tests_zip,json=testsZip,proto3" json:"tests_zip,omitempty"` // An .xctestrun file that will override the .xctestrun file in the // tests zip. Because the .xctestrun file contains environment variables along // with test methods to run and/or ignore, this can be useful for sharding // tests. Default is taken from the tests zip. Xctestrun *FileReference `protobuf:"bytes,2,opt,name=xctestrun,proto3" json:"xctestrun,omitempty"` // The Xcode version that should be used for the test. // Use the TestEnvironmentDiscoveryService to get supported options. // Defaults to the latest Xcode version Firebase Test Lab supports. XcodeVersion string `protobuf:"bytes,3,opt,name=xcode_version,json=xcodeVersion,proto3" json:"xcode_version,omitempty"` // Output only. The bundle id for the application under test. AppBundleId string `protobuf:"bytes,4,opt,name=app_bundle_id,json=appBundleId,proto3" json:"app_bundle_id,omitempty"` // The option to test special app entitlements. Setting this would re-sign the // app having special entitlements with an explicit application-identifier. // Currently supports testing aps-environment entitlement. TestSpecialEntitlements bool `protobuf:"varint,6,opt,name=test_special_entitlements,json=testSpecialEntitlements,proto3" json:"test_special_entitlements,omitempty"` // contains filtered or unexported fields }
func (*IosXcTest) Descriptor() ([]byte, []int)
Deprecated: Use IosXcTest.ProtoReflect.Descriptor instead.
func (x *IosXcTest) GetAppBundleId() string
func (x *IosXcTest) GetTestSpecialEntitlements() bool
func (x *IosXcTest) GetTestsZip() *FileReference
func (x *IosXcTest) GetXcodeVersion() string
func (x *IosXcTest) GetXctestrun() *FileReference
func (*IosXcTest) ProtoMessage()
func (x *IosXcTest) ProtoReflect() protoreflect.Message
func (x *IosXcTest) Reset()
func (x *IosXcTest) String() string
Specifies an intent that starts the main launcher activity.
type LauncherActivityIntent struct {
// contains filtered or unexported fields
}
func (*LauncherActivityIntent) Descriptor() ([]byte, []int)
Deprecated: Use LauncherActivityIntent.ProtoReflect.Descriptor instead.
func (*LauncherActivityIntent) ProtoMessage()
func (x *LauncherActivityIntent) ProtoReflect() protoreflect.Message
func (x *LauncherActivityIntent) Reset()
func (x *LauncherActivityIntent) String() string
A location/region designation for language.
type Locale struct { // The id for this locale. // Example: "en_US". Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A human-friendly name for this language/locale. // Example: "English". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // A human-friendly string representing the region for this // locale. Example: "United States". Not present for every locale. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // Tags for this dimension. // Example: "default". Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Locale) Descriptor() ([]byte, []int)
Deprecated: Use Locale.ProtoReflect.Descriptor instead.
func (x *Locale) GetId() string
func (x *Locale) GetName() string
func (x *Locale) GetRegion() string
func (x *Locale) GetTags() []string
func (*Locale) ProtoMessage()
func (x *Locale) ProtoReflect() protoreflect.Message
func (x *Locale) Reset()
func (x *Locale) String() string
Shards test cases into the specified groups of packages, classes, and/or methods.
With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid.
type ManualSharding struct { // Required. Group of packages, classes, and/or test methods to be run for // each manually-created shard. You must specify at least one shard if this // field is present. When you select one or more physical devices, the number // of repeated test_targets_for_shard must be <= 50. When you select one or // more ARM virtual devices, it must be <= 100. When you select only x86 // virtual devices, it must be <= 500. TestTargetsForShard []*TestTargetsForShard `protobuf:"bytes,1,rep,name=test_targets_for_shard,json=testTargetsForShard,proto3" json:"test_targets_for_shard,omitempty"` // contains filtered or unexported fields }
func (*ManualSharding) Descriptor() ([]byte, []int)
Deprecated: Use ManualSharding.ProtoReflect.Descriptor instead.
func (x *ManualSharding) GetTestTargetsForShard() []*TestTargetsForShard
func (*ManualSharding) ProtoMessage()
func (x *ManualSharding) ProtoReflect() protoreflect.Message
func (x *ManualSharding) Reset()
func (x *ManualSharding) String() string
A <meta-data> tag within a manifest. https://developer.android.com/guide/topics/manifest/meta-data-element.html
type Metadata struct { // The android:name value Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The android:value value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (x *Metadata) GetName() string
func (x *Metadata) GetValue() string
func (*Metadata) ProtoMessage()
func (x *Metadata) ProtoReflect() protoreflect.Message
func (x *Metadata) Reset()
func (x *Metadata) String() string
type NetworkConfiguration struct { // The unique opaque id for this network traffic configuration. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The emulation rule applying to the upload traffic. UpRule *TrafficRule `protobuf:"bytes,2,opt,name=up_rule,json=upRule,proto3" json:"up_rule,omitempty"` // The emulation rule applying to the download traffic. DownRule *TrafficRule `protobuf:"bytes,3,opt,name=down_rule,json=downRule,proto3" json:"down_rule,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfiguration.ProtoReflect.Descriptor instead.
func (x *NetworkConfiguration) GetDownRule() *TrafficRule
func (x *NetworkConfiguration) GetId() string
func (x *NetworkConfiguration) GetUpRule() *TrafficRule
func (*NetworkConfiguration) ProtoMessage()
func (x *NetworkConfiguration) ProtoReflect() protoreflect.Message
func (x *NetworkConfiguration) Reset()
func (x *NetworkConfiguration) String() string
type NetworkConfigurationCatalog struct { Configurations []*NetworkConfiguration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfigurationCatalog) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfigurationCatalog.ProtoReflect.Descriptor instead.
func (x *NetworkConfigurationCatalog) GetConfigurations() []*NetworkConfiguration
func (*NetworkConfigurationCatalog) ProtoMessage()
func (x *NetworkConfigurationCatalog) ProtoReflect() protoreflect.Message
func (x *NetworkConfigurationCatalog) Reset()
func (x *NetworkConfigurationCatalog) String() string
An opaque binary blob file to install on the device before the test starts.
type ObbFile struct { // Required. OBB file name which must conform to the format as specified by // Android // e.g. [main|patch].0300110.com.example.android.obb // which will be installed into // // \<shared-storage\>/Android/obb/\<package-name\>/ // // on the device. ObbFileName string `protobuf:"bytes,1,opt,name=obb_file_name,json=obbFileName,proto3" json:"obb_file_name,omitempty"` // Required. Opaque Binary Blob (OBB) file(s) to install on the device. Obb *FileReference `protobuf:"bytes,2,opt,name=obb,proto3" json:"obb,omitempty"` // contains filtered or unexported fields }
func (*ObbFile) Descriptor() ([]byte, []int)
Deprecated: Use ObbFile.ProtoReflect.Descriptor instead.
func (x *ObbFile) GetObb() *FileReference
func (x *ObbFile) GetObbFileName() string
func (*ObbFile) ProtoMessage()
func (x *ObbFile) ProtoReflect() protoreflect.Message
func (x *ObbFile) Reset()
func (x *ObbFile) String() string
Specifies how to execute the test.
type OrchestratorOption int32
const ( // Default value: the server will choose the mode. Currently implies that // the test will run without the orchestrator. In the future, // all instrumentation tests will be run with the orchestrator. // Using the orchestrator is highly encouraged because of all the benefits it // offers. OrchestratorOption_ORCHESTRATOR_OPTION_UNSPECIFIED OrchestratorOption = 0 // Run test using orchestrator. // ** Only compatible with AndroidJUnitRunner version 1.1 or higher! ** // Recommended. OrchestratorOption_USE_ORCHESTRATOR OrchestratorOption = 1 // Run test without using orchestrator. OrchestratorOption_DO_NOT_USE_ORCHESTRATOR OrchestratorOption = 2 )
func (OrchestratorOption) Descriptor() protoreflect.EnumDescriptor
func (x OrchestratorOption) Enum() *OrchestratorOption
func (OrchestratorOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrchestratorOption.Descriptor instead.
func (x OrchestratorOption) Number() protoreflect.EnumNumber
func (x OrchestratorOption) String() string
func (OrchestratorOption) Type() protoreflect.EnumType
Screen orientation of the device.
type Orientation struct { // The id for this orientation. // Example: "portrait". Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A human-friendly name for this orientation. // Example: "portrait". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Tags for this dimension. // Example: "default". Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Orientation) Descriptor() ([]byte, []int)
Deprecated: Use Orientation.ProtoReflect.Descriptor instead.
func (x *Orientation) GetId() string
func (x *Orientation) GetName() string
func (x *Orientation) GetTags() []string
func (*Orientation) ProtoMessage()
func (x *Orientation) ProtoReflect() protoreflect.Message
func (x *Orientation) Reset()
func (x *Orientation) String() string
Outcome summary for a finished test matrix.
type OutcomeSummary int32
const ( // Do not use. For proto versioning only. OutcomeSummary_OUTCOME_SUMMARY_UNSPECIFIED OutcomeSummary = 0 // The test matrix run was successful, for instance: // - All the test cases passed. // - Robo did not detect a crash of the application under test. OutcomeSummary_SUCCESS OutcomeSummary = 1 // A run failed, for instance: // - One or more test case failed. // - A test timed out. // - The application under test crashed. OutcomeSummary_FAILURE OutcomeSummary = 2 // Something unexpected happened. The run should still be considered // unsuccessful but this is likely a transient problem and re-running the // test might be successful. OutcomeSummary_INCONCLUSIVE OutcomeSummary = 3 // All tests were skipped, for instance: // - All device configurations were incompatible. OutcomeSummary_SKIPPED OutcomeSummary = 4 )
func (OutcomeSummary) Descriptor() protoreflect.EnumDescriptor
func (x OutcomeSummary) Enum() *OutcomeSummary
func (OutcomeSummary) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutcomeSummary.Descriptor instead.
func (x OutcomeSummary) Number() protoreflect.EnumNumber
func (x OutcomeSummary) String() string
func (OutcomeSummary) Type() protoreflect.EnumType
A version-specific information of an Android model.
type PerAndroidVersionInfo struct { // An Android version. VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // The number of online devices for an Android version. DeviceCapacity DeviceCapacity `protobuf:"varint,2,opt,name=device_capacity,json=deviceCapacity,proto3,enum=google.devtools.testing.v1.DeviceCapacity" json:"device_capacity,omitempty"` // contains filtered or unexported fields }
func (*PerAndroidVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use PerAndroidVersionInfo.ProtoReflect.Descriptor instead.
func (x *PerAndroidVersionInfo) GetDeviceCapacity() DeviceCapacity
func (x *PerAndroidVersionInfo) GetVersionId() string
func (*PerAndroidVersionInfo) ProtoMessage()
func (x *PerAndroidVersionInfo) ProtoReflect() protoreflect.Message
func (x *PerAndroidVersionInfo) Reset()
func (x *PerAndroidVersionInfo) String() string
A version-specific information of an iOS model.
type PerIosVersionInfo struct { // An iOS version. VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // The number of online devices for an iOS version. DeviceCapacity DeviceCapacity `protobuf:"varint,2,opt,name=device_capacity,json=deviceCapacity,proto3,enum=google.devtools.testing.v1.DeviceCapacity" json:"device_capacity,omitempty"` // contains filtered or unexported fields }
func (*PerIosVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use PerIosVersionInfo.ProtoReflect.Descriptor instead.
func (x *PerIosVersionInfo) GetDeviceCapacity() DeviceCapacity
func (x *PerIosVersionInfo) GetVersionId() string
func (*PerIosVersionInfo) ProtoMessage()
func (x *PerIosVersionInfo) ProtoReflect() protoreflect.Message
func (x *PerIosVersionInfo) Reset()
func (x *PerIosVersionInfo) String() string
The currently provided software environment on the devices under test.
type ProvidedSoftwareCatalog struct { // Deprecated: Use AndroidX Test Orchestrator going forward. // // A string representing the current version of Android Test Orchestrator // that is used in the environment. The package is available at // https://maven.google.com/web/index.html#com.android.support.test:orchestrator. // // Deprecated: Do not use. OrchestratorVersion string `protobuf:"bytes,1,opt,name=orchestrator_version,json=orchestratorVersion,proto3" json:"orchestrator_version,omitempty"` // A string representing the current version of AndroidX Test Orchestrator // that is used in the environment. The package is available at // https://maven.google.com/web/index.html#androidx.test:orchestrator. AndroidxOrchestratorVersion string `protobuf:"bytes,2,opt,name=androidx_orchestrator_version,json=androidxOrchestratorVersion,proto3" json:"androidx_orchestrator_version,omitempty"` // contains filtered or unexported fields }
func (*ProvidedSoftwareCatalog) Descriptor() ([]byte, []int)
Deprecated: Use ProvidedSoftwareCatalog.ProtoReflect.Descriptor instead.
func (x *ProvidedSoftwareCatalog) GetAndroidxOrchestratorVersion() string
func (x *ProvidedSoftwareCatalog) GetOrchestratorVersion() string
Deprecated: Do not use.
func (*ProvidedSoftwareCatalog) ProtoMessage()
func (x *ProvidedSoftwareCatalog) ProtoReflect() protoreflect.Message
func (x *ProvidedSoftwareCatalog) Reset()
func (x *ProvidedSoftwareCatalog) String() string
A file or directory to install on the device before the test starts.
type RegularFile struct { // Required. The source file. Content *FileReference `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // Required. Where to put the content on the device. Must be an absolute, // allowlisted path. If the file exists, it will be replaced. // The following device-side directories and any of their subdirectories are // allowlisted: // <p>${EXTERNAL_STORAGE}, /sdcard, or /storage</p> // <p>${ANDROID_DATA}/local/tmp, or /data/local/tmp</p> // <p>Specifying a path outside of these directory trees is invalid. // // <p> The paths /sdcard and /data will be made available and treated as // implicit path substitutions. E.g. if /sdcard on a particular device does // not map to external storage, the system will replace it with the external // storage path prefix for that device and copy the file there. // // <p> It is strongly advised to use the <a href= // "http://developer.android.com/reference/android/os/Environment.html"> // Environment API</a> in app and test code to access files on the device in a // portable way. DevicePath string `protobuf:"bytes,2,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"` // contains filtered or unexported fields }
func (*RegularFile) Descriptor() ([]byte, []int)
Deprecated: Use RegularFile.ProtoReflect.Descriptor instead.
func (x *RegularFile) GetContent() *FileReference
func (x *RegularFile) GetDevicePath() string
func (*RegularFile) ProtoMessage()
func (x *RegularFile) ProtoReflect() protoreflect.Message
func (x *RegularFile) Reset()
func (x *RegularFile) String() string
Locations where the results of running the test are stored.
type ResultStorage struct { // Required. GoogleCloudStorage *GoogleCloudStorage `protobuf:"bytes,1,opt,name=google_cloud_storage,json=googleCloudStorage,proto3" json:"google_cloud_storage,omitempty"` // The tool results history that contains the tool results execution that // results are written to. // // If not provided, the service will choose an appropriate value. ToolResultsHistory *ToolResultsHistory `protobuf:"bytes,5,opt,name=tool_results_history,json=toolResultsHistory,proto3" json:"tool_results_history,omitempty"` // Output only. The tool results execution that results are written to. ToolResultsExecution *ToolResultsExecution `protobuf:"bytes,6,opt,name=tool_results_execution,json=toolResultsExecution,proto3" json:"tool_results_execution,omitempty"` // Output only. URL to the results in the Firebase Web Console. ResultsUrl string `protobuf:"bytes,7,opt,name=results_url,json=resultsUrl,proto3" json:"results_url,omitempty"` // contains filtered or unexported fields }
func (*ResultStorage) Descriptor() ([]byte, []int)
Deprecated: Use ResultStorage.ProtoReflect.Descriptor instead.
func (x *ResultStorage) GetGoogleCloudStorage() *GoogleCloudStorage
func (x *ResultStorage) GetResultsUrl() string
func (x *ResultStorage) GetToolResultsExecution() *ToolResultsExecution
func (x *ResultStorage) GetToolResultsHistory() *ToolResultsHistory
func (*ResultStorage) ProtoMessage()
func (x *ResultStorage) ProtoReflect() protoreflect.Message
func (x *ResultStorage) Reset()
func (x *ResultStorage) String() string
Actions which Robo can perform on UI elements.
type RoboActionType int32
const ( // DO NOT USE. For proto versioning only. RoboActionType_ACTION_TYPE_UNSPECIFIED RoboActionType = 0 // Direct Robo to click on the specified element. No-op if specified element // is not clickable. RoboActionType_SINGLE_CLICK RoboActionType = 1 // Direct Robo to enter text on the specified element. No-op if specified // element is not enabled or does not allow text entry. RoboActionType_ENTER_TEXT RoboActionType = 2 // Direct Robo to ignore interactions with a specific element. RoboActionType_IGNORE RoboActionType = 3 )
func (RoboActionType) Descriptor() protoreflect.EnumDescriptor
func (x RoboActionType) Enum() *RoboActionType
func (RoboActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoboActionType.Descriptor instead.
func (x RoboActionType) Number() protoreflect.EnumNumber
func (x RoboActionType) String() string
func (RoboActionType) Type() protoreflect.EnumType
Directs Robo to interact with a specific UI element if it is encountered during the crawl. Currently, Robo can perform text entry or element click.
type RoboDirective struct { // Required. The android resource name of the target UI element. // For example, // // in Java: R.string.foo // in xml: @string/foo // // Only the "foo" part is needed. // Reference doc: // https://developer.android.com/guide/topics/resources/accessing-resources.html ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // The text that Robo is directed to set. If left empty, the directive will be // treated as a CLICK on the element matching the resource_name. InputText string `protobuf:"bytes,2,opt,name=input_text,json=inputText,proto3" json:"input_text,omitempty"` // Required. The type of action that Robo should perform on the specified // element. ActionType RoboActionType `protobuf:"varint,3,opt,name=action_type,json=actionType,proto3,enum=google.devtools.testing.v1.RoboActionType" json:"action_type,omitempty"` // contains filtered or unexported fields }
func (*RoboDirective) Descriptor() ([]byte, []int)
Deprecated: Use RoboDirective.ProtoReflect.Descriptor instead.
func (x *RoboDirective) GetActionType() RoboActionType
func (x *RoboDirective) GetInputText() string
func (x *RoboDirective) GetResourceName() string
func (*RoboDirective) ProtoMessage()
func (x *RoboDirective) ProtoReflect() protoreflect.Message
func (x *RoboDirective) Reset()
func (x *RoboDirective) String() string
The mode in which Robo should run.
type RoboMode int32
const ( // This means that the server should choose the mode. // Recommended. RoboMode_ROBO_MODE_UNSPECIFIED RoboMode = 0 // Runs Robo in UIAutomator-only mode without app resigning RoboMode_ROBO_VERSION_1 RoboMode = 1 // Runs Robo in standard Espresso with UIAutomator fallback RoboMode_ROBO_VERSION_2 RoboMode = 2 )
func (RoboMode) Descriptor() protoreflect.EnumDescriptor
func (x RoboMode) Enum() *RoboMode
func (RoboMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoboMode.Descriptor instead.
func (x RoboMode) Number() protoreflect.EnumNumber
func (x RoboMode) String() string
func (RoboMode) Type() protoreflect.EnumType
Message for specifying the start activities to crawl.
type RoboStartingIntent struct { // Required. Intent details to start an activity. // // Types that are assignable to StartingIntent: // // *RoboStartingIntent_LauncherActivity // *RoboStartingIntent_StartActivity StartingIntent isRoboStartingIntent_StartingIntent `protobuf_oneof:"starting_intent"` // Timeout in seconds for each intent. Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*RoboStartingIntent) Descriptor() ([]byte, []int)
Deprecated: Use RoboStartingIntent.ProtoReflect.Descriptor instead.
func (x *RoboStartingIntent) GetLauncherActivity() *LauncherActivityIntent
func (x *RoboStartingIntent) GetStartActivity() *StartActivityIntent
func (m *RoboStartingIntent) GetStartingIntent() isRoboStartingIntent_StartingIntent
func (x *RoboStartingIntent) GetTimeout() *durationpb.Duration
func (*RoboStartingIntent) ProtoMessage()
func (x *RoboStartingIntent) ProtoReflect() protoreflect.Message
func (x *RoboStartingIntent) Reset()
func (x *RoboStartingIntent) String() string
type RoboStartingIntent_LauncherActivity struct { // An intent that starts the main launcher activity. LauncherActivity *LauncherActivityIntent `protobuf:"bytes,1,opt,name=launcher_activity,json=launcherActivity,proto3,oneof"` }
type RoboStartingIntent_StartActivity struct { // An intent that starts an activity with specific details. StartActivity *StartActivityIntent `protobuf:"bytes,2,opt,name=start_activity,json=startActivity,proto3,oneof"` }
Output only. Details about the shard.
type Shard struct { // Output only. The index of the shard among all the shards. ShardIndex int32 `protobuf:"varint,1,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty"` // Output only. The total number of shards. NumShards int32 `protobuf:"varint,2,opt,name=num_shards,json=numShards,proto3" json:"num_shards,omitempty"` // Output only. Test targets for each shard. Only set for manual sharding. TestTargetsForShard *TestTargetsForShard `protobuf:"bytes,3,opt,name=test_targets_for_shard,json=testTargetsForShard,proto3" json:"test_targets_for_shard,omitempty"` // contains filtered or unexported fields }
func (*Shard) Descriptor() ([]byte, []int)
Deprecated: Use Shard.ProtoReflect.Descriptor instead.
func (x *Shard) GetNumShards() int32
func (x *Shard) GetShardIndex() int32
func (x *Shard) GetTestTargetsForShard() *TestTargetsForShard
func (*Shard) ProtoMessage()
func (x *Shard) ProtoReflect() protoreflect.Message
func (x *Shard) Reset()
func (x *Shard) String() string
Options for enabling sharding.
type ShardingOption struct { // Types that are assignable to Option: // // *ShardingOption_UniformSharding // *ShardingOption_ManualSharding Option isShardingOption_Option `protobuf_oneof:"option"` // contains filtered or unexported fields }
func (*ShardingOption) Descriptor() ([]byte, []int)
Deprecated: Use ShardingOption.ProtoReflect.Descriptor instead.
func (x *ShardingOption) GetManualSharding() *ManualSharding
func (m *ShardingOption) GetOption() isShardingOption_Option
func (x *ShardingOption) GetUniformSharding() *UniformSharding
func (*ShardingOption) ProtoMessage()
func (x *ShardingOption) ProtoReflect() protoreflect.Message
func (x *ShardingOption) Reset()
func (x *ShardingOption) String() string
type ShardingOption_ManualSharding struct { // Shards test cases into the specified groups of packages, classes, and/or // methods. ManualSharding *ManualSharding `protobuf:"bytes,2,opt,name=manual_sharding,json=manualSharding,proto3,oneof"` }
type ShardingOption_UniformSharding struct { // Uniformly shards test cases given a total number of shards. UniformSharding *UniformSharding `protobuf:"bytes,1,opt,name=uniform_sharding,json=uniformSharding,proto3,oneof"` }
A starting intent specified by an action, uri, and categories.
type StartActivityIntent struct { // Action name. // Required for START_ACTIVITY. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // URI for the action. Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // Intent categories to set on the intent. Categories []string `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*StartActivityIntent) Descriptor() ([]byte, []int)
Deprecated: Use StartActivityIntent.ProtoReflect.Descriptor instead.
func (x *StartActivityIntent) GetAction() string
func (x *StartActivityIntent) GetCategories() []string
func (x *StartActivityIntent) GetUri() string
func (*StartActivityIntent) ProtoMessage()
func (x *StartActivityIntent) ProtoReflect() protoreflect.Message
func (x *StartActivityIntent) Reset()
func (x *StartActivityIntent) String() string
type SystraceSetup struct { // Systrace duration in seconds. // Should be between 1 and 30 seconds. 0 disables systrace. DurationSeconds int32 `protobuf:"varint,1,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"` // contains filtered or unexported fields }
func (*SystraceSetup) Descriptor() ([]byte, []int)
Deprecated: Use SystraceSetup.ProtoReflect.Descriptor instead.
func (x *SystraceSetup) GetDurationSeconds() int32
func (*SystraceSetup) ProtoMessage()
func (x *SystraceSetup) ProtoReflect() protoreflect.Message
func (x *SystraceSetup) Reset()
func (x *SystraceSetup) String() string
Additional details about the progress of the running test.
type TestDetails struct { // Output only. Human-readable, detailed descriptions of the test's progress. // For example: "Provisioning a device", "Starting Test". // // During the course of execution new data may be appended // to the end of progress_messages. ProgressMessages []string `protobuf:"bytes,3,rep,name=progress_messages,json=progressMessages,proto3" json:"progress_messages,omitempty"` // Output only. If the TestState is ERROR, then this string will contain // human-readable details about the error. ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*TestDetails) Descriptor() ([]byte, []int)
Deprecated: Use TestDetails.ProtoReflect.Descriptor instead.
func (x *TestDetails) GetErrorMessage() string
func (x *TestDetails) GetProgressMessages() []string
func (*TestDetails) ProtoMessage()
func (x *TestDetails) ProtoReflect() protoreflect.Message
func (x *TestDetails) Reset()
func (x *TestDetails) String() string
A description of a test environment.
type TestEnvironmentCatalog struct { // Output only. // // Types that are assignable to EnvironmentCatalog: // // *TestEnvironmentCatalog_AndroidDeviceCatalog // *TestEnvironmentCatalog_IosDeviceCatalog // *TestEnvironmentCatalog_NetworkConfigurationCatalog // *TestEnvironmentCatalog_SoftwareCatalog // *TestEnvironmentCatalog_DeviceIpBlockCatalog EnvironmentCatalog isTestEnvironmentCatalog_EnvironmentCatalog `protobuf_oneof:"environment_catalog"` // contains filtered or unexported fields }
func (*TestEnvironmentCatalog) Descriptor() ([]byte, []int)
Deprecated: Use TestEnvironmentCatalog.ProtoReflect.Descriptor instead.
func (x *TestEnvironmentCatalog) GetAndroidDeviceCatalog() *AndroidDeviceCatalog
func (x *TestEnvironmentCatalog) GetDeviceIpBlockCatalog() *DeviceIpBlockCatalog
func (m *TestEnvironmentCatalog) GetEnvironmentCatalog() isTestEnvironmentCatalog_EnvironmentCatalog
func (x *TestEnvironmentCatalog) GetIosDeviceCatalog() *IosDeviceCatalog
func (x *TestEnvironmentCatalog) GetNetworkConfigurationCatalog() *NetworkConfigurationCatalog
func (x *TestEnvironmentCatalog) GetSoftwareCatalog() *ProvidedSoftwareCatalog
func (*TestEnvironmentCatalog) ProtoMessage()
func (x *TestEnvironmentCatalog) ProtoReflect() protoreflect.Message
func (x *TestEnvironmentCatalog) Reset()
func (x *TestEnvironmentCatalog) String() string
type TestEnvironmentCatalog_AndroidDeviceCatalog struct { // Supported Android devices. AndroidDeviceCatalog *AndroidDeviceCatalog `protobuf:"bytes,1,opt,name=android_device_catalog,json=androidDeviceCatalog,proto3,oneof"` }
type TestEnvironmentCatalog_DeviceIpBlockCatalog struct { // The IP blocks used by devices in the test environment. DeviceIpBlockCatalog *DeviceIpBlockCatalog `protobuf:"bytes,6,opt,name=device_ip_block_catalog,json=deviceIpBlockCatalog,proto3,oneof"` }
type TestEnvironmentCatalog_IosDeviceCatalog struct { // Supported iOS devices. IosDeviceCatalog *IosDeviceCatalog `protobuf:"bytes,3,opt,name=ios_device_catalog,json=iosDeviceCatalog,proto3,oneof"` }
type TestEnvironmentCatalog_NetworkConfigurationCatalog struct { // Supported network configurations. NetworkConfigurationCatalog *NetworkConfigurationCatalog `protobuf:"bytes,4,opt,name=network_configuration_catalog,json=networkConfigurationCatalog,proto3,oneof"` }
type TestEnvironmentCatalog_SoftwareCatalog struct { // The software test environment provided by TestExecutionService. SoftwareCatalog *ProvidedSoftwareCatalog `protobuf:"bytes,5,opt,name=software_catalog,json=softwareCatalog,proto3,oneof"` }
TestEnvironmentDiscoveryServiceClient is the client API for TestEnvironmentDiscoveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type TestEnvironmentDiscoveryServiceClient interface { // Gets the catalog of supported test environments. // // May return any of the following canonical error codes: // // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the environment type does not exist // - INTERNAL - if an internal error occurred GetTestEnvironmentCatalog(ctx context.Context, in *GetTestEnvironmentCatalogRequest, opts ...grpc.CallOption) (*TestEnvironmentCatalog, error) }
func NewTestEnvironmentDiscoveryServiceClient(cc grpc.ClientConnInterface) TestEnvironmentDiscoveryServiceClient
TestEnvironmentDiscoveryServiceServer is the server API for TestEnvironmentDiscoveryService service.
type TestEnvironmentDiscoveryServiceServer interface { // Gets the catalog of supported test environments. // // May return any of the following canonical error codes: // // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the environment type does not exist // - INTERNAL - if an internal error occurred GetTestEnvironmentCatalog(context.Context, *GetTestEnvironmentCatalogRequest) (*TestEnvironmentCatalog, error) }
A single test executed in a single environment.
type TestExecution struct { // Output only. Unique id set by the service. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Output only. Id of the containing TestMatrix. MatrixId string `protobuf:"bytes,9,opt,name=matrix_id,json=matrixId,proto3" json:"matrix_id,omitempty"` // Output only. The cloud project that owns the test execution. ProjectId string `protobuf:"bytes,10,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Output only. How to run the test. TestSpecification *TestSpecification `protobuf:"bytes,3,opt,name=test_specification,json=testSpecification,proto3" json:"test_specification,omitempty"` // Output only. Details about the shard. Shard *Shard `protobuf:"bytes,12,opt,name=shard,proto3" json:"shard,omitempty"` // Output only. How the host machine(s) are configured. Environment *Environment `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` // Output only. Indicates the current progress of the test execution // (e.g., FINISHED). State TestState `protobuf:"varint,5,opt,name=state,proto3,enum=google.devtools.testing.v1.TestState" json:"state,omitempty"` // Output only. Where the results for this execution are written. ToolResultsStep *ToolResultsStep `protobuf:"bytes,11,opt,name=tool_results_step,json=toolResultsStep,proto3" json:"tool_results_step,omitempty"` // Output only. The time this test execution was initially created. Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Output only. Additional details about the running test. TestDetails *TestDetails `protobuf:"bytes,8,opt,name=test_details,json=testDetails,proto3" json:"test_details,omitempty"` // contains filtered or unexported fields }
func (*TestExecution) Descriptor() ([]byte, []int)
Deprecated: Use TestExecution.ProtoReflect.Descriptor instead.
func (x *TestExecution) GetEnvironment() *Environment
func (x *TestExecution) GetId() string
func (x *TestExecution) GetMatrixId() string
func (x *TestExecution) GetProjectId() string
func (x *TestExecution) GetShard() *Shard
func (x *TestExecution) GetState() TestState
func (x *TestExecution) GetTestDetails() *TestDetails
func (x *TestExecution) GetTestSpecification() *TestSpecification
func (x *TestExecution) GetTimestamp() *timestamppb.Timestamp
func (x *TestExecution) GetToolResultsStep() *ToolResultsStep
func (*TestExecution) ProtoMessage()
func (x *TestExecution) ProtoReflect() protoreflect.Message
func (x *TestExecution) Reset()
func (x *TestExecution) String() string
TestExecutionServiceClient is the client API for TestExecutionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type TestExecutionServiceClient interface { // Creates and runs a matrix of tests according to the given specifications. // Unsupported environments will be returned in the state UNSUPPORTED. // A test matrix is limited to use at most 2000 devices in parallel. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to write to project // - INVALID_ARGUMENT - if the request is malformed or if the matrix tries // to use too many simultaneous devices. CreateTestMatrix(ctx context.Context, in *CreateTestMatrixRequest, opts ...grpc.CallOption) (*TestMatrix, error) // Checks the status of a test matrix. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to read project // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the Test Matrix does not exist GetTestMatrix(ctx context.Context, in *GetTestMatrixRequest, opts ...grpc.CallOption) (*TestMatrix, error) // Cancels unfinished test executions in a test matrix. // This call returns immediately and cancellation proceeds asynchronously. // If the matrix is already final, this operation will have no effect. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to read project // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the Test Matrix does not exist CancelTestMatrix(ctx context.Context, in *CancelTestMatrixRequest, opts ...grpc.CallOption) (*CancelTestMatrixResponse, error) }
func NewTestExecutionServiceClient(cc grpc.ClientConnInterface) TestExecutionServiceClient
TestExecutionServiceServer is the server API for TestExecutionService service.
type TestExecutionServiceServer interface { // Creates and runs a matrix of tests according to the given specifications. // Unsupported environments will be returned in the state UNSUPPORTED. // A test matrix is limited to use at most 2000 devices in parallel. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to write to project // - INVALID_ARGUMENT - if the request is malformed or if the matrix tries // to use too many simultaneous devices. CreateTestMatrix(context.Context, *CreateTestMatrixRequest) (*TestMatrix, error) // Checks the status of a test matrix. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to read project // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the Test Matrix does not exist GetTestMatrix(context.Context, *GetTestMatrixRequest) (*TestMatrix, error) // Cancels unfinished test executions in a test matrix. // This call returns immediately and cancellation proceeds asynchronously. // If the matrix is already final, this operation will have no effect. // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to read project // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the Test Matrix does not exist CancelTestMatrix(context.Context, *CancelTestMatrixRequest) (*CancelTestMatrixResponse, error) }
TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.
type TestMatrix struct { // Output only. Unique id set by the service. TestMatrixId string `protobuf:"bytes,1,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,omitempty"` // The cloud project that owns the test matrix. ProjectId string `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Information about the client which invoked the test. ClientInfo *ClientInfo `protobuf:"bytes,10,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` // Required. How to run the test. TestSpecification *TestSpecification `protobuf:"bytes,3,opt,name=test_specification,json=testSpecification,proto3" json:"test_specification,omitempty"` // Required. The devices the tests are being executed on. EnvironmentMatrix *EnvironmentMatrix `protobuf:"bytes,4,opt,name=environment_matrix,json=environmentMatrix,proto3" json:"environment_matrix,omitempty"` // Output only. The list of test executions that the service creates for // this matrix. TestExecutions []*TestExecution `protobuf:"bytes,5,rep,name=test_executions,json=testExecutions,proto3" json:"test_executions,omitempty"` // Required. Where the results for the matrix are written. ResultStorage *ResultStorage `protobuf:"bytes,6,opt,name=result_storage,json=resultStorage,proto3" json:"result_storage,omitempty"` // Output only. Indicates the current progress of the test matrix. State TestState `protobuf:"varint,8,opt,name=state,proto3,enum=google.devtools.testing.v1.TestState" json:"state,omitempty"` // Output only. The time this test matrix was initially created. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Output only. Describes why the matrix is considered invalid. // Only useful for matrices in the INVALID state. InvalidMatrixDetails InvalidMatrixDetails `protobuf:"varint,11,opt,name=invalid_matrix_details,json=invalidMatrixDetails,proto3,enum=google.devtools.testing.v1.InvalidMatrixDetails" json:"invalid_matrix_details,omitempty"` // The number of times a TestExecution should be re-attempted if one or more // of its test cases fail for any reason. // The maximum number of reruns allowed is 10. // // Default is 0, which implies no reruns. FlakyTestAttempts int32 `protobuf:"varint,13,opt,name=flaky_test_attempts,json=flakyTestAttempts,proto3" json:"flaky_test_attempts,omitempty"` // Output Only. The overall outcome of the test. // Only set when the test matrix state is FINISHED. OutcomeSummary OutcomeSummary `protobuf:"varint,14,opt,name=outcome_summary,json=outcomeSummary,proto3,enum=google.devtools.testing.v1.OutcomeSummary" json:"outcome_summary,omitempty"` // If true, only a single attempt at most will be made to run each // execution/shard in the matrix. Flaky test attempts are not affected. // // Normally, 2 or more attempts are made if a potential infrastructure issue // is detected. // // This feature is for latency sensitive workloads. The incidence of // execution failures may be significantly greater for fail-fast matrices // and support is more limited because of that expectation. FailFast bool `protobuf:"varint,17,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"` // contains filtered or unexported fields }
func (*TestMatrix) Descriptor() ([]byte, []int)
Deprecated: Use TestMatrix.ProtoReflect.Descriptor instead.
func (x *TestMatrix) GetClientInfo() *ClientInfo
func (x *TestMatrix) GetEnvironmentMatrix() *EnvironmentMatrix
func (x *TestMatrix) GetFailFast() bool
func (x *TestMatrix) GetFlakyTestAttempts() int32
func (x *TestMatrix) GetInvalidMatrixDetails() InvalidMatrixDetails
func (x *TestMatrix) GetOutcomeSummary() OutcomeSummary
func (x *TestMatrix) GetProjectId() string
func (x *TestMatrix) GetResultStorage() *ResultStorage
func (x *TestMatrix) GetState() TestState
func (x *TestMatrix) GetTestExecutions() []*TestExecution
func (x *TestMatrix) GetTestMatrixId() string
func (x *TestMatrix) GetTestSpecification() *TestSpecification
func (x *TestMatrix) GetTimestamp() *timestamppb.Timestamp
func (*TestMatrix) ProtoMessage()
func (x *TestMatrix) ProtoReflect() protoreflect.Message
func (x *TestMatrix) Reset()
func (x *TestMatrix) String() string
A description of how to set up the Android device prior to running the test.
type TestSetup struct { // List of files to push to the device before starting the test. FilesToPush []*DeviceFile `protobuf:"bytes,1,rep,name=files_to_push,json=filesToPush,proto3" json:"files_to_push,omitempty"` // List of directories on the device to upload to GCS at the end of the test; // they must be absolute paths under /sdcard, /storage or /data/local/tmp. // Path names are restricted to characters a-z A-Z 0-9 _ - . + and / // // Note: The paths /sdcard and /data will be made available and treated as // implicit path substitutions. E.g. if /sdcard on a particular device does // not map to external storage, the system will replace it with the external // storage path prefix for that device. DirectoriesToPull []string `protobuf:"bytes,2,rep,name=directories_to_pull,json=directoriesToPull,proto3" json:"directories_to_pull,omitempty"` // APKs to install in addition to those being directly tested. // Currently capped at 100. AdditionalApks []*Apk `protobuf:"bytes,3,rep,name=additional_apks,json=additionalApks,proto3" json:"additional_apks,omitempty"` // The device will be logged in on this account for the duration of the test. Account *Account `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"` // The network traffic profile used for running the test. // Available network profiles can be queried by using the // NETWORK_CONFIGURATION environment type when calling // TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog. NetworkProfile string `protobuf:"bytes,5,opt,name=network_profile,json=networkProfile,proto3" json:"network_profile,omitempty"` // Environment variables to set for the test (only applicable for // instrumentation tests). EnvironmentVariables []*EnvironmentVariable `protobuf:"bytes,6,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` // Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. // Support of Systrace may stop at any time, at which point no Systrace file // will be provided in the results. // // Systrace configuration for the run. // If set a systrace will be taken, starting on test start and lasting for the // configured duration. The systrace file thus obtained is put in the results // bucket together with the other artifacts from the run. // // Deprecated: Do not use. Systrace *SystraceSetup `protobuf:"bytes,9,opt,name=systrace,proto3" json:"systrace,omitempty"` // Whether to prevent all runtime permissions to be granted at app install DontAutograntPermissions bool `protobuf:"varint,23,opt,name=dont_autogrant_permissions,json=dontAutograntPermissions,proto3" json:"dont_autogrant_permissions,omitempty"` // contains filtered or unexported fields }
func (*TestSetup) Descriptor() ([]byte, []int)
Deprecated: Use TestSetup.ProtoReflect.Descriptor instead.
func (x *TestSetup) GetAccount() *Account
func (x *TestSetup) GetAdditionalApks() []*Apk
func (x *TestSetup) GetDirectoriesToPull() []string
func (x *TestSetup) GetDontAutograntPermissions() bool
func (x *TestSetup) GetEnvironmentVariables() []*EnvironmentVariable
func (x *TestSetup) GetFilesToPush() []*DeviceFile
func (x *TestSetup) GetNetworkProfile() string
func (x *TestSetup) GetSystrace() *SystraceSetup
Deprecated: Do not use.
func (*TestSetup) ProtoMessage()
func (x *TestSetup) ProtoReflect() protoreflect.Message
func (x *TestSetup) Reset()
func (x *TestSetup) String() string
A description of how to run the test.
type TestSpecification struct { // Max time a test execution is allowed to run before it is // automatically cancelled. // The default value is 5 min. TestTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=test_timeout,json=testTimeout,proto3" json:"test_timeout,omitempty"` // Test setup requirements. // // Types that are assignable to Setup: // // *TestSpecification_TestSetup // *TestSpecification_IosTestSetup Setup isTestSpecification_Setup `protobuf_oneof:"setup"` // Required. The type of test to run. // // Types that are assignable to Test: // // *TestSpecification_AndroidInstrumentationTest // *TestSpecification_AndroidRoboTest // *TestSpecification_AndroidTestLoop // *TestSpecification_IosXcTest // *TestSpecification_IosTestLoop Test isTestSpecification_Test `protobuf_oneof:"test"` // Disables video recording. May reduce test latency. DisableVideoRecording bool `protobuf:"varint,10,opt,name=disable_video_recording,json=disableVideoRecording,proto3" json:"disable_video_recording,omitempty"` // Disables performance metrics recording. May reduce test latency. DisablePerformanceMetrics bool `protobuf:"varint,11,opt,name=disable_performance_metrics,json=disablePerformanceMetrics,proto3" json:"disable_performance_metrics,omitempty"` // contains filtered or unexported fields }
func (*TestSpecification) Descriptor() ([]byte, []int)
Deprecated: Use TestSpecification.ProtoReflect.Descriptor instead.
func (x *TestSpecification) GetAndroidInstrumentationTest() *AndroidInstrumentationTest
func (x *TestSpecification) GetAndroidRoboTest() *AndroidRoboTest
func (x *TestSpecification) GetAndroidTestLoop() *AndroidTestLoop
func (x *TestSpecification) GetDisablePerformanceMetrics() bool
func (x *TestSpecification) GetDisableVideoRecording() bool
func (x *TestSpecification) GetIosTestLoop() *IosTestLoop
func (x *TestSpecification) GetIosTestSetup() *IosTestSetup
func (x *TestSpecification) GetIosXcTest() *IosXcTest
func (m *TestSpecification) GetSetup() isTestSpecification_Setup
func (m *TestSpecification) GetTest() isTestSpecification_Test
func (x *TestSpecification) GetTestSetup() *TestSetup
func (x *TestSpecification) GetTestTimeout() *durationpb.Duration
func (*TestSpecification) ProtoMessage()
func (x *TestSpecification) ProtoReflect() protoreflect.Message
func (x *TestSpecification) Reset()
func (x *TestSpecification) String() string
type TestSpecification_AndroidInstrumentationTest struct { // An Android instrumentation test. AndroidInstrumentationTest *AndroidInstrumentationTest `protobuf:"bytes,2,opt,name=android_instrumentation_test,json=androidInstrumentationTest,proto3,oneof"` }
type TestSpecification_AndroidRoboTest struct { // An Android robo test. AndroidRoboTest *AndroidRoboTest `protobuf:"bytes,3,opt,name=android_robo_test,json=androidRoboTest,proto3,oneof"` }
type TestSpecification_AndroidTestLoop struct { // An Android Application with a Test Loop. AndroidTestLoop *AndroidTestLoop `protobuf:"bytes,9,opt,name=android_test_loop,json=androidTestLoop,proto3,oneof"` }
type TestSpecification_IosTestLoop struct { // An iOS application with a test loop. IosTestLoop *IosTestLoop `protobuf:"bytes,15,opt,name=ios_test_loop,json=iosTestLoop,proto3,oneof"` }
type TestSpecification_IosTestSetup struct { // Test setup requirements for iOS. IosTestSetup *IosTestSetup `protobuf:"bytes,14,opt,name=ios_test_setup,json=iosTestSetup,proto3,oneof"` }
type TestSpecification_IosXcTest struct { // An iOS XCTest, via an .xctestrun file. IosXcTest *IosXcTest `protobuf:"bytes,13,opt,name=ios_xc_test,json=iosXcTest,proto3,oneof"` }
type TestSpecification_TestSetup struct { // Test setup requirements for Android e.g. files to install, bootstrap // scripts. TestSetup *TestSetup `protobuf:"bytes,6,opt,name=test_setup,json=testSetup,proto3,oneof"` }
The state (i.e., progress) of a test execution or matrix.
type TestState int32
const ( // Do not use. For proto versioning only. TestState_TEST_STATE_UNSPECIFIED TestState = 0 // The execution or matrix is being validated. TestState_VALIDATING TestState = 8 // The execution or matrix is waiting for resources to become available. TestState_PENDING TestState = 1 // The execution is currently being processed. // // Can only be set on an execution. TestState_RUNNING TestState = 2 // The execution or matrix has terminated normally. // // On a matrix this means that the matrix level processing completed normally, // but individual executions may be in an ERROR state. TestState_FINISHED TestState = 3 // The execution or matrix has stopped because it encountered an // infrastructure failure. TestState_ERROR TestState = 4 // The execution was not run because it corresponds to a unsupported // environment. // // Can only be set on an execution. TestState_UNSUPPORTED_ENVIRONMENT TestState = 5 // The execution was not run because the provided inputs are incompatible with // the requested environment. // // Example: requested AndroidVersion is lower than APK's minSdkVersion // // Can only be set on an execution. TestState_INCOMPATIBLE_ENVIRONMENT TestState = 9 // The execution was not run because the provided inputs are incompatible with // the requested architecture. // // Example: requested device does not support running the native code in // the supplied APK // // Can only be set on an execution. TestState_INCOMPATIBLE_ARCHITECTURE TestState = 10 // The user cancelled the execution. // // Can only be set on an execution. TestState_CANCELLED TestState = 6 // The execution or matrix was not run because the provided inputs are not // valid. // // Examples: input file is not of the expected type, is malformed/corrupt, or // was flagged as malware TestState_INVALID TestState = 7 )
func (TestState) Descriptor() protoreflect.EnumDescriptor
func (x TestState) Enum() *TestState
func (TestState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestState.Descriptor instead.
func (x TestState) Number() protoreflect.EnumNumber
func (x TestState) String() string
func (TestState) Type() protoreflect.EnumType
Test targets for a shard.
type TestTargetsForShard struct { // Group of packages, classes, and/or test methods to be run for each shard. // The targets need to be specified in AndroidJUnitRunner argument format. For // example, "package com.my.packages" "class com.my.package.MyClass". // // The number of test_targets must be greater than 0. TestTargets []string `protobuf:"bytes,1,rep,name=test_targets,json=testTargets,proto3" json:"test_targets,omitempty"` // contains filtered or unexported fields }
func (*TestTargetsForShard) Descriptor() ([]byte, []int)
Deprecated: Use TestTargetsForShard.ProtoReflect.Descriptor instead.
func (x *TestTargetsForShard) GetTestTargets() []string
func (*TestTargetsForShard) ProtoMessage()
func (x *TestTargetsForShard) ProtoReflect() protoreflect.Message
func (x *TestTargetsForShard) Reset()
func (x *TestTargetsForShard) String() string
Represents a tool results execution resource.
This has the results of a TestMatrix.
type ToolResultsExecution struct { // Output only. The cloud project that owns the tool results execution. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Output only. A tool results history ID. HistoryId string `protobuf:"bytes,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` // Output only. A tool results execution ID. ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // contains filtered or unexported fields }
func (*ToolResultsExecution) Descriptor() ([]byte, []int)
Deprecated: Use ToolResultsExecution.ProtoReflect.Descriptor instead.
func (x *ToolResultsExecution) GetExecutionId() string
func (x *ToolResultsExecution) GetHistoryId() string
func (x *ToolResultsExecution) GetProjectId() string
func (*ToolResultsExecution) ProtoMessage()
func (x *ToolResultsExecution) ProtoReflect() protoreflect.Message
func (x *ToolResultsExecution) Reset()
func (x *ToolResultsExecution) String() string
Represents a tool results history resource.
type ToolResultsHistory struct { // Required. The cloud project that owns the tool results history. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. A tool results history ID. HistoryId string `protobuf:"bytes,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` // contains filtered or unexported fields }
func (*ToolResultsHistory) Descriptor() ([]byte, []int)
Deprecated: Use ToolResultsHistory.ProtoReflect.Descriptor instead.
func (x *ToolResultsHistory) GetHistoryId() string
func (x *ToolResultsHistory) GetProjectId() string
func (*ToolResultsHistory) ProtoMessage()
func (x *ToolResultsHistory) ProtoReflect() protoreflect.Message
func (x *ToolResultsHistory) Reset()
func (x *ToolResultsHistory) String() string
Represents a tool results step resource.
This has the results of a TestExecution.
type ToolResultsStep struct { // Output only. The cloud project that owns the tool results step. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Output only. A tool results history ID. HistoryId string `protobuf:"bytes,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` // Output only. A tool results execution ID. ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // Output only. A tool results step ID. StepId string `protobuf:"bytes,4,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"` // contains filtered or unexported fields }
func (*ToolResultsStep) Descriptor() ([]byte, []int)
Deprecated: Use ToolResultsStep.ProtoReflect.Descriptor instead.
func (x *ToolResultsStep) GetExecutionId() string
func (x *ToolResultsStep) GetHistoryId() string
func (x *ToolResultsStep) GetProjectId() string
func (x *ToolResultsStep) GetStepId() string
func (*ToolResultsStep) ProtoMessage()
func (x *ToolResultsStep) ProtoReflect() protoreflect.Message
func (x *ToolResultsStep) Reset()
func (x *ToolResultsStep) String() string
Network emulation parameters.
type TrafficRule struct { // Packet delay, must be >= 0. Delay *durationpb.Duration `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"` // Packet loss ratio (0.0 - 1.0). PacketLossRatio float32 `protobuf:"fixed32,2,opt,name=packet_loss_ratio,json=packetLossRatio,proto3" json:"packet_loss_ratio,omitempty"` // Packet duplication ratio (0.0 - 1.0). PacketDuplicationRatio float32 `protobuf:"fixed32,3,opt,name=packet_duplication_ratio,json=packetDuplicationRatio,proto3" json:"packet_duplication_ratio,omitempty"` // Bandwidth in kbits/second. Bandwidth float32 `protobuf:"fixed32,4,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"` // Burst size in kbits. Burst float32 `protobuf:"fixed32,5,opt,name=burst,proto3" json:"burst,omitempty"` // contains filtered or unexported fields }
func (*TrafficRule) Descriptor() ([]byte, []int)
Deprecated: Use TrafficRule.ProtoReflect.Descriptor instead.
func (x *TrafficRule) GetBandwidth() float32
func (x *TrafficRule) GetBurst() float32
func (x *TrafficRule) GetDelay() *durationpb.Duration
func (x *TrafficRule) GetPacketDuplicationRatio() float32
func (x *TrafficRule) GetPacketLossRatio() float32
func (*TrafficRule) ProtoMessage()
func (x *TrafficRule) ProtoReflect() protoreflect.Message
func (x *TrafficRule) Reset()
func (x *TrafficRule) String() string
Uniformly shards test cases given a total number of shards.
For instrumentation tests, it will be translated to "-e numShard" and "-e shardIndex" AndroidJUnitRunner arguments. With uniform sharding enabled, specifying either of these sharding arguments via `environment_variables` is invalid.
Based on the sharding mechanism AndroidJUnitRunner uses, there is no guarantee that test cases will be distributed uniformly across all shards.
type UniformSharding struct { // Required. The total number of shards to create. This must always be a // positive number that is no greater than the total number of test cases. // When you select one or more physical devices, the number of shards must be // <= 50. When you select one or more ARM virtual devices, it must be <= 100. // When you select only x86 virtual devices, it must be <= 500. NumShards int32 `protobuf:"varint,1,opt,name=num_shards,json=numShards,proto3" json:"num_shards,omitempty"` // contains filtered or unexported fields }
func (*UniformSharding) Descriptor() ([]byte, []int)
Deprecated: Use UniformSharding.ProtoReflect.Descriptor instead.
func (x *UniformSharding) GetNumShards() int32
func (*UniformSharding) ProtoMessage()
func (x *UniformSharding) ProtoReflect() protoreflect.Message
func (x *UniformSharding) Reset()
func (x *UniformSharding) String() string
UnimplementedApplicationDetailServiceServer can be embedded to have forward compatible implementations.
type UnimplementedApplicationDetailServiceServer struct { }
func (*UnimplementedApplicationDetailServiceServer) GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error)
UnimplementedTestEnvironmentDiscoveryServiceServer can be embedded to have forward compatible implementations.
type UnimplementedTestEnvironmentDiscoveryServiceServer struct { }
func (*UnimplementedTestEnvironmentDiscoveryServiceServer) GetTestEnvironmentCatalog(context.Context, *GetTestEnvironmentCatalogRequest) (*TestEnvironmentCatalog, error)
UnimplementedTestExecutionServiceServer can be embedded to have forward compatible implementations.
type UnimplementedTestExecutionServiceServer struct { }
func (*UnimplementedTestExecutionServiceServer) CancelTestMatrix(context.Context, *CancelTestMatrixRequest) (*CancelTestMatrixResponse, error)
func (*UnimplementedTestExecutionServiceServer) CreateTestMatrix(context.Context, *CreateTestMatrixRequest) (*TestMatrix, error)
func (*UnimplementedTestExecutionServiceServer) GetTestMatrix(context.Context, *GetTestMatrixRequest) (*TestMatrix, error)
A <uses-feature> tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-feature-element.html
type UsesFeature struct { // The android:name value Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The android:required value IsRequired bool `protobuf:"varint,2,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"` // contains filtered or unexported fields }
func (*UsesFeature) Descriptor() ([]byte, []int)
Deprecated: Use UsesFeature.ProtoReflect.Descriptor instead.
func (x *UsesFeature) GetIsRequired() bool
func (x *UsesFeature) GetName() string
func (*UsesFeature) ProtoMessage()
func (x *UsesFeature) ProtoReflect() protoreflect.Message
func (x *UsesFeature) Reset()
func (x *UsesFeature) String() string
An Xcode version that an iOS version is compatible with.
type XcodeVersion struct { // The id for this version. // Example: "9.2". Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Tags for this Xcode version. // Example: "default". Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*XcodeVersion) Descriptor() ([]byte, []int)
Deprecated: Use XcodeVersion.ProtoReflect.Descriptor instead.
func (x *XcodeVersion) GetTags() []string
func (x *XcodeVersion) GetVersion() string
func (*XcodeVersion) ProtoMessage()
func (x *XcodeVersion) ProtoReflect() protoreflect.Message
func (x *XcodeVersion) Reset()
func (x *XcodeVersion) String() string