testing

package
v0.0.0-...-bd15449 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 DeviceForm.

View Source
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 DeviceFormFactor.

View Source
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 DeviceCapacity.

View Source
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 GetTestEnvironmentCatalogRequest_EnvironmentType.

View Source
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 OrchestratorOption.

View Source
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 RoboMode.

View Source
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 RoboActionType.

View Source
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 InvalidMatrixDetails.

View Source
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 TestState.

View Source
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 OutcomeSummary.

View Source
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,
	}
)

Enum value maps for InvalidRequestDetail_Reason.

View Source
var File_google_devtools_testing_v1_application_details_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_testing_v1_test_environment_discovery_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_testing_v1_test_execution_proto protoreflect.FileDescriptor

Functions

func RegisterApplicationDetailServiceServer

func RegisterApplicationDetailServiceServer(s *grpc.Server, srv ApplicationDetailServiceServer)

func RegisterTestEnvironmentDiscoveryServiceServer

func RegisterTestEnvironmentDiscoveryServiceServer(s *grpc.Server, srv TestEnvironmentDiscoveryServiceServer)

func RegisterTestExecutionServiceServer

func RegisterTestExecutionServiceServer(s *grpc.Server, srv TestExecutionServiceServer)

Types

type Account

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
}

Identifies an account and how to log into it.

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountType

func (m *Account) GetAccountType() isAccount_AccountType

func (*Account) GetGoogleAuto

func (x *Account) GetGoogleAuto() *GoogleAuto

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Account_GoogleAuto

type Account_GoogleAuto struct {
	// An automatic google login account.
	GoogleAuto *GoogleAuto `protobuf:"bytes,1,opt,name=google_auto,json=googleAuto,proto3,oneof"`
}

type AndroidDevice

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
}

A single Android device.

func (*AndroidDevice) Descriptor deprecated

func (*AndroidDevice) Descriptor() ([]byte, []int)

Deprecated: Use AndroidDevice.ProtoReflect.Descriptor instead.

func (*AndroidDevice) GetAndroidModelId

func (x *AndroidDevice) GetAndroidModelId() string

func (*AndroidDevice) GetAndroidVersionId

func (x *AndroidDevice) GetAndroidVersionId() string

func (*AndroidDevice) GetLocale

func (x *AndroidDevice) GetLocale() string

func (*AndroidDevice) GetOrientation

func (x *AndroidDevice) GetOrientation() string

func (*AndroidDevice) ProtoMessage

func (*AndroidDevice) ProtoMessage()

func (*AndroidDevice) ProtoReflect

func (x *AndroidDevice) ProtoReflect() protoreflect.Message

func (*AndroidDevice) Reset

func (x *AndroidDevice) Reset()

func (*AndroidDevice) String

func (x *AndroidDevice) String() string

type AndroidDeviceCatalog

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
}

The currently supported Android devices.

func (*AndroidDeviceCatalog) Descriptor deprecated

func (*AndroidDeviceCatalog) Descriptor() ([]byte, []int)

Deprecated: Use AndroidDeviceCatalog.ProtoReflect.Descriptor instead.

func (*AndroidDeviceCatalog) GetModels

func (x *AndroidDeviceCatalog) GetModels() []*AndroidModel

func (*AndroidDeviceCatalog) GetRuntimeConfiguration

func (x *AndroidDeviceCatalog) GetRuntimeConfiguration() *AndroidRuntimeConfiguration

func (*AndroidDeviceCatalog) GetVersions

func (x *AndroidDeviceCatalog) GetVersions() []*AndroidVersion

func (*AndroidDeviceCatalog) ProtoMessage

func (*AndroidDeviceCatalog) ProtoMessage()

func (*AndroidDeviceCatalog) ProtoReflect

func (x *AndroidDeviceCatalog) ProtoReflect() protoreflect.Message

func (*AndroidDeviceCatalog) Reset

func (x *AndroidDeviceCatalog) Reset()

func (*AndroidDeviceCatalog) String

func (x *AndroidDeviceCatalog) String() string

type AndroidDeviceList

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
}

A list of Android device configurations in which the test is to be executed.

func (*AndroidDeviceList) Descriptor deprecated

func (*AndroidDeviceList) Descriptor() ([]byte, []int)

Deprecated: Use AndroidDeviceList.ProtoReflect.Descriptor instead.

func (*AndroidDeviceList) GetAndroidDevices

func (x *AndroidDeviceList) GetAndroidDevices() []*AndroidDevice

func (*AndroidDeviceList) ProtoMessage

func (*AndroidDeviceList) ProtoMessage()

func (*AndroidDeviceList) ProtoReflect

func (x *AndroidDeviceList) ProtoReflect() protoreflect.Message

func (*AndroidDeviceList) Reset

func (x *AndroidDeviceList) Reset()

func (*AndroidDeviceList) String

func (x *AndroidDeviceList) String() string

type AndroidInstrumentationTest

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 `` /* 167-byte string literal not displayed */
	// 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
}

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.

func (*AndroidInstrumentationTest) Descriptor deprecated

func (*AndroidInstrumentationTest) Descriptor() ([]byte, []int)

Deprecated: Use AndroidInstrumentationTest.ProtoReflect.Descriptor instead.

func (*AndroidInstrumentationTest) GetAppApk

func (x *AndroidInstrumentationTest) GetAppApk() *FileReference

func (*AndroidInstrumentationTest) GetAppBundle

func (x *AndroidInstrumentationTest) GetAppBundle() *AppBundle

func (*AndroidInstrumentationTest) GetAppPackageId

func (x *AndroidInstrumentationTest) GetAppPackageId() string

func (*AndroidInstrumentationTest) GetAppUnderTest

func (m *AndroidInstrumentationTest) GetAppUnderTest() isAndroidInstrumentationTest_AppUnderTest

func (*AndroidInstrumentationTest) GetOrchestratorOption

func (x *AndroidInstrumentationTest) GetOrchestratorOption() OrchestratorOption

func (*AndroidInstrumentationTest) GetShardingOption

func (x *AndroidInstrumentationTest) GetShardingOption() *ShardingOption

func (*AndroidInstrumentationTest) GetTestApk

func (x *AndroidInstrumentationTest) GetTestApk() *FileReference

func (*AndroidInstrumentationTest) GetTestPackageId

func (x *AndroidInstrumentationTest) GetTestPackageId() string

func (*AndroidInstrumentationTest) GetTestRunnerClass

func (x *AndroidInstrumentationTest) GetTestRunnerClass() string

func (*AndroidInstrumentationTest) GetTestTargets

func (x *AndroidInstrumentationTest) GetTestTargets() []string

func (*AndroidInstrumentationTest) ProtoMessage

func (*AndroidInstrumentationTest) ProtoMessage()

func (*AndroidInstrumentationTest) ProtoReflect

func (*AndroidInstrumentationTest) Reset

func (x *AndroidInstrumentationTest) Reset()

func (*AndroidInstrumentationTest) String

func (x *AndroidInstrumentationTest) String() string

type AndroidInstrumentationTest_AppApk

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

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"`
}

type AndroidMatrix

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
}

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.

func (*AndroidMatrix) Descriptor deprecated

func (*AndroidMatrix) Descriptor() ([]byte, []int)

Deprecated: Use AndroidMatrix.ProtoReflect.Descriptor instead.

func (*AndroidMatrix) GetAndroidModelIds

func (x *AndroidMatrix) GetAndroidModelIds() []string

func (*AndroidMatrix) GetAndroidVersionIds

func (x *AndroidMatrix) GetAndroidVersionIds() []string

func (*AndroidMatrix) GetLocales

func (x *AndroidMatrix) GetLocales() []string

func (*AndroidMatrix) GetOrientations

func (x *AndroidMatrix) GetOrientations() []string

func (*AndroidMatrix) ProtoMessage

func (*AndroidMatrix) ProtoMessage()

func (*AndroidMatrix) ProtoReflect

func (x *AndroidMatrix) ProtoReflect() protoreflect.Message

func (*AndroidMatrix) Reset

func (x *AndroidMatrix) Reset()

func (*AndroidMatrix) String

func (x *AndroidMatrix) String() string

type AndroidModel

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 `` /* 142-byte string literal not displayed */
	// 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 `` /* 127-byte string literal not displayed */
	// 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
}

A description of an Android device tests may be run on.

func (*AndroidModel) Descriptor deprecated

func (*AndroidModel) Descriptor() ([]byte, []int)

Deprecated: Use AndroidModel.ProtoReflect.Descriptor instead.

func (*AndroidModel) GetBrand

func (x *AndroidModel) GetBrand() string

func (*AndroidModel) GetCodename

func (x *AndroidModel) GetCodename() string

func (*AndroidModel) GetForm

func (x *AndroidModel) GetForm() DeviceForm

func (*AndroidModel) GetFormFactor

func (x *AndroidModel) GetFormFactor() DeviceFormFactor

func (*AndroidModel) GetId

func (x *AndroidModel) GetId() string

func (*AndroidModel) GetLowFpsVideoRecording

func (x *AndroidModel) GetLowFpsVideoRecording() bool

func (*AndroidModel) GetManufacturer

func (x *AndroidModel) GetManufacturer() string

func (*AndroidModel) GetName

func (x *AndroidModel) GetName() string

func (*AndroidModel) GetPerVersionInfo

func (x *AndroidModel) GetPerVersionInfo() []*PerAndroidVersionInfo

func (*AndroidModel) GetScreenDensity

func (x *AndroidModel) GetScreenDensity() int32

func (*AndroidModel) GetScreenX

func (x *AndroidModel) GetScreenX() int32

func (*AndroidModel) GetScreenY

func (x *AndroidModel) GetScreenY() int32

func (*AndroidModel) GetSupportedAbis

func (x *AndroidModel) GetSupportedAbis() []string

func (*AndroidModel) GetSupportedVersionIds

func (x *AndroidModel) GetSupportedVersionIds() []string

func (*AndroidModel) GetTags

func (x *AndroidModel) GetTags() []string

func (*AndroidModel) GetThumbnailUrl

func (x *AndroidModel) GetThumbnailUrl() string

func (*AndroidModel) ProtoMessage

func (*AndroidModel) ProtoMessage()

func (*AndroidModel) ProtoReflect

func (x *AndroidModel) ProtoReflect() protoreflect.Message

func (*AndroidModel) Reset

func (x *AndroidModel) Reset()

func (*AndroidModel) String

func (x *AndroidModel) String() string

type AndroidRoboTest

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 `` /* 128-byte string literal not displayed */
	// 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
}

A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.

func (*AndroidRoboTest) Descriptor deprecated

func (*AndroidRoboTest) Descriptor() ([]byte, []int)

Deprecated: Use AndroidRoboTest.ProtoReflect.Descriptor instead.

func (*AndroidRoboTest) GetAppApk

func (x *AndroidRoboTest) GetAppApk() *FileReference

func (*AndroidRoboTest) GetAppBundle

func (x *AndroidRoboTest) GetAppBundle() *AppBundle

func (*AndroidRoboTest) GetAppInitialActivity

func (x *AndroidRoboTest) GetAppInitialActivity() string

func (*AndroidRoboTest) GetAppPackageId

func (x *AndroidRoboTest) GetAppPackageId() string

func (*AndroidRoboTest) GetAppUnderTest

func (m *AndroidRoboTest) GetAppUnderTest() isAndroidRoboTest_AppUnderTest

func (*AndroidRoboTest) GetMaxDepth deprecated

func (x *AndroidRoboTest) GetMaxDepth() int32

Deprecated: Do not use.

func (*AndroidRoboTest) GetMaxSteps deprecated

func (x *AndroidRoboTest) GetMaxSteps() int32

Deprecated: Do not use.

func (*AndroidRoboTest) GetRoboDirectives

func (x *AndroidRoboTest) GetRoboDirectives() []*RoboDirective

func (*AndroidRoboTest) GetRoboMode

func (x *AndroidRoboTest) GetRoboMode() RoboMode

func (*AndroidRoboTest) GetRoboScript

func (x *AndroidRoboTest) GetRoboScript() *FileReference

func (*AndroidRoboTest) GetStartingIntents

func (x *AndroidRoboTest) GetStartingIntents() []*RoboStartingIntent

func (*AndroidRoboTest) ProtoMessage

func (*AndroidRoboTest) ProtoMessage()

func (*AndroidRoboTest) ProtoReflect

func (x *AndroidRoboTest) ProtoReflect() protoreflect.Message

func (*AndroidRoboTest) Reset

func (x *AndroidRoboTest) Reset()

func (*AndroidRoboTest) String

func (x *AndroidRoboTest) String() string

type AndroidRoboTest_AppApk

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

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"`
}

type AndroidRuntimeConfiguration

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
}

Android configuration that can be selected at the time a test is run.

func (*AndroidRuntimeConfiguration) Descriptor deprecated

func (*AndroidRuntimeConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use AndroidRuntimeConfiguration.ProtoReflect.Descriptor instead.

func (*AndroidRuntimeConfiguration) GetLocales

func (x *AndroidRuntimeConfiguration) GetLocales() []*Locale

func (*AndroidRuntimeConfiguration) GetOrientations

func (x *AndroidRuntimeConfiguration) GetOrientations() []*Orientation

func (*AndroidRuntimeConfiguration) ProtoMessage

func (*AndroidRuntimeConfiguration) ProtoMessage()

func (*AndroidRuntimeConfiguration) ProtoReflect

func (*AndroidRuntimeConfiguration) Reset

func (x *AndroidRuntimeConfiguration) Reset()

func (*AndroidRuntimeConfiguration) String

func (x *AndroidRuntimeConfiguration) String() string

type AndroidTestLoop

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
}

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.

func (*AndroidTestLoop) Descriptor deprecated

func (*AndroidTestLoop) Descriptor() ([]byte, []int)

Deprecated: Use AndroidTestLoop.ProtoReflect.Descriptor instead.

func (*AndroidTestLoop) GetAppApk

func (x *AndroidTestLoop) GetAppApk() *FileReference

func (*AndroidTestLoop) GetAppBundle

func (x *AndroidTestLoop) GetAppBundle() *AppBundle

func (*AndroidTestLoop) GetAppPackageId

func (x *AndroidTestLoop) GetAppPackageId() string

func (*AndroidTestLoop) GetAppUnderTest

func (m *AndroidTestLoop) GetAppUnderTest() isAndroidTestLoop_AppUnderTest

func (*AndroidTestLoop) GetScenarioLabels

func (x *AndroidTestLoop) GetScenarioLabels() []string

func (*AndroidTestLoop) GetScenarios

func (x *AndroidTestLoop) GetScenarios() []int32

func (*AndroidTestLoop) ProtoMessage

func (*AndroidTestLoop) ProtoMessage()

func (*AndroidTestLoop) ProtoReflect

func (x *AndroidTestLoop) ProtoReflect() protoreflect.Message

func (*AndroidTestLoop) Reset

func (x *AndroidTestLoop) Reset()

func (*AndroidTestLoop) String

func (x *AndroidTestLoop) String() string

type AndroidTestLoop_AppApk

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

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"`
}

type AndroidVersion

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
}

A version of the Android OS.

func (*AndroidVersion) Descriptor deprecated

func (*AndroidVersion) Descriptor() ([]byte, []int)

Deprecated: Use AndroidVersion.ProtoReflect.Descriptor instead.

func (*AndroidVersion) GetApiLevel

func (x *AndroidVersion) GetApiLevel() int32

func (*AndroidVersion) GetCodeName

func (x *AndroidVersion) GetCodeName() string

func (*AndroidVersion) GetDistribution

func (x *AndroidVersion) GetDistribution() *Distribution

func (*AndroidVersion) GetId

func (x *AndroidVersion) GetId() string

func (*AndroidVersion) GetReleaseDate

func (x *AndroidVersion) GetReleaseDate() *date.Date

func (*AndroidVersion) GetTags

func (x *AndroidVersion) GetTags() []string

func (*AndroidVersion) GetVersionString

func (x *AndroidVersion) GetVersionString() string

func (*AndroidVersion) ProtoMessage

func (*AndroidVersion) ProtoMessage()

func (*AndroidVersion) ProtoReflect

func (x *AndroidVersion) ProtoReflect() protoreflect.Message

func (*AndroidVersion) Reset

func (x *AndroidVersion) Reset()

func (*AndroidVersion) String

func (x *AndroidVersion) String() string

type Apk

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
}

An Android package file to install.

func (*Apk) Descriptor deprecated

func (*Apk) Descriptor() ([]byte, []int)

Deprecated: Use Apk.ProtoReflect.Descriptor instead.

func (*Apk) GetLocation

func (x *Apk) GetLocation() *FileReference

func (*Apk) GetPackageName

func (x *Apk) GetPackageName() string

func (*Apk) ProtoMessage

func (*Apk) ProtoMessage()

func (*Apk) ProtoReflect

func (x *Apk) ProtoReflect() protoreflect.Message

func (*Apk) Reset

func (x *Apk) Reset()

func (*Apk) String

func (x *Apk) String() string

type ApkDetail

type ApkDetail struct {
	ApkManifest *ApkManifest `protobuf:"bytes,1,opt,name=apk_manifest,json=apkManifest,proto3" json:"apk_manifest,omitempty"`
	// contains filtered or unexported fields
}

Android application details based on application manifest and apk archive contents.

func (*ApkDetail) Descriptor deprecated

func (*ApkDetail) Descriptor() ([]byte, []int)

Deprecated: Use ApkDetail.ProtoReflect.Descriptor instead.

func (*ApkDetail) GetApkManifest

func (x *ApkDetail) GetApkManifest() *ApkManifest

func (*ApkDetail) ProtoMessage

func (*ApkDetail) ProtoMessage()

func (*ApkDetail) ProtoReflect

func (x *ApkDetail) ProtoReflect() protoreflect.Message

func (*ApkDetail) Reset

func (x *ApkDetail) Reset()

func (*ApkDetail) String

func (x *ApkDetail) String() string

type ApkManifest

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
}

An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html

func (*ApkManifest) Descriptor deprecated

func (*ApkManifest) Descriptor() ([]byte, []int)

Deprecated: Use ApkManifest.ProtoReflect.Descriptor instead.

func (*ApkManifest) GetApplicationLabel

func (x *ApkManifest) GetApplicationLabel() string

func (*ApkManifest) GetIntentFilters

func (x *ApkManifest) GetIntentFilters() []*IntentFilter

func (*ApkManifest) GetMaxSdkVersion

func (x *ApkManifest) GetMaxSdkVersion() int32

func (*ApkManifest) GetMetadata

func (x *ApkManifest) GetMetadata() []*Metadata

func (*ApkManifest) GetMinSdkVersion

func (x *ApkManifest) GetMinSdkVersion() int32

func (*ApkManifest) GetPackageName

func (x *ApkManifest) GetPackageName() string

func (*ApkManifest) GetTargetSdkVersion

func (x *ApkManifest) GetTargetSdkVersion() int32

func (*ApkManifest) GetUsesFeature

func (x *ApkManifest) GetUsesFeature() []*UsesFeature

func (*ApkManifest) GetUsesPermission

func (x *ApkManifest) GetUsesPermission() []string

func (*ApkManifest) GetVersionCode

func (x *ApkManifest) GetVersionCode() int64

func (*ApkManifest) GetVersionName

func (x *ApkManifest) GetVersionName() string

func (*ApkManifest) ProtoMessage

func (*ApkManifest) ProtoMessage()

func (*ApkManifest) ProtoReflect

func (x *ApkManifest) ProtoReflect() protoreflect.Message

func (*ApkManifest) Reset

func (x *ApkManifest) Reset()

func (*ApkManifest) String

func (x *ApkManifest) String() string

type AppBundle

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
}

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.

func (*AppBundle) Descriptor deprecated

func (*AppBundle) Descriptor() ([]byte, []int)

Deprecated: Use AppBundle.ProtoReflect.Descriptor instead.

func (*AppBundle) GetBundle

func (m *AppBundle) GetBundle() isAppBundle_Bundle

func (*AppBundle) GetBundleLocation

func (x *AppBundle) GetBundleLocation() *FileReference

func (*AppBundle) ProtoMessage

func (*AppBundle) ProtoMessage()

func (*AppBundle) ProtoReflect

func (x *AppBundle) ProtoReflect() protoreflect.Message

func (*AppBundle) Reset

func (x *AppBundle) Reset()

func (*AppBundle) String

func (x *AppBundle) String() string

type AppBundle_BundleLocation

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"`
}

type ApplicationDetailServiceClient

type ApplicationDetailServiceClient interface {
	// Gets the details of an Android application APK.
	GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error)
}

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 ApplicationDetailServiceServer

type ApplicationDetailServiceServer interface {
	// Gets the details of an Android application APK.
	GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error)
}

ApplicationDetailServiceServer is the server API for ApplicationDetailService service.

type CancelTestMatrixRequest

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
}

Request to stop running all of the tests in the specified matrix.

func (*CancelTestMatrixRequest) Descriptor deprecated

func (*CancelTestMatrixRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelTestMatrixRequest.ProtoReflect.Descriptor instead.

func (*CancelTestMatrixRequest) GetProjectId

func (x *CancelTestMatrixRequest) GetProjectId() string

func (*CancelTestMatrixRequest) GetTestMatrixId

func (x *CancelTestMatrixRequest) GetTestMatrixId() string

func (*CancelTestMatrixRequest) ProtoMessage

func (*CancelTestMatrixRequest) ProtoMessage()

func (*CancelTestMatrixRequest) ProtoReflect

func (x *CancelTestMatrixRequest) ProtoReflect() protoreflect.Message

func (*CancelTestMatrixRequest) Reset

func (x *CancelTestMatrixRequest) Reset()

func (*CancelTestMatrixRequest) String

func (x *CancelTestMatrixRequest) String() string

type CancelTestMatrixResponse

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 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response containing the current state of the specified test matrix.

func (*CancelTestMatrixResponse) Descriptor deprecated

func (*CancelTestMatrixResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelTestMatrixResponse.ProtoReflect.Descriptor instead.

func (*CancelTestMatrixResponse) GetTestState

func (x *CancelTestMatrixResponse) GetTestState() TestState

func (*CancelTestMatrixResponse) ProtoMessage

func (*CancelTestMatrixResponse) ProtoMessage()

func (*CancelTestMatrixResponse) ProtoReflect

func (x *CancelTestMatrixResponse) ProtoReflect() protoreflect.Message

func (*CancelTestMatrixResponse) Reset

func (x *CancelTestMatrixResponse) Reset()

func (*CancelTestMatrixResponse) String

func (x *CancelTestMatrixResponse) String() string

type ClientInfo

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
}

Information about the client which invoked the test.

func (*ClientInfo) Descriptor deprecated

func (*ClientInfo) Descriptor() ([]byte, []int)

Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.

func (*ClientInfo) GetClientInfoDetails

func (x *ClientInfo) GetClientInfoDetails() []*ClientInfoDetail

func (*ClientInfo) GetName

func (x *ClientInfo) GetName() string

func (*ClientInfo) ProtoMessage

func (*ClientInfo) ProtoMessage()

func (*ClientInfo) ProtoReflect

func (x *ClientInfo) ProtoReflect() protoreflect.Message

func (*ClientInfo) Reset

func (x *ClientInfo) Reset()

func (*ClientInfo) String

func (x *ClientInfo) String() string

type ClientInfoDetail

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
}

Key-value pair of detailed information about the client which invoked the test. Examples: {'Version', '1.0'}, {'Release Track', 'BETA'}.

func (*ClientInfoDetail) Descriptor deprecated

func (*ClientInfoDetail) Descriptor() ([]byte, []int)

Deprecated: Use ClientInfoDetail.ProtoReflect.Descriptor instead.

func (*ClientInfoDetail) GetKey

func (x *ClientInfoDetail) GetKey() string

func (*ClientInfoDetail) GetValue

func (x *ClientInfoDetail) GetValue() string

func (*ClientInfoDetail) ProtoMessage

func (*ClientInfoDetail) ProtoMessage()

func (*ClientInfoDetail) ProtoReflect

func (x *ClientInfoDetail) ProtoReflect() protoreflect.Message

func (*ClientInfoDetail) Reset

func (x *ClientInfoDetail) Reset()

func (*ClientInfoDetail) String

func (x *ClientInfoDetail) String() string

type CreateTestMatrixRequest

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
}

Request to submit a matrix of tests for execution.

func (*CreateTestMatrixRequest) Descriptor deprecated

func (*CreateTestMatrixRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTestMatrixRequest.ProtoReflect.Descriptor instead.

func (*CreateTestMatrixRequest) GetProjectId

func (x *CreateTestMatrixRequest) GetProjectId() string

func (*CreateTestMatrixRequest) GetRequestId

func (x *CreateTestMatrixRequest) GetRequestId() string

func (*CreateTestMatrixRequest) GetTestMatrix

func (x *CreateTestMatrixRequest) GetTestMatrix() *TestMatrix

func (*CreateTestMatrixRequest) ProtoMessage

func (*CreateTestMatrixRequest) ProtoMessage()

func (*CreateTestMatrixRequest) ProtoReflect

func (x *CreateTestMatrixRequest) ProtoReflect() protoreflect.Message

func (*CreateTestMatrixRequest) Reset

func (x *CreateTestMatrixRequest) Reset()

func (*CreateTestMatrixRequest) String

func (x *CreateTestMatrixRequest) String() string

type DeviceCapacity

type DeviceCapacity int32

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.

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

func (DeviceCapacity) Enum

func (x DeviceCapacity) Enum() *DeviceCapacity

func (DeviceCapacity) EnumDescriptor deprecated

func (DeviceCapacity) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceCapacity.Descriptor instead.

func (DeviceCapacity) Number

func (DeviceCapacity) String

func (x DeviceCapacity) String() string

func (DeviceCapacity) Type

type DeviceFile

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
}

A single device file description.

func (*DeviceFile) Descriptor deprecated

func (*DeviceFile) Descriptor() ([]byte, []int)

Deprecated: Use DeviceFile.ProtoReflect.Descriptor instead.

func (*DeviceFile) GetDeviceFile

func (m *DeviceFile) GetDeviceFile() isDeviceFile_DeviceFile

func (*DeviceFile) GetObbFile

func (x *DeviceFile) GetObbFile() *ObbFile

func (*DeviceFile) GetRegularFile

func (x *DeviceFile) GetRegularFile() *RegularFile

func (*DeviceFile) ProtoMessage

func (*DeviceFile) ProtoMessage()

func (*DeviceFile) ProtoReflect

func (x *DeviceFile) ProtoReflect() protoreflect.Message

func (*DeviceFile) Reset

func (x *DeviceFile) Reset()

func (*DeviceFile) String

func (x *DeviceFile) String() string

type DeviceFile_ObbFile

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

type DeviceFile_RegularFile struct {
	// A reference to a regular file.
	RegularFile *RegularFile `protobuf:"bytes,2,opt,name=regular_file,json=regularFile,proto3,oneof"`
}

type DeviceForm

type DeviceForm int32

Whether the device is physical or virtual.

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

func (DeviceForm) Descriptor() protoreflect.EnumDescriptor

func (DeviceForm) Enum

func (x DeviceForm) Enum() *DeviceForm

func (DeviceForm) EnumDescriptor deprecated

func (DeviceForm) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceForm.Descriptor instead.

func (DeviceForm) Number

func (x DeviceForm) Number() protoreflect.EnumNumber

func (DeviceForm) String

func (x DeviceForm) String() string

func (DeviceForm) Type

type DeviceFormFactor

type DeviceFormFactor int32

The form factor of a device.

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

func (DeviceFormFactor) Enum

func (DeviceFormFactor) EnumDescriptor deprecated

func (DeviceFormFactor) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceFormFactor.Descriptor instead.

func (DeviceFormFactor) Number

func (DeviceFormFactor) String

func (x DeviceFormFactor) String() string

func (DeviceFormFactor) Type

type DeviceIpBlock

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
}

A single device IP block

func (*DeviceIpBlock) Descriptor deprecated

func (*DeviceIpBlock) Descriptor() ([]byte, []int)

Deprecated: Use DeviceIpBlock.ProtoReflect.Descriptor instead.

func (*DeviceIpBlock) GetAddedDate

func (x *DeviceIpBlock) GetAddedDate() *date.Date

func (*DeviceIpBlock) GetBlock

func (x *DeviceIpBlock) GetBlock() string

func (*DeviceIpBlock) GetForm

func (x *DeviceIpBlock) GetForm() DeviceForm

func (*DeviceIpBlock) ProtoMessage

func (*DeviceIpBlock) ProtoMessage()

func (*DeviceIpBlock) ProtoReflect

func (x *DeviceIpBlock) ProtoReflect() protoreflect.Message

func (*DeviceIpBlock) Reset

func (x *DeviceIpBlock) Reset()

func (*DeviceIpBlock) String

func (x *DeviceIpBlock) String() string

type DeviceIpBlockCatalog

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
}

List of IP blocks used by the Firebase Test Lab

func (*DeviceIpBlockCatalog) Descriptor deprecated

func (*DeviceIpBlockCatalog) Descriptor() ([]byte, []int)

Deprecated: Use DeviceIpBlockCatalog.ProtoReflect.Descriptor instead.

func (*DeviceIpBlockCatalog) GetIpBlocks

func (x *DeviceIpBlockCatalog) GetIpBlocks() []*DeviceIpBlock

func (*DeviceIpBlockCatalog) ProtoMessage

func (*DeviceIpBlockCatalog) ProtoMessage()

func (*DeviceIpBlockCatalog) ProtoReflect

func (x *DeviceIpBlockCatalog) ProtoReflect() protoreflect.Message

func (*DeviceIpBlockCatalog) Reset

func (x *DeviceIpBlockCatalog) Reset()

func (*DeviceIpBlockCatalog) String

func (x *DeviceIpBlockCatalog) String() string

type Distribution

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
}

Data about the relative number of devices running a given configuration of the Android platform.

func (*Distribution) Descriptor deprecated

func (*Distribution) Descriptor() ([]byte, []int)

Deprecated: Use Distribution.ProtoReflect.Descriptor instead.

func (*Distribution) GetMarketShare

func (x *Distribution) GetMarketShare() float64

func (*Distribution) GetMeasurementTime

func (x *Distribution) GetMeasurementTime() *timestamppb.Timestamp

func (*Distribution) ProtoMessage

func (*Distribution) ProtoMessage()

func (*Distribution) ProtoReflect

func (x *Distribution) ProtoReflect() protoreflect.Message

func (*Distribution) Reset

func (x *Distribution) Reset()

func (*Distribution) String

func (x *Distribution) String() string

type Environment

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
}

The environment in which the test is run.

func (*Environment) Descriptor deprecated

func (*Environment) Descriptor() ([]byte, []int)

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetAndroidDevice

func (x *Environment) GetAndroidDevice() *AndroidDevice

func (*Environment) GetEnvironment

func (m *Environment) GetEnvironment() isEnvironment_Environment

func (*Environment) GetIosDevice

func (x *Environment) GetIosDevice() *IosDevice

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

func (x *Environment) ProtoReflect() protoreflect.Message

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type EnvironmentMatrix

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
}

The matrix of environments in which the test is to be executed.

func (*EnvironmentMatrix) Descriptor deprecated

func (*EnvironmentMatrix) Descriptor() ([]byte, []int)

Deprecated: Use EnvironmentMatrix.ProtoReflect.Descriptor instead.

func (*EnvironmentMatrix) GetAndroidDeviceList

func (x *EnvironmentMatrix) GetAndroidDeviceList() *AndroidDeviceList

func (*EnvironmentMatrix) GetAndroidMatrix

func (x *EnvironmentMatrix) GetAndroidMatrix() *AndroidMatrix

func (*EnvironmentMatrix) GetEnvironmentMatrix

func (m *EnvironmentMatrix) GetEnvironmentMatrix() isEnvironmentMatrix_EnvironmentMatrix

func (*EnvironmentMatrix) GetIosDeviceList

func (x *EnvironmentMatrix) GetIosDeviceList() *IosDeviceList

func (*EnvironmentMatrix) ProtoMessage

func (*EnvironmentMatrix) ProtoMessage()

func (*EnvironmentMatrix) ProtoReflect

func (x *EnvironmentMatrix) ProtoReflect() protoreflect.Message

func (*EnvironmentMatrix) Reset

func (x *EnvironmentMatrix) Reset()

func (*EnvironmentMatrix) String

func (x *EnvironmentMatrix) String() string

type EnvironmentMatrix_AndroidDeviceList

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

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

type EnvironmentMatrix_IosDeviceList struct {
	// A list of iOS devices.
	IosDeviceList *IosDeviceList `protobuf:"bytes,3,opt,name=ios_device_list,json=iosDeviceList,proto3,oneof"`
}

type EnvironmentVariable

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
}

A key-value pair passed as an environment variable to the test.

func (*EnvironmentVariable) Descriptor deprecated

func (*EnvironmentVariable) Descriptor() ([]byte, []int)

Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.

func (*EnvironmentVariable) GetKey

func (x *EnvironmentVariable) GetKey() string

func (*EnvironmentVariable) GetValue

func (x *EnvironmentVariable) GetValue() string

func (*EnvironmentVariable) ProtoMessage

func (*EnvironmentVariable) ProtoMessage()

func (*EnvironmentVariable) ProtoReflect

func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message

func (*EnvironmentVariable) Reset

func (x *EnvironmentVariable) Reset()

func (*EnvironmentVariable) String

func (x *EnvironmentVariable) String() string

type Environment_AndroidDevice

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

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"`
}

type FileReference

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
}

A reference to a file, used for user inputs.

func (*FileReference) Descriptor deprecated

func (*FileReference) Descriptor() ([]byte, []int)

Deprecated: Use FileReference.ProtoReflect.Descriptor instead.

func (*FileReference) GetFile

func (m *FileReference) GetFile() isFileReference_File

func (*FileReference) GetGcsPath

func (x *FileReference) GetGcsPath() string

func (*FileReference) ProtoMessage

func (*FileReference) ProtoMessage()

func (*FileReference) ProtoReflect

func (x *FileReference) ProtoReflect() protoreflect.Message

func (*FileReference) Reset

func (x *FileReference) Reset()

func (*FileReference) String

func (x *FileReference) String() string

type FileReference_GcsPath

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"`
}

type GetApkDetailsRequest

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
}

A request to get the details of an Android application APK.

func (*GetApkDetailsRequest) Descriptor deprecated

func (*GetApkDetailsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetApkDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetApkDetailsRequest) GetLocation

func (x *GetApkDetailsRequest) GetLocation() *FileReference

func (*GetApkDetailsRequest) ProtoMessage

func (*GetApkDetailsRequest) ProtoMessage()

func (*GetApkDetailsRequest) ProtoReflect

func (x *GetApkDetailsRequest) ProtoReflect() protoreflect.Message

func (*GetApkDetailsRequest) Reset

func (x *GetApkDetailsRequest) Reset()

func (*GetApkDetailsRequest) String

func (x *GetApkDetailsRequest) String() string

type GetApkDetailsResponse

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
}

Response containing the details of the specified Android application APK.

func (*GetApkDetailsResponse) Descriptor deprecated

func (*GetApkDetailsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetApkDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetApkDetailsResponse) GetApkDetail

func (x *GetApkDetailsResponse) GetApkDetail() *ApkDetail

func (*GetApkDetailsResponse) ProtoMessage

func (*GetApkDetailsResponse) ProtoMessage()

func (*GetApkDetailsResponse) ProtoReflect

func (x *GetApkDetailsResponse) ProtoReflect() protoreflect.Message

func (*GetApkDetailsResponse) Reset

func (x *GetApkDetailsResponse) Reset()

func (*GetApkDetailsResponse) String

func (x *GetApkDetailsResponse) String() string

type GetTestEnvironmentCatalogRequest

type GetTestEnvironmentCatalogRequest struct {

	// Required. The type of environment that should be listed.
	EnvironmentType GetTestEnvironmentCatalogRequest_EnvironmentType `` /* 188-byte string literal not displayed */
	// 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
}

Request to list the currently supported values for an environment type.

func (*GetTestEnvironmentCatalogRequest) Descriptor deprecated

func (*GetTestEnvironmentCatalogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestEnvironmentCatalogRequest.ProtoReflect.Descriptor instead.

func (*GetTestEnvironmentCatalogRequest) GetEnvironmentType

func (*GetTestEnvironmentCatalogRequest) GetProjectId

func (x *GetTestEnvironmentCatalogRequest) GetProjectId() string

func (*GetTestEnvironmentCatalogRequest) ProtoMessage

func (*GetTestEnvironmentCatalogRequest) ProtoMessage()

func (*GetTestEnvironmentCatalogRequest) ProtoReflect

func (*GetTestEnvironmentCatalogRequest) Reset

func (*GetTestEnvironmentCatalogRequest) String

type GetTestEnvironmentCatalogRequest_EnvironmentType

type GetTestEnvironmentCatalogRequest_EnvironmentType int32

Types of environments the Test API supports.

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

func (GetTestEnvironmentCatalogRequest_EnvironmentType) Enum

func (GetTestEnvironmentCatalogRequest_EnvironmentType) EnumDescriptor deprecated

Deprecated: Use GetTestEnvironmentCatalogRequest_EnvironmentType.Descriptor instead.

func (GetTestEnvironmentCatalogRequest_EnvironmentType) Number

func (GetTestEnvironmentCatalogRequest_EnvironmentType) String

func (GetTestEnvironmentCatalogRequest_EnvironmentType) Type

type GetTestMatrixRequest

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
}

Request to get the Test Matrix with the given id.

func (*GetTestMatrixRequest) Descriptor deprecated

func (*GetTestMatrixRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestMatrixRequest.ProtoReflect.Descriptor instead.

func (*GetTestMatrixRequest) GetProjectId

func (x *GetTestMatrixRequest) GetProjectId() string

func (*GetTestMatrixRequest) GetTestMatrixId

func (x *GetTestMatrixRequest) GetTestMatrixId() string

func (*GetTestMatrixRequest) ProtoMessage

func (*GetTestMatrixRequest) ProtoMessage()

func (*GetTestMatrixRequest) ProtoReflect

func (x *GetTestMatrixRequest) ProtoReflect() protoreflect.Message

func (*GetTestMatrixRequest) Reset

func (x *GetTestMatrixRequest) Reset()

func (*GetTestMatrixRequest) String

func (x *GetTestMatrixRequest) String() string

type GoogleAuto

type GoogleAuto struct {
	// contains filtered or unexported fields
}

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.

func (*GoogleAuto) Descriptor deprecated

func (*GoogleAuto) Descriptor() ([]byte, []int)

Deprecated: Use GoogleAuto.ProtoReflect.Descriptor instead.

func (*GoogleAuto) ProtoMessage

func (*GoogleAuto) ProtoMessage()

func (*GoogleAuto) ProtoReflect

func (x *GoogleAuto) ProtoReflect() protoreflect.Message

func (*GoogleAuto) Reset

func (x *GoogleAuto) Reset()

func (*GoogleAuto) String

func (x *GoogleAuto) String() string

type GoogleCloudStorage

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
}

A storage location within Google cloud storage (GCS).

func (*GoogleCloudStorage) Descriptor deprecated

func (*GoogleCloudStorage) Descriptor() ([]byte, []int)

Deprecated: Use GoogleCloudStorage.ProtoReflect.Descriptor instead.

func (*GoogleCloudStorage) GetGcsPath

func (x *GoogleCloudStorage) GetGcsPath() string

func (*GoogleCloudStorage) ProtoMessage

func (*GoogleCloudStorage) ProtoMessage()

func (*GoogleCloudStorage) ProtoReflect

func (x *GoogleCloudStorage) ProtoReflect() protoreflect.Message

func (*GoogleCloudStorage) Reset

func (x *GoogleCloudStorage) Reset()

func (*GoogleCloudStorage) String

func (x *GoogleCloudStorage) String() string

type IntentFilter

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
}

The <intent-filter> section of an <activity> tag. https://developer.android.com/guide/topics/manifest/intent-filter-element.html

func (*IntentFilter) Descriptor deprecated

func (*IntentFilter) Descriptor() ([]byte, []int)

Deprecated: Use IntentFilter.ProtoReflect.Descriptor instead.

func (*IntentFilter) GetActionNames

func (x *IntentFilter) GetActionNames() []string

func (*IntentFilter) GetCategoryNames

func (x *IntentFilter) GetCategoryNames() []string

func (*IntentFilter) GetMimeType

func (x *IntentFilter) GetMimeType() string

func (*IntentFilter) ProtoMessage

func (*IntentFilter) ProtoMessage()

func (*IntentFilter) ProtoReflect

func (x *IntentFilter) ProtoReflect() protoreflect.Message

func (*IntentFilter) Reset

func (x *IntentFilter) Reset()

func (*IntentFilter) String

func (x *IntentFilter) String() string

type InvalidMatrixDetails

type InvalidMatrixDetails int32

The detailed reason that a Matrix was deemed INVALID.

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

func (InvalidMatrixDetails) Enum

func (InvalidMatrixDetails) EnumDescriptor deprecated

func (InvalidMatrixDetails) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvalidMatrixDetails.Descriptor instead.

func (InvalidMatrixDetails) Number

func (InvalidMatrixDetails) String

func (x InvalidMatrixDetails) String() string

func (InvalidMatrixDetails) Type

type InvalidRequestDetail

type InvalidRequestDetail struct {

	// The reason behind the error.
	Reason InvalidRequestDetail_Reason `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Details behind an invalid request.

func (*InvalidRequestDetail) Descriptor deprecated

func (*InvalidRequestDetail) Descriptor() ([]byte, []int)

Deprecated: Use InvalidRequestDetail.ProtoReflect.Descriptor instead.

func (*InvalidRequestDetail) GetReason

func (*InvalidRequestDetail) ProtoMessage

func (*InvalidRequestDetail) ProtoMessage()

func (*InvalidRequestDetail) ProtoReflect

func (x *InvalidRequestDetail) ProtoReflect() protoreflect.Message

func (*InvalidRequestDetail) Reset

func (x *InvalidRequestDetail) Reset()

func (*InvalidRequestDetail) String

func (x *InvalidRequestDetail) String() string

type InvalidRequestDetail_Reason

type InvalidRequestDetail_Reason int32

Possible invalid request reasons.

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

func (InvalidRequestDetail_Reason) Enum

func (InvalidRequestDetail_Reason) EnumDescriptor deprecated

func (InvalidRequestDetail_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvalidRequestDetail_Reason.Descriptor instead.

func (InvalidRequestDetail_Reason) Number

func (InvalidRequestDetail_Reason) String

func (InvalidRequestDetail_Reason) Type

type IosDevice

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
}

A single iOS device.

func (*IosDevice) Descriptor deprecated

func (*IosDevice) Descriptor() ([]byte, []int)

Deprecated: Use IosDevice.ProtoReflect.Descriptor instead.

func (*IosDevice) GetIosModelId

func (x *IosDevice) GetIosModelId() string

func (*IosDevice) GetIosVersionId

func (x *IosDevice) GetIosVersionId() string

func (*IosDevice) GetLocale

func (x *IosDevice) GetLocale() string

func (*IosDevice) GetOrientation

func (x *IosDevice) GetOrientation() string

func (*IosDevice) ProtoMessage

func (*IosDevice) ProtoMessage()

func (*IosDevice) ProtoReflect

func (x *IosDevice) ProtoReflect() protoreflect.Message

func (*IosDevice) Reset

func (x *IosDevice) Reset()

func (*IosDevice) String

func (x *IosDevice) String() string

type IosDeviceCatalog

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
}

The currently supported iOS devices.

func (*IosDeviceCatalog) Descriptor deprecated

func (*IosDeviceCatalog) Descriptor() ([]byte, []int)

Deprecated: Use IosDeviceCatalog.ProtoReflect.Descriptor instead.

func (*IosDeviceCatalog) GetModels

func (x *IosDeviceCatalog) GetModels() []*IosModel

func (*IosDeviceCatalog) GetRuntimeConfiguration

func (x *IosDeviceCatalog) GetRuntimeConfiguration() *IosRuntimeConfiguration

func (*IosDeviceCatalog) GetVersions

func (x *IosDeviceCatalog) GetVersions() []*IosVersion

func (*IosDeviceCatalog) GetXcodeVersions

func (x *IosDeviceCatalog) GetXcodeVersions() []*XcodeVersion

func (*IosDeviceCatalog) ProtoMessage

func (*IosDeviceCatalog) ProtoMessage()

func (*IosDeviceCatalog) ProtoReflect

func (x *IosDeviceCatalog) ProtoReflect() protoreflect.Message

func (*IosDeviceCatalog) Reset

func (x *IosDeviceCatalog) Reset()

func (*IosDeviceCatalog) String

func (x *IosDeviceCatalog) String() string

type IosDeviceFile

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
}

A file or directory to install on the device before the test starts.

func (*IosDeviceFile) Descriptor deprecated

func (*IosDeviceFile) Descriptor() ([]byte, []int)

Deprecated: Use IosDeviceFile.ProtoReflect.Descriptor instead.

func (*IosDeviceFile) GetBundleId

func (x *IosDeviceFile) GetBundleId() string

func (*IosDeviceFile) GetContent

func (x *IosDeviceFile) GetContent() *FileReference

func (*IosDeviceFile) GetDevicePath

func (x *IosDeviceFile) GetDevicePath() string

func (*IosDeviceFile) ProtoMessage

func (*IosDeviceFile) ProtoMessage()

func (*IosDeviceFile) ProtoReflect

func (x *IosDeviceFile) ProtoReflect() protoreflect.Message

func (*IosDeviceFile) Reset

func (x *IosDeviceFile) Reset()

func (*IosDeviceFile) String

func (x *IosDeviceFile) String() string

type IosDeviceList

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
}

A list of iOS device configurations in which the test is to be executed.

func (*IosDeviceList) Descriptor deprecated

func (*IosDeviceList) Descriptor() ([]byte, []int)

Deprecated: Use IosDeviceList.ProtoReflect.Descriptor instead.

func (*IosDeviceList) GetIosDevices

func (x *IosDeviceList) GetIosDevices() []*IosDevice

func (*IosDeviceList) ProtoMessage

func (*IosDeviceList) ProtoMessage()

func (*IosDeviceList) ProtoReflect

func (x *IosDeviceList) ProtoReflect() protoreflect.Message

func (*IosDeviceList) Reset

func (x *IosDeviceList) Reset()

func (*IosDeviceList) String

func (x *IosDeviceList) String() string

type IosModel

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 `` /* 141-byte string literal not displayed */
	// 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
}

A description of an iOS device tests may be run on.

func (*IosModel) Descriptor deprecated

func (*IosModel) Descriptor() ([]byte, []int)

Deprecated: Use IosModel.ProtoReflect.Descriptor instead.

func (*IosModel) GetDeviceCapabilities

func (x *IosModel) GetDeviceCapabilities() []string

func (*IosModel) GetFormFactor

func (x *IosModel) GetFormFactor() DeviceFormFactor

func (*IosModel) GetId

func (x *IosModel) GetId() string

func (*IosModel) GetName

func (x *IosModel) GetName() string

func (*IosModel) GetPerVersionInfo

func (x *IosModel) GetPerVersionInfo() []*PerIosVersionInfo

func (*IosModel) GetScreenDensity

func (x *IosModel) GetScreenDensity() int32

func (*IosModel) GetScreenX

func (x *IosModel) GetScreenX() int32

func (*IosModel) GetScreenY

func (x *IosModel) GetScreenY() int32

func (*IosModel) GetSupportedVersionIds

func (x *IosModel) GetSupportedVersionIds() []string

func (*IosModel) GetTags

func (x *IosModel) GetTags() []string

func (*IosModel) ProtoMessage

func (*IosModel) ProtoMessage()

func (*IosModel) ProtoReflect

func (x *IosModel) ProtoReflect() protoreflect.Message

func (*IosModel) Reset

func (x *IosModel) Reset()

func (*IosModel) String

func (x *IosModel) String() string

type IosRuntimeConfiguration

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
}

iOS configuration that can be selected at the time a test is run.

func (*IosRuntimeConfiguration) Descriptor deprecated

func (*IosRuntimeConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use IosRuntimeConfiguration.ProtoReflect.Descriptor instead.

func (*IosRuntimeConfiguration) GetLocales

func (x *IosRuntimeConfiguration) GetLocales() []*Locale

func (*IosRuntimeConfiguration) GetOrientations

func (x *IosRuntimeConfiguration) GetOrientations() []*Orientation

func (*IosRuntimeConfiguration) ProtoMessage

func (*IosRuntimeConfiguration) ProtoMessage()

func (*IosRuntimeConfiguration) ProtoReflect

func (x *IosRuntimeConfiguration) ProtoReflect() protoreflect.Message

func (*IosRuntimeConfiguration) Reset

func (x *IosRuntimeConfiguration) Reset()

func (*IosRuntimeConfiguration) String

func (x *IosRuntimeConfiguration) String() string

type IosTestLoop

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
}

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.

func (*IosTestLoop) Descriptor deprecated

func (*IosTestLoop) Descriptor() ([]byte, []int)

Deprecated: Use IosTestLoop.ProtoReflect.Descriptor instead.

func (*IosTestLoop) GetAppBundleId

func (x *IosTestLoop) GetAppBundleId() string

func (*IosTestLoop) GetAppIpa

func (x *IosTestLoop) GetAppIpa() *FileReference

func (*IosTestLoop) GetScenarios

func (x *IosTestLoop) GetScenarios() []int32

func (*IosTestLoop) ProtoMessage

func (*IosTestLoop) ProtoMessage()

func (*IosTestLoop) ProtoReflect

func (x *IosTestLoop) ProtoReflect() protoreflect.Message

func (*IosTestLoop) Reset

func (x *IosTestLoop) Reset()

func (*IosTestLoop) String

func (x *IosTestLoop) String() string

type IosTestSetup

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
}

A description of how to set up an iOS device prior to running the test.

func (*IosTestSetup) Descriptor deprecated

func (*IosTestSetup) Descriptor() ([]byte, []int)

Deprecated: Use IosTestSetup.ProtoReflect.Descriptor instead.

func (*IosTestSetup) GetAdditionalIpas

func (x *IosTestSetup) GetAdditionalIpas() []*FileReference

func (*IosTestSetup) GetNetworkProfile

func (x *IosTestSetup) GetNetworkProfile() string

func (*IosTestSetup) GetPullDirectories

func (x *IosTestSetup) GetPullDirectories() []*IosDeviceFile

func (*IosTestSetup) GetPushFiles

func (x *IosTestSetup) GetPushFiles() []*IosDeviceFile

func (*IosTestSetup) ProtoMessage

func (*IosTestSetup) ProtoMessage()

func (*IosTestSetup) ProtoReflect

func (x *IosTestSetup) ProtoReflect() protoreflect.Message

func (*IosTestSetup) Reset

func (x *IosTestSetup) Reset()

func (*IosTestSetup) String

func (x *IosTestSetup) String() string

type IosVersion

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 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

An iOS version.

func (*IosVersion) Descriptor deprecated

func (*IosVersion) Descriptor() ([]byte, []int)

Deprecated: Use IosVersion.ProtoReflect.Descriptor instead.

func (*IosVersion) GetId

func (x *IosVersion) GetId() string

func (*IosVersion) GetMajorVersion

func (x *IosVersion) GetMajorVersion() int32

func (*IosVersion) GetMinorVersion

func (x *IosVersion) GetMinorVersion() int32

func (*IosVersion) GetSupportedXcodeVersionIds

func (x *IosVersion) GetSupportedXcodeVersionIds() []string

func (*IosVersion) GetTags

func (x *IosVersion) GetTags() []string

func (*IosVersion) ProtoMessage

func (*IosVersion) ProtoMessage()

func (*IosVersion) ProtoReflect

func (x *IosVersion) ProtoReflect() protoreflect.Message

func (*IosVersion) Reset

func (x *IosVersion) Reset()

func (*IosVersion) String

func (x *IosVersion) String() string

type IosXcTest

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 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

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.

func (*IosXcTest) Descriptor deprecated

func (*IosXcTest) Descriptor() ([]byte, []int)

Deprecated: Use IosXcTest.ProtoReflect.Descriptor instead.

func (*IosXcTest) GetAppBundleId

func (x *IosXcTest) GetAppBundleId() string

func (*IosXcTest) GetTestSpecialEntitlements

func (x *IosXcTest) GetTestSpecialEntitlements() bool

func (*IosXcTest) GetTestsZip

func (x *IosXcTest) GetTestsZip() *FileReference

func (*IosXcTest) GetXcodeVersion

func (x *IosXcTest) GetXcodeVersion() string

func (*IosXcTest) GetXctestrun

func (x *IosXcTest) GetXctestrun() *FileReference

func (*IosXcTest) ProtoMessage

func (*IosXcTest) ProtoMessage()

func (*IosXcTest) ProtoReflect

func (x *IosXcTest) ProtoReflect() protoreflect.Message

func (*IosXcTest) Reset

func (x *IosXcTest) Reset()

func (*IosXcTest) String

func (x *IosXcTest) String() string

type LauncherActivityIntent

type LauncherActivityIntent struct {
	// contains filtered or unexported fields
}

Specifies an intent that starts the main launcher activity.

func (*LauncherActivityIntent) Descriptor deprecated

func (*LauncherActivityIntent) Descriptor() ([]byte, []int)

Deprecated: Use LauncherActivityIntent.ProtoReflect.Descriptor instead.

func (*LauncherActivityIntent) ProtoMessage

func (*LauncherActivityIntent) ProtoMessage()

func (*LauncherActivityIntent) ProtoReflect

func (x *LauncherActivityIntent) ProtoReflect() protoreflect.Message

func (*LauncherActivityIntent) Reset

func (x *LauncherActivityIntent) Reset()

func (*LauncherActivityIntent) String

func (x *LauncherActivityIntent) String() string

type Locale

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
}

A location/region designation for language.

func (*Locale) Descriptor deprecated

func (*Locale) Descriptor() ([]byte, []int)

Deprecated: Use Locale.ProtoReflect.Descriptor instead.

func (*Locale) GetId

func (x *Locale) GetId() string

func (*Locale) GetName

func (x *Locale) GetName() string

func (*Locale) GetRegion

func (x *Locale) GetRegion() string

func (*Locale) GetTags

func (x *Locale) GetTags() []string

func (*Locale) ProtoMessage

func (*Locale) ProtoMessage()

func (*Locale) ProtoReflect

func (x *Locale) ProtoReflect() protoreflect.Message

func (*Locale) Reset

func (x *Locale) Reset()

func (*Locale) String

func (x *Locale) String() string

type ManualSharding

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
}

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.

func (*ManualSharding) Descriptor deprecated

func (*ManualSharding) Descriptor() ([]byte, []int)

Deprecated: Use ManualSharding.ProtoReflect.Descriptor instead.

func (*ManualSharding) GetTestTargetsForShard

func (x *ManualSharding) GetTestTargetsForShard() []*TestTargetsForShard

func (*ManualSharding) ProtoMessage

func (*ManualSharding) ProtoMessage()

func (*ManualSharding) ProtoReflect

func (x *ManualSharding) ProtoReflect() protoreflect.Message

func (*ManualSharding) Reset

func (x *ManualSharding) Reset()

func (*ManualSharding) String

func (x *ManualSharding) String() string

type Metadata

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
}

A <meta-data> tag within a manifest. https://developer.android.com/guide/topics/manifest/meta-data-element.html

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetValue

func (x *Metadata) GetValue() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type NetworkConfiguration

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 deprecated

func (*NetworkConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfiguration.ProtoReflect.Descriptor instead.

func (*NetworkConfiguration) GetDownRule

func (x *NetworkConfiguration) GetDownRule() *TrafficRule

func (*NetworkConfiguration) GetId

func (x *NetworkConfiguration) GetId() string

func (*NetworkConfiguration) GetUpRule

func (x *NetworkConfiguration) GetUpRule() *TrafficRule

func (*NetworkConfiguration) ProtoMessage

func (*NetworkConfiguration) ProtoMessage()

func (*NetworkConfiguration) ProtoReflect

func (x *NetworkConfiguration) ProtoReflect() protoreflect.Message

func (*NetworkConfiguration) Reset

func (x *NetworkConfiguration) Reset()

func (*NetworkConfiguration) String

func (x *NetworkConfiguration) String() string

type NetworkConfigurationCatalog

type NetworkConfigurationCatalog struct {
	Configurations []*NetworkConfiguration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkConfigurationCatalog) Descriptor deprecated

func (*NetworkConfigurationCatalog) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfigurationCatalog.ProtoReflect.Descriptor instead.

func (*NetworkConfigurationCatalog) GetConfigurations

func (x *NetworkConfigurationCatalog) GetConfigurations() []*NetworkConfiguration

func (*NetworkConfigurationCatalog) ProtoMessage

func (*NetworkConfigurationCatalog) ProtoMessage()

func (*NetworkConfigurationCatalog) ProtoReflect

func (*NetworkConfigurationCatalog) Reset

func (x *NetworkConfigurationCatalog) Reset()

func (*NetworkConfigurationCatalog) String

func (x *NetworkConfigurationCatalog) String() string

type ObbFile

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
}

An opaque binary blob file to install on the device before the test starts.

func (*ObbFile) Descriptor deprecated

func (*ObbFile) Descriptor() ([]byte, []int)

Deprecated: Use ObbFile.ProtoReflect.Descriptor instead.

func (*ObbFile) GetObb

func (x *ObbFile) GetObb() *FileReference

func (*ObbFile) GetObbFileName

func (x *ObbFile) GetObbFileName() string

func (*ObbFile) ProtoMessage

func (*ObbFile) ProtoMessage()

func (*ObbFile) ProtoReflect

func (x *ObbFile) ProtoReflect() protoreflect.Message

func (*ObbFile) Reset

func (x *ObbFile) Reset()

func (*ObbFile) String

func (x *ObbFile) String() string

type OrchestratorOption

type OrchestratorOption int32

Specifies how to execute the test.

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

func (OrchestratorOption) Enum

func (OrchestratorOption) EnumDescriptor deprecated

func (OrchestratorOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrchestratorOption.Descriptor instead.

func (OrchestratorOption) Number

func (OrchestratorOption) String

func (x OrchestratorOption) String() string

func (OrchestratorOption) Type

type Orientation

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
}

Screen orientation of the device.

func (*Orientation) Descriptor deprecated

func (*Orientation) Descriptor() ([]byte, []int)

Deprecated: Use Orientation.ProtoReflect.Descriptor instead.

func (*Orientation) GetId

func (x *Orientation) GetId() string

func (*Orientation) GetName

func (x *Orientation) GetName() string

func (*Orientation) GetTags

func (x *Orientation) GetTags() []string

func (*Orientation) ProtoMessage

func (*Orientation) ProtoMessage()

func (*Orientation) ProtoReflect

func (x *Orientation) ProtoReflect() protoreflect.Message

func (*Orientation) Reset

func (x *Orientation) Reset()

func (*Orientation) String

func (x *Orientation) String() string

type OutcomeSummary

type OutcomeSummary int32

Outcome summary for a finished test matrix.

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

func (OutcomeSummary) Enum

func (x OutcomeSummary) Enum() *OutcomeSummary

func (OutcomeSummary) EnumDescriptor deprecated

func (OutcomeSummary) EnumDescriptor() ([]byte, []int)

Deprecated: Use OutcomeSummary.Descriptor instead.

func (OutcomeSummary) Number

func (OutcomeSummary) String

func (x OutcomeSummary) String() string

func (OutcomeSummary) Type

type PerAndroidVersionInfo

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 `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

A version-specific information of an Android model.

func (*PerAndroidVersionInfo) Descriptor deprecated

func (*PerAndroidVersionInfo) Descriptor() ([]byte, []int)

Deprecated: Use PerAndroidVersionInfo.ProtoReflect.Descriptor instead.

func (*PerAndroidVersionInfo) GetDeviceCapacity

func (x *PerAndroidVersionInfo) GetDeviceCapacity() DeviceCapacity

func (*PerAndroidVersionInfo) GetVersionId

func (x *PerAndroidVersionInfo) GetVersionId() string

func (*PerAndroidVersionInfo) ProtoMessage

func (*PerAndroidVersionInfo) ProtoMessage()

func (*PerAndroidVersionInfo) ProtoReflect

func (x *PerAndroidVersionInfo) ProtoReflect() protoreflect.Message

func (*PerAndroidVersionInfo) Reset

func (x *PerAndroidVersionInfo) Reset()

func (*PerAndroidVersionInfo) String

func (x *PerAndroidVersionInfo) String() string

type PerIosVersionInfo

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 `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

A version-specific information of an iOS model.

func (*PerIosVersionInfo) Descriptor deprecated

func (*PerIosVersionInfo) Descriptor() ([]byte, []int)

Deprecated: Use PerIosVersionInfo.ProtoReflect.Descriptor instead.

func (*PerIosVersionInfo) GetDeviceCapacity

func (x *PerIosVersionInfo) GetDeviceCapacity() DeviceCapacity

func (*PerIosVersionInfo) GetVersionId

func (x *PerIosVersionInfo) GetVersionId() string

func (*PerIosVersionInfo) ProtoMessage

func (*PerIosVersionInfo) ProtoMessage()

func (*PerIosVersionInfo) ProtoReflect

func (x *PerIosVersionInfo) ProtoReflect() protoreflect.Message

func (*PerIosVersionInfo) Reset

func (x *PerIosVersionInfo) Reset()

func (*PerIosVersionInfo) String

func (x *PerIosVersionInfo) String() string

type ProvidedSoftwareCatalog

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 `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

The currently provided software environment on the devices under test.

func (*ProvidedSoftwareCatalog) Descriptor deprecated

func (*ProvidedSoftwareCatalog) Descriptor() ([]byte, []int)

Deprecated: Use ProvidedSoftwareCatalog.ProtoReflect.Descriptor instead.

func (*ProvidedSoftwareCatalog) GetAndroidxOrchestratorVersion

func (x *ProvidedSoftwareCatalog) GetAndroidxOrchestratorVersion() string

func (*ProvidedSoftwareCatalog) GetOrchestratorVersion deprecated

func (x *ProvidedSoftwareCatalog) GetOrchestratorVersion() string

Deprecated: Do not use.

func (*ProvidedSoftwareCatalog) ProtoMessage

func (*ProvidedSoftwareCatalog) ProtoMessage()

func (*ProvidedSoftwareCatalog) ProtoReflect

func (x *ProvidedSoftwareCatalog) ProtoReflect() protoreflect.Message

func (*ProvidedSoftwareCatalog) Reset

func (x *ProvidedSoftwareCatalog) Reset()

func (*ProvidedSoftwareCatalog) String

func (x *ProvidedSoftwareCatalog) String() string

type RegularFile

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
}

A file or directory to install on the device before the test starts.

func (*RegularFile) Descriptor deprecated

func (*RegularFile) Descriptor() ([]byte, []int)

Deprecated: Use RegularFile.ProtoReflect.Descriptor instead.

func (*RegularFile) GetContent

func (x *RegularFile) GetContent() *FileReference

func (*RegularFile) GetDevicePath

func (x *RegularFile) GetDevicePath() string

func (*RegularFile) ProtoMessage

func (*RegularFile) ProtoMessage()

func (*RegularFile) ProtoReflect

func (x *RegularFile) ProtoReflect() protoreflect.Message

func (*RegularFile) Reset

func (x *RegularFile) Reset()

func (*RegularFile) String

func (x *RegularFile) String() string

type ResultStorage

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
}

Locations where the results of running the test are stored.

func (*ResultStorage) Descriptor deprecated

func (*ResultStorage) Descriptor() ([]byte, []int)

Deprecated: Use ResultStorage.ProtoReflect.Descriptor instead.

func (*ResultStorage) GetGoogleCloudStorage

func (x *ResultStorage) GetGoogleCloudStorage() *GoogleCloudStorage

func (*ResultStorage) GetResultsUrl

func (x *ResultStorage) GetResultsUrl() string

func (*ResultStorage) GetToolResultsExecution

func (x *ResultStorage) GetToolResultsExecution() *ToolResultsExecution

func (*ResultStorage) GetToolResultsHistory

func (x *ResultStorage) GetToolResultsHistory() *ToolResultsHistory

func (*ResultStorage) ProtoMessage

func (*ResultStorage) ProtoMessage()

func (*ResultStorage) ProtoReflect

func (x *ResultStorage) ProtoReflect() protoreflect.Message

func (*ResultStorage) Reset

func (x *ResultStorage) Reset()

func (*ResultStorage) String

func (x *ResultStorage) String() string

type RoboActionType

type RoboActionType int32

Actions which Robo can perform on UI elements.

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

func (RoboActionType) Enum

func (x RoboActionType) Enum() *RoboActionType

func (RoboActionType) EnumDescriptor deprecated

func (RoboActionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoboActionType.Descriptor instead.

func (RoboActionType) Number

func (RoboActionType) String

func (x RoboActionType) String() string

func (RoboActionType) Type

type RoboDirective

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 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

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.

func (*RoboDirective) Descriptor deprecated

func (*RoboDirective) Descriptor() ([]byte, []int)

Deprecated: Use RoboDirective.ProtoReflect.Descriptor instead.

func (*RoboDirective) GetActionType

func (x *RoboDirective) GetActionType() RoboActionType

func (*RoboDirective) GetInputText

func (x *RoboDirective) GetInputText() string

func (*RoboDirective) GetResourceName

func (x *RoboDirective) GetResourceName() string

func (*RoboDirective) ProtoMessage

func (*RoboDirective) ProtoMessage()

func (*RoboDirective) ProtoReflect

func (x *RoboDirective) ProtoReflect() protoreflect.Message

func (*RoboDirective) Reset

func (x *RoboDirective) Reset()

func (*RoboDirective) String

func (x *RoboDirective) String() string

type RoboMode

type RoboMode int32

The mode in which Robo should run.

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

func (RoboMode) Descriptor() protoreflect.EnumDescriptor

func (RoboMode) Enum

func (x RoboMode) Enum() *RoboMode

func (RoboMode) EnumDescriptor deprecated

func (RoboMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoboMode.Descriptor instead.

func (RoboMode) Number

func (x RoboMode) Number() protoreflect.EnumNumber

func (RoboMode) String

func (x RoboMode) String() string

func (RoboMode) Type

type RoboStartingIntent

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
}

Message for specifying the start activities to crawl.

func (*RoboStartingIntent) Descriptor deprecated

func (*RoboStartingIntent) Descriptor() ([]byte, []int)

Deprecated: Use RoboStartingIntent.ProtoReflect.Descriptor instead.

func (*RoboStartingIntent) GetLauncherActivity

func (x *RoboStartingIntent) GetLauncherActivity() *LauncherActivityIntent

func (*RoboStartingIntent) GetStartActivity

func (x *RoboStartingIntent) GetStartActivity() *StartActivityIntent

func (*RoboStartingIntent) GetStartingIntent

func (m *RoboStartingIntent) GetStartingIntent() isRoboStartingIntent_StartingIntent

func (*RoboStartingIntent) GetTimeout

func (x *RoboStartingIntent) GetTimeout() *durationpb.Duration

func (*RoboStartingIntent) ProtoMessage

func (*RoboStartingIntent) ProtoMessage()

func (*RoboStartingIntent) ProtoReflect

func (x *RoboStartingIntent) ProtoReflect() protoreflect.Message

func (*RoboStartingIntent) Reset

func (x *RoboStartingIntent) Reset()

func (*RoboStartingIntent) String

func (x *RoboStartingIntent) String() string

type RoboStartingIntent_LauncherActivity

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

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"`
}

type 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
}

Output only. Details about the shard.

func (*Shard) Descriptor deprecated

func (*Shard) Descriptor() ([]byte, []int)

Deprecated: Use Shard.ProtoReflect.Descriptor instead.

func (*Shard) GetNumShards

func (x *Shard) GetNumShards() int32

func (*Shard) GetShardIndex

func (x *Shard) GetShardIndex() int32

func (*Shard) GetTestTargetsForShard

func (x *Shard) GetTestTargetsForShard() *TestTargetsForShard

func (*Shard) ProtoMessage

func (*Shard) ProtoMessage()

func (*Shard) ProtoReflect

func (x *Shard) ProtoReflect() protoreflect.Message

func (*Shard) Reset

func (x *Shard) Reset()

func (*Shard) String

func (x *Shard) String() string

type ShardingOption

type ShardingOption struct {

	// Types that are assignable to Option:
	//
	//	*ShardingOption_UniformSharding
	//	*ShardingOption_ManualSharding
	Option isShardingOption_Option `protobuf_oneof:"option"`
	// contains filtered or unexported fields
}

Options for enabling sharding.

func (*ShardingOption) Descriptor deprecated

func (*ShardingOption) Descriptor() ([]byte, []int)

Deprecated: Use ShardingOption.ProtoReflect.Descriptor instead.

func (*ShardingOption) GetManualSharding

func (x *ShardingOption) GetManualSharding() *ManualSharding

func (*ShardingOption) GetOption

func (m *ShardingOption) GetOption() isShardingOption_Option

func (*ShardingOption) GetUniformSharding

func (x *ShardingOption) GetUniformSharding() *UniformSharding

func (*ShardingOption) ProtoMessage

func (*ShardingOption) ProtoMessage()

func (*ShardingOption) ProtoReflect

func (x *ShardingOption) ProtoReflect() protoreflect.Message

func (*ShardingOption) Reset

func (x *ShardingOption) Reset()

func (*ShardingOption) String

func (x *ShardingOption) String() string

type ShardingOption_ManualSharding

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

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"`
}

type StartActivityIntent

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
}

A starting intent specified by an action, uri, and categories.

func (*StartActivityIntent) Descriptor deprecated

func (*StartActivityIntent) Descriptor() ([]byte, []int)

Deprecated: Use StartActivityIntent.ProtoReflect.Descriptor instead.

func (*StartActivityIntent) GetAction

func (x *StartActivityIntent) GetAction() string

func (*StartActivityIntent) GetCategories

func (x *StartActivityIntent) GetCategories() []string

func (*StartActivityIntent) GetUri

func (x *StartActivityIntent) GetUri() string

func (*StartActivityIntent) ProtoMessage

func (*StartActivityIntent) ProtoMessage()

func (*StartActivityIntent) ProtoReflect

func (x *StartActivityIntent) ProtoReflect() protoreflect.Message

func (*StartActivityIntent) Reset

func (x *StartActivityIntent) Reset()

func (*StartActivityIntent) String

func (x *StartActivityIntent) String() string

type SystraceSetup

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 deprecated

func (*SystraceSetup) Descriptor() ([]byte, []int)

Deprecated: Use SystraceSetup.ProtoReflect.Descriptor instead.

func (*SystraceSetup) GetDurationSeconds

func (x *SystraceSetup) GetDurationSeconds() int32

func (*SystraceSetup) ProtoMessage

func (*SystraceSetup) ProtoMessage()

func (*SystraceSetup) ProtoReflect

func (x *SystraceSetup) ProtoReflect() protoreflect.Message

func (*SystraceSetup) Reset

func (x *SystraceSetup) Reset()

func (*SystraceSetup) String

func (x *SystraceSetup) String() string

type TestDetails

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
}

Additional details about the progress of the running test.

func (*TestDetails) Descriptor deprecated

func (*TestDetails) Descriptor() ([]byte, []int)

Deprecated: Use TestDetails.ProtoReflect.Descriptor instead.

func (*TestDetails) GetErrorMessage

func (x *TestDetails) GetErrorMessage() string

func (*TestDetails) GetProgressMessages

func (x *TestDetails) GetProgressMessages() []string

func (*TestDetails) ProtoMessage

func (*TestDetails) ProtoMessage()

func (*TestDetails) ProtoReflect

func (x *TestDetails) ProtoReflect() protoreflect.Message

func (*TestDetails) Reset

func (x *TestDetails) Reset()

func (*TestDetails) String

func (x *TestDetails) String() string

type TestEnvironmentCatalog

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
}

A description of a test environment.

func (*TestEnvironmentCatalog) Descriptor deprecated

func (*TestEnvironmentCatalog) Descriptor() ([]byte, []int)

Deprecated: Use TestEnvironmentCatalog.ProtoReflect.Descriptor instead.

func (*TestEnvironmentCatalog) GetAndroidDeviceCatalog

func (x *TestEnvironmentCatalog) GetAndroidDeviceCatalog() *AndroidDeviceCatalog

func (*TestEnvironmentCatalog) GetDeviceIpBlockCatalog

func (x *TestEnvironmentCatalog) GetDeviceIpBlockCatalog() *DeviceIpBlockCatalog

func (*TestEnvironmentCatalog) GetEnvironmentCatalog

func (m *TestEnvironmentCatalog) GetEnvironmentCatalog() isTestEnvironmentCatalog_EnvironmentCatalog

func (*TestEnvironmentCatalog) GetIosDeviceCatalog

func (x *TestEnvironmentCatalog) GetIosDeviceCatalog() *IosDeviceCatalog

func (*TestEnvironmentCatalog) GetNetworkConfigurationCatalog

func (x *TestEnvironmentCatalog) GetNetworkConfigurationCatalog() *NetworkConfigurationCatalog

func (*TestEnvironmentCatalog) GetSoftwareCatalog

func (x *TestEnvironmentCatalog) GetSoftwareCatalog() *ProvidedSoftwareCatalog

func (*TestEnvironmentCatalog) ProtoMessage

func (*TestEnvironmentCatalog) ProtoMessage()

func (*TestEnvironmentCatalog) ProtoReflect

func (x *TestEnvironmentCatalog) ProtoReflect() protoreflect.Message

func (*TestEnvironmentCatalog) Reset

func (x *TestEnvironmentCatalog) Reset()

func (*TestEnvironmentCatalog) String

func (x *TestEnvironmentCatalog) String() string

type TestEnvironmentCatalog_AndroidDeviceCatalog

type TestEnvironmentCatalog_AndroidDeviceCatalog struct {
	// Supported Android devices.
	AndroidDeviceCatalog *AndroidDeviceCatalog `protobuf:"bytes,1,opt,name=android_device_catalog,json=androidDeviceCatalog,proto3,oneof"`
}

type TestEnvironmentCatalog_DeviceIpBlockCatalog

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

type TestEnvironmentCatalog_IosDeviceCatalog struct {
	// Supported iOS devices.
	IosDeviceCatalog *IosDeviceCatalog `protobuf:"bytes,3,opt,name=ios_device_catalog,json=iosDeviceCatalog,proto3,oneof"`
}

type TestEnvironmentCatalog_NetworkConfigurationCatalog

type TestEnvironmentCatalog_NetworkConfigurationCatalog struct {
	// Supported network configurations.
	NetworkConfigurationCatalog *NetworkConfigurationCatalog `protobuf:"bytes,4,opt,name=network_configuration_catalog,json=networkConfigurationCatalog,proto3,oneof"`
}

type TestEnvironmentCatalog_SoftwareCatalog

type TestEnvironmentCatalog_SoftwareCatalog struct {
	// The software test environment provided by TestExecutionService.
	SoftwareCatalog *ProvidedSoftwareCatalog `protobuf:"bytes,5,opt,name=software_catalog,json=softwareCatalog,proto3,oneof"`
}

type TestEnvironmentDiscoveryServiceClient

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)
}

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 TestEnvironmentDiscoveryServiceServer

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)
}

TestEnvironmentDiscoveryServiceServer is the server API for TestEnvironmentDiscoveryService service.

type TestExecution

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
}

A single test executed in a single environment.

func (*TestExecution) Descriptor deprecated

func (*TestExecution) Descriptor() ([]byte, []int)

Deprecated: Use TestExecution.ProtoReflect.Descriptor instead.

func (*TestExecution) GetEnvironment

func (x *TestExecution) GetEnvironment() *Environment

func (*TestExecution) GetId

func (x *TestExecution) GetId() string

func (*TestExecution) GetMatrixId

func (x *TestExecution) GetMatrixId() string

func (*TestExecution) GetProjectId

func (x *TestExecution) GetProjectId() string

func (*TestExecution) GetShard

func (x *TestExecution) GetShard() *Shard

func (*TestExecution) GetState

func (x *TestExecution) GetState() TestState

func (*TestExecution) GetTestDetails

func (x *TestExecution) GetTestDetails() *TestDetails

func (*TestExecution) GetTestSpecification

func (x *TestExecution) GetTestSpecification() *TestSpecification

func (*TestExecution) GetTimestamp

func (x *TestExecution) GetTimestamp() *timestamppb.Timestamp

func (*TestExecution) GetToolResultsStep

func (x *TestExecution) GetToolResultsStep() *ToolResultsStep

func (*TestExecution) ProtoMessage

func (*TestExecution) ProtoMessage()

func (*TestExecution) ProtoReflect

func (x *TestExecution) ProtoReflect() protoreflect.Message

func (*TestExecution) Reset

func (x *TestExecution) Reset()

func (*TestExecution) String

func (x *TestExecution) String() string

type TestExecutionServiceClient

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)
}

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 TestExecutionServiceServer

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)
}

TestExecutionServiceServer is the server API for TestExecutionService service.

type TestMatrix

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 `` /* 178-byte string literal not displayed */
	// 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 `` /* 152-byte string literal not displayed */
	// 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
}

TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.

func (*TestMatrix) Descriptor deprecated

func (*TestMatrix) Descriptor() ([]byte, []int)

Deprecated: Use TestMatrix.ProtoReflect.Descriptor instead.

func (*TestMatrix) GetClientInfo

func (x *TestMatrix) GetClientInfo() *ClientInfo

func (*TestMatrix) GetEnvironmentMatrix

func (x *TestMatrix) GetEnvironmentMatrix() *EnvironmentMatrix

func (*TestMatrix) GetFailFast

func (x *TestMatrix) GetFailFast() bool

func (*TestMatrix) GetFlakyTestAttempts

func (x *TestMatrix) GetFlakyTestAttempts() int32

func (*TestMatrix) GetInvalidMatrixDetails

func (x *TestMatrix) GetInvalidMatrixDetails() InvalidMatrixDetails

func (*TestMatrix) GetOutcomeSummary

func (x *TestMatrix) GetOutcomeSummary() OutcomeSummary

func (*TestMatrix) GetProjectId

func (x *TestMatrix) GetProjectId() string

func (*TestMatrix) GetResultStorage

func (x *TestMatrix) GetResultStorage() *ResultStorage

func (*TestMatrix) GetState

func (x *TestMatrix) GetState() TestState

func (*TestMatrix) GetTestExecutions

func (x *TestMatrix) GetTestExecutions() []*TestExecution

func (*TestMatrix) GetTestMatrixId

func (x *TestMatrix) GetTestMatrixId() string

func (*TestMatrix) GetTestSpecification

func (x *TestMatrix) GetTestSpecification() *TestSpecification

func (*TestMatrix) GetTimestamp

func (x *TestMatrix) GetTimestamp() *timestamppb.Timestamp

func (*TestMatrix) ProtoMessage

func (*TestMatrix) ProtoMessage()

func (*TestMatrix) ProtoReflect

func (x *TestMatrix) ProtoReflect() protoreflect.Message

func (*TestMatrix) Reset

func (x *TestMatrix) Reset()

func (*TestMatrix) String

func (x *TestMatrix) String() string

type TestSetup

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 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

A description of how to set up the Android device prior to running the test.

func (*TestSetup) Descriptor deprecated

func (*TestSetup) Descriptor() ([]byte, []int)

Deprecated: Use TestSetup.ProtoReflect.Descriptor instead.

func (*TestSetup) GetAccount

func (x *TestSetup) GetAccount() *Account

func (*TestSetup) GetAdditionalApks

func (x *TestSetup) GetAdditionalApks() []*Apk

func (*TestSetup) GetDirectoriesToPull

func (x *TestSetup) GetDirectoriesToPull() []string

func (*TestSetup) GetDontAutograntPermissions

func (x *TestSetup) GetDontAutograntPermissions() bool

func (*TestSetup) GetEnvironmentVariables

func (x *TestSetup) GetEnvironmentVariables() []*EnvironmentVariable

func (*TestSetup) GetFilesToPush

func (x *TestSetup) GetFilesToPush() []*DeviceFile

func (*TestSetup) GetNetworkProfile

func (x *TestSetup) GetNetworkProfile() string

func (*TestSetup) GetSystrace deprecated

func (x *TestSetup) GetSystrace() *SystraceSetup

Deprecated: Do not use.

func (*TestSetup) ProtoMessage

func (*TestSetup) ProtoMessage()

func (*TestSetup) ProtoReflect

func (x *TestSetup) ProtoReflect() protoreflect.Message

func (*TestSetup) Reset

func (x *TestSetup) Reset()

func (*TestSetup) String

func (x *TestSetup) String() string

type TestSpecification

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 `` /* 128-byte string literal not displayed */
	// Disables performance metrics recording. May reduce test latency.
	DisablePerformanceMetrics bool `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

A description of how to run the test.

func (*TestSpecification) Descriptor deprecated

func (*TestSpecification) Descriptor() ([]byte, []int)

Deprecated: Use TestSpecification.ProtoReflect.Descriptor instead.

func (*TestSpecification) GetAndroidInstrumentationTest

func (x *TestSpecification) GetAndroidInstrumentationTest() *AndroidInstrumentationTest

func (*TestSpecification) GetAndroidRoboTest

func (x *TestSpecification) GetAndroidRoboTest() *AndroidRoboTest

func (*TestSpecification) GetAndroidTestLoop

func (x *TestSpecification) GetAndroidTestLoop() *AndroidTestLoop

func (*TestSpecification) GetDisablePerformanceMetrics

func (x *TestSpecification) GetDisablePerformanceMetrics() bool

func (*TestSpecification) GetDisableVideoRecording

func (x *TestSpecification) GetDisableVideoRecording() bool

func (*TestSpecification) GetIosTestLoop

func (x *TestSpecification) GetIosTestLoop() *IosTestLoop

func (*TestSpecification) GetIosTestSetup

func (x *TestSpecification) GetIosTestSetup() *IosTestSetup

func (*TestSpecification) GetIosXcTest

func (x *TestSpecification) GetIosXcTest() *IosXcTest

func (*TestSpecification) GetSetup

func (m *TestSpecification) GetSetup() isTestSpecification_Setup

func (*TestSpecification) GetTest

func (m *TestSpecification) GetTest() isTestSpecification_Test

func (*TestSpecification) GetTestSetup

func (x *TestSpecification) GetTestSetup() *TestSetup

func (*TestSpecification) GetTestTimeout

func (x *TestSpecification) GetTestTimeout() *durationpb.Duration

func (*TestSpecification) ProtoMessage

func (*TestSpecification) ProtoMessage()

func (*TestSpecification) ProtoReflect

func (x *TestSpecification) ProtoReflect() protoreflect.Message

func (*TestSpecification) Reset

func (x *TestSpecification) Reset()

func (*TestSpecification) String

func (x *TestSpecification) String() string

type TestSpecification_AndroidInstrumentationTest

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

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

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

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

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

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

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"`
}

type TestState

type TestState int32

The state (i.e., progress) of a test execution or matrix.

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

func (TestState) Descriptor() protoreflect.EnumDescriptor

func (TestState) Enum

func (x TestState) Enum() *TestState

func (TestState) EnumDescriptor deprecated

func (TestState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestState.Descriptor instead.

func (TestState) Number

func (x TestState) Number() protoreflect.EnumNumber

func (TestState) String

func (x TestState) String() string

func (TestState) Type

type TestTargetsForShard

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
}

Test targets for a shard.

func (*TestTargetsForShard) Descriptor deprecated

func (*TestTargetsForShard) Descriptor() ([]byte, []int)

Deprecated: Use TestTargetsForShard.ProtoReflect.Descriptor instead.

func (*TestTargetsForShard) GetTestTargets

func (x *TestTargetsForShard) GetTestTargets() []string

func (*TestTargetsForShard) ProtoMessage

func (*TestTargetsForShard) ProtoMessage()

func (*TestTargetsForShard) ProtoReflect

func (x *TestTargetsForShard) ProtoReflect() protoreflect.Message

func (*TestTargetsForShard) Reset

func (x *TestTargetsForShard) Reset()

func (*TestTargetsForShard) String

func (x *TestTargetsForShard) String() string

type ToolResultsExecution

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
}

Represents a tool results execution resource.

This has the results of a TestMatrix.

func (*ToolResultsExecution) Descriptor deprecated

func (*ToolResultsExecution) Descriptor() ([]byte, []int)

Deprecated: Use ToolResultsExecution.ProtoReflect.Descriptor instead.

func (*ToolResultsExecution) GetExecutionId

func (x *ToolResultsExecution) GetExecutionId() string

func (*ToolResultsExecution) GetHistoryId

func (x *ToolResultsExecution) GetHistoryId() string

func (*ToolResultsExecution) GetProjectId

func (x *ToolResultsExecution) GetProjectId() string

func (*ToolResultsExecution) ProtoMessage

func (*ToolResultsExecution) ProtoMessage()

func (*ToolResultsExecution) ProtoReflect

func (x *ToolResultsExecution) ProtoReflect() protoreflect.Message

func (*ToolResultsExecution) Reset

func (x *ToolResultsExecution) Reset()

func (*ToolResultsExecution) String

func (x *ToolResultsExecution) String() string

type ToolResultsHistory

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
}

Represents a tool results history resource.

func (*ToolResultsHistory) Descriptor deprecated

func (*ToolResultsHistory) Descriptor() ([]byte, []int)

Deprecated: Use ToolResultsHistory.ProtoReflect.Descriptor instead.

func (*ToolResultsHistory) GetHistoryId

func (x *ToolResultsHistory) GetHistoryId() string

func (*ToolResultsHistory) GetProjectId

func (x *ToolResultsHistory) GetProjectId() string

func (*ToolResultsHistory) ProtoMessage

func (*ToolResultsHistory) ProtoMessage()

func (*ToolResultsHistory) ProtoReflect

func (x *ToolResultsHistory) ProtoReflect() protoreflect.Message

func (*ToolResultsHistory) Reset

func (x *ToolResultsHistory) Reset()

func (*ToolResultsHistory) String

func (x *ToolResultsHistory) String() string

type ToolResultsStep

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
}

Represents a tool results step resource.

This has the results of a TestExecution.

func (*ToolResultsStep) Descriptor deprecated

func (*ToolResultsStep) Descriptor() ([]byte, []int)

Deprecated: Use ToolResultsStep.ProtoReflect.Descriptor instead.

func (*ToolResultsStep) GetExecutionId

func (x *ToolResultsStep) GetExecutionId() string

func (*ToolResultsStep) GetHistoryId

func (x *ToolResultsStep) GetHistoryId() string

func (*ToolResultsStep) GetProjectId

func (x *ToolResultsStep) GetProjectId() string

func (*ToolResultsStep) GetStepId

func (x *ToolResultsStep) GetStepId() string

func (*ToolResultsStep) ProtoMessage

func (*ToolResultsStep) ProtoMessage()

func (*ToolResultsStep) ProtoReflect

func (x *ToolResultsStep) ProtoReflect() protoreflect.Message

func (*ToolResultsStep) Reset

func (x *ToolResultsStep) Reset()

func (*ToolResultsStep) String

func (x *ToolResultsStep) String() string

type TrafficRule

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 `` /* 131-byte string literal not displayed */
	// 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
}

Network emulation parameters.

func (*TrafficRule) Descriptor deprecated

func (*TrafficRule) Descriptor() ([]byte, []int)

Deprecated: Use TrafficRule.ProtoReflect.Descriptor instead.

func (*TrafficRule) GetBandwidth

func (x *TrafficRule) GetBandwidth() float32

func (*TrafficRule) GetBurst

func (x *TrafficRule) GetBurst() float32

func (*TrafficRule) GetDelay

func (x *TrafficRule) GetDelay() *durationpb.Duration

func (*TrafficRule) GetPacketDuplicationRatio

func (x *TrafficRule) GetPacketDuplicationRatio() float32

func (*TrafficRule) GetPacketLossRatio

func (x *TrafficRule) GetPacketLossRatio() float32

func (*TrafficRule) ProtoMessage

func (*TrafficRule) ProtoMessage()

func (*TrafficRule) ProtoReflect

func (x *TrafficRule) ProtoReflect() protoreflect.Message

func (*TrafficRule) Reset

func (x *TrafficRule) Reset()

func (*TrafficRule) String

func (x *TrafficRule) String() string

type UniformSharding

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
}

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.

func (*UniformSharding) Descriptor deprecated

func (*UniformSharding) Descriptor() ([]byte, []int)

Deprecated: Use UniformSharding.ProtoReflect.Descriptor instead.

func (*UniformSharding) GetNumShards

func (x *UniformSharding) GetNumShards() int32

func (*UniformSharding) ProtoMessage

func (*UniformSharding) ProtoMessage()

func (*UniformSharding) ProtoReflect

func (x *UniformSharding) ProtoReflect() protoreflect.Message

func (*UniformSharding) Reset

func (x *UniformSharding) Reset()

func (*UniformSharding) String

func (x *UniformSharding) String() string

type UnimplementedApplicationDetailServiceServer

type UnimplementedApplicationDetailServiceServer struct {
}

UnimplementedApplicationDetailServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedApplicationDetailServiceServer) GetApkDetails

type UnimplementedTestEnvironmentDiscoveryServiceServer

type UnimplementedTestEnvironmentDiscoveryServiceServer struct {
}

UnimplementedTestEnvironmentDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTestEnvironmentDiscoveryServiceServer) GetTestEnvironmentCatalog

type UnimplementedTestExecutionServiceServer

type UnimplementedTestExecutionServiceServer struct {
}

UnimplementedTestExecutionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTestExecutionServiceServer) CancelTestMatrix

func (*UnimplementedTestExecutionServiceServer) CreateTestMatrix

func (*UnimplementedTestExecutionServiceServer) GetTestMatrix

type UsesFeature

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
}

A <uses-feature> tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-feature-element.html

func (*UsesFeature) Descriptor deprecated

func (*UsesFeature) Descriptor() ([]byte, []int)

Deprecated: Use UsesFeature.ProtoReflect.Descriptor instead.

func (*UsesFeature) GetIsRequired

func (x *UsesFeature) GetIsRequired() bool

func (*UsesFeature) GetName

func (x *UsesFeature) GetName() string

func (*UsesFeature) ProtoMessage

func (*UsesFeature) ProtoMessage()

func (*UsesFeature) ProtoReflect

func (x *UsesFeature) ProtoReflect() protoreflect.Message

func (*UsesFeature) Reset

func (x *UsesFeature) Reset()

func (*UsesFeature) String

func (x *UsesFeature) String() string

type XcodeVersion

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
}

An Xcode version that an iOS version is compatible with.

func (*XcodeVersion) Descriptor deprecated

func (*XcodeVersion) Descriptor() ([]byte, []int)

Deprecated: Use XcodeVersion.ProtoReflect.Descriptor instead.

func (*XcodeVersion) GetTags

func (x *XcodeVersion) GetTags() []string

func (*XcodeVersion) GetVersion

func (x *XcodeVersion) GetVersion() string

func (*XcodeVersion) ProtoMessage

func (*XcodeVersion) ProtoMessage()

func (*XcodeVersion) ProtoReflect

func (x *XcodeVersion) ProtoReflect() protoreflect.Message

func (*XcodeVersion) Reset

func (x *XcodeVersion) Reset()

func (*XcodeVersion) String

func (x *XcodeVersion) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL