com.google.api.services.testing.model.ApkManifest 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.testing.model;
/**
* An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-
* intro.html
*
* 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 Cloud Testing 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 ApkManifest extends com.google.api.client.json.GenericJson {
/**
* User-readable name for the application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String applicationLabel;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List intentFilters;
/**
* Maximum API level on which the application is designed to run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxSdkVersion;
/**
* Meta-data tags defined in the manifest.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List metadata;
/**
* Minimum API level required for the application to run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer minSdkVersion;
/**
* Full Java-style package name for this application, e.g. "com.example.foo".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String packageName;
/**
* Services contained in the tag.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List services;
/**
* Specifies the API Level on which the application is designed to run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer targetSdkVersion;
/**
* Feature usage tags defined in the manifest.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List usesFeature;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List usesPermission;
/**
* Permissions declared to be used by the application
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List usesPermissionTags;
/**
* Version number used internally by the app.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long versionCode;
/**
* Version number shown to users.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String versionName;
/**
* User-readable name for the application.
* @return value or {@code null} for none
*/
public java.lang.String getApplicationLabel() {
return applicationLabel;
}
/**
* User-readable name for the application.
* @param applicationLabel applicationLabel or {@code null} for none
*/
public ApkManifest setApplicationLabel(java.lang.String applicationLabel) {
this.applicationLabel = applicationLabel;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.util.List getIntentFilters() {
return intentFilters;
}
/**
* @param intentFilters intentFilters or {@code null} for none
*/
public ApkManifest setIntentFilters(java.util.List intentFilters) {
this.intentFilters = intentFilters;
return this;
}
/**
* Maximum API level on which the application is designed to run.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxSdkVersion() {
return maxSdkVersion;
}
/**
* Maximum API level on which the application is designed to run.
* @param maxSdkVersion maxSdkVersion or {@code null} for none
*/
public ApkManifest setMaxSdkVersion(java.lang.Integer maxSdkVersion) {
this.maxSdkVersion = maxSdkVersion;
return this;
}
/**
* Meta-data tags defined in the manifest.
* @return value or {@code null} for none
*/
public java.util.List getMetadata() {
return metadata;
}
/**
* Meta-data tags defined in the manifest.
* @param metadata metadata or {@code null} for none
*/
public ApkManifest setMetadata(java.util.List metadata) {
this.metadata = metadata;
return this;
}
/**
* Minimum API level required for the application to run.
* @return value or {@code null} for none
*/
public java.lang.Integer getMinSdkVersion() {
return minSdkVersion;
}
/**
* Minimum API level required for the application to run.
* @param minSdkVersion minSdkVersion or {@code null} for none
*/
public ApkManifest setMinSdkVersion(java.lang.Integer minSdkVersion) {
this.minSdkVersion = minSdkVersion;
return this;
}
/**
* Full Java-style package name for this application, e.g. "com.example.foo".
* @return value or {@code null} for none
*/
public java.lang.String getPackageName() {
return packageName;
}
/**
* Full Java-style package name for this application, e.g. "com.example.foo".
* @param packageName packageName or {@code null} for none
*/
public ApkManifest setPackageName(java.lang.String packageName) {
this.packageName = packageName;
return this;
}
/**
* Services contained in the tag.
* @return value or {@code null} for none
*/
public java.util.List getServices() {
return services;
}
/**
* Services contained in the tag.
* @param services services or {@code null} for none
*/
public ApkManifest setServices(java.util.List services) {
this.services = services;
return this;
}
/**
* Specifies the API Level on which the application is designed to run.
* @return value or {@code null} for none
*/
public java.lang.Integer getTargetSdkVersion() {
return targetSdkVersion;
}
/**
* Specifies the API Level on which the application is designed to run.
* @param targetSdkVersion targetSdkVersion or {@code null} for none
*/
public ApkManifest setTargetSdkVersion(java.lang.Integer targetSdkVersion) {
this.targetSdkVersion = targetSdkVersion;
return this;
}
/**
* Feature usage tags defined in the manifest.
* @return value or {@code null} for none
*/
public java.util.List getUsesFeature() {
return usesFeature;
}
/**
* Feature usage tags defined in the manifest.
* @param usesFeature usesFeature or {@code null} for none
*/
public ApkManifest setUsesFeature(java.util.List usesFeature) {
this.usesFeature = usesFeature;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.util.List getUsesPermission() {
return usesPermission;
}
/**
* @param usesPermission usesPermission or {@code null} for none
*/
public ApkManifest setUsesPermission(java.util.List usesPermission) {
this.usesPermission = usesPermission;
return this;
}
/**
* Permissions declared to be used by the application
* @return value or {@code null} for none
*/
public java.util.List getUsesPermissionTags() {
return usesPermissionTags;
}
/**
* Permissions declared to be used by the application
* @param usesPermissionTags usesPermissionTags or {@code null} for none
*/
public ApkManifest setUsesPermissionTags(java.util.List usesPermissionTags) {
this.usesPermissionTags = usesPermissionTags;
return this;
}
/**
* Version number used internally by the app.
* @return value or {@code null} for none
*/
public java.lang.Long getVersionCode() {
return versionCode;
}
/**
* Version number used internally by the app.
* @param versionCode versionCode or {@code null} for none
*/
public ApkManifest setVersionCode(java.lang.Long versionCode) {
this.versionCode = versionCode;
return this;
}
/**
* Version number shown to users.
* @return value or {@code null} for none
*/
public java.lang.String getVersionName() {
return versionName;
}
/**
* Version number shown to users.
* @param versionName versionName or {@code null} for none
*/
public ApkManifest setVersionName(java.lang.String versionName) {
this.versionName = versionName;
return this;
}
@Override
public ApkManifest set(String fieldName, Object value) {
return (ApkManifest) super.set(fieldName, value);
}
@Override
public ApkManifest clone() {
return (ApkManifest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy