com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaDeviceExecution Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.firebaseappdistribution.v1alpha.model;
/**
* The results of running an automated test on a particular device.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Firebase App Distribution API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleFirebaseAppdistroV1alphaDeviceExecution extends com.google.api.client.json.GenericJson {
/**
* Output only. An app crash, if any occurred during the test.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleFirebaseAppdistroV1alphaAppCrash appCrash;
/**
* Output only. A URI to an image of the Robo crawl graph.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String crawlGraphUri;
/**
* Required. The device that the test was run on.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleFirebaseAppdistroV1alphaTestDevice device;
/**
* Output only. The reason why the test failed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String failedReason;
/**
* Output only. The reason why the test was inconclusive.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String inconclusiveReason;
/**
* Output only. The path to a directory in Cloud Storage that will eventually contain the results
* for this execution. For example, gs://bucket/Nexus5-18-en-portrait.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resultsStoragePath;
/**
* Output only. The statistics collected during the Robo test.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleFirebaseAppdistroV1alphaRoboStats roboStats;
/**
* Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are
* numbered by the order in which they were taken.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List screenshotUris;
/**
* Output only. The state of the test.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Output only. A URI to a video of the test run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String videoUri;
/**
* Output only. An app crash, if any occurred during the test.
* @return value or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaAppCrash getAppCrash() {
return appCrash;
}
/**
* Output only. An app crash, if any occurred during the test.
* @param appCrash appCrash or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setAppCrash(GoogleFirebaseAppdistroV1alphaAppCrash appCrash) {
this.appCrash = appCrash;
return this;
}
/**
* Output only. A URI to an image of the Robo crawl graph.
* @return value or {@code null} for none
*/
public java.lang.String getCrawlGraphUri() {
return crawlGraphUri;
}
/**
* Output only. A URI to an image of the Robo crawl graph.
* @param crawlGraphUri crawlGraphUri or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setCrawlGraphUri(java.lang.String crawlGraphUri) {
this.crawlGraphUri = crawlGraphUri;
return this;
}
/**
* Required. The device that the test was run on.
* @return value or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaTestDevice getDevice() {
return device;
}
/**
* Required. The device that the test was run on.
* @param device device or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setDevice(GoogleFirebaseAppdistroV1alphaTestDevice device) {
this.device = device;
return this;
}
/**
* Output only. The reason why the test failed.
* @return value or {@code null} for none
*/
public java.lang.String getFailedReason() {
return failedReason;
}
/**
* Output only. The reason why the test failed.
* @param failedReason failedReason or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setFailedReason(java.lang.String failedReason) {
this.failedReason = failedReason;
return this;
}
/**
* Output only. The reason why the test was inconclusive.
* @return value or {@code null} for none
*/
public java.lang.String getInconclusiveReason() {
return inconclusiveReason;
}
/**
* Output only. The reason why the test was inconclusive.
* @param inconclusiveReason inconclusiveReason or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setInconclusiveReason(java.lang.String inconclusiveReason) {
this.inconclusiveReason = inconclusiveReason;
return this;
}
/**
* Output only. The path to a directory in Cloud Storage that will eventually contain the results
* for this execution. For example, gs://bucket/Nexus5-18-en-portrait.
* @return value or {@code null} for none
*/
public java.lang.String getResultsStoragePath() {
return resultsStoragePath;
}
/**
* Output only. The path to a directory in Cloud Storage that will eventually contain the results
* for this execution. For example, gs://bucket/Nexus5-18-en-portrait.
* @param resultsStoragePath resultsStoragePath or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setResultsStoragePath(java.lang.String resultsStoragePath) {
this.resultsStoragePath = resultsStoragePath;
return this;
}
/**
* Output only. The statistics collected during the Robo test.
* @return value or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaRoboStats getRoboStats() {
return roboStats;
}
/**
* Output only. The statistics collected during the Robo test.
* @param roboStats roboStats or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setRoboStats(GoogleFirebaseAppdistroV1alphaRoboStats roboStats) {
this.roboStats = roboStats;
return this;
}
/**
* Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are
* numbered by the order in which they were taken.
* @return value or {@code null} for none
*/
public java.util.List getScreenshotUris() {
return screenshotUris;
}
/**
* Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are
* numbered by the order in which they were taken.
* @param screenshotUris screenshotUris or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setScreenshotUris(java.util.List screenshotUris) {
this.screenshotUris = screenshotUris;
return this;
}
/**
* Output only. The state of the test.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* Output only. The state of the test.
* @param state state or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setState(java.lang.String state) {
this.state = state;
return this;
}
/**
* Output only. A URI to a video of the test run.
* @return value or {@code null} for none
*/
public java.lang.String getVideoUri() {
return videoUri;
}
/**
* Output only. A URI to a video of the test run.
* @param videoUri videoUri or {@code null} for none
*/
public GoogleFirebaseAppdistroV1alphaDeviceExecution setVideoUri(java.lang.String videoUri) {
this.videoUri = videoUri;
return this;
}
@Override
public GoogleFirebaseAppdistroV1alphaDeviceExecution set(String fieldName, Object value) {
return (GoogleFirebaseAppdistroV1alphaDeviceExecution) super.set(fieldName, value);
}
@Override
public GoogleFirebaseAppdistroV1alphaDeviceExecution clone() {
return (GoogleFirebaseAppdistroV1alphaDeviceExecution) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy