* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
6675 lines
242 KiB
Java
6675 lines
242 KiB
Java
package com.google.api.services.drive;
|
|
|
|
import com.google.api.client.googleapis.services.AbstractGoogleClientRequest;
|
|
import com.google.api.client.googleapis.services.GoogleClientRequestInitializer;
|
|
import com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient;
|
|
import com.google.api.client.http.AbstractInputStreamContent;
|
|
import com.google.api.client.http.GenericUrl;
|
|
import com.google.api.client.http.HttpMethods;
|
|
import com.google.api.client.http.HttpRequest;
|
|
import com.google.api.client.http.HttpRequestInitializer;
|
|
import com.google.api.client.http.HttpResponse;
|
|
import com.google.api.client.http.HttpTransport;
|
|
import com.google.api.client.http.UriTemplate;
|
|
import com.google.api.client.json.JsonFactory;
|
|
import com.google.api.client.util.Data;
|
|
import com.google.api.client.util.Key;
|
|
import com.google.api.client.util.Preconditions;
|
|
import com.google.api.services.drive.model.ChangeList;
|
|
import com.google.api.services.drive.model.Channel;
|
|
import com.google.api.services.drive.model.Comment;
|
|
import com.google.api.services.drive.model.CommentList;
|
|
import com.google.api.services.drive.model.DriveList;
|
|
import com.google.api.services.drive.model.File;
|
|
import com.google.api.services.drive.model.FileList;
|
|
import com.google.api.services.drive.model.GeneratedIds;
|
|
import com.google.api.services.drive.model.LabelList;
|
|
import com.google.api.services.drive.model.ModifyLabelsRequest;
|
|
import com.google.api.services.drive.model.ModifyLabelsResponse;
|
|
import com.google.api.services.drive.model.Permission;
|
|
import com.google.api.services.drive.model.PermissionList;
|
|
import com.google.api.services.drive.model.Reply;
|
|
import com.google.api.services.drive.model.ReplyList;
|
|
import com.google.api.services.drive.model.Revision;
|
|
import com.google.api.services.drive.model.RevisionList;
|
|
import com.google.api.services.drive.model.StartPageToken;
|
|
import com.google.api.services.drive.model.TeamDrive;
|
|
import com.google.api.services.drive.model.TeamDriveList;
|
|
import java.io.InputStream;
|
|
import java.io.OutputStream;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Drive extends AbstractGoogleJsonClient {
|
|
public static final String DEFAULT_BASE_URL = "https://www.googleapis.com/drive/v3/";
|
|
public static final String DEFAULT_BATCH_PATH = "batch/drive/v3";
|
|
public static final String DEFAULT_MTLS_ROOT_URL = "https://www.mtls.googleapis.com/";
|
|
public static final String DEFAULT_ROOT_URL = "https://www.googleapis.com/";
|
|
public static final String DEFAULT_SERVICE_PATH = "drive/v3/";
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class About {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<com.google.api.services.drive.model.About> {
|
|
private static final String REST_PATH = "about";
|
|
|
|
public Get() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, com.google.api.services.drive.model.About.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp, reason: merged with bridge method [inline-methods] */
|
|
public DriveRequest<com.google.api.services.drive.model.About> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public About() {
|
|
}
|
|
|
|
public Get get() {
|
|
Get get = new Get();
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class Builder extends AbstractGoogleJsonClient.Builder {
|
|
public Builder(HttpTransport httpTransport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer) {
|
|
super(httpTransport, jsonFactory, chooseEndpoint(httpTransport), Drive.DEFAULT_SERVICE_PATH, httpRequestInitializer, false);
|
|
setBatchPath(Drive.DEFAULT_BATCH_PATH);
|
|
}
|
|
|
|
private static String chooseEndpoint(HttpTransport httpTransport) {
|
|
String str = System.getenv("GOOGLE_API_USE_MTLS_ENDPOINT");
|
|
if (str == null) {
|
|
str = "auto";
|
|
}
|
|
if (!"always".equals(str)) {
|
|
if (!"auto".equals(str) || httpTransport == null || !httpTransport.isMtls()) {
|
|
return Drive.DEFAULT_ROOT_URL;
|
|
}
|
|
return Drive.DEFAULT_MTLS_ROOT_URL;
|
|
}
|
|
return Drive.DEFAULT_MTLS_ROOT_URL;
|
|
}
|
|
|
|
public Builder setDriveRequestInitializer(DriveRequestInitializer driveRequestInitializer) {
|
|
return (Builder) super.setGoogleClientRequestInitializer((GoogleClientRequestInitializer) driveRequestInitializer);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setBatchPath(String str) {
|
|
return (Builder) super.setBatchPath(str);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Drive build() {
|
|
return new Drive(this);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setApplicationName(String str) {
|
|
return (Builder) super.setApplicationName(str);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer) {
|
|
return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer) {
|
|
return (Builder) super.setHttpRequestInitializer(httpRequestInitializer);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setRootUrl(String str) {
|
|
return (Builder) super.setRootUrl(str);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setServicePath(String str) {
|
|
return (Builder) super.setServicePath(str);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setSuppressAllChecks(boolean z) {
|
|
return (Builder) super.setSuppressAllChecks(z);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setSuppressPatternChecks(boolean z) {
|
|
return (Builder) super.setSuppressPatternChecks(z);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder, com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
|
|
public Builder setSuppressRequiredParameterChecks(boolean z) {
|
|
return (Builder) super.setSuppressRequiredParameterChecks(z);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Changes {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class GetStartPageToken extends DriveRequest<StartPageToken> {
|
|
private static final String REST_PATH = "changes/startPageToken";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
public GetStartPageToken() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, StartPageToken.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public GetStartPageToken setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public GetStartPageToken setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public GetStartPageToken setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public GetStartPageToken setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<StartPageToken> setAlt2(String str) {
|
|
return (GetStartPageToken) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<StartPageToken> setFields2(String str) {
|
|
return (GetStartPageToken) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<StartPageToken> setKey2(String str) {
|
|
return (GetStartPageToken) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<StartPageToken> setOauthToken2(String str) {
|
|
return (GetStartPageToken) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<StartPageToken> setPrettyPrint2(Boolean bool) {
|
|
return (GetStartPageToken) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<StartPageToken> setQuotaUser2(String str) {
|
|
return (GetStartPageToken) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<StartPageToken> setUserIp2(String str) {
|
|
return (GetStartPageToken) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public GetStartPageToken set(String str, Object obj) {
|
|
return (GetStartPageToken) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<ChangeList> {
|
|
private static final String REST_PATH = "changes";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean includeCorpusRemovals;
|
|
|
|
@Key
|
|
private Boolean includeItemsFromAllDrives;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean includeRemoved;
|
|
|
|
@Key
|
|
private Boolean includeTeamDriveItems;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private Boolean restrictToMyDrive;
|
|
|
|
@Key
|
|
private String spaces;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
public List(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, ChangeList.class);
|
|
this.pageToken = (String) Preconditions.checkNotNull(str, "Required parameter pageToken must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getIncludeCorpusRemovals() {
|
|
return this.includeCorpusRemovals;
|
|
}
|
|
|
|
public Boolean getIncludeItemsFromAllDrives() {
|
|
return this.includeItemsFromAllDrives;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getIncludeRemoved() {
|
|
return this.includeRemoved;
|
|
}
|
|
|
|
public Boolean getIncludeTeamDriveItems() {
|
|
return this.includeTeamDriveItems;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public Boolean getRestrictToMyDrive() {
|
|
return this.restrictToMyDrive;
|
|
}
|
|
|
|
public String getSpaces() {
|
|
return this.spaces;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public boolean isIncludeCorpusRemovals() {
|
|
Boolean bool = this.includeCorpusRemovals;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIncludeItemsFromAllDrives() {
|
|
Boolean bool = this.includeItemsFromAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIncludeRemoved() {
|
|
Boolean bool = this.includeRemoved;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public boolean isIncludeTeamDriveItems() {
|
|
Boolean bool = this.includeTeamDriveItems;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isRestrictToMyDrive() {
|
|
Boolean bool = this.restrictToMyDrive;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeCorpusRemovals(Boolean bool) {
|
|
this.includeCorpusRemovals = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeItemsFromAllDrives(Boolean bool) {
|
|
this.includeItemsFromAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeRemoved(Boolean bool) {
|
|
this.includeRemoved = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeTeamDriveItems(Boolean bool) {
|
|
this.includeTeamDriveItems = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setRestrictToMyDrive(Boolean bool) {
|
|
this.restrictToMyDrive = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setSpaces(String str) {
|
|
this.spaces = str;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<ChangeList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<ChangeList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<ChangeList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<ChangeList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<ChangeList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<ChangeList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<ChangeList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Watch extends DriveRequest<Channel> {
|
|
private static final String REST_PATH = "changes/watch";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean includeCorpusRemovals;
|
|
|
|
@Key
|
|
private Boolean includeItemsFromAllDrives;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean includeRemoved;
|
|
|
|
@Key
|
|
private Boolean includeTeamDriveItems;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private Boolean restrictToMyDrive;
|
|
|
|
@Key
|
|
private String spaces;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
public Watch(String str, Channel channel) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, channel, Channel.class);
|
|
this.pageToken = (String) Preconditions.checkNotNull(str, "Required parameter pageToken must be specified.");
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getIncludeCorpusRemovals() {
|
|
return this.includeCorpusRemovals;
|
|
}
|
|
|
|
public Boolean getIncludeItemsFromAllDrives() {
|
|
return this.includeItemsFromAllDrives;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getIncludeRemoved() {
|
|
return this.includeRemoved;
|
|
}
|
|
|
|
public Boolean getIncludeTeamDriveItems() {
|
|
return this.includeTeamDriveItems;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public Boolean getRestrictToMyDrive() {
|
|
return this.restrictToMyDrive;
|
|
}
|
|
|
|
public String getSpaces() {
|
|
return this.spaces;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public boolean isIncludeCorpusRemovals() {
|
|
Boolean bool = this.includeCorpusRemovals;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIncludeItemsFromAllDrives() {
|
|
Boolean bool = this.includeItemsFromAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIncludeRemoved() {
|
|
Boolean bool = this.includeRemoved;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public boolean isIncludeTeamDriveItems() {
|
|
Boolean bool = this.includeTeamDriveItems;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isRestrictToMyDrive() {
|
|
Boolean bool = this.restrictToMyDrive;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Watch setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeCorpusRemovals(Boolean bool) {
|
|
this.includeCorpusRemovals = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeItemsFromAllDrives(Boolean bool) {
|
|
this.includeItemsFromAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeRemoved(Boolean bool) {
|
|
this.includeRemoved = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeTeamDriveItems(Boolean bool) {
|
|
this.includeTeamDriveItems = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public Watch setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setRestrictToMyDrive(Boolean bool) {
|
|
this.restrictToMyDrive = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setSpaces(String str) {
|
|
this.spaces = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Channel> setAlt2(String str) {
|
|
return (Watch) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Channel> setFields2(String str) {
|
|
return (Watch) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Channel> setKey2(String str) {
|
|
return (Watch) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Channel> setOauthToken2(String str) {
|
|
return (Watch) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Channel> setPrettyPrint2(Boolean bool) {
|
|
return (Watch) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Channel> setQuotaUser2(String str) {
|
|
return (Watch) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Channel> setUserIp2(String str) {
|
|
return (Watch) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Watch set(String str, Object obj) {
|
|
return (Watch) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Changes() {
|
|
}
|
|
|
|
public GetStartPageToken getStartPageToken() {
|
|
GetStartPageToken getStartPageToken = new GetStartPageToken();
|
|
Drive.this.initialize(getStartPageToken);
|
|
return getStartPageToken;
|
|
}
|
|
|
|
public List list(String str) {
|
|
List list = new List(str);
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Watch watch(String str, Channel channel) {
|
|
Watch watch = new Watch(str, channel);
|
|
Drive.this.initialize(watch);
|
|
return watch;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Channels {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Stop extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "channels/stop";
|
|
|
|
public Stop(Channel channel) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, channel, Void.class);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Stop) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Stop) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Stop) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Stop) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Stop) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Stop) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Stop) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Stop set(String str, Object obj) {
|
|
return (Stop) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Channels() {
|
|
}
|
|
|
|
public Stop stop(Channel channel) {
|
|
Stop stop = new Stop(channel);
|
|
Drive.this.initialize(stop);
|
|
return stop;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Comments {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<Comment> {
|
|
private static final String REST_PATH = "files/{fileId}/comments";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
public Create(String str, Comment comment) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, comment, Comment.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
checkRequiredParameter(comment, "content");
|
|
checkRequiredParameter(comment.getContent(), "Comment.getContent()");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Create setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Comment> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Comment> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Comment> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Comment> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Comment> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Comment> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Comment> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
public Delete(String str, String str2) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Delete setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<Comment> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean includeDeleted;
|
|
|
|
public Get(String str, String str2) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, Comment.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getIncludeDeleted() {
|
|
return this.includeDeleted;
|
|
}
|
|
|
|
public boolean isIncludeDeleted() {
|
|
Boolean bool = this.includeDeleted;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setIncludeDeleted(Boolean bool) {
|
|
this.includeDeleted = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Comment> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Comment> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Comment> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Comment> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Comment> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Comment> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Comment> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<CommentList> {
|
|
private static final String REST_PATH = "files/{fileId}/comments";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean includeDeleted;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private String startModifiedTime;
|
|
|
|
public List(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, CommentList.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getIncludeDeleted() {
|
|
return this.includeDeleted;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public String getStartModifiedTime() {
|
|
return this.startModifiedTime;
|
|
}
|
|
|
|
public boolean isIncludeDeleted() {
|
|
Boolean bool = this.includeDeleted;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeDeleted(Boolean bool) {
|
|
this.includeDeleted = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setStartModifiedTime(String str) {
|
|
this.startModifiedTime = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<CommentList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<CommentList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<CommentList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<CommentList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<CommentList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<CommentList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<CommentList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<Comment> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
public Update(String str, String str2, Comment comment) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, comment, Comment.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
checkRequiredParameter(comment, "content");
|
|
checkRequiredParameter(comment.getContent(), "Comment.getContent()");
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Update setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Comment> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Comment> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Comment> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Comment> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Comment> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Comment> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Comment> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Comments() {
|
|
}
|
|
|
|
public Create create(String str, Comment comment) {
|
|
Create create = new Create(str, comment);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str, String str2) {
|
|
Delete delete = new Delete(str, str2);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str, String str2) {
|
|
Get get = new Get(str, str2);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list(String str) {
|
|
List list = new List(str);
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Update update(String str, String str2, Comment comment) {
|
|
Update update = new Update(str, str2, comment);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Drives {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<com.google.api.services.drive.model.Drive> {
|
|
private static final String REST_PATH = "drives";
|
|
|
|
@Key
|
|
private String requestId;
|
|
|
|
public Create(String str, com.google.api.services.drive.model.Drive drive) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, drive, com.google.api.services.drive.model.Drive.class);
|
|
this.requestId = (String) Preconditions.checkNotNull(str, "Required parameter requestId must be specified.");
|
|
checkRequiredParameter(drive, "content");
|
|
checkRequiredParameter(drive.getName(), "Drive.getName()");
|
|
}
|
|
|
|
public String getRequestId() {
|
|
return this.requestId;
|
|
}
|
|
|
|
public Create setRequestId(String str) {
|
|
this.requestId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "drives/{driveId}";
|
|
|
|
@Key
|
|
private Boolean allowItemDeletion;
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Delete(String str) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.driveId = (String) Preconditions.checkNotNull(str, "Required parameter driveId must be specified.");
|
|
}
|
|
|
|
public Boolean getAllowItemDeletion() {
|
|
return this.allowItemDeletion;
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isAllowItemDeletion() {
|
|
Boolean bool = this.allowItemDeletion;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Delete setAllowItemDeletion(Boolean bool) {
|
|
this.allowItemDeletion = bool;
|
|
return this;
|
|
}
|
|
|
|
public Delete setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<com.google.api.services.drive.model.Drive> {
|
|
private static final String REST_PATH = "drives/{driveId}";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Get(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, com.google.api.services.drive.model.Drive.class);
|
|
this.driveId = (String) Preconditions.checkNotNull(str, "Required parameter driveId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Hide extends DriveRequest<com.google.api.services.drive.model.Drive> {
|
|
private static final String REST_PATH = "drives/{driveId}/hide";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
public Hide(String str) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, null, com.google.api.services.drive.model.Drive.class);
|
|
this.driveId = (String) Preconditions.checkNotNull(str, "Required parameter driveId must be specified.");
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Hide setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setAlt2(String str) {
|
|
return (Hide) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setFields2(String str) {
|
|
return (Hide) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setKey2(String str) {
|
|
return (Hide) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setOauthToken2(String str) {
|
|
return (Hide) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setPrettyPrint2(Boolean bool) {
|
|
return (Hide) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setQuotaUser2(String str) {
|
|
return (Hide) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setUserIp2(String str) {
|
|
return (Hide) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Hide set(String str, Object obj) {
|
|
return (Hide) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<DriveList> {
|
|
private static final String REST_PATH = "drives";
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private String q;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public List() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, DriveList.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public String getQ() {
|
|
return this.q;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setQ(String str) {
|
|
this.q = str;
|
|
return this;
|
|
}
|
|
|
|
public List setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<DriveList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<DriveList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<DriveList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<DriveList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<DriveList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<DriveList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<DriveList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Unhide extends DriveRequest<com.google.api.services.drive.model.Drive> {
|
|
private static final String REST_PATH = "drives/{driveId}/unhide";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
public Unhide(String str) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, null, com.google.api.services.drive.model.Drive.class);
|
|
this.driveId = (String) Preconditions.checkNotNull(str, "Required parameter driveId must be specified.");
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Unhide setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setAlt2(String str) {
|
|
return (Unhide) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setFields2(String str) {
|
|
return (Unhide) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setKey2(String str) {
|
|
return (Unhide) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setOauthToken2(String str) {
|
|
return (Unhide) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setPrettyPrint2(Boolean bool) {
|
|
return (Unhide) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setQuotaUser2(String str) {
|
|
return (Unhide) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setUserIp2(String str) {
|
|
return (Unhide) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Unhide set(String str, Object obj) {
|
|
return (Unhide) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<com.google.api.services.drive.model.Drive> {
|
|
private static final String REST_PATH = "drives/{driveId}";
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Update(String str, com.google.api.services.drive.model.Drive drive) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, drive, com.google.api.services.drive.model.Drive.class);
|
|
this.driveId = (String) Preconditions.checkNotNull(str, "Required parameter driveId must be specified.");
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Update setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<com.google.api.services.drive.model.Drive> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Drives() {
|
|
}
|
|
|
|
public Create create(String str, com.google.api.services.drive.model.Drive drive) {
|
|
Create create = new Create(str, drive);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str) {
|
|
Delete delete = new Delete(str);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str) {
|
|
Get get = new Get(str);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public Hide hide(String str) {
|
|
Hide hide = new Hide(str);
|
|
Drive.this.initialize(hide);
|
|
return hide;
|
|
}
|
|
|
|
public List list() {
|
|
List list = new List();
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Unhide unhide(String str) {
|
|
Unhide unhide = new Unhide(str);
|
|
Drive.this.initialize(unhide);
|
|
return unhide;
|
|
}
|
|
|
|
public Update update(String str, com.google.api.services.drive.model.Drive drive) {
|
|
Update update = new Update(str, drive);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Permissions {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<Permission> {
|
|
private static final String REST_PATH = "files/{fileId}/permissions";
|
|
|
|
@Key
|
|
private String emailMessage;
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean moveToNewOwnersRoot;
|
|
|
|
@Key
|
|
private Boolean sendNotificationEmail;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean transferOwnership;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Create(String str, Permission permission) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, permission, Permission.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
checkRequiredParameter(permission, "content");
|
|
checkRequiredParameter(permission.getRole(), "Permission.getRole()");
|
|
checkRequiredParameter(permission, "content");
|
|
checkRequiredParameter(permission.getType(), "Permission.getType()");
|
|
}
|
|
|
|
public String getEmailMessage() {
|
|
return this.emailMessage;
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getMoveToNewOwnersRoot() {
|
|
return this.moveToNewOwnersRoot;
|
|
}
|
|
|
|
public Boolean getSendNotificationEmail() {
|
|
return this.sendNotificationEmail;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getTransferOwnership() {
|
|
return this.transferOwnership;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isMoveToNewOwnersRoot() {
|
|
Boolean bool = this.moveToNewOwnersRoot;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isTransferOwnership() {
|
|
Boolean bool = this.transferOwnership;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Create setEmailMessage(String str) {
|
|
this.emailMessage = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setMoveToNewOwnersRoot(Boolean bool) {
|
|
this.moveToNewOwnersRoot = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setSendNotificationEmail(Boolean bool) {
|
|
this.sendNotificationEmail = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setTransferOwnership(Boolean bool) {
|
|
this.transferOwnership = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Permission> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Permission> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Permission> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Permission> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Permission> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Permission> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Permission> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}/permissions/{permissionId}";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String permissionId;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Delete(String str, String str2) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.permissionId = (String) Preconditions.checkNotNull(str2, "Required parameter permissionId must be specified.");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getPermissionId() {
|
|
return this.permissionId;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Delete setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setPermissionId(String str) {
|
|
this.permissionId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Delete setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Delete setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<Permission> {
|
|
private static final String REST_PATH = "files/{fileId}/permissions/{permissionId}";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String permissionId;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Get(String str, String str2) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, Permission.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.permissionId = (String) Preconditions.checkNotNull(str2, "Required parameter permissionId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getPermissionId() {
|
|
return this.permissionId;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setPermissionId(String str) {
|
|
this.permissionId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Permission> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Permission> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Permission> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Permission> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Permission> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Permission> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Permission> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<PermissionList> {
|
|
private static final String REST_PATH = "files/{fileId}/permissions";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public List(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, PermissionList.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<PermissionList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<PermissionList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<PermissionList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<PermissionList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<PermissionList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<PermissionList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<PermissionList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<Permission> {
|
|
private static final String REST_PATH = "files/{fileId}/permissions/{permissionId}";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String permissionId;
|
|
|
|
@Key
|
|
private Boolean removeExpiration;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean transferOwnership;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Update(String str, String str2, Permission permission) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, permission, Permission.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.permissionId = (String) Preconditions.checkNotNull(str2, "Required parameter permissionId must be specified.");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getPermissionId() {
|
|
return this.permissionId;
|
|
}
|
|
|
|
public Boolean getRemoveExpiration() {
|
|
return this.removeExpiration;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getTransferOwnership() {
|
|
return this.transferOwnership;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isRemoveExpiration() {
|
|
Boolean bool = this.removeExpiration;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isTransferOwnership() {
|
|
Boolean bool = this.transferOwnership;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Update setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setPermissionId(String str) {
|
|
this.permissionId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setRemoveExpiration(Boolean bool) {
|
|
this.removeExpiration = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setTransferOwnership(Boolean bool) {
|
|
this.transferOwnership = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Permission> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Permission> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Permission> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Permission> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Permission> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Permission> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Permission> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Permissions() {
|
|
}
|
|
|
|
public Create create(String str, Permission permission) {
|
|
Create create = new Create(str, permission);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str, String str2) {
|
|
Delete delete = new Delete(str, str2);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str, String str2) {
|
|
Get get = new Get(str, str2);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list(String str) {
|
|
List list = new List(str);
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Update update(String str, String str2, Permission permission) {
|
|
Update update = new Update(str, str2, permission);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Replies {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<Reply> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}/replies";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
public Create(String str, String str2, Reply reply) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, reply, Reply.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Create setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Reply> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Reply> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Reply> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Reply> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Reply> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Reply> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Reply> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}/replies/{replyId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String replyId;
|
|
|
|
public Delete(String str, String str2, String str3) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
this.replyId = (String) Preconditions.checkNotNull(str3, "Required parameter replyId must be specified.");
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getReplyId() {
|
|
return this.replyId;
|
|
}
|
|
|
|
public Delete setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setReplyId(String str) {
|
|
this.replyId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<Reply> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}/replies/{replyId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean includeDeleted;
|
|
|
|
@Key
|
|
private String replyId;
|
|
|
|
public Get(String str, String str2, String str3) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, Reply.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
this.replyId = (String) Preconditions.checkNotNull(str3, "Required parameter replyId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getIncludeDeleted() {
|
|
return this.includeDeleted;
|
|
}
|
|
|
|
public String getReplyId() {
|
|
return this.replyId;
|
|
}
|
|
|
|
public boolean isIncludeDeleted() {
|
|
Boolean bool = this.includeDeleted;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setIncludeDeleted(Boolean bool) {
|
|
this.includeDeleted = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setReplyId(String str) {
|
|
this.replyId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Reply> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Reply> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Reply> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Reply> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Reply> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Reply> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Reply> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<ReplyList> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}/replies";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean includeDeleted;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
public List(String str, String str2) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, ReplyList.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getIncludeDeleted() {
|
|
return this.includeDeleted;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public boolean isIncludeDeleted() {
|
|
Boolean bool = this.includeDeleted;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeDeleted(Boolean bool) {
|
|
this.includeDeleted = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<ReplyList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<ReplyList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<ReplyList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<ReplyList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<ReplyList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<ReplyList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<ReplyList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<Reply> {
|
|
private static final String REST_PATH = "files/{fileId}/comments/{commentId}/replies/{replyId}";
|
|
|
|
@Key
|
|
private String commentId;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String replyId;
|
|
|
|
public Update(String str, String str2, String str3, Reply reply) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, reply, Reply.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.commentId = (String) Preconditions.checkNotNull(str2, "Required parameter commentId must be specified.");
|
|
this.replyId = (String) Preconditions.checkNotNull(str3, "Required parameter replyId must be specified.");
|
|
checkRequiredParameter(reply, "content");
|
|
checkRequiredParameter(reply.getContent(), "Reply.getContent()");
|
|
}
|
|
|
|
public String getCommentId() {
|
|
return this.commentId;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getReplyId() {
|
|
return this.replyId;
|
|
}
|
|
|
|
public Update setCommentId(String str) {
|
|
this.commentId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setReplyId(String str) {
|
|
this.replyId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Reply> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Reply> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Reply> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Reply> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Reply> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Reply> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Reply> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Replies() {
|
|
}
|
|
|
|
public Create create(String str, String str2, Reply reply) {
|
|
Create create = new Create(str, str2, reply);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str, String str2, String str3) {
|
|
Delete delete = new Delete(str, str2, str3);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str, String str2, String str3) {
|
|
Get get = new Get(str, str2, str3);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list(String str, String str2) {
|
|
List list = new List(str, str2);
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Update update(String str, String str2, String str3, Reply reply) {
|
|
Update update = new Update(str, str2, str3, reply);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Revisions {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}/revisions/{revisionId}";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String revisionId;
|
|
|
|
public Delete(String str, String str2) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.revisionId = (String) Preconditions.checkNotNull(str2, "Required parameter revisionId must be specified.");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getRevisionId() {
|
|
return this.revisionId;
|
|
}
|
|
|
|
public Delete setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setRevisionId(String str) {
|
|
this.revisionId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<Revision> {
|
|
private static final String REST_PATH = "files/{fileId}/revisions/{revisionId}";
|
|
|
|
@Key
|
|
private Boolean acknowledgeAbuse;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String revisionId;
|
|
|
|
public Get(String str, String str2) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, Revision.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.revisionId = (String) Preconditions.checkNotNull(str2, "Required parameter revisionId must be specified.");
|
|
initializeMediaDownload();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public GenericUrl buildHttpRequestUrl() {
|
|
String baseUrl;
|
|
if ("media".equals(get("alt")) && getMediaHttpUploader() == null) {
|
|
baseUrl = Drive.this.getRootUrl() + "download/" + Drive.this.getServicePath();
|
|
} else {
|
|
baseUrl = Drive.this.getBaseUrl();
|
|
}
|
|
return new GenericUrl(UriTemplate.expand(baseUrl, getUriTemplate(), this, true));
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeMedia() {
|
|
return super.executeMedia();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public void executeMediaAndDownloadTo(OutputStream outputStream) {
|
|
super.executeMediaAndDownloadTo(outputStream);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public InputStream executeMediaAsInputStream() {
|
|
return super.executeMediaAsInputStream();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public Boolean getAcknowledgeAbuse() {
|
|
return this.acknowledgeAbuse;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getRevisionId() {
|
|
return this.revisionId;
|
|
}
|
|
|
|
public boolean isAcknowledgeAbuse() {
|
|
Boolean bool = this.acknowledgeAbuse;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setAcknowledgeAbuse(Boolean bool) {
|
|
this.acknowledgeAbuse = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setRevisionId(String str) {
|
|
this.revisionId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Revision> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Revision> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Revision> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Revision> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Revision> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Revision> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Revision> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<RevisionList> {
|
|
private static final String REST_PATH = "files/{fileId}/revisions";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
public List(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, RevisionList.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public List setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<RevisionList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<RevisionList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<RevisionList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<RevisionList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<RevisionList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<RevisionList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<RevisionList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<Revision> {
|
|
private static final String REST_PATH = "files/{fileId}/revisions/{revisionId}";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String revisionId;
|
|
|
|
public Update(String str, String str2, Revision revision) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, revision, Revision.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.revisionId = (String) Preconditions.checkNotNull(str2, "Required parameter revisionId must be specified.");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getRevisionId() {
|
|
return this.revisionId;
|
|
}
|
|
|
|
public Update setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setRevisionId(String str) {
|
|
this.revisionId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Revision> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Revision> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Revision> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Revision> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Revision> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Revision> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Revision> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Revisions() {
|
|
}
|
|
|
|
public Delete delete(String str, String str2) {
|
|
Delete delete = new Delete(str, str2);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str, String str2) {
|
|
Get get = new Get(str, str2);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list(String str) {
|
|
List list = new List(str);
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Update update(String str, String str2, Revision revision) {
|
|
Update update = new Update(str, str2, revision);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Teamdrives {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<TeamDrive> {
|
|
private static final String REST_PATH = "teamdrives";
|
|
|
|
@Key
|
|
private String requestId;
|
|
|
|
public Create(String str, TeamDrive teamDrive) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, teamDrive, TeamDrive.class);
|
|
this.requestId = (String) Preconditions.checkNotNull(str, "Required parameter requestId must be specified.");
|
|
checkRequiredParameter(teamDrive, "content");
|
|
checkRequiredParameter(teamDrive.getName(), "TeamDrive.getName()");
|
|
}
|
|
|
|
public String getRequestId() {
|
|
return this.requestId;
|
|
}
|
|
|
|
public Create setRequestId(String str) {
|
|
this.requestId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<TeamDrive> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<TeamDrive> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<TeamDrive> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<TeamDrive> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<TeamDrive> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<TeamDrive> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<TeamDrive> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "teamdrives/{teamDriveId}";
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
public Delete(String str) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.teamDriveId = (String) Preconditions.checkNotNull(str, "Required parameter teamDriveId must be specified.");
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public Delete setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<TeamDrive> {
|
|
private static final String REST_PATH = "teamdrives/{teamDriveId}";
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Get(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, TeamDrive.class);
|
|
this.teamDriveId = (String) Preconditions.checkNotNull(str, "Required parameter teamDriveId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<TeamDrive> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<TeamDrive> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<TeamDrive> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<TeamDrive> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<TeamDrive> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<TeamDrive> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<TeamDrive> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<TeamDriveList> {
|
|
private static final String REST_PATH = "teamdrives";
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private String q;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public List() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, TeamDriveList.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public String getQ() {
|
|
return this.q;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setQ(String str) {
|
|
this.q = str;
|
|
return this;
|
|
}
|
|
|
|
public List setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<TeamDriveList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<TeamDriveList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<TeamDriveList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<TeamDriveList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<TeamDriveList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<TeamDriveList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<TeamDriveList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<TeamDrive> {
|
|
private static final String REST_PATH = "teamdrives/{teamDriveId}";
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
@Key
|
|
private Boolean useDomainAdminAccess;
|
|
|
|
public Update(String str, TeamDrive teamDrive) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, teamDrive, TeamDrive.class);
|
|
this.teamDriveId = (String) Preconditions.checkNotNull(str, "Required parameter teamDriveId must be specified.");
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public Boolean getUseDomainAdminAccess() {
|
|
return this.useDomainAdminAccess;
|
|
}
|
|
|
|
public boolean isUseDomainAdminAccess() {
|
|
Boolean bool = this.useDomainAdminAccess;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Update setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setUseDomainAdminAccess(Boolean bool) {
|
|
this.useDomainAdminAccess = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<TeamDrive> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<TeamDrive> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<TeamDrive> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<TeamDrive> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<TeamDrive> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<TeamDrive> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<TeamDrive> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Teamdrives() {
|
|
}
|
|
|
|
public Create create(String str, TeamDrive teamDrive) {
|
|
Create create = new Create(str, teamDrive);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str) {
|
|
Delete delete = new Delete(str);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public Get get(String str) {
|
|
Get get = new Get(str);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list() {
|
|
List list = new List();
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public Update update(String str, TeamDrive teamDrive) {
|
|
Update update = new Update(str, teamDrive);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x0022, code lost:
|
|
|
|
if (com.google.api.client.googleapis.GoogleUtils.BUGFIX_VERSION.intValue() < 1) goto L10;
|
|
*/
|
|
static {
|
|
/*
|
|
java.lang.Integer r0 = com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION
|
|
int r1 = r0.intValue()
|
|
r2 = 0
|
|
r3 = 1
|
|
if (r1 != r3) goto L24
|
|
java.lang.Integer r1 = com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION
|
|
int r4 = r1.intValue()
|
|
r5 = 32
|
|
if (r4 >= r5) goto L2b
|
|
int r1 = r1.intValue()
|
|
r4 = 31
|
|
if (r1 != r4) goto L24
|
|
java.lang.Integer r1 = com.google.api.client.googleapis.GoogleUtils.BUGFIX_VERSION
|
|
int r1 = r1.intValue()
|
|
if (r1 >= r3) goto L2b
|
|
L24:
|
|
int r0 = r0.intValue()
|
|
r1 = 2
|
|
if (r0 < r1) goto L2d
|
|
L2b:
|
|
r0 = r3
|
|
goto L2e
|
|
L2d:
|
|
r0 = r2
|
|
L2e:
|
|
java.lang.Object[] r1 = new java.lang.Object[r3]
|
|
java.lang.String r3 = com.google.api.client.googleapis.GoogleUtils.VERSION
|
|
r1[r2] = r3
|
|
java.lang.String r2 = "You are currently running with version %s of google-api-client. You need at least version 1.31.1 of google-api-client to run version 2.0.0 of the Drive API library."
|
|
com.google.api.client.util.Preconditions.checkState(r0, r2, r1)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.api.services.drive.Drive.<clinit>():void");
|
|
}
|
|
|
|
public Drive(HttpTransport httpTransport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer) {
|
|
this(new Builder(httpTransport, jsonFactory, httpRequestInitializer));
|
|
}
|
|
|
|
public About about() {
|
|
return new About();
|
|
}
|
|
|
|
public Changes changes() {
|
|
return new Changes();
|
|
}
|
|
|
|
public Channels channels() {
|
|
return new Channels();
|
|
}
|
|
|
|
public Comments comments() {
|
|
return new Comments();
|
|
}
|
|
|
|
public Drives drives() {
|
|
return new Drives();
|
|
}
|
|
|
|
public Files files() {
|
|
return new Files();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClient
|
|
public void initialize(AbstractGoogleClientRequest<?> abstractGoogleClientRequest) {
|
|
super.initialize(abstractGoogleClientRequest);
|
|
}
|
|
|
|
public Permissions permissions() {
|
|
return new Permissions();
|
|
}
|
|
|
|
public Replies replies() {
|
|
return new Replies();
|
|
}
|
|
|
|
public Revisions revisions() {
|
|
return new Revisions();
|
|
}
|
|
|
|
public Teamdrives teamdrives() {
|
|
return new Teamdrives();
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Files {
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Copy extends DriveRequest<File> {
|
|
private static final String REST_PATH = "files/{fileId}/copy";
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean ignoreDefaultVisibility;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean keepRevisionForever;
|
|
|
|
@Key
|
|
private String ocrLanguage;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
public Copy(String str, File file) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, file, File.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getIgnoreDefaultVisibility() {
|
|
return this.ignoreDefaultVisibility;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getKeepRevisionForever() {
|
|
return this.keepRevisionForever;
|
|
}
|
|
|
|
public String getOcrLanguage() {
|
|
return this.ocrLanguage;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIgnoreDefaultVisibility() {
|
|
Boolean bool = this.ignoreDefaultVisibility;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isKeepRevisionForever() {
|
|
Boolean bool = this.keepRevisionForever;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Copy setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
public Copy setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Copy setIgnoreDefaultVisibility(Boolean bool) {
|
|
this.ignoreDefaultVisibility = bool;
|
|
return this;
|
|
}
|
|
|
|
public Copy setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Copy setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Copy setKeepRevisionForever(Boolean bool) {
|
|
this.keepRevisionForever = bool;
|
|
return this;
|
|
}
|
|
|
|
public Copy setOcrLanguage(String str) {
|
|
this.ocrLanguage = str;
|
|
return this;
|
|
}
|
|
|
|
public Copy setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Copy setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<File> setAlt2(String str) {
|
|
return (Copy) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<File> setFields2(String str) {
|
|
return (Copy) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<File> setKey2(String str) {
|
|
return (Copy) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<File> setOauthToken2(String str) {
|
|
return (Copy) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<File> setPrettyPrint2(Boolean bool) {
|
|
return (Copy) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<File> setQuotaUser2(String str) {
|
|
return (Copy) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<File> setUserIp2(String str) {
|
|
return (Copy) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Copy set(String str, Object obj) {
|
|
return (Copy) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Create extends DriveRequest<File> {
|
|
private static final String REST_PATH = "files";
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
@Key
|
|
private Boolean ignoreDefaultVisibility;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean keepRevisionForever;
|
|
|
|
@Key
|
|
private String ocrLanguage;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean useContentAsIndexableText;
|
|
|
|
public Create(File file) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, file, File.class);
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public Boolean getIgnoreDefaultVisibility() {
|
|
return this.ignoreDefaultVisibility;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getKeepRevisionForever() {
|
|
return this.keepRevisionForever;
|
|
}
|
|
|
|
public String getOcrLanguage() {
|
|
return this.ocrLanguage;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getUseContentAsIndexableText() {
|
|
return this.useContentAsIndexableText;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIgnoreDefaultVisibility() {
|
|
Boolean bool = this.ignoreDefaultVisibility;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isKeepRevisionForever() {
|
|
Boolean bool = this.keepRevisionForever;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseContentAsIndexableText() {
|
|
Boolean bool = this.useContentAsIndexableText;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Create setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setIgnoreDefaultVisibility(Boolean bool) {
|
|
this.ignoreDefaultVisibility = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setKeepRevisionForever(Boolean bool) {
|
|
this.keepRevisionForever = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setOcrLanguage(String str) {
|
|
this.ocrLanguage = str;
|
|
return this;
|
|
}
|
|
|
|
public Create setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Create setUseContentAsIndexableText(Boolean bool) {
|
|
this.useContentAsIndexableText = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<File> setAlt2(String str) {
|
|
return (Create) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<File> setFields2(String str) {
|
|
return (Create) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<File> setKey2(String str) {
|
|
return (Create) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<File> setOauthToken2(String str) {
|
|
return (Create) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<File> setPrettyPrint2(Boolean bool) {
|
|
return (Create) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<File> setQuotaUser2(String str) {
|
|
return (Create) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<File> setUserIp2(String str) {
|
|
return (Create) super.setUserIp2(str);
|
|
}
|
|
|
|
public Create(File file, AbstractInputStreamContent abstractInputStreamContent) {
|
|
super(Drive.this, HttpMethods.POST, "/upload/" + Drive.this.getServicePath() + REST_PATH, file, File.class);
|
|
initializeMediaUpload(abstractInputStreamContent);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Create set(String str, Object obj) {
|
|
return (Create) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Delete extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}";
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
public Delete(String str) {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Delete setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
public Delete setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Delete setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Delete setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Delete) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Delete) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Delete) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Delete) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Delete) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Delete) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Delete) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Delete set(String str, Object obj) {
|
|
return (Delete) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class EmptyTrash extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/trash";
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
public EmptyTrash() {
|
|
super(Drive.this, HttpMethods.DELETE, REST_PATH, null, Void.class);
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public EmptyTrash setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (EmptyTrash) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (EmptyTrash) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (EmptyTrash) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (EmptyTrash) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (EmptyTrash) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (EmptyTrash) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (EmptyTrash) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public EmptyTrash set(String str, Object obj) {
|
|
return (EmptyTrash) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Export extends DriveRequest<Void> {
|
|
private static final String REST_PATH = "files/{fileId}/export";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String mimeType;
|
|
|
|
public Export(String str, String str2) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, Void.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
this.mimeType = (String) Preconditions.checkNotNull(str2, "Required parameter mimeType must be specified.");
|
|
initializeMediaDownload();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeMedia() {
|
|
return super.executeMedia();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public void executeMediaAndDownloadTo(OutputStream outputStream) {
|
|
super.executeMediaAndDownloadTo(outputStream);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public InputStream executeMediaAsInputStream() {
|
|
return super.executeMediaAsInputStream();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getMimeType() {
|
|
return this.mimeType;
|
|
}
|
|
|
|
public Export setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Export setMimeType(String str) {
|
|
this.mimeType = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Void> setAlt2(String str) {
|
|
return (Export) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Void> setFields2(String str) {
|
|
return (Export) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Void> setKey2(String str) {
|
|
return (Export) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Void> setOauthToken2(String str) {
|
|
return (Export) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Void> setPrettyPrint2(Boolean bool) {
|
|
return (Export) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Void> setQuotaUser2(String str) {
|
|
return (Export) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Void> setUserIp2(String str) {
|
|
return (Export) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Export set(String str, Object obj) {
|
|
return (Export) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class GenerateIds extends DriveRequest<GeneratedIds> {
|
|
private static final String REST_PATH = "files/generateIds";
|
|
|
|
@Key
|
|
private Integer count;
|
|
|
|
@Key
|
|
private String space;
|
|
|
|
@Key
|
|
private String type;
|
|
|
|
public GenerateIds() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, GeneratedIds.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public Integer getCount() {
|
|
return this.count;
|
|
}
|
|
|
|
public String getSpace() {
|
|
return this.space;
|
|
}
|
|
|
|
public String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public GenerateIds setCount(Integer num) {
|
|
this.count = num;
|
|
return this;
|
|
}
|
|
|
|
public GenerateIds setSpace(String str) {
|
|
this.space = str;
|
|
return this;
|
|
}
|
|
|
|
public GenerateIds setType(String str) {
|
|
this.type = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<GeneratedIds> setAlt2(String str) {
|
|
return (GenerateIds) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<GeneratedIds> setFields2(String str) {
|
|
return (GenerateIds) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<GeneratedIds> setKey2(String str) {
|
|
return (GenerateIds) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<GeneratedIds> setOauthToken2(String str) {
|
|
return (GenerateIds) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<GeneratedIds> setPrettyPrint2(Boolean bool) {
|
|
return (GenerateIds) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<GeneratedIds> setQuotaUser2(String str) {
|
|
return (GenerateIds) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<GeneratedIds> setUserIp2(String str) {
|
|
return (GenerateIds) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public GenerateIds set(String str, Object obj) {
|
|
return (GenerateIds) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Get extends DriveRequest<File> {
|
|
private static final String REST_PATH = "files/{fileId}";
|
|
|
|
@Key
|
|
private Boolean acknowledgeAbuse;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
public Get(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, File.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
initializeMediaDownload();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public GenericUrl buildHttpRequestUrl() {
|
|
String baseUrl;
|
|
if ("media".equals(get("alt")) && getMediaHttpUploader() == null) {
|
|
baseUrl = Drive.this.getRootUrl() + "download/" + Drive.this.getServicePath();
|
|
} else {
|
|
baseUrl = Drive.this.getBaseUrl();
|
|
}
|
|
return new GenericUrl(UriTemplate.expand(baseUrl, getUriTemplate(), this, true));
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeMedia() {
|
|
return super.executeMedia();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public void executeMediaAndDownloadTo(OutputStream outputStream) {
|
|
super.executeMediaAndDownloadTo(outputStream);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public InputStream executeMediaAsInputStream() {
|
|
return super.executeMediaAsInputStream();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public Boolean getAcknowledgeAbuse() {
|
|
return this.acknowledgeAbuse;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public boolean isAcknowledgeAbuse() {
|
|
Boolean bool = this.acknowledgeAbuse;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Get setAcknowledgeAbuse(Boolean bool) {
|
|
this.acknowledgeAbuse = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Get setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Get setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<File> setAlt2(String str) {
|
|
return (Get) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<File> setFields2(String str) {
|
|
return (Get) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<File> setKey2(String str) {
|
|
return (Get) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<File> setOauthToken2(String str) {
|
|
return (Get) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<File> setPrettyPrint2(Boolean bool) {
|
|
return (Get) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<File> setQuotaUser2(String str) {
|
|
return (Get) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<File> setUserIp2(String str) {
|
|
return (Get) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Get set(String str, Object obj) {
|
|
return (Get) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class List extends DriveRequest<FileList> {
|
|
private static final String REST_PATH = "files";
|
|
|
|
@Key
|
|
private String corpora;
|
|
|
|
@Key
|
|
private String corpus;
|
|
|
|
@Key
|
|
private String driveId;
|
|
|
|
@Key
|
|
private Boolean includeItemsFromAllDrives;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean includeTeamDriveItems;
|
|
|
|
@Key
|
|
private String orderBy;
|
|
|
|
@Key
|
|
private Integer pageSize;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
@Key
|
|
private String q;
|
|
|
|
@Key
|
|
private String spaces;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private String teamDriveId;
|
|
|
|
public List() {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, FileList.class);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getCorpora() {
|
|
return this.corpora;
|
|
}
|
|
|
|
public String getCorpus() {
|
|
return this.corpus;
|
|
}
|
|
|
|
public String getDriveId() {
|
|
return this.driveId;
|
|
}
|
|
|
|
public Boolean getIncludeItemsFromAllDrives() {
|
|
return this.includeItemsFromAllDrives;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getIncludeTeamDriveItems() {
|
|
return this.includeTeamDriveItems;
|
|
}
|
|
|
|
public String getOrderBy() {
|
|
return this.orderBy;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return this.pageSize;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public String getQ() {
|
|
return this.q;
|
|
}
|
|
|
|
public String getSpaces() {
|
|
return this.spaces;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public String getTeamDriveId() {
|
|
return this.teamDriveId;
|
|
}
|
|
|
|
public boolean isIncludeItemsFromAllDrives() {
|
|
Boolean bool = this.includeItemsFromAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isIncludeTeamDriveItems() {
|
|
Boolean bool = this.includeTeamDriveItems;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public List setCorpora(String str) {
|
|
this.corpora = str;
|
|
return this;
|
|
}
|
|
|
|
public List setCorpus(String str) {
|
|
this.corpus = str;
|
|
return this;
|
|
}
|
|
|
|
public List setDriveId(String str) {
|
|
this.driveId = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeItemsFromAllDrives(Boolean bool) {
|
|
this.includeItemsFromAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public List setIncludeTeamDriveItems(Boolean bool) {
|
|
this.includeTeamDriveItems = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setOrderBy(String str) {
|
|
this.orderBy = str;
|
|
return this;
|
|
}
|
|
|
|
public List setPageSize(Integer num) {
|
|
this.pageSize = num;
|
|
return this;
|
|
}
|
|
|
|
public List setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
public List setQ(String str) {
|
|
this.q = str;
|
|
return this;
|
|
}
|
|
|
|
public List setSpaces(String str) {
|
|
this.spaces = str;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public List setTeamDriveId(String str) {
|
|
this.teamDriveId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<FileList> setAlt2(String str) {
|
|
return (List) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<FileList> setFields2(String str) {
|
|
return (List) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<FileList> setKey2(String str) {
|
|
return (List) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<FileList> setOauthToken2(String str) {
|
|
return (List) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<FileList> setPrettyPrint2(Boolean bool) {
|
|
return (List) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<FileList> setQuotaUser2(String str) {
|
|
return (List) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<FileList> setUserIp2(String str) {
|
|
return (List) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public List set(String str, Object obj) {
|
|
return (List) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class ListLabels extends DriveRequest<LabelList> {
|
|
private static final String REST_PATH = "files/{fileId}/listLabels";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private Integer maxResults;
|
|
|
|
@Key
|
|
private String pageToken;
|
|
|
|
public ListLabels(String str) {
|
|
super(Drive.this, HttpMethods.GET, REST_PATH, null, LabelList.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpRequest buildHttpRequestUsingHead() {
|
|
return super.buildHttpRequestUsingHead();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeUsingHead() {
|
|
return super.executeUsingHead();
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public Integer getMaxResults() {
|
|
return this.maxResults;
|
|
}
|
|
|
|
public String getPageToken() {
|
|
return this.pageToken;
|
|
}
|
|
|
|
public ListLabels setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public ListLabels setMaxResults(Integer num) {
|
|
this.maxResults = num;
|
|
return this;
|
|
}
|
|
|
|
public ListLabels setPageToken(String str) {
|
|
this.pageToken = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<LabelList> setAlt2(String str) {
|
|
return (ListLabels) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<LabelList> setFields2(String str) {
|
|
return (ListLabels) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<LabelList> setKey2(String str) {
|
|
return (ListLabels) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<LabelList> setOauthToken2(String str) {
|
|
return (ListLabels) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<LabelList> setPrettyPrint2(Boolean bool) {
|
|
return (ListLabels) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<LabelList> setQuotaUser2(String str) {
|
|
return (ListLabels) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<LabelList> setUserIp2(String str) {
|
|
return (ListLabels) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public ListLabels set(String str, Object obj) {
|
|
return (ListLabels) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class ModifyLabels extends DriveRequest<ModifyLabelsResponse> {
|
|
private static final String REST_PATH = "files/{fileId}/modifyLabels";
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
public ModifyLabels(String str, ModifyLabelsRequest modifyLabelsRequest) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, modifyLabelsRequest, ModifyLabelsResponse.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public ModifyLabels setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<ModifyLabelsResponse> setAlt2(String str) {
|
|
return (ModifyLabels) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<ModifyLabelsResponse> setFields2(String str) {
|
|
return (ModifyLabels) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<ModifyLabelsResponse> setKey2(String str) {
|
|
return (ModifyLabels) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<ModifyLabelsResponse> setOauthToken2(String str) {
|
|
return (ModifyLabels) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<ModifyLabelsResponse> setPrettyPrint2(Boolean bool) {
|
|
return (ModifyLabels) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<ModifyLabelsResponse> setQuotaUser2(String str) {
|
|
return (ModifyLabels) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<ModifyLabelsResponse> setUserIp2(String str) {
|
|
return (ModifyLabels) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public ModifyLabels set(String str, Object obj) {
|
|
return (ModifyLabels) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Update extends DriveRequest<File> {
|
|
private static final String REST_PATH = "files/{fileId}";
|
|
|
|
@Key
|
|
private String addParents;
|
|
|
|
@Key
|
|
private Boolean enforceSingleParent;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean keepRevisionForever;
|
|
|
|
@Key
|
|
private String ocrLanguage;
|
|
|
|
@Key
|
|
private String removeParents;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
@Key
|
|
private Boolean useContentAsIndexableText;
|
|
|
|
public Update(String str, File file) {
|
|
super(Drive.this, HttpMethods.PATCH, REST_PATH, file, File.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
}
|
|
|
|
public String getAddParents() {
|
|
return this.addParents;
|
|
}
|
|
|
|
public Boolean getEnforceSingleParent() {
|
|
return this.enforceSingleParent;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getKeepRevisionForever() {
|
|
return this.keepRevisionForever;
|
|
}
|
|
|
|
public String getOcrLanguage() {
|
|
return this.ocrLanguage;
|
|
}
|
|
|
|
public String getRemoveParents() {
|
|
return this.removeParents;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public Boolean getUseContentAsIndexableText() {
|
|
return this.useContentAsIndexableText;
|
|
}
|
|
|
|
public boolean isEnforceSingleParent() {
|
|
Boolean bool = this.enforceSingleParent;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isKeepRevisionForever() {
|
|
Boolean bool = this.keepRevisionForever;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isUseContentAsIndexableText() {
|
|
Boolean bool = this.useContentAsIndexableText;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Update setAddParents(String str) {
|
|
this.addParents = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setEnforceSingleParent(Boolean bool) {
|
|
this.enforceSingleParent = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setKeepRevisionForever(Boolean bool) {
|
|
this.keepRevisionForever = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setOcrLanguage(String str) {
|
|
this.ocrLanguage = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setRemoveParents(String str) {
|
|
this.removeParents = str;
|
|
return this;
|
|
}
|
|
|
|
public Update setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Update setUseContentAsIndexableText(Boolean bool) {
|
|
this.useContentAsIndexableText = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<File> setAlt2(String str) {
|
|
return (Update) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<File> setFields2(String str) {
|
|
return (Update) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<File> setKey2(String str) {
|
|
return (Update) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<File> setOauthToken2(String str) {
|
|
return (Update) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<File> setPrettyPrint2(Boolean bool) {
|
|
return (Update) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<File> setQuotaUser2(String str) {
|
|
return (Update) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<File> setUserIp2(String str) {
|
|
return (Update) super.setUserIp2(str);
|
|
}
|
|
|
|
public Update(String str, File file, AbstractInputStreamContent abstractInputStreamContent) {
|
|
super(Drive.this, HttpMethods.PATCH, "/upload/" + Drive.this.getServicePath() + REST_PATH, file, File.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
initializeMediaUpload(abstractInputStreamContent);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Update set(String str, Object obj) {
|
|
return (Update) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class Watch extends DriveRequest<Channel> {
|
|
private static final String REST_PATH = "files/{fileId}/watch";
|
|
|
|
@Key
|
|
private Boolean acknowledgeAbuse;
|
|
|
|
@Key
|
|
private String fileId;
|
|
|
|
@Key
|
|
private String includeLabels;
|
|
|
|
@Key
|
|
private String includePermissionsForView;
|
|
|
|
@Key
|
|
private Boolean supportsAllDrives;
|
|
|
|
@Key
|
|
private Boolean supportsTeamDrives;
|
|
|
|
public Watch(String str, Channel channel) {
|
|
super(Drive.this, HttpMethods.POST, REST_PATH, channel, Channel.class);
|
|
this.fileId = (String) Preconditions.checkNotNull(str, "Required parameter fileId must be specified.");
|
|
initializeMediaDownload();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public GenericUrl buildHttpRequestUrl() {
|
|
String baseUrl;
|
|
if ("media".equals(get("alt")) && getMediaHttpUploader() == null) {
|
|
baseUrl = Drive.this.getRootUrl() + "download/" + Drive.this.getServicePath();
|
|
} else {
|
|
baseUrl = Drive.this.getBaseUrl();
|
|
}
|
|
return new GenericUrl(UriTemplate.expand(baseUrl, getUriTemplate(), this, true));
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public HttpResponse executeMedia() {
|
|
return super.executeMedia();
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public void executeMediaAndDownloadTo(OutputStream outputStream) {
|
|
super.executeMediaAndDownloadTo(outputStream);
|
|
}
|
|
|
|
@Override // com.google.api.client.googleapis.services.AbstractGoogleClientRequest
|
|
public InputStream executeMediaAsInputStream() {
|
|
return super.executeMediaAsInputStream();
|
|
}
|
|
|
|
public Boolean getAcknowledgeAbuse() {
|
|
return this.acknowledgeAbuse;
|
|
}
|
|
|
|
public String getFileId() {
|
|
return this.fileId;
|
|
}
|
|
|
|
public String getIncludeLabels() {
|
|
return this.includeLabels;
|
|
}
|
|
|
|
public String getIncludePermissionsForView() {
|
|
return this.includePermissionsForView;
|
|
}
|
|
|
|
public Boolean getSupportsAllDrives() {
|
|
return this.supportsAllDrives;
|
|
}
|
|
|
|
public Boolean getSupportsTeamDrives() {
|
|
return this.supportsTeamDrives;
|
|
}
|
|
|
|
public boolean isAcknowledgeAbuse() {
|
|
Boolean bool = this.acknowledgeAbuse;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsAllDrives() {
|
|
Boolean bool = this.supportsAllDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean isSupportsTeamDrives() {
|
|
Boolean bool = this.supportsTeamDrives;
|
|
if (bool != null && bool != Data.NULL_BOOLEAN) {
|
|
return bool.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public Watch setAcknowledgeAbuse(Boolean bool) {
|
|
this.acknowledgeAbuse = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setFileId(String str) {
|
|
this.fileId = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludeLabels(String str) {
|
|
this.includeLabels = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setIncludePermissionsForView(String str) {
|
|
this.includePermissionsForView = str;
|
|
return this;
|
|
}
|
|
|
|
public Watch setSupportsAllDrives(Boolean bool) {
|
|
this.supportsAllDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public Watch setSupportsTeamDrives(Boolean bool) {
|
|
this.supportsTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setAlt */
|
|
public DriveRequest<Channel> setAlt2(String str) {
|
|
return (Watch) super.setAlt2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setFields */
|
|
public DriveRequest<Channel> setFields2(String str) {
|
|
return (Watch) super.setFields2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setKey */
|
|
public DriveRequest<Channel> setKey2(String str) {
|
|
return (Watch) super.setKey2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setOauthToken */
|
|
public DriveRequest<Channel> setOauthToken2(String str) {
|
|
return (Watch) super.setOauthToken2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setPrettyPrint */
|
|
public DriveRequest<Channel> setPrettyPrint2(Boolean bool) {
|
|
return (Watch) super.setPrettyPrint2(bool);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setQuotaUser */
|
|
public DriveRequest<Channel> setQuotaUser2(String str) {
|
|
return (Watch) super.setQuotaUser2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest
|
|
/* renamed from: setUserIp */
|
|
public DriveRequest<Channel> setUserIp2(String str) {
|
|
return (Watch) super.setUserIp2(str);
|
|
}
|
|
|
|
@Override // com.google.api.services.drive.DriveRequest, com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest, com.google.api.client.googleapis.services.AbstractGoogleClientRequest, com.google.api.client.util.GenericData
|
|
public Watch set(String str, Object obj) {
|
|
return (Watch) super.set(str, obj);
|
|
}
|
|
}
|
|
|
|
public Files() {
|
|
}
|
|
|
|
public Copy copy(String str, File file) {
|
|
Copy copy = new Copy(str, file);
|
|
Drive.this.initialize(copy);
|
|
return copy;
|
|
}
|
|
|
|
public Create create(File file) {
|
|
Create create = new Create(file);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Delete delete(String str) {
|
|
Delete delete = new Delete(str);
|
|
Drive.this.initialize(delete);
|
|
return delete;
|
|
}
|
|
|
|
public EmptyTrash emptyTrash() {
|
|
EmptyTrash emptyTrash = new EmptyTrash();
|
|
Drive.this.initialize(emptyTrash);
|
|
return emptyTrash;
|
|
}
|
|
|
|
public Export export(String str, String str2) {
|
|
Export export = new Export(str, str2);
|
|
Drive.this.initialize(export);
|
|
return export;
|
|
}
|
|
|
|
public GenerateIds generateIds() {
|
|
GenerateIds generateIds = new GenerateIds();
|
|
Drive.this.initialize(generateIds);
|
|
return generateIds;
|
|
}
|
|
|
|
public Get get(String str) {
|
|
Get get = new Get(str);
|
|
Drive.this.initialize(get);
|
|
return get;
|
|
}
|
|
|
|
public List list() {
|
|
List list = new List();
|
|
Drive.this.initialize(list);
|
|
return list;
|
|
}
|
|
|
|
public ListLabels listLabels(String str) {
|
|
ListLabels listLabels = new ListLabels(str);
|
|
Drive.this.initialize(listLabels);
|
|
return listLabels;
|
|
}
|
|
|
|
public ModifyLabels modifyLabels(String str, ModifyLabelsRequest modifyLabelsRequest) {
|
|
ModifyLabels modifyLabels = new ModifyLabels(str, modifyLabelsRequest);
|
|
Drive.this.initialize(modifyLabels);
|
|
return modifyLabels;
|
|
}
|
|
|
|
public Update update(String str, File file) {
|
|
Update update = new Update(str, file);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
|
|
public Watch watch(String str, Channel channel) {
|
|
Watch watch = new Watch(str, channel);
|
|
Drive.this.initialize(watch);
|
|
return watch;
|
|
}
|
|
|
|
public Create create(File file, AbstractInputStreamContent abstractInputStreamContent) {
|
|
Create create = new Create(file, abstractInputStreamContent);
|
|
Drive.this.initialize(create);
|
|
return create;
|
|
}
|
|
|
|
public Update update(String str, File file, AbstractInputStreamContent abstractInputStreamContent) {
|
|
Update update = new Update(str, file, abstractInputStreamContent);
|
|
Drive.this.initialize(update);
|
|
return update;
|
|
}
|
|
}
|
|
|
|
public Drive(Builder builder) {
|
|
super(builder);
|
|
}
|
|
}
|