From 8c7ed6c51bedf3cb560f406d5eb891d3e8d9bac2 Mon Sep 17 00:00:00 2001 From: "Mr.James Wong" Date: Thu, 27 Jun 2024 16:29:10 +0800 Subject: [PATCH] fix: upgrade to okhttp3 & configuration. --- bom/pom.xml | 5 + controller/pom.xml | 12 +- .../flinkclient1_15/api/ApiClient.java | 647 ++---- .../flinkclient1_15/api/DefaultApi.java | 1776 ++++++++--------- .../api/ProgressRequestBody.java | 4 +- .../api/ProgressResponseBody.java | 8 +- .../api/auth/HttpBasicAuth.java | 2 +- .../main/java/com/wl4g/RengineController.java | 4 +- .../config/RengineControllerProperties.java | 2 +- .../controller/job/FlinkSubmitController.java | 96 +- .../job/MasterGlobalController.java | 2 +- .../application-arthas-override.yaml | 2 +- .../resources/application-controller.yaml | 18 +- .../minio/MinioClientAutoConfiguration.java | 5 +- .../service/minio/MinioClientProperties.java | 36 +- .../src/main/resources/application-redis.yaml | 2 +- 16 files changed, 1191 insertions(+), 1430 deletions(-) diff --git a/bom/pom.xml b/bom/pom.xml index e26c7630..68228c42 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -312,6 +312,11 @@ okhttp ${okhttp.version} + + com.squareup.okhttp3 + logging-interceptor + ${okhttp.version} + io.grpc diff --git a/controller/pom.xml b/controller/pom.xml index f2f8f7c1..12b820e0 100644 --- a/controller/pom.xml +++ b/controller/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 rengine-controller Rengine Controller @@ -108,7 +109,7 @@ spring-kafka - + com.google.code.gson gson @@ -119,12 +120,11 @@ 1.8.5 - com.squareup.okhttp + com.squareup.okhttp3 logging-interceptor - 2.7.5 - org.threeten + org.threeten threetenbp 1.5.2 @@ -328,7 +328,7 @@ maven-deploy-plugin - releases + diff --git a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ApiClient.java b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ApiClient.java index 60bbd07b..9b9965e5 100644 --- a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ApiClient.java +++ b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ApiClient.java @@ -12,6 +12,38 @@ package com.nextbreakpoint.flinkclient1_15.api; +import com.nextbreakpoint.flinkclient1_15.api.auth.ApiKeyAuth; +import com.nextbreakpoint.flinkclient1_15.api.auth.Authentication; +import com.nextbreakpoint.flinkclient1_15.api.auth.HttpBasicAuth; +import com.nextbreakpoint.flinkclient1_15.api.auth.OAuth; +import lombok.Getter; +import lombok.Setter; +import okhttp3.Call; +import okhttp3.Callback; +import okhttp3.FormBody; +import okhttp3.MediaType; +import okhttp3.MultipartBody; +import okhttp3.OkHttpClient; +import okhttp3.Request; +import okhttp3.RequestBody; +import okhttp3.Response; +import okhttp3.internal.http.HttpMethod; +import okhttp3.logging.HttpLoggingInterceptor; +import okhttp3.logging.HttpLoggingInterceptor.Level; +import okio.BufferedSink; +import okio.Okio; +import org.jetbrains.annotations.NotNull; +import org.threeten.bp.LocalDate; +import org.threeten.bp.OffsetDateTime; +import org.threeten.bp.format.DateTimeFormatter; + +import javax.net.ssl.HostnameVerifier; +import javax.net.ssl.KeyManager; +import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLSocketFactory; +import javax.net.ssl.TrustManager; +import javax.net.ssl.TrustManagerFactory; +import javax.net.ssl.X509TrustManager; import java.io.File; import java.io.IOException; import java.io.InputStream; @@ -25,7 +57,6 @@ import java.security.KeyStore; import java.security.SecureRandom; import java.security.cert.Certificate; -import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; import java.security.cert.X509Certificate; import java.text.DateFormat; @@ -40,152 +71,37 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.KeyManager; -import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLSession; -import javax.net.ssl.TrustManager; -import javax.net.ssl.TrustManagerFactory; -import javax.net.ssl.X509TrustManager; - -import org.threeten.bp.LocalDate; -import org.threeten.bp.OffsetDateTime; -import org.threeten.bp.format.DateTimeFormatter; - -import com.nextbreakpoint.flinkclient1_15.api.auth.ApiKeyAuth; -import com.nextbreakpoint.flinkclient1_15.api.auth.Authentication; -import com.nextbreakpoint.flinkclient1_15.api.auth.HttpBasicAuth; -import com.nextbreakpoint.flinkclient1_15.api.auth.OAuth; -import com.squareup.okhttp.Call; -import com.squareup.okhttp.Callback; -import com.squareup.okhttp.FormEncodingBuilder; -import com.squareup.okhttp.Headers; -import com.squareup.okhttp.MediaType; -import com.squareup.okhttp.MultipartBuilder; -import com.squareup.okhttp.OkHttpClient; -import com.squareup.okhttp.Request; -import com.squareup.okhttp.RequestBody; -import com.squareup.okhttp.Response; -import com.squareup.okhttp.internal.http.HttpMethod; -import com.squareup.okhttp.logging.HttpLoggingInterceptor; -import com.squareup.okhttp.logging.HttpLoggingInterceptor.Level; - -import okio.BufferedSink; -import okio.Okio; - @SuppressWarnings("rawtypes") +@Getter public class ApiClient { + @Setter private String basePath = "/"; private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private String tempFolderPath = null; - - private Map authentications; - - private DateFormat dateFormat; + private String tempFolderPath; + private final Map defaultHeaderMap; + private final Map authentications; + // private DateFormat dateFormat; // private DateFormat datetimeFormat; // private boolean lenientDatetimeFormat; // private int dateLength; - private InputStream sslCaCert; private boolean verifyingSsl; private KeyManager[] keyManagers; - + private final OkHttpClient.Builder httpClientBuilder; + @Setter + @Getter private OkHttpClient httpClient; - private JSON json; - + private final JSON json; private HttpLoggingInterceptor loggingInterceptor; - /* - * Constructor for ApiClient - */ public ApiClient() { - httpClient = new OkHttpClient(); - - verifyingSsl = true; - - json = new JSON(); - + this.defaultHeaderMap = new HashMap<>(); + this.httpClientBuilder = new OkHttpClient.Builder(); + this.json = new JSON(); + this.verifyingSsl = true; // Set default User-Agent. - setUserAgent("Swagger-Codegen/1.0.0/java"); - - // Setup authentications (key: authentication name, value: - // authentication). - authentications = new HashMap(); - // Prevent the authentications from being modified. - // authentications = Collections.unmodifiableMap(authentications); - } - - /** - * Get base path - * - * @return Baes path - */ - public String getBasePath() { - return basePath; - } - - /** - * Set base path - * - * @param basePath - * Base path of the URL (e.g / - * @return An instance of OkHttpClient - */ - public ApiClient setBasePath(String basePath) { - this.basePath = basePath; - return this; - } - - /** - * Get HTTP client - * - * @return An instance of OkHttpClient - */ - public OkHttpClient getHttpClient() { - return httpClient; - } - - /** - * Set HTTP client - * - * @param httpClient - * An instance of OkHttpClient - * @return Api Client - */ - public ApiClient setHttpClient(OkHttpClient httpClient) { - this.httpClient = httpClient; - return this; - } - - /** - * Get JSON - * - * @return JSON object - */ - public JSON getJSON() { - return json; - } - - /** - * Set JSON - * - * @param json - * JSON object - * @return Api client - */ - public ApiClient setJSON(JSON json) { - this.json = json; - return this; - } - - /** - * True if isVerifyingSsl flag is on - * - * @return True if isVerifySsl flag is on - */ - public boolean isVerifyingSsl() { - return verifyingSsl; + setUserAgent("Rengine/1.0.0/java"); + this.authentications = new HashMap<>(); } /** @@ -193,61 +109,41 @@ public boolean isVerifyingSsl() { * requests. Default to true. NOTE: Do NOT set to false in production code, * otherwise you would face multiple types of cryptographic attacks. * - * @param verifyingSsl - * True to verify TLS/SSL connection + * @param verifyingSsl True to verify TLS/SSL connection * @return ApiClient */ public ApiClient setVerifyingSsl(boolean verifyingSsl) { this.verifyingSsl = verifyingSsl; - applySslSettings(); + applySslSettings(httpClientBuilder); return this; } - /** - * Get SSL CA cert. - * - * @return Input stream to the SSL CA cert - */ - public InputStream getSslCaCert() { - return sslCaCert; - } - /** * Configure the CA certificate to be trusted when making https requests. * Use null to reset to default. * - * @param sslCaCert - * input stream for SSL CA cert + * @param sslCaCert input stream for SSL CA cert * @return ApiClient */ public ApiClient setSslCaCert(InputStream sslCaCert) { this.sslCaCert = sslCaCert; - applySslSettings(); + applySslSettings(httpClientBuilder); return this; } - public KeyManager[] getKeyManagers() { - return keyManagers; - } - /** * Configure client keys to use for authorization in an SSL session. Use * null to reset to default. * - * @param managers - * The KeyManagers to use + * @param managers The KeyManagers to use * @return ApiClient */ public ApiClient setKeyManagers(KeyManager[] managers) { this.keyManagers = managers; - applySslSettings(); + applySslSettings(httpClientBuilder); return this; } - public DateFormat getDateFormat() { - return dateFormat; - } - public ApiClient setDateFormat(DateFormat dateFormat) { this.json.setDateFormat(dateFormat); return this; @@ -273,20 +169,10 @@ public ApiClient setLenientOnJson(boolean lenientOnJson) { return this; } - /** - * Get authentications (key: authentication name, value: authentication). - * - * @return Map of authentication objects - */ - public Map getAuthentications() { - return authentications; - } - /** * Get authentication for the given name. * - * @param authName - * The authentication name + * @param authName The authentication name * @return The authentication, null if not found */ public Authentication getAuthentication(String authName) { @@ -296,8 +182,7 @@ public Authentication getAuthentication(String authName) { /** * Helper method to set username for the first HTTP basic authentication. * - * @param username - * Username + * @param username Username */ public void setUsername(String username) { for (Authentication auth : authentications.values()) { @@ -312,8 +197,7 @@ public void setUsername(String username) { /** * Helper method to set password for the first HTTP basic authentication. * - * @param password - * Password + * @param password Password */ public void setPassword(String password) { for (Authentication auth : authentications.values()) { @@ -328,8 +212,7 @@ public void setPassword(String password) { /** * Helper method to set API key value for the first API key authentication. * - * @param apiKey - * API key + * @param apiKey API key */ public void setApiKey(String apiKey) { for (Authentication auth : authentications.values()) { @@ -344,8 +227,7 @@ public void setApiKey(String apiKey) { /** * Helper method to set API key prefix for the first API key authentication. * - * @param apiKeyPrefix - * API key prefix + * @param apiKeyPrefix API key prefix */ public void setApiKeyPrefix(String apiKeyPrefix) { for (Authentication auth : authentications.values()) { @@ -360,8 +242,7 @@ public void setApiKeyPrefix(String apiKeyPrefix) { /** * Helper method to set access token for the first OAuth2 authentication. * - * @param accessToken - * Access token + * @param accessToken Access token */ public void setAccessToken(String accessToken) { for (Authentication auth : authentications.values()) { @@ -376,8 +257,7 @@ public void setAccessToken(String accessToken) { /** * Set the User-Agent header's value (by adding to the default header map). * - * @param userAgent - * HTTP request's user agent + * @param userAgent HTTP request's user agent * @return ApiClient */ public ApiClient setUserAgent(String userAgent) { @@ -388,10 +268,8 @@ public ApiClient setUserAgent(String userAgent) { /** * Add a default header. * - * @param key - * The header's key - * @param value - * The header's value + * @param key The header's key + * @param value The header's value * @return ApiClient */ public ApiClient addDefaultHeader(String key, String value) { @@ -399,20 +277,11 @@ public ApiClient addDefaultHeader(String key, String value) { return this; } - /** - * Check that whether debugging is enabled for this API client. - * - * @return True if debugging is enabled, false otherwise. - */ - public boolean isDebugging() { - return debugging; - } /** * Enable/disable debugging for this API client. * - * @param debugging - * To enable (true) or disable (false) debugging + * @param debugging To enable (true) or disable (false) debugging * @return ApiClient */ public ApiClient setDebugging(boolean debugging) { @@ -430,24 +299,10 @@ public ApiClient setDebugging(boolean debugging) { return this; } - /** - * The path of temporary folder used to store downloaded files from - * endpoints with file response. The default value is null, - * i.e. using the system's default tempopary folder. - * - * @see createTempFile - * @return Temporary folder path - */ - public String getTempFolderPath() { - return tempFolderPath; - } - /** * Set the temporary folder path (for downloading files) * - * @param tempFolderPath - * Temporary folder path + * @param tempFolderPath Temporary folder path * @return ApiClient */ public ApiClient setTempFolderPath(String tempFolderPath) { @@ -461,19 +316,18 @@ public ApiClient setTempFolderPath(String tempFolderPath) { * @return Timeout in milliseconds */ public int getConnectTimeout() { - return httpClient.getConnectTimeout(); + return httpClient.connectTimeoutMillis(); } /** * Sets the connect timeout (in milliseconds). A value of 0 means no * timeout, otherwise values must be between 1 and * - * @param connectionTimeout - * connection timeout in milliseconds + * @param connectionTimeout connection timeout in milliseconds * @return Api client */ public ApiClient setConnectTimeout(int connectionTimeout) { - httpClient.setConnectTimeout(connectionTimeout, TimeUnit.MILLISECONDS); + httpClientBuilder.connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS); return this; } @@ -483,19 +337,18 @@ public ApiClient setConnectTimeout(int connectionTimeout) { * @return Timeout in milliseconds */ public int getReadTimeout() { - return httpClient.getReadTimeout(); + return httpClient.readTimeoutMillis(); } /** * Sets the read timeout (in milliseconds). A value of 0 means no timeout, * otherwise values must be between 1 and {@link Integer#MAX_VALUE}. * - * @param readTimeout - * read timeout in milliseconds + * @param readTimeout read timeout in milliseconds * @return Api client */ public ApiClient setReadTimeout(int readTimeout) { - httpClient.setReadTimeout(readTimeout, TimeUnit.MILLISECONDS); + httpClientBuilder.readTimeout(readTimeout, TimeUnit.MILLISECONDS); return this; } @@ -505,27 +358,25 @@ public ApiClient setReadTimeout(int readTimeout) { * @return Timeout in milliseconds */ public int getWriteTimeout() { - return httpClient.getWriteTimeout(); + return httpClient.writeTimeoutMillis(); } /** * Sets the write timeout (in milliseconds). A value of 0 means no timeout, * otherwise values must be between 1 and {@link Integer#MAX_VALUE}. * - * @param writeTimeout - * connection timeout in milliseconds + * @param writeTimeout connection timeout in milliseconds * @return Api client */ public ApiClient setWriteTimeout(int writeTimeout) { - httpClient.setWriteTimeout(writeTimeout, TimeUnit.MILLISECONDS); + httpClientBuilder.writeTimeout(writeTimeout, TimeUnit.MILLISECONDS); return this; } /** * Format the given parameter object into string. * - * @param param - * Parameter + * @param param Parameter * @return String representation of the parameter */ public String parameterToString(Object param) { @@ -552,21 +403,20 @@ public String parameterToString(Object param) { /** * Formats the specified query parameter to a list containing a single * {@code Pair} object. - * + *

* Note that {@code value} must not be a collection. * - * @param name - * The name of the parameter. - * @param value - * The value of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. * @return A list containing a single {@code Pair} object. */ public List parameterToPair(String name, Object value) { List params = new ArrayList(); // preconditions - if (name == null || name.isEmpty() || value == null || value instanceof Collection) + if (name == null || name.isEmpty() || value == null || value instanceof Collection) { return params; + } params.add(new Pair(name, parameterToString(value))); return params; @@ -575,16 +425,13 @@ public List parameterToPair(String name, Object value) { /** * Formats the specified collection query parameters to a list of * {@code Pair} objects. - * + *

* Note that the values of each of the returned Pair objects are * percent-encoded. * - * @param collectionFormat - * The collection format of the parameter. - * @param name - * The name of the parameter. - * @param value - * The value of the parameter. + * @param collectionFormat The collection format of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. * @return A list of {@code Pair} objects. */ public List parameterToPairs(String collectionFormat, String name, Collection value) { @@ -630,8 +477,7 @@ public List parameterToPairs(String collectionFormat, String name, Collect /** * Sanitize filename by removing path. e.g. ../../sun.gif becomes sun.gif * - * @param filename - * The filename to be sanitized + * @param filename The filename to be sanitized * @return The sanitized filename */ public String sanitizeFilename(String filename) { @@ -642,9 +488,8 @@ public String sanitizeFilename(String filename) { * Check if the given MIME is a JSON MIME. JSON MIME examples: * application/json application/json; charset=UTF8 APPLICATION/JSON * application/vnd.company+json "* / *" is also default to JSON - * - * @param mime - * MIME (Multipurpose Internet Mail Extensions) + * + * @param mime MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ public boolean isJsonMime(String mime) { @@ -657,10 +502,9 @@ public boolean isJsonMime(String mime) { * exists in the given array, use it; otherwise use all of them (joining * into a string) * - * @param accepts - * The accepts array to select from + * @param accepts The accepts array to select from * @return The Accept header to use. If the given array is empty, null will - * be returned (not to set the Accept header explicitly). + * be returned (not to set the Accept header explicitly). */ public String selectHeaderAccept(String[] accepts) { if (accepts.length == 0) { @@ -679,10 +523,9 @@ public String selectHeaderAccept(String[] accepts) { * exists in the given array, use it; otherwise use the first one of the * array. * - * @param contentTypes - * The Content-Type array to select from + * @param contentTypes The Content-Type array to select from * @return The Content-Type header to use. If the given array is empty, or - * matches "any", JSON will be used. + * matches "any", JSON will be used. */ public String selectHeaderContentType(String[] contentTypes) { if (contentTypes.length == 0 || contentTypes[0].equals("*/*")) { @@ -699,8 +542,7 @@ public String selectHeaderContentType(String[] contentTypes) { /** * Escape the given string to be used as URL query value. * - * @param str - * String to be escaped + * @param str String to be escaped * @return Escaped string */ public String escapeString(String str) { @@ -715,17 +557,13 @@ public String escapeString(String str) { * Deserialize response body to Java object, according to the return type * and the Content-Type response header. * - * @param - * Type - * @param response - * HTTP response - * @param returnType - * The type of the Java object + * @param Type + * @param response HTTP response + * @param returnType The type of the Java object * @return The deserialized Java object - * @throws ApiException - * If fail to deserialize response body, i.e. cannot read - * response body or the Content-Type of the response is not - * supported. + * @throws ApiException If fail to deserialize response body, i.e. cannot read + * response body or the Content-Type of the response is not + * supported. */ @SuppressWarnings("unchecked") public T deserialize(Response response, Type returnType) throws ApiException { @@ -747,10 +585,11 @@ public T deserialize(Response response, Type returnType) throws ApiException String respBody; try { - if (response.body() != null) + if (response.body() != null) { respBody = response.body().string(); - else + } else { respBody = null; + } } catch (IOException e) { throw new ApiException(e); } @@ -770,8 +609,7 @@ public T deserialize(Response response, Type returnType) throws ApiException // Expecting string, return the raw response body. return (T) respBody; } else { - throw new ApiException("Content type \"" + contentType + "\" is not supported for type: " + returnType, - response.code(), response.headers().toMultimap(), respBody); + throw new ApiException("Content type \"" + contentType + "\" is not supported for type: " + returnType, response.code(), response.headers().toMultimap(), respBody); } } @@ -779,13 +617,10 @@ public T deserialize(Response response, Type returnType) throws ApiException * Serialize the given Java object into request body according to the * object's class and the request Content-Type. * - * @param obj - * The Java object - * @param contentType - * The request Content-Type + * @param obj The Java object + * @param contentType The request Content-Type * @return The serialized request body - * @throws ApiException - * If fail to serialize the given object + * @throws ApiException If fail to serialize the given object */ public RequestBody serialize(Object obj, String contentType) throws ApiException { if (obj instanceof byte[]) { @@ -810,11 +645,9 @@ public RequestBody serialize(Object obj, String contentType) throws ApiException /** * Download file from the given response. * - * @param response - * An instance of the Response object - * @throws ApiException - * If fail to read file content from response and write to disk + * @param response An instance of the Response object * @return Downloaded file + * @throws ApiException If fail to read file content from response and write to disk */ public File downloadFileFromResponse(Response response) throws ApiException { try { @@ -831,11 +664,9 @@ public File downloadFileFromResponse(Response response) throws ApiException { /** * Prepare file for download * - * @param response - * An instance of the Response object - * @throws IOException - * If fail to prepare file for download + * @param response An instance of the Response object * @return Prepared file for the download + * @throws IOException If fail to prepare file for download */ public File prepareDownloadFile(Response response) throws IOException { String filename = null; @@ -864,26 +695,25 @@ public File prepareDownloadFile(Response response) throws IOException { } // File.createTempFile requires the prefix to be at least three // characters long - if (prefix.length() < 3) + if (prefix.length() < 3) { prefix = "download-"; + } } - if (tempFolderPath == null) + if (tempFolderPath == null) { return Files.createTempFile(prefix, suffix).toFile(); - else + } else { return Files.createTempFile(Paths.get(tempFolderPath), prefix, suffix).toFile(); + } } /** * {@link #execute(Call, Type)} * - * @param - * Type - * @param call - * An instance of the Call object - * @throws ApiException - * If fail to execute the call + * @param Type + * @param call An instance of the Call object * @return ApiResponse<T> + * @throws ApiException If fail to execute the call */ public ApiResponse execute(Call call) throws ApiException { return execute(call, null); @@ -893,17 +723,13 @@ public ApiResponse execute(Call call) throws ApiException { * Execute HTTP call and deserialize the HTTP response body into the given * return type. * - * @param returnType - * The return type used to deserialize HTTP response body - * @param - * The return type corresponding to (same with) returnType - * @param call - * Call + * @param returnType The return type used to deserialize HTTP response body + * @param The return type corresponding to (same with) returnType + * @param call Call * @return ApiResponse object containing response status, headers and data, - * which is a Java object deserialized from response body and would - * be null when returnType is null. - * @throws ApiException - * If fail to execute the call + * which is a Java object deserialized from response body and would + * be null when returnType is null. + * @throws ApiException If fail to execute the call */ public ApiResponse execute(Call call, Type returnType) throws ApiException { try { @@ -918,12 +744,9 @@ public ApiResponse execute(Call call, Type returnType) throws ApiExceptio /** * {@link #executeAsync(Call, Type, ApiCallback)} * - * @param - * Type - * @param call - * An instance of the Call object - * @param callback - * ApiCallback<T> + * @param Type + * @param call An instance of the Call object + * @param callback ApiCallback<T> */ public void executeAsync(Call call, ApiCallback callback) { executeAsync(call, null, callback); @@ -932,26 +755,22 @@ public void executeAsync(Call call, ApiCallback callback) { /** * Execute HTTP call asynchronously. * + * @param Type + * @param call The callback to be executed when the API call finishes + * @param returnType Return type + * @param callback ApiCallback * @see #execute(Call, Type) - * @param - * Type - * @param call - * The callback to be executed when the API call finishes - * @param returnType - * Return type - * @param callback - * ApiCallback */ @SuppressWarnings("unchecked") public void executeAsync(Call call, final Type returnType, final ApiCallback callback) { call.enqueue(new Callback() { @Override - public void onFailure(Request request, IOException e) { + public void onFailure(@NotNull Call call, IOException e) { callback.onFailure(new ApiException(e), 0, null); } @Override - public void onResponse(Response response) throws IOException { + public void onResponse(@NotNull Call call, @NotNull Response response) throws IOException { T result; try { result = (T) handleResponse(response, returnType); @@ -968,16 +787,12 @@ public void onResponse(Response response) throws IOException { * Handle the given response, return the deserialized object when the * response is successful. * - * @param - * Type - * @param response - * Response - * @param returnType - * Return type - * @throws ApiException - * If the response has a unsuccessful status code or fail to - * deserialize the response body + * @param Type + * @param response Response + * @param returnType Return type * @return Type + * @throws ApiException If the response has a unsuccessful status code or fail to + * deserialize the response body */ public T handleResponse(Response response, Type returnType) throws ApiException { if (response.isSuccessful()) { @@ -985,11 +800,7 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept // returning null if the returnType is not defined, // or the status code is 204 (No Content) if (response.body() != null) { - try { - response.body().close(); - } catch (IOException e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } + response.body().close(); } return null; } else { @@ -1011,81 +822,41 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept /** * Build HTTP call with the given options. * - * @param path - * The sub-path of the HTTP URL - * @param method - * The request method, one of "GET", "HEAD", "OPTIONS", "POST", - * "PUT", "PATCH" and "DELETE" - * @param queryParams - * The query parameters - * @param collectionQueryParams - * The collection query parameters - * @param body - * The request body object - * @param headerParams - * The header parameters - * @param formParams - * The form parameters - * @param authNames - * The authentications to apply - * @param progressRequestListener - * Progress request listener + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", + * "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @param body The request body object + * @param headerParams The header parameters + * @param formParams The form parameters + * @param authNames The authentications to apply + * @param progressRequestListener Progress request listener * @return The HTTP call - * @throws ApiException - * If fail to serialize the request body object + * @throws ApiException If fail to serialize the request body object */ - public Call buildCall( - String path, - String method, - List queryParams, - List collectionQueryParams, - Object body, - Map headerParams, - Map formParams, - String[] authNames, - ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Request request = buildRequest(path, method, queryParams, collectionQueryParams, body, headerParams, formParams, - authNames, progressRequestListener); - + public Call buildCall(String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Request request = buildRequest(path, method, queryParams, collectionQueryParams, body, headerParams, formParams, authNames, progressRequestListener); return httpClient.newCall(request); } /** * Build an HTTP request with the given options. * - * @param path - * The sub-path of the HTTP URL - * @param method - * The request method, one of "GET", "HEAD", "OPTIONS", "POST", - * "PUT", "PATCH" and "DELETE" - * @param queryParams - * The query parameters - * @param collectionQueryParams - * The collection query parameters - * @param body - * The request body object - * @param headerParams - * The header parameters - * @param formParams - * The form parameters - * @param authNames - * The authentications to apply - * @param progressRequestListener - * Progress request listener + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", + * "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @param body The request body object + * @param headerParams The header parameters + * @param formParams The form parameters + * @param authNames The authentications to apply + * @param progressRequestListener Progress request listener * @return The HTTP request - * @throws ApiException - * If fail to serialize the request body object + * @throws ApiException If fail to serialize the request body object */ - public Request buildRequest( - String path, - String method, - List queryParams, - List collectionQueryParams, - Object body, - Map headerParams, - Map formParams, - String[] authNames, - ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public Request buildRequest(String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { updateParamsForAuth(authNames, queryParams, headerParams); final String url = buildUrl(path, queryParams, collectionQueryParams); @@ -1133,12 +904,9 @@ public Request buildRequest( * Build full URL by concatenating base path, the given sub path and query * parameters. * - * @param path - * The sub path - * @param queryParams - * The query parameters - * @param collectionQueryParams - * The collection query parameters + * @param path The sub path + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters * @return The full URL */ public String buildUrl(String path, List queryParams, List collectionQueryParams) { @@ -1186,10 +954,8 @@ public String buildUrl(String path, List queryParams, List collectio /** * Set header parameters to the request builder, including default headers. * - * @param headerParams - * Header parameters in the ofrm of Map - * @param reqBuilder - * Reqeust.Builder + * @param headerParams Header parameters in the ofrm of Map + * @param reqBuilder Reqeust.Builder */ public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { for (Entry param : headerParams.entrySet()) { @@ -1205,18 +971,16 @@ public void processHeaderParams(Map headerParams, Request.Builde /** * Update query and header parameters based on authentication settings. * - * @param authNames - * The authentications to apply - * @param queryParams - * List of query parameters - * @param headerParams - * Map of header parameters + * @param authNames The authentications to apply + * @param queryParams List of query parameters + * @param headerParams Map of header parameters */ public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams) { for (String authName : authNames) { Authentication auth = authentications.get(authName); - if (auth == null) + if (auth == null) { throw new RuntimeException("Authentication undefined: " + authName); + } auth.applyToParams(queryParams, headerParams); } } @@ -1224,13 +988,12 @@ public void updateParamsForAuth(String[] authNames, List queryParams, Map< /** * Build a form-encoding request body with the given form parameters. * - * @param formParams - * Form parameters in the form of Map + * @param formParams Form parameters in the form of Map * @return RequestBody */ public RequestBody buildRequestBodyFormEncoding(Map formParams) { - FormEncodingBuilder formBuilder = new FormEncodingBuilder(); - for (Entry param : formParams.entrySet()) { + FormBody.Builder formBuilder = new FormBody.Builder(); + for (Map.Entry param : formParams.entrySet()) { formBuilder.add(param.getKey(), parameterToString(param.getValue())); } return formBuilder.build(); @@ -1240,22 +1003,18 @@ public RequestBody buildRequestBodyFormEncoding(Map formParams) * Build a multipart (file uploading) request body with the given form * parameters, which could contain text fields and file fields. * - * @param formParams - * Form parameters in the form of Map + * @param formParams Form parameters in the form of Map * @return RequestBody */ public RequestBody buildRequestBodyMultipart(Map formParams) { - MultipartBuilder mpBuilder = new MultipartBuilder().type(MultipartBuilder.FORM); - for (Entry param : formParams.entrySet()) { + MultipartBody.Builder mpBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); + for (Map.Entry param : formParams.entrySet()) { if (param.getValue() instanceof File) { File file = (File) param.getValue(); - Headers partHeaders = Headers.of("Content-Disposition", - "form-data; name=\"" + param.getKey() + "\"; filename=\"" + file.getName() + "\""); - MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); - mpBuilder.addPart(partHeaders, RequestBody.create(mediaType, file)); + RequestBody fileBody = RequestBody.create(file, MediaType.parse(guessContentTypeFromFile(file))); + mpBuilder.addFormDataPart(param.getKey(), file.getName(), fileBody); } else { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\""); - mpBuilder.addPart(partHeaders, RequestBody.create(null, parameterToString(param.getValue()))); + mpBuilder.addFormDataPart(param.getKey(), parameterToString(param.getValue())); } } return mpBuilder.build(); @@ -1265,8 +1024,7 @@ public RequestBody buildRequestBodyMultipart(Map formParams) { * Guess Content-Type header from the given file (defaults to * "application/octet-stream"). * - * @param file - * The given file + * @param file The given file * @return The guessed Content-Type */ public String guessContentTypeFromFile(File file) { @@ -1282,33 +1040,30 @@ public String guessContentTypeFromFile(File file) { * Apply SSL related settings to httpClient according to the current values * of verifyingSsl and sslCaCert. */ - private void applySslSettings() { + private void applySslSettings(OkHttpClient.Builder builder) { try { + SSLSocketFactory sslSocketFactory = null; TrustManager[] trustManagers = null; HostnameVerifier hostnameVerifier = null; + if (!verifyingSsl) { TrustManager trustAll = new X509TrustManager() { @Override - public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { + public void checkClientTrusted(X509Certificate[] chain, String authType) { } @Override - public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { + public void checkServerTrusted(X509Certificate[] chain, String authType) { } @Override public X509Certificate[] getAcceptedIssuers() { - return null; - } - }; - // SSLContext sslContext = SSLContext.getInstance("TLS"); - trustManagers = new TrustManager[] { trustAll }; - hostnameVerifier = new HostnameVerifier() { - @Override - public boolean verify(String hostname, SSLSession session) { - return true; + return new X509Certificate[0]; } }; + + trustManagers = new TrustManager[] {trustAll}; + hostnameVerifier = (hostname, session) -> true; } else if (sslCaCert != null) { char[] password = null; // Any password will work. CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); @@ -1322,20 +1077,19 @@ public boolean verify(String hostname, SSLSession session) { String certificateAlias = "ca" + Integer.toString(index++); caKeyStore.setCertificateEntry(certificateAlias, certificate); } - TrustManagerFactory trustManagerFactory = TrustManagerFactory - .getInstance(TrustManagerFactory.getDefaultAlgorithm()); + TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init(caKeyStore); trustManagers = trustManagerFactory.getTrustManagers(); } - if (keyManagers != null || trustManagers != null) { + if (trustManagers != null) { SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient.setSslSocketFactory(sslContext.getSocketFactory()); - } else { - httpClient.setSslSocketFactory(null); + sslSocketFactory = sslContext.getSocketFactory(); } - httpClient.setHostnameVerifier(hostnameVerifier); + + builder.sslSocketFactory(sslSocketFactory, (X509TrustManager) trustManagers[0]); + builder.hostnameVerifier(hostnameVerifier); } catch (GeneralSecurityException e) { throw new RuntimeException(e); } @@ -1350,4 +1104,9 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti throw new AssertionError(e); } } + + public ApiClient build() { + this.httpClient = this.httpClientBuilder.build(); + return this; + } } diff --git a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/DefaultApi.java b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/DefaultApi.java index ef80aa3c..6bfbc401 100644 --- a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/DefaultApi.java +++ b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/DefaultApi.java @@ -64,7 +64,9 @@ import com.nextbreakpoint.flinkclient1_15.model.TaskManagersInfo; import com.nextbreakpoint.flinkclient1_15.model.ThreadDumpInfo; import com.nextbreakpoint.flinkclient1_15.model.TriggerResponse; +import lombok.Getter; +@Getter public class DefaultApi { private ApiClient apiClient; @@ -76,17 +78,13 @@ public DefaultApi(ApiClient apiClient) { this.apiClient = apiClient; } - public ApiClient getApiClient() { - return apiClient; - } - public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } /** * Build call for clusterDelete - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -95,7 +93,7 @@ public void setApiClient(ApiClient apiClient) { * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call clusterDeleteCall( + public okhttp3.Call clusterDeleteCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -124,10 +122,10 @@ public com.squareup.okhttp.Call clusterDeleteCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -140,18 +138,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call clusterDeleteValidateBeforeCall( + private okhttp3.Call clusterDeleteValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = clusterDeleteCall(progressListener, progressRequestListener); + okhttp3.Call call = clusterDeleteCall(progressListener, progressRequestListener); return call; } /** - * + * * Shuts down the cluster - * + * * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body @@ -161,22 +159,22 @@ public void clusterDelete() throws ApiException { } /** - * + * * Shuts down the cluster - * + * * @return ApiResponse<Void> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse clusterDeleteWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = clusterDeleteValidateBeforeCall(null, null); + okhttp3.Call call = clusterDeleteValidateBeforeCall(null, null); return apiClient.execute(call); } /** * (asynchronously) Shuts down the cluster - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -184,7 +182,7 @@ public ApiResponse clusterDeleteWithHttpInfo() throws ApiException { * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call clusterDeleteAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call clusterDeleteAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -205,14 +203,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = clusterDeleteValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = clusterDeleteValidateBeforeCall(progressListener, progressRequestListener); apiClient.executeAsync(call, callback); return call; } /** * Build call for configGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -221,7 +219,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call configGetCall( + public okhttp3.Call configGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -248,10 +246,10 @@ public com.squareup.okhttp.Call configGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -264,19 +262,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call configGetValidateBeforeCall( + private okhttp3.Call configGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = configGetCall(progressListener, progressRequestListener); + okhttp3.Call call = configGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns the configuration of the WebUI. - * + * * @return DashboardConfiguration * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -288,16 +286,16 @@ public DashboardConfiguration configGet() throws ApiException { } /** - * + * * Returns the configuration of the WebUI. - * + * * @return ApiResponse<DashboardConfiguration> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse configGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = configGetValidateBeforeCall(null, null); + okhttp3.Call call = configGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -305,7 +303,7 @@ public ApiResponse configGetWithHttpInfo() throws ApiExc /** * (asynchronously) Returns the configuration of the WebUI. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -313,7 +311,7 @@ public ApiResponse configGetWithHttpInfo() throws ApiExc * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call configGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call configGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -334,7 +332,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = configGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = configGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -343,7 +341,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for datasetsDatasetidDelete - * + * * @param datasetid * 32-character hexadecimal string value that identifies a * cluster data set. (required) @@ -355,7 +353,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call datasetsDatasetidDeleteCall( + public okhttp3.Call datasetsDatasetidDeleteCall( String datasetid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -384,10 +382,10 @@ public com.squareup.okhttp.Call datasetsDatasetidDeleteCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -400,7 +398,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call datasetsDatasetidDeleteValidateBeforeCall( + private okhttp3.Call datasetsDatasetidDeleteValidateBeforeCall( String datasetid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -409,16 +407,16 @@ private com.squareup.okhttp.Call datasetsDatasetidDeleteValidateBeforeCall( throw new ApiException("Missing the required parameter 'datasetid' when calling datasetsDatasetidDelete(Async)"); } - com.squareup.okhttp.Call call = datasetsDatasetidDeleteCall(datasetid, progressListener, progressRequestListener); + okhttp3.Call call = datasetsDatasetidDeleteCall(datasetid, progressListener, progressRequestListener); return call; } /** - * + * * Triggers the deletion of a cluster data set. This async operation would * return a 'triggerid' for further query identifier. - * + * * @param datasetid * 32-character hexadecimal string value that identifies a * cluster data set. (required) @@ -433,10 +431,10 @@ public TriggerResponse datasetsDatasetidDelete(String datasetid) throws ApiExcep } /** - * + * * Triggers the deletion of a cluster data set. This async operation would * return a 'triggerid' for further query identifier. - * + * * @param datasetid * 32-character hexadecimal string value that identifies a * cluster data set. (required) @@ -446,7 +444,7 @@ public TriggerResponse datasetsDatasetidDelete(String datasetid) throws ApiExcep * deserialize the response body */ public ApiResponse datasetsDatasetidDeleteWithHttpInfo(String datasetid) throws ApiException { - com.squareup.okhttp.Call call = datasetsDatasetidDeleteValidateBeforeCall(datasetid, null, null); + okhttp3.Call call = datasetsDatasetidDeleteValidateBeforeCall(datasetid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -456,7 +454,7 @@ public ApiResponse datasetsDatasetidDeleteWithHttpInfo(String d * (asynchronously) Triggers the deletion of a cluster data set. This async * operation would return a 'triggerid' for further query * identifier. - * + * * @param datasetid * 32-character hexadecimal string value that identifies a * cluster data set. (required) @@ -467,7 +465,7 @@ public ApiResponse datasetsDatasetidDeleteWithHttpInfo(String d * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call datasetsDatasetidDeleteAsync(String datasetid, final ApiCallback callback) + public okhttp3.Call datasetsDatasetidDeleteAsync(String datasetid, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -489,7 +487,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = datasetsDatasetidDeleteValidateBeforeCall(datasetid, progressListener, + okhttp3.Call call = datasetsDatasetidDeleteValidateBeforeCall(datasetid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -499,7 +497,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for datasetsDeleteTriggeridGet - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -512,7 +510,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call datasetsDeleteTriggeridGetCall( + public okhttp3.Call datasetsDeleteTriggeridGetCall( String triggerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -541,10 +539,10 @@ public com.squareup.okhttp.Call datasetsDeleteTriggeridGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -557,7 +555,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call datasetsDeleteTriggeridGetValidateBeforeCall( + private okhttp3.Call datasetsDeleteTriggeridGetValidateBeforeCall( String triggerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -566,15 +564,15 @@ private com.squareup.okhttp.Call datasetsDeleteTriggeridGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'triggerid' when calling datasetsDeleteTriggeridGet(Async)"); } - com.squareup.okhttp.Call call = datasetsDeleteTriggeridGetCall(triggerid, progressListener, progressRequestListener); + okhttp3.Call call = datasetsDeleteTriggeridGetCall(triggerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the status for the delete operation of a cluster data set. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -590,9 +588,9 @@ public AsynchronousOperationResult datasetsDeleteTriggeridGet(String triggerid) } /** - * + * * Returns the status for the delete operation of a cluster data set. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -603,7 +601,7 @@ public AsynchronousOperationResult datasetsDeleteTriggeridGet(String triggerid) * deserialize the response body */ public ApiResponse datasetsDeleteTriggeridGetWithHttpInfo(String triggerid) throws ApiException { - com.squareup.okhttp.Call call = datasetsDeleteTriggeridGetValidateBeforeCall(triggerid, null, null); + okhttp3.Call call = datasetsDeleteTriggeridGetValidateBeforeCall(triggerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -612,7 +610,7 @@ public ApiResponse datasetsDeleteTriggeridGetWithHt /** * (asynchronously) Returns the status for the delete operation of a cluster * data set. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -624,7 +622,7 @@ public ApiResponse datasetsDeleteTriggeridGetWithHt * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call datasetsDeleteTriggeridGetAsync( + public okhttp3.Call datasetsDeleteTriggeridGetAsync( String triggerid, final ApiCallback callback) throws ApiException { @@ -647,7 +645,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = datasetsDeleteTriggeridGetValidateBeforeCall(triggerid, progressListener, + okhttp3.Call call = datasetsDeleteTriggeridGetValidateBeforeCall(triggerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -657,7 +655,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for datasetsGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -666,7 +664,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call datasetsGetCall( + public okhttp3.Call datasetsGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -693,10 +691,10 @@ public com.squareup.okhttp.Call datasetsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -709,19 +707,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call datasetsGetValidateBeforeCall( + private okhttp3.Call datasetsGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = datasetsGetCall(progressListener, progressRequestListener); + okhttp3.Call call = datasetsGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns all cluster data sets. - * + * * @return ClusterDataSetListResponseBody * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -733,16 +731,16 @@ public ClusterDataSetListResponseBody datasetsGet() throws ApiException { } /** - * + * * Returns all cluster data sets. - * + * * @return ApiResponse<ClusterDataSetListResponseBody> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse datasetsGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = datasetsGetValidateBeforeCall(null, null); + okhttp3.Call call = datasetsGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -750,7 +748,7 @@ public ApiResponse datasetsGetWithHttpInfo() thr /** * (asynchronously) Returns all cluster data sets. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -758,7 +756,7 @@ public ApiResponse datasetsGetWithHttpInfo() thr * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call datasetsGetAsync(final ApiCallback callback) + public okhttp3.Call datasetsGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -780,7 +778,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = datasetsGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = datasetsGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -789,7 +787,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jarsGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -798,7 +796,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsGetCall( + public okhttp3.Call jarsGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -825,10 +823,10 @@ public com.squareup.okhttp.Call jarsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -841,20 +839,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsGetValidateBeforeCall( + private okhttp3.Call jarsGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jarsGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jarsGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns a list of all jars previously uploaded via * '/jars/upload'. - * + * * @return JarListInfo * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -866,17 +864,17 @@ public JarListInfo jarsGet() throws ApiException { } /** - * + * * Returns a list of all jars previously uploaded via * '/jars/upload'. - * + * * @return ApiResponse<JarListInfo> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse jarsGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jarsGetValidateBeforeCall(null, null); + okhttp3.Call call = jarsGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -885,7 +883,7 @@ public ApiResponse jarsGetWithHttpInfo() throws ApiException { /** * (asynchronously) Returns a list of all jars previously uploaded via * '/jars/upload'. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -893,7 +891,7 @@ public ApiResponse jarsGetWithHttpInfo() throws ApiException { * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call jarsGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -914,7 +912,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jarsGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -923,7 +921,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jarsJaridDelete - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -937,7 +935,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsJaridDeleteCall( + public okhttp3.Call jarsJaridDeleteCall( String jarid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -967,10 +965,10 @@ public com.squareup.okhttp.Call jarsJaridDeleteCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -983,7 +981,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsJaridDeleteValidateBeforeCall( + private okhttp3.Call jarsJaridDeleteValidateBeforeCall( String jarid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -992,15 +990,15 @@ private com.squareup.okhttp.Call jarsJaridDeleteValidateBeforeCall( throw new ApiException("Missing the required parameter 'jarid' when calling jarsJaridDelete(Async)"); } - com.squareup.okhttp.Call call = jarsJaridDeleteCall(jarid, progressListener, progressRequestListener); + okhttp3.Call call = jarsJaridDeleteCall(jarid, progressListener, progressRequestListener); return call; } /** - * + * * Deletes a jar previously uploaded via '/jars/upload'. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1015,9 +1013,9 @@ public void jarsJaridDelete(String jarid) throws ApiException { } /** - * + * * Deletes a jar previously uploaded via '/jars/upload'. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1029,14 +1027,14 @@ public void jarsJaridDelete(String jarid) throws ApiException { * deserialize the response body */ public ApiResponse jarsJaridDeleteWithHttpInfo(String jarid) throws ApiException { - com.squareup.okhttp.Call call = jarsJaridDeleteValidateBeforeCall(jarid, null, null); + okhttp3.Call call = jarsJaridDeleteValidateBeforeCall(jarid, null, null); return apiClient.execute(call); } /** * (asynchronously) Deletes a jar previously uploaded via * '/jars/upload'. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1049,7 +1047,7 @@ public ApiResponse jarsJaridDeleteWithHttpInfo(String jarid) throws ApiExc * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsJaridDeleteAsync(String jarid, final ApiCallback callback) throws ApiException { + public okhttp3.Call jarsJaridDeleteAsync(String jarid, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1070,14 +1068,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsJaridDeleteValidateBeforeCall(jarid, progressListener, progressRequestListener); + okhttp3.Call call = jarsJaridDeleteValidateBeforeCall(jarid, progressListener, progressRequestListener); apiClient.executeAsync(call, callback); return call; } /** * Build call for jarsJaridPlanGet - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1104,7 +1102,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsJaridPlanGetCall( + public okhttp3.Call jarsJaridPlanGetCall( String jarid, String programArgs, String programArg, @@ -1144,10 +1142,10 @@ public com.squareup.okhttp.Call jarsJaridPlanGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -1160,7 +1158,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsJaridPlanGetValidateBeforeCall( + private okhttp3.Call jarsJaridPlanGetValidateBeforeCall( String jarid, String programArgs, String programArg, @@ -1173,18 +1171,18 @@ private com.squareup.okhttp.Call jarsJaridPlanGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jarid' when calling jarsJaridPlanGet(Async)"); } - com.squareup.okhttp.Call call = jarsJaridPlanGetCall(jarid, programArgs, programArg, entryClass, parallelism, + okhttp3.Call call = jarsJaridPlanGetCall(jarid, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); return call; } /** - * + * * Returns the dataflow plan of a job contained in a jar previously uploaded * via '/jars/upload'. Program arguments can be passed both via * the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1219,11 +1217,11 @@ public JobPlanInfo jarsJaridPlanGet( } /** - * + * * Returns the dataflow plan of a job contained in a jar previously uploaded * via '/jars/upload'. Program arguments can be passed both via * the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1253,7 +1251,7 @@ public ApiResponse jarsJaridPlanGetWithHttpInfo( String programArg, String entryClass, Integer parallelism) throws ApiException { - com.squareup.okhttp.Call call = jarsJaridPlanGetValidateBeforeCall(jarid, programArgs, programArg, entryClass, + okhttp3.Call call = jarsJaridPlanGetValidateBeforeCall(jarid, programArgs, programArg, entryClass, parallelism, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1264,7 +1262,7 @@ public ApiResponse jarsJaridPlanGetWithHttpInfo( * (asynchronously) Returns the dataflow plan of a job contained in a jar * previously uploaded via '/jars/upload'. Program arguments can * be passed both via the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1290,7 +1288,7 @@ public ApiResponse jarsJaridPlanGetWithHttpInfo( * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsJaridPlanGetAsync( + public okhttp3.Call jarsJaridPlanGetAsync( String jarid, String programArgs, String programArg, @@ -1317,7 +1315,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsJaridPlanGetValidateBeforeCall(jarid, programArgs, programArg, entryClass, + okhttp3.Call call = jarsJaridPlanGetValidateBeforeCall(jarid, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1327,7 +1325,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jarsJaridPlanPost - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1356,7 +1354,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsJaridPlanPostCall( + public okhttp3.Call jarsJaridPlanPostCall( String jarid, JarPlanRequestBody body, String programArgs, @@ -1395,10 +1393,10 @@ public com.squareup.okhttp.Call jarsJaridPlanPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -1411,7 +1409,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsJaridPlanPostValidateBeforeCall( + private okhttp3.Call jarsJaridPlanPostValidateBeforeCall( String jarid, JarPlanRequestBody body, String programArgs, @@ -1425,18 +1423,18 @@ private com.squareup.okhttp.Call jarsJaridPlanPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'jarid' when calling jarsJaridPlanPost(Async)"); } - com.squareup.okhttp.Call call = jarsJaridPlanPostCall(jarid, body, programArgs, programArg, entryClass, parallelism, + okhttp3.Call call = jarsJaridPlanPostCall(jarid, body, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); return call; } /** - * + * * Returns the dataflow plan of a job contained in a jar previously uploaded * via '/jars/upload'. Program arguments can be passed both via * the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1475,11 +1473,11 @@ public JobPlanInfo jarsJaridPlanPost( } /** - * + * * Returns the dataflow plan of a job contained in a jar previously uploaded * via '/jars/upload'. Program arguments can be passed both via * the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1512,7 +1510,7 @@ public ApiResponse jarsJaridPlanPostWithHttpInfo( String programArg, String entryClass, Integer parallelism) throws ApiException { - com.squareup.okhttp.Call call = jarsJaridPlanPostValidateBeforeCall(jarid, body, programArgs, programArg, entryClass, + okhttp3.Call call = jarsJaridPlanPostValidateBeforeCall(jarid, body, programArgs, programArg, entryClass, parallelism, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1523,7 +1521,7 @@ public ApiResponse jarsJaridPlanPostWithHttpInfo( * (asynchronously) Returns the dataflow plan of a job contained in a jar * previously uploaded via '/jars/upload'. Program arguments can * be passed both via the JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1551,7 +1549,7 @@ public ApiResponse jarsJaridPlanPostWithHttpInfo( * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsJaridPlanPostAsync( + public okhttp3.Call jarsJaridPlanPostAsync( String jarid, JarPlanRequestBody body, String programArgs, @@ -1579,7 +1577,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsJaridPlanPostValidateBeforeCall(jarid, body, programArgs, programArg, entryClass, + okhttp3.Call call = jarsJaridPlanPostValidateBeforeCall(jarid, body, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1589,7 +1587,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jarsJaridRunPost - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1625,7 +1623,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsJaridRunPostCall( + public okhttp3.Call jarsJaridRunPostCall( String jarid, JarRunRequestBody body, Boolean allowNonRestoredState, @@ -1670,10 +1668,10 @@ public com.squareup.okhttp.Call jarsJaridRunPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -1686,7 +1684,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsJaridRunPostValidateBeforeCall( + private okhttp3.Call jarsJaridRunPostValidateBeforeCall( String jarid, JarRunRequestBody body, Boolean allowNonRestoredState, @@ -1702,18 +1700,18 @@ private com.squareup.okhttp.Call jarsJaridRunPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'jarid' when calling jarsJaridRunPost(Async)"); } - com.squareup.okhttp.Call call = jarsJaridRunPostCall(jarid, body, allowNonRestoredState, savepointPath, programArgs, + okhttp3.Call call = jarsJaridRunPostCall(jarid, body, allowNonRestoredState, savepointPath, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); return call; } /** - * + * * Submits a job by running a jar previously uploaded via * '/jars/upload'. Program arguments can be passed both via the * JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1761,11 +1759,11 @@ public JarRunResponseBody jarsJaridRunPost( } /** - * + * * Submits a job by running a jar previously uploaded via * '/jars/upload'. Program arguments can be passed both via the * JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1807,7 +1805,7 @@ public ApiResponse jarsJaridRunPostWithHttpInfo( String programArg, String entryClass, Integer parallelism) throws ApiException { - com.squareup.okhttp.Call call = jarsJaridRunPostValidateBeforeCall(jarid, body, allowNonRestoredState, savepointPath, + okhttp3.Call call = jarsJaridRunPostValidateBeforeCall(jarid, body, allowNonRestoredState, savepointPath, programArgs, programArg, entryClass, parallelism, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1818,7 +1816,7 @@ public ApiResponse jarsJaridRunPostWithHttpInfo( * (asynchronously) Submits a job by running a jar previously uploaded via * '/jars/upload'. Program arguments can be passed both via the * JSON request (recommended) or query parameters. - * + * * @param jarid * String value that identifies a jar. When uploading the jar a * path is returned, where the filename is the ID. This value is @@ -1853,7 +1851,7 @@ public ApiResponse jarsJaridRunPostWithHttpInfo( * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsJaridRunPostAsync( + public okhttp3.Call jarsJaridRunPostAsync( String jarid, JarRunRequestBody body, Boolean allowNonRestoredState, @@ -1883,7 +1881,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsJaridRunPostValidateBeforeCall(jarid, body, allowNonRestoredState, savepointPath, + okhttp3.Call call = jarsJaridRunPostValidateBeforeCall(jarid, body, allowNonRestoredState, savepointPath, programArgs, programArg, entryClass, parallelism, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -1893,7 +1891,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jarsUploadPost - * + * * @param body * (required) * @param progressListener @@ -1904,7 +1902,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jarsUploadPostCall( + public okhttp3.Call jarsUploadPostCall( Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -1937,10 +1935,10 @@ public com.squareup.okhttp.Call jarsUploadPostCall( // [END] if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -1953,7 +1951,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jarsUploadPostValidateBeforeCall( + private okhttp3.Call jarsUploadPostValidateBeforeCall( Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -1962,13 +1960,13 @@ private com.squareup.okhttp.Call jarsUploadPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'body' when calling jarsUploadPost(Async)"); } - com.squareup.okhttp.Call call = jarsUploadPostCall(body, progressListener, progressRequestListener); + okhttp3.Call call = jarsUploadPostCall(body, progressListener, progressRequestListener); return call; } /** - * + * * Uploads a jar to the cluster. The jar must be sent as multi-part data. * Make sure that the \"Content-Type\" header is set to * \"application/x-java-archive\", as some http libraries do not @@ -1976,7 +1974,7 @@ private com.squareup.okhttp.Call jarsUploadPostValidateBeforeCall( * via 'curl -X POST -H \"Expect:\" -F * \"jarfile=@path/to/flink-job.jar\" * http://hostname:port/jars/upload'. - * + * * @param body * (required) * @return JarUploadResponseBody @@ -1990,7 +1988,7 @@ public JarUploadResponseBody jarsUploadPost(Object body) throws ApiException { } /** - * + * * Uploads a jar to the cluster. The jar must be sent as multi-part data. * Make sure that the \"Content-Type\" header is set to * \"application/x-java-archive\", as some http libraries do not @@ -1998,7 +1996,7 @@ public JarUploadResponseBody jarsUploadPost(Object body) throws ApiException { * via 'curl -X POST -H \"Expect:\" -F * \"jarfile=@path/to/flink-job.jar\" * http://hostname:port/jars/upload'. - * + * * @param body * (required) * @return ApiResponse<JarUploadResponseBody> @@ -2007,7 +2005,7 @@ public JarUploadResponseBody jarsUploadPost(Object body) throws ApiException { * deserialize the response body */ public ApiResponse jarsUploadPostWithHttpInfo(Object body) throws ApiException { - com.squareup.okhttp.Call call = jarsUploadPostValidateBeforeCall(body, null, null); + okhttp3.Call call = jarsUploadPostValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2021,7 +2019,7 @@ public ApiResponse jarsUploadPostWithHttpInfo(Object body * jar via 'curl -X POST -H \"Expect:\" -F * \"jarfile=@path/to/flink-job.jar\" * http://hostname:port/jars/upload'. - * + * * @param body * (required) * @param callback @@ -2031,7 +2029,7 @@ public ApiResponse jarsUploadPostWithHttpInfo(Object body * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jarsUploadPostAsync(Object body, final ApiCallback callback) + public okhttp3.Call jarsUploadPostAsync(Object body, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -2053,7 +2051,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jarsUploadPostValidateBeforeCall(body, progressListener, progressRequestListener); + okhttp3.Call call = jarsUploadPostValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2062,7 +2060,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobmanagerConfigGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -2071,7 +2069,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobmanagerConfigGetCall( + public okhttp3.Call jobmanagerConfigGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -2098,10 +2096,10 @@ public com.squareup.okhttp.Call jobmanagerConfigGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2114,19 +2112,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobmanagerConfigGetValidateBeforeCall( + private okhttp3.Call jobmanagerConfigGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobmanagerConfigGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerConfigGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns the cluster configuration. - * + * * @return List<ClusterConfigurationInfoEntry> * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -2138,16 +2136,16 @@ public List jobmanagerConfigGet() throws ApiExcep } /** - * + * * Returns the cluster configuration. - * + * * @return ApiResponse<List<ClusterConfigurationInfoEntry>> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse> jobmanagerConfigGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jobmanagerConfigGetValidateBeforeCall(null, null); + okhttp3.Call call = jobmanagerConfigGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken>() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2155,7 +2153,7 @@ public ApiResponse> jobmanagerConfigGetWithH /** * (asynchronously) Returns the cluster configuration. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -2163,7 +2161,7 @@ public ApiResponse> jobmanagerConfigGetWithH * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobmanagerConfigGetAsync(final ApiCallback> callback) + public okhttp3.Call jobmanagerConfigGetAsync(final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -2185,7 +2183,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobmanagerConfigGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerConfigGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2194,7 +2192,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobmanagerLogsGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -2203,7 +2201,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobmanagerLogsGetCall( + public okhttp3.Call jobmanagerLogsGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -2230,10 +2228,10 @@ public com.squareup.okhttp.Call jobmanagerLogsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2246,19 +2244,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobmanagerLogsGetValidateBeforeCall( + private okhttp3.Call jobmanagerLogsGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobmanagerLogsGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerLogsGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns the list of log files on the JobManager. - * + * * @return LogListInfo * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -2270,16 +2268,16 @@ public LogListInfo jobmanagerLogsGet() throws ApiException { } /** - * + * * Returns the list of log files on the JobManager. - * + * * @return ApiResponse<LogListInfo> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse jobmanagerLogsGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jobmanagerLogsGetValidateBeforeCall(null, null); + okhttp3.Call call = jobmanagerLogsGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2287,7 +2285,7 @@ public ApiResponse jobmanagerLogsGetWithHttpInfo() throws ApiExcept /** * (asynchronously) Returns the list of log files on the JobManager. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -2295,7 +2293,7 @@ public ApiResponse jobmanagerLogsGetWithHttpInfo() throws ApiExcept * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobmanagerLogsGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call jobmanagerLogsGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2316,7 +2314,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobmanagerLogsGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerLogsGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2325,7 +2323,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobmanagerMetricsGet - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -2337,7 +2335,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobmanagerMetricsGetCall( + public okhttp3.Call jobmanagerMetricsGetCall( String get, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -2367,10 +2365,10 @@ public com.squareup.okhttp.Call jobmanagerMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2383,20 +2381,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobmanagerMetricsGetValidateBeforeCall( + private okhttp3.Call jobmanagerMetricsGetValidateBeforeCall( String get, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobmanagerMetricsGetCall(get, progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerMetricsGetCall(get, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to job manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -2411,9 +2409,9 @@ public MetricCollectionResponseBody jobmanagerMetricsGet(String get) throws ApiE } /** - * + * * Provides access to job manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -2423,7 +2421,7 @@ public MetricCollectionResponseBody jobmanagerMetricsGet(String get) throws ApiE * deserialize the response body */ public ApiResponse jobmanagerMetricsGetWithHttpInfo(String get) throws ApiException { - com.squareup.okhttp.Call call = jobmanagerMetricsGetValidateBeforeCall(get, null, null); + okhttp3.Call call = jobmanagerMetricsGetValidateBeforeCall(get, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2431,7 +2429,7 @@ public ApiResponse jobmanagerMetricsGetWithHttpInf /** * (asynchronously) Provides access to job manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -2442,7 +2440,7 @@ public ApiResponse jobmanagerMetricsGetWithHttpInf * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobmanagerMetricsGetAsync( + public okhttp3.Call jobmanagerMetricsGetAsync( String get, final ApiCallback callback) throws ApiException { @@ -2465,7 +2463,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobmanagerMetricsGetValidateBeforeCall(get, progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerMetricsGetValidateBeforeCall(get, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2474,7 +2472,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobmanagerThreadDumpGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -2483,7 +2481,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobmanagerThreadDumpGetCall( + public okhttp3.Call jobmanagerThreadDumpGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -2510,10 +2508,10 @@ public com.squareup.okhttp.Call jobmanagerThreadDumpGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2526,19 +2524,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobmanagerThreadDumpGetValidateBeforeCall( + private okhttp3.Call jobmanagerThreadDumpGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobmanagerThreadDumpGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerThreadDumpGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns the thread dump of the JobManager. - * + * * @return ThreadDumpInfo * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -2550,16 +2548,16 @@ public ThreadDumpInfo jobmanagerThreadDumpGet() throws ApiException { } /** - * + * * Returns the thread dump of the JobManager. - * + * * @return ApiResponse<ThreadDumpInfo> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse jobmanagerThreadDumpGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jobmanagerThreadDumpGetValidateBeforeCall(null, null); + okhttp3.Call call = jobmanagerThreadDumpGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2567,7 +2565,7 @@ public ApiResponse jobmanagerThreadDumpGetWithHttpInfo() throws /** * (asynchronously) Returns the thread dump of the JobManager. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -2575,7 +2573,7 @@ public ApiResponse jobmanagerThreadDumpGetWithHttpInfo() throws * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobmanagerThreadDumpGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call jobmanagerThreadDumpGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2596,7 +2594,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobmanagerThreadDumpGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jobmanagerThreadDumpGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2605,7 +2603,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -2614,7 +2612,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsGetCall( + public okhttp3.Call jobsGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -2641,10 +2639,10 @@ public com.squareup.okhttp.Call jobsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2657,19 +2655,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsGetValidateBeforeCall( + private okhttp3.Call jobsGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobsGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jobsGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns an overview over all jobs and their current state. - * + * * @return JobIdsWithStatusOverview * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -2681,16 +2679,16 @@ public JobIdsWithStatusOverview jobsGet() throws ApiException { } /** - * + * * Returns an overview over all jobs and their current state. - * + * * @return ApiResponse<JobIdsWithStatusOverview> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse jobsGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jobsGetValidateBeforeCall(null, null); + okhttp3.Call call = jobsGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2699,7 +2697,7 @@ public ApiResponse jobsGetWithHttpInfo() throws ApiExc /** * (asynchronously) Returns an overview over all jobs and their current * state. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -2707,7 +2705,7 @@ public ApiResponse jobsGetWithHttpInfo() throws ApiExc * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call jobsGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2728,7 +2726,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jobsGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -2737,7 +2735,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidAccumulatorsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -2752,7 +2750,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidAccumulatorsGetCall( + public okhttp3.Call jobsJobidAccumulatorsGetCall( String jobid, Boolean includeSerializedValue, final ProgressResponseBody.ProgressListener progressListener, @@ -2784,10 +2782,10 @@ public com.squareup.okhttp.Call jobsJobidAccumulatorsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2800,7 +2798,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidAccumulatorsGetValidateBeforeCall( + private okhttp3.Call jobsJobidAccumulatorsGetValidateBeforeCall( String jobid, Boolean includeSerializedValue, final ProgressResponseBody.ProgressListener progressListener, @@ -2810,17 +2808,17 @@ private com.squareup.okhttp.Call jobsJobidAccumulatorsGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidAccumulatorsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidAccumulatorsGetCall(jobid, includeSerializedValue, progressListener, + okhttp3.Call call = jobsJobidAccumulatorsGetCall(jobid, includeSerializedValue, progressListener, progressRequestListener); return call; } /** - * + * * Returns the accumulators for all tasks of a job, aggregated across the * respective subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -2838,10 +2836,10 @@ public JobAccumulatorsInfo jobsJobidAccumulatorsGet(String jobid, Boolean includ } /** - * + * * Returns the accumulators for all tasks of a job, aggregated across the * respective subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -2855,7 +2853,7 @@ public JobAccumulatorsInfo jobsJobidAccumulatorsGet(String jobid, Boolean includ */ public ApiResponse jobsJobidAccumulatorsGetWithHttpInfo(String jobid, Boolean includeSerializedValue) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidAccumulatorsGetValidateBeforeCall(jobid, includeSerializedValue, null, null); + okhttp3.Call call = jobsJobidAccumulatorsGetValidateBeforeCall(jobid, includeSerializedValue, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -2864,7 +2862,7 @@ public ApiResponse jobsJobidAccumulatorsGetWithHttpInfo(Str /** * (asynchronously) Returns the accumulators for all tasks of a job, * aggregated across the respective subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -2878,7 +2876,7 @@ public ApiResponse jobsJobidAccumulatorsGetWithHttpInfo(Str * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidAccumulatorsGetAsync( + public okhttp3.Call jobsJobidAccumulatorsGetAsync( String jobid, Boolean includeSerializedValue, final ApiCallback callback) throws ApiException { @@ -2902,7 +2900,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidAccumulatorsGetValidateBeforeCall(jobid, includeSerializedValue, + okhttp3.Call call = jobsJobidAccumulatorsGetValidateBeforeCall(jobid, includeSerializedValue, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -2912,7 +2910,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidCheckpointsConfigGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -2924,7 +2922,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsConfigGetCall( + public okhttp3.Call jobsJobidCheckpointsConfigGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -2953,10 +2951,10 @@ public com.squareup.okhttp.Call jobsJobidCheckpointsConfigGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -2969,7 +2967,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidCheckpointsConfigGetValidateBeforeCall( + private okhttp3.Call jobsJobidCheckpointsConfigGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -2978,15 +2976,15 @@ private com.squareup.okhttp.Call jobsJobidCheckpointsConfigGetValidateBeforeCall throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidCheckpointsConfigGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidCheckpointsConfigGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidCheckpointsConfigGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the checkpointing configuration. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3001,9 +2999,9 @@ public CheckpointConfigInfo jobsJobidCheckpointsConfigGet(String jobid) throws A } /** - * + * * Returns the checkpointing configuration. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3013,7 +3011,7 @@ public CheckpointConfigInfo jobsJobidCheckpointsConfigGet(String jobid) throws A * deserialize the response body */ public ApiResponse jobsJobidCheckpointsConfigGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidCheckpointsConfigGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidCheckpointsConfigGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -3021,7 +3019,7 @@ public ApiResponse jobsJobidCheckpointsConfigGetWithHttpIn /** * (asynchronously) Returns the checkpointing configuration. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3032,7 +3030,7 @@ public ApiResponse jobsJobidCheckpointsConfigGetWithHttpIn * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsConfigGetAsync( + public okhttp3.Call jobsJobidCheckpointsConfigGetAsync( String jobid, final ApiCallback callback) throws ApiException { @@ -3055,7 +3053,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidCheckpointsConfigGetValidateBeforeCall(jobid, progressListener, + okhttp3.Call call = jobsJobidCheckpointsConfigGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3065,7 +3063,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidCheckpointsDetailsCheckpointidGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3079,7 +3077,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidGetCall( + public okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidGetCall( String jobid, Long checkpointid, final ProgressResponseBody.ProgressListener progressListener, @@ -3110,10 +3108,10 @@ public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -3126,7 +3124,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall( + private okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall( String jobid, Long checkpointid, final ProgressResponseBody.ProgressListener progressListener, @@ -3142,16 +3140,16 @@ private com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidGetValid "Missing the required parameter 'checkpointid' when calling jobsJobidCheckpointsDetailsCheckpointidGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidGetCall(jobid, checkpointid, progressListener, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidGetCall(jobid, checkpointid, progressListener, progressRequestListener); return call; } /** - * + * * Returns details for a checkpoint. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3168,9 +3166,9 @@ public CheckpointStatistics jobsJobidCheckpointsDetailsCheckpointidGet(String jo } /** - * + * * Returns details for a checkpoint. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3184,7 +3182,7 @@ public CheckpointStatistics jobsJobidCheckpointsDetailsCheckpointidGet(String jo public ApiResponse jobsJobidCheckpointsDetailsCheckpointidGetWithHttpInfo( String jobid, Long checkpointid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall(jobid, checkpointid, null, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall(jobid, checkpointid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3193,7 +3191,7 @@ public ApiResponse jobsJobidCheckpointsDetailsCheckpointid /** * (asynchronously) Returns details for a checkpoint. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3206,7 +3204,7 @@ public ApiResponse jobsJobidCheckpointsDetailsCheckpointid * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidGetAsync( + public okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidGetAsync( String jobid, Long checkpointid, final ApiCallback callback) throws ApiException { @@ -3230,7 +3228,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall(jobid, checkpointid, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidGetValidateBeforeCall(jobid, checkpointid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3240,7 +3238,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3257,7 +3255,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetCall( + public okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetCall( String jobid, Long checkpointid, String vertexid, @@ -3290,10 +3288,10 @@ public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksV localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -3306,7 +3304,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall( + private okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall( String jobid, Long checkpointid, String vertexid, @@ -3328,16 +3326,16 @@ private com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidSubtasks "Missing the required parameter 'vertexid' when calling jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetCall(jobid, checkpointid, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetCall(jobid, checkpointid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns checkpoint statistics for a task and its subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3361,9 +3359,9 @@ public TaskCheckpointStatisticsWithSubtaskDetails jobsJobidCheckpointsDetailsChe } /** - * + * * Returns checkpoint statistics for a task and its subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3381,7 +3379,7 @@ public ApiResponse jobsJobidCheckpoi String jobid, Long checkpointid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall(jobid, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall(jobid, checkpointid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3391,7 +3389,7 @@ public ApiResponse jobsJobidCheckpoi /** * (asynchronously) Returns checkpoint statistics for a task and its * subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3407,7 +3405,7 @@ public ApiResponse jobsJobidCheckpoi * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetAsync( + public okhttp3.Call jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetAsync( String jobid, Long checkpointid, String vertexid, @@ -3432,7 +3430,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall(jobid, + okhttp3.Call call = jobsJobidCheckpointsDetailsCheckpointidSubtasksVertexidGetValidateBeforeCall(jobid, checkpointid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3442,7 +3440,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidCheckpointsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3454,7 +3452,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsGetCall( + public okhttp3.Call jobsJobidCheckpointsGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -3483,10 +3481,10 @@ public com.squareup.okhttp.Call jobsJobidCheckpointsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -3499,7 +3497,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidCheckpointsGetValidateBeforeCall( + private okhttp3.Call jobsJobidCheckpointsGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -3508,15 +3506,15 @@ private com.squareup.okhttp.Call jobsJobidCheckpointsGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidCheckpointsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidCheckpointsGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidCheckpointsGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns checkpointing statistics for a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3531,9 +3529,9 @@ public CheckpointingStatistics jobsJobidCheckpointsGet(String jobid) throws ApiE } /** - * + * * Returns checkpointing statistics for a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3543,7 +3541,7 @@ public CheckpointingStatistics jobsJobidCheckpointsGet(String jobid) throws ApiE * deserialize the response body */ public ApiResponse jobsJobidCheckpointsGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidCheckpointsGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidCheckpointsGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -3551,7 +3549,7 @@ public ApiResponse jobsJobidCheckpointsGetWithHttpInfo( /** * (asynchronously) Returns checkpointing statistics for a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3562,7 +3560,7 @@ public ApiResponse jobsJobidCheckpointsGetWithHttpInfo( * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidCheckpointsGetAsync( + public okhttp3.Call jobsJobidCheckpointsGetAsync( String jobid, final ApiCallback callback) throws ApiException { @@ -3585,7 +3583,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidCheckpointsGetValidateBeforeCall(jobid, progressListener, + okhttp3.Call call = jobsJobidCheckpointsGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3595,7 +3593,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidConfigGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3607,7 +3605,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidConfigGetCall( + public okhttp3.Call jobsJobidConfigGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -3636,10 +3634,10 @@ public com.squareup.okhttp.Call jobsJobidConfigGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -3652,7 +3650,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidConfigGetValidateBeforeCall( + private okhttp3.Call jobsJobidConfigGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -3661,15 +3659,15 @@ private com.squareup.okhttp.Call jobsJobidConfigGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidConfigGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidConfigGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidConfigGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the configuration of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3684,9 +3682,9 @@ public JobConfigInfo jobsJobidConfigGet(String jobid) throws ApiException { } /** - * + * * Returns the configuration of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3696,7 +3694,7 @@ public JobConfigInfo jobsJobidConfigGet(String jobid) throws ApiException { * deserialize the response body */ public ApiResponse jobsJobidConfigGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidConfigGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidConfigGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -3704,7 +3702,7 @@ public ApiResponse jobsJobidConfigGetWithHttpInfo(String jobid) t /** * (asynchronously) Returns the configuration of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3715,7 +3713,7 @@ public ApiResponse jobsJobidConfigGetWithHttpInfo(String jobid) t * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidConfigGetAsync(String jobid, final ApiCallback callback) + public okhttp3.Call jobsJobidConfigGetAsync(String jobid, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -3737,7 +3735,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidConfigGetValidateBeforeCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidConfigGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -3746,7 +3744,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidExceptionsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3761,7 +3759,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidExceptionsGetCall( + public okhttp3.Call jobsJobidExceptionsGetCall( String jobid, Integer maxExceptions, final ProgressResponseBody.ProgressListener progressListener, @@ -3793,10 +3791,10 @@ public com.squareup.okhttp.Call jobsJobidExceptionsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -3809,7 +3807,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidExceptionsGetValidateBeforeCall( + private okhttp3.Call jobsJobidExceptionsGetValidateBeforeCall( String jobid, Integer maxExceptions, final ProgressResponseBody.ProgressListener progressListener, @@ -3819,14 +3817,14 @@ private com.squareup.okhttp.Call jobsJobidExceptionsGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidExceptionsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidExceptionsGetCall(jobid, maxExceptions, progressListener, + okhttp3.Call call = jobsJobidExceptionsGetCall(jobid, maxExceptions, progressListener, progressRequestListener); return call; } /** - * + * * Returns the most recent exceptions that have been handled by Flink for * this job. The 'exceptionHistory.truncated' flag defines whether * exceptions were filtered out through the GET parameter. The backend @@ -3836,7 +3834,7 @@ private com.squareup.okhttp.Call jobsJobidExceptionsGetValidateBeforeCall( * 'root-exception', 'timestamp', * 'all-exceptions', and 'truncated'. Use the data * provided through 'exceptionHistory', instead. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3854,7 +3852,7 @@ public JobExceptionsInfoWithHistory jobsJobidExceptionsGet(String jobid, Integer } /** - * + * * Returns the most recent exceptions that have been handled by Flink for * this job. The 'exceptionHistory.truncated' flag defines whether * exceptions were filtered out through the GET parameter. The backend @@ -3864,7 +3862,7 @@ public JobExceptionsInfoWithHistory jobsJobidExceptionsGet(String jobid, Integer * 'root-exception', 'timestamp', * 'all-exceptions', and 'truncated'. Use the data * provided through 'exceptionHistory', instead. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3878,7 +3876,7 @@ public JobExceptionsInfoWithHistory jobsJobidExceptionsGet(String jobid, Integer */ public ApiResponse jobsJobidExceptionsGetWithHttpInfo(String jobid, Integer maxExceptions) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidExceptionsGetValidateBeforeCall(jobid, maxExceptions, null, null); + okhttp3.Call call = jobsJobidExceptionsGetValidateBeforeCall(jobid, maxExceptions, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -3895,7 +3893,7 @@ public ApiResponse jobsJobidExceptionsGetWithHttpI * 'timestamp', 'all-exceptions', and * 'truncated'. Use the data provided through * 'exceptionHistory', instead. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3909,7 +3907,7 @@ public ApiResponse jobsJobidExceptionsGetWithHttpI * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidExceptionsGetAsync( + public okhttp3.Call jobsJobidExceptionsGetAsync( String jobid, Integer maxExceptions, final ApiCallback callback) throws ApiException { @@ -3933,7 +3931,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidExceptionsGetValidateBeforeCall(jobid, maxExceptions, progressListener, + okhttp3.Call call = jobsJobidExceptionsGetValidateBeforeCall(jobid, maxExceptions, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -3943,7 +3941,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidExecutionResultGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -3955,7 +3953,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidExecutionResultGetCall( + public okhttp3.Call jobsJobidExecutionResultGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -3984,10 +3982,10 @@ public com.squareup.okhttp.Call jobsJobidExecutionResultGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4000,7 +3998,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidExecutionResultGetValidateBeforeCall( + private okhttp3.Call jobsJobidExecutionResultGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -4009,16 +4007,16 @@ private com.squareup.okhttp.Call jobsJobidExecutionResultGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidExecutionResultGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidExecutionResultGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidExecutionResultGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the result of a job execution. Gives access to the execution time * of the job and to all accumulators created by this job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4033,10 +4031,10 @@ public JobExecutionResultResponseBody jobsJobidExecutionResultGet(String jobid) } /** - * + * * Returns the result of a job execution. Gives access to the execution time * of the job and to all accumulators created by this job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4046,7 +4044,7 @@ public JobExecutionResultResponseBody jobsJobidExecutionResultGet(String jobid) * deserialize the response body */ public ApiResponse jobsJobidExecutionResultGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidExecutionResultGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidExecutionResultGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -4056,7 +4054,7 @@ public ApiResponse jobsJobidExecutionResultGetWi * (asynchronously) Returns the result of a job execution. Gives access to * the execution time of the job and to all accumulators created by this * job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4067,7 +4065,7 @@ public ApiResponse jobsJobidExecutionResultGetWi * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidExecutionResultGetAsync( + public okhttp3.Call jobsJobidExecutionResultGetAsync( String jobid, final ApiCallback callback) throws ApiException { @@ -4090,7 +4088,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidExecutionResultGetValidateBeforeCall(jobid, progressListener, + okhttp3.Call call = jobsJobidExecutionResultGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -4100,7 +4098,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4112,7 +4110,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidGetCall( + public okhttp3.Call jobsJobidGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -4140,10 +4138,10 @@ public com.squareup.okhttp.Call jobsJobidGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4156,7 +4154,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidGetValidateBeforeCall( + private okhttp3.Call jobsJobidGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -4165,15 +4163,15 @@ private com.squareup.okhttp.Call jobsJobidGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns details of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4188,9 +4186,9 @@ public JobDetailsInfo jobsJobidGet(String jobid) throws ApiException { } /** - * + * * Returns details of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4200,7 +4198,7 @@ public JobDetailsInfo jobsJobidGet(String jobid) throws ApiException { * deserialize the response body */ public ApiResponse jobsJobidGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -4208,7 +4206,7 @@ public ApiResponse jobsJobidGetWithHttpInfo(String jobid) throws /** * (asynchronously) Returns details of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4219,7 +4217,7 @@ public ApiResponse jobsJobidGetWithHttpInfo(String jobid) throws * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidGetAsync(String jobid, final ApiCallback callback) + public okhttp3.Call jobsJobidGetAsync(String jobid, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -4241,7 +4239,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidGetValidateBeforeCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -4250,7 +4248,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidMetricsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4265,7 +4263,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidMetricsGetCall( + public okhttp3.Call jobsJobidMetricsGetCall( String jobid, String get, final ProgressResponseBody.ProgressListener progressListener, @@ -4297,10 +4295,10 @@ public com.squareup.okhttp.Call jobsJobidMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4313,7 +4311,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidMetricsGetValidateBeforeCall( + private okhttp3.Call jobsJobidMetricsGetValidateBeforeCall( String jobid, String get, final ProgressResponseBody.ProgressListener progressListener, @@ -4323,15 +4321,15 @@ private com.squareup.okhttp.Call jobsJobidMetricsGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidMetricsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidMetricsGetCall(jobid, get, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidMetricsGetCall(jobid, get, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to job metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4349,9 +4347,9 @@ public MetricCollectionResponseBody jobsJobidMetricsGet(String jobid, String get } /** - * + * * Provides access to job metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4365,7 +4363,7 @@ public MetricCollectionResponseBody jobsJobidMetricsGet(String jobid, String get */ public ApiResponse jobsJobidMetricsGetWithHttpInfo(String jobid, String get) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidMetricsGetValidateBeforeCall(jobid, get, null, null); + okhttp3.Call call = jobsJobidMetricsGetValidateBeforeCall(jobid, get, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -4373,7 +4371,7 @@ public ApiResponse jobsJobidMetricsGetWithHttpInfo /** * (asynchronously) Provides access to job metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4387,7 +4385,7 @@ public ApiResponse jobsJobidMetricsGetWithHttpInfo * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidMetricsGetAsync( + public okhttp3.Call jobsJobidMetricsGetAsync( String jobid, String get, final ApiCallback callback) throws ApiException { @@ -4411,7 +4409,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidMetricsGetValidateBeforeCall(jobid, get, progressListener, + okhttp3.Call call = jobsJobidMetricsGetValidateBeforeCall(jobid, get, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -4421,7 +4419,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidPatch - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4436,7 +4434,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidPatchCall( + public okhttp3.Call jobsJobidPatchCall( String jobid, String mode, final ProgressResponseBody.ProgressListener progressListener, @@ -4469,10 +4467,10 @@ public com.squareup.okhttp.Call jobsJobidPatchCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4485,7 +4483,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidPatchValidateBeforeCall( + private okhttp3.Call jobsJobidPatchValidateBeforeCall( String jobid, String mode, final ProgressResponseBody.ProgressListener progressListener, @@ -4495,15 +4493,15 @@ private com.squareup.okhttp.Call jobsJobidPatchValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidPatch(Async)"); } - com.squareup.okhttp.Call call = jobsJobidPatchCall(jobid, mode, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidPatchCall(jobid, mode, progressListener, progressRequestListener); return call; } /** - * + * * Terminates a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4519,9 +4517,9 @@ public void jobsJobidPatch(String jobid, String mode) throws ApiException { } /** - * + * * Terminates a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4534,13 +4532,13 @@ public void jobsJobidPatch(String jobid, String mode) throws ApiException { * deserialize the response body */ public ApiResponse jobsJobidPatchWithHttpInfo(String jobid, String mode) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidPatchValidateBeforeCall(jobid, mode, null, null); + okhttp3.Call call = jobsJobidPatchValidateBeforeCall(jobid, mode, null, null); return apiClient.execute(call); } /** * (asynchronously) Terminates a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4554,7 +4552,7 @@ public ApiResponse jobsJobidPatchWithHttpInfo(String jobid, String mode) t * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidPatchAsync(String jobid, String mode, final ApiCallback callback) + public okhttp3.Call jobsJobidPatchAsync(String jobid, String mode, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -4576,14 +4574,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidPatchValidateBeforeCall(jobid, mode, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidPatchValidateBeforeCall(jobid, mode, progressListener, progressRequestListener); apiClient.executeAsync(call, callback); return call; } /** * Build call for jobsJobidPlanGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4595,7 +4593,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidPlanGetCall( + public okhttp3.Call jobsJobidPlanGetCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -4623,10 +4621,10 @@ public com.squareup.okhttp.Call jobsJobidPlanGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4639,7 +4637,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidPlanGetValidateBeforeCall( + private okhttp3.Call jobsJobidPlanGetValidateBeforeCall( String jobid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -4648,15 +4646,15 @@ private com.squareup.okhttp.Call jobsJobidPlanGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidPlanGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidPlanGetCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidPlanGetCall(jobid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the dataflow plan of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4671,9 +4669,9 @@ public JobPlanInfo jobsJobidPlanGet(String jobid) throws ApiException { } /** - * + * * Returns the dataflow plan of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4683,7 +4681,7 @@ public JobPlanInfo jobsJobidPlanGet(String jobid) throws ApiException { * deserialize the response body */ public ApiResponse jobsJobidPlanGetWithHttpInfo(String jobid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidPlanGetValidateBeforeCall(jobid, null, null); + okhttp3.Call call = jobsJobidPlanGetValidateBeforeCall(jobid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -4691,7 +4689,7 @@ public ApiResponse jobsJobidPlanGetWithHttpInfo(String jobid) throw /** * (asynchronously) Returns the dataflow plan of a job. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4702,7 +4700,7 @@ public ApiResponse jobsJobidPlanGetWithHttpInfo(String jobid) throw * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidPlanGetAsync(String jobid, final ApiCallback callback) + public okhttp3.Call jobsJobidPlanGetAsync(String jobid, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; @@ -4724,7 +4722,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidPlanGetValidateBeforeCall(jobid, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidPlanGetValidateBeforeCall(jobid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -4733,7 +4731,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidRescalingPatch - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4748,7 +4746,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidRescalingPatchCall( + public okhttp3.Call jobsJobidRescalingPatchCall( String jobid, Integer parallelism, final ProgressResponseBody.ProgressListener progressListener, @@ -4780,10 +4778,10 @@ public com.squareup.okhttp.Call jobsJobidRescalingPatchCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4796,7 +4794,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidRescalingPatchValidateBeforeCall( + private okhttp3.Call jobsJobidRescalingPatchValidateBeforeCall( String jobid, Integer parallelism, final ProgressResponseBody.ProgressListener progressListener, @@ -4810,17 +4808,17 @@ private com.squareup.okhttp.Call jobsJobidRescalingPatchValidateBeforeCall( throw new ApiException("Missing the required parameter 'parallelism' when calling jobsJobidRescalingPatch(Async)"); } - com.squareup.okhttp.Call call = jobsJobidRescalingPatchCall(jobid, parallelism, progressListener, + okhttp3.Call call = jobsJobidRescalingPatchCall(jobid, parallelism, progressListener, progressRequestListener); return call; } /** - * + * * Triggers the rescaling of a job. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4838,10 +4836,10 @@ public TriggerResponse jobsJobidRescalingPatch(String jobid, Integer parallelism } /** - * + * * Triggers the rescaling of a job. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4855,7 +4853,7 @@ public TriggerResponse jobsJobidRescalingPatch(String jobid, Integer parallelism */ public ApiResponse jobsJobidRescalingPatchWithHttpInfo(String jobid, Integer parallelism) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidRescalingPatchValidateBeforeCall(jobid, parallelism, null, null); + okhttp3.Call call = jobsJobidRescalingPatchValidateBeforeCall(jobid, parallelism, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -4864,7 +4862,7 @@ public ApiResponse jobsJobidRescalingPatchWithHttpInfo(String j /** * (asynchronously) Triggers the rescaling of a job. This async operation * would return a 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4878,7 +4876,7 @@ public ApiResponse jobsJobidRescalingPatchWithHttpInfo(String j * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidRescalingPatchAsync( + public okhttp3.Call jobsJobidRescalingPatchAsync( String jobid, Integer parallelism, final ApiCallback callback) throws ApiException { @@ -4902,7 +4900,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidRescalingPatchValidateBeforeCall(jobid, parallelism, progressListener, + okhttp3.Call call = jobsJobidRescalingPatchValidateBeforeCall(jobid, parallelism, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -4912,7 +4910,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidRescalingTriggeridGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -4928,7 +4926,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidRescalingTriggeridGetCall( + public okhttp3.Call jobsJobidRescalingTriggeridGetCall( String jobid, String triggerid, final ProgressResponseBody.ProgressListener progressListener, @@ -4959,10 +4957,10 @@ public com.squareup.okhttp.Call jobsJobidRescalingTriggeridGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -4975,7 +4973,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidRescalingTriggeridGetValidateBeforeCall( + private okhttp3.Call jobsJobidRescalingTriggeridGetValidateBeforeCall( String jobid, String triggerid, final ProgressResponseBody.ProgressListener progressListener, @@ -4990,16 +4988,16 @@ private com.squareup.okhttp.Call jobsJobidRescalingTriggeridGetValidateBeforeCal "Missing the required parameter 'triggerid' when calling jobsJobidRescalingTriggeridGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidRescalingTriggeridGetCall(jobid, triggerid, progressListener, + okhttp3.Call call = jobsJobidRescalingTriggeridGetCall(jobid, triggerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the status of a rescaling operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5018,9 +5016,9 @@ public AsynchronousOperationResult jobsJobidRescalingTriggeridGet(String jobid, } /** - * + * * Returns the status of a rescaling operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5035,7 +5033,7 @@ public AsynchronousOperationResult jobsJobidRescalingTriggeridGet(String jobid, */ public ApiResponse jobsJobidRescalingTriggeridGetWithHttpInfo(String jobid, String triggerid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidRescalingTriggeridGetValidateBeforeCall(jobid, triggerid, null, null); + okhttp3.Call call = jobsJobidRescalingTriggeridGetValidateBeforeCall(jobid, triggerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5043,7 +5041,7 @@ public ApiResponse jobsJobidRescalingTriggeridGetWi /** * (asynchronously) Returns the status of a rescaling operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5058,7 +5056,7 @@ public ApiResponse jobsJobidRescalingTriggeridGetWi * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidRescalingTriggeridGetAsync( + public okhttp3.Call jobsJobidRescalingTriggeridGetAsync( String jobid, String triggerid, final ApiCallback callback) throws ApiException { @@ -5082,7 +5080,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidRescalingTriggeridGetValidateBeforeCall(jobid, triggerid, progressListener, + okhttp3.Call call = jobsJobidRescalingTriggeridGetValidateBeforeCall(jobid, triggerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5092,7 +5090,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidSavepointsPost - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5106,7 +5104,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidSavepointsPostCall( + public okhttp3.Call jobsJobidSavepointsPostCall( String jobid, SavepointTriggerRequestBody body, final ProgressResponseBody.ProgressListener progressListener, @@ -5134,10 +5132,10 @@ public com.squareup.okhttp.Call jobsJobidSavepointsPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -5150,7 +5148,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidSavepointsPostValidateBeforeCall( + private okhttp3.Call jobsJobidSavepointsPostValidateBeforeCall( String jobid, SavepointTriggerRequestBody body, final ProgressResponseBody.ProgressListener progressListener, @@ -5160,17 +5158,17 @@ private com.squareup.okhttp.Call jobsJobidSavepointsPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidSavepointsPost(Async)"); } - com.squareup.okhttp.Call call = jobsJobidSavepointsPostCall(jobid, body, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidSavepointsPostCall(jobid, body, progressListener, progressRequestListener); return call; } /** - * + * * Triggers a savepoint, and optionally cancels the job afterwards. This * async operation would return a 'triggerid' for further query * identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5187,11 +5185,11 @@ public TriggerResponse jobsJobidSavepointsPost(String jobid, SavepointTriggerReq } /** - * + * * Triggers a savepoint, and optionally cancels the job afterwards. This * async operation would return a 'triggerid' for further query * identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5204,7 +5202,7 @@ public TriggerResponse jobsJobidSavepointsPost(String jobid, SavepointTriggerReq */ public ApiResponse jobsJobidSavepointsPostWithHttpInfo(String jobid, SavepointTriggerRequestBody body) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidSavepointsPostValidateBeforeCall(jobid, body, null, null); + okhttp3.Call call = jobsJobidSavepointsPostValidateBeforeCall(jobid, body, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5214,7 +5212,7 @@ public ApiResponse jobsJobidSavepointsPostWithHttpInfo(String j * (asynchronously) Triggers a savepoint, and optionally cancels the job * afterwards. This async operation would return a 'triggerid' for * further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5227,7 +5225,7 @@ public ApiResponse jobsJobidSavepointsPostWithHttpInfo(String j * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidSavepointsPostAsync( + public okhttp3.Call jobsJobidSavepointsPostAsync( String jobid, SavepointTriggerRequestBody body, final ApiCallback callback) throws ApiException { @@ -5251,7 +5249,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidSavepointsPostValidateBeforeCall(jobid, body, progressListener, + okhttp3.Call call = jobsJobidSavepointsPostValidateBeforeCall(jobid, body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5261,7 +5259,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidSavepointsTriggeridGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5277,7 +5275,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidSavepointsTriggeridGetCall( + public okhttp3.Call jobsJobidSavepointsTriggeridGetCall( String jobid, String triggerid, final ProgressResponseBody.ProgressListener progressListener, @@ -5308,10 +5306,10 @@ public com.squareup.okhttp.Call jobsJobidSavepointsTriggeridGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -5324,7 +5322,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidSavepointsTriggeridGetValidateBeforeCall( + private okhttp3.Call jobsJobidSavepointsTriggeridGetValidateBeforeCall( String jobid, String triggerid, final ProgressResponseBody.ProgressListener progressListener, @@ -5339,16 +5337,16 @@ private com.squareup.okhttp.Call jobsJobidSavepointsTriggeridGetValidateBeforeCa "Missing the required parameter 'triggerid' when calling jobsJobidSavepointsTriggeridGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidSavepointsTriggeridGetCall(jobid, triggerid, progressListener, + okhttp3.Call call = jobsJobidSavepointsTriggeridGetCall(jobid, triggerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the status of a savepoint operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5367,9 +5365,9 @@ public AsynchronousOperationResult jobsJobidSavepointsTriggeridGet(String jobid, } /** - * + * * Returns the status of a savepoint operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5384,7 +5382,7 @@ public AsynchronousOperationResult jobsJobidSavepointsTriggeridGet(String jobid, */ public ApiResponse jobsJobidSavepointsTriggeridGetWithHttpInfo(String jobid, String triggerid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidSavepointsTriggeridGetValidateBeforeCall(jobid, triggerid, null, null); + okhttp3.Call call = jobsJobidSavepointsTriggeridGetValidateBeforeCall(jobid, triggerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5392,7 +5390,7 @@ public ApiResponse jobsJobidSavepointsTriggeridGetW /** * (asynchronously) Returns the status of a savepoint operation. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5407,7 +5405,7 @@ public ApiResponse jobsJobidSavepointsTriggeridGetW * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidSavepointsTriggeridGetAsync( + public okhttp3.Call jobsJobidSavepointsTriggeridGetAsync( String jobid, String triggerid, final ApiCallback callback) throws ApiException { @@ -5431,7 +5429,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidSavepointsTriggeridGetValidateBeforeCall(jobid, triggerid, progressListener, + okhttp3.Call call = jobsJobidSavepointsTriggeridGetValidateBeforeCall(jobid, triggerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5441,7 +5439,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidStopPost - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5455,7 +5453,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidStopPostCall( + public okhttp3.Call jobsJobidStopPostCall( String jobid, StopWithSavepointRequestBody body, final ProgressResponseBody.ProgressListener progressListener, @@ -5482,10 +5480,10 @@ public com.squareup.okhttp.Call jobsJobidStopPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -5498,7 +5496,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidStopPostValidateBeforeCall( + private okhttp3.Call jobsJobidStopPostValidateBeforeCall( String jobid, StopWithSavepointRequestBody body, final ProgressResponseBody.ProgressListener progressListener, @@ -5508,18 +5506,18 @@ private com.squareup.okhttp.Call jobsJobidStopPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'jobid' when calling jobsJobidStopPost(Async)"); } - com.squareup.okhttp.Call call = jobsJobidStopPostCall(jobid, body, progressListener, progressRequestListener); + okhttp3.Call call = jobsJobidStopPostCall(jobid, body, progressListener, progressRequestListener); return call; } /** - * + * * Stops a job with a savepoint. Optionally, it can also emit a * MAX_WATERMARK before taking the savepoint to flush out any state waiting * for timers to fire. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5536,12 +5534,12 @@ public TriggerResponse jobsJobidStopPost(String jobid, StopWithSavepointRequestB } /** - * + * * Stops a job with a savepoint. Optionally, it can also emit a * MAX_WATERMARK before taking the savepoint to flush out any state waiting * for timers to fire. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5554,7 +5552,7 @@ public TriggerResponse jobsJobidStopPost(String jobid, StopWithSavepointRequestB */ public ApiResponse jobsJobidStopPostWithHttpInfo(String jobid, StopWithSavepointRequestBody body) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidStopPostValidateBeforeCall(jobid, body, null, null); + okhttp3.Call call = jobsJobidStopPostValidateBeforeCall(jobid, body, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5565,7 +5563,7 @@ public ApiResponse jobsJobidStopPostWithHttpInfo(String jobid, * emit a MAX_WATERMARK before taking the savepoint to flush out any state * waiting for timers to fire. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5578,7 +5576,7 @@ public ApiResponse jobsJobidStopPostWithHttpInfo(String jobid, * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidStopPostAsync( + public okhttp3.Call jobsJobidStopPostAsync( String jobid, StopWithSavepointRequestBody body, final ApiCallback callback) throws ApiException { @@ -5602,7 +5600,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidStopPostValidateBeforeCall(jobid, body, progressListener, + okhttp3.Call call = jobsJobidStopPostValidateBeforeCall(jobid, body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5612,7 +5610,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidAccumulatorsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5627,7 +5625,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidAccumulatorsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidAccumulatorsGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -5658,10 +5656,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidAccumulatorsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -5674,7 +5672,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -5690,17 +5688,17 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidAccumulatorsGetValidat "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidAccumulatorsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidAccumulatorsGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidAccumulatorsGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns user-defined accumulators of a task, aggregated across all * subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5718,10 +5716,10 @@ public JobVertexAccumulatorsInfo jobsJobidVerticesVertexidAccumulatorsGet(String } /** - * + * * Returns user-defined accumulators of a task, aggregated across all * subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5736,7 +5734,7 @@ public JobVertexAccumulatorsInfo jobsJobidVerticesVertexidAccumulatorsGet(String public ApiResponse jobsJobidVerticesVertexidAccumulatorsGetWithHttpInfo( String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5745,7 +5743,7 @@ public ApiResponse jobsJobidVerticesVertexidAccumulat /** * (asynchronously) Returns user-defined accumulators of a task, aggregated * across all subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5759,7 +5757,7 @@ public ApiResponse jobsJobidVerticesVertexidAccumulat * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidAccumulatorsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidAccumulatorsGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -5783,7 +5781,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidAccumulatorsGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5793,7 +5791,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidBackpressureGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5808,7 +5806,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidBackpressureGetCall( + public okhttp3.Call jobsJobidVerticesVertexidBackpressureGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -5839,10 +5837,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidBackpressureGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -5855,7 +5853,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -5871,17 +5869,17 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidBackpressureGetValidat "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidBackpressureGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidBackpressureGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidBackpressureGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns back-pressure information for a job, and may initiate * back-pressure sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5899,10 +5897,10 @@ public JobVertexBackPressureInfo jobsJobidVerticesVertexidBackpressureGet(String } /** - * + * * Returns back-pressure information for a job, and may initiate * back-pressure sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5917,7 +5915,7 @@ public JobVertexBackPressureInfo jobsJobidVerticesVertexidBackpressureGet(String public ApiResponse jobsJobidVerticesVertexidBackpressureGetWithHttpInfo( String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -5926,7 +5924,7 @@ public ApiResponse jobsJobidVerticesVertexidBackpress /** * (asynchronously) Returns back-pressure information for a job, and may * initiate back-pressure sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5940,7 +5938,7 @@ public ApiResponse jobsJobidVerticesVertexidBackpress * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidBackpressureGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidBackpressureGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -5964,7 +5962,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidBackpressureGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -5974,7 +5972,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidFlamegraphGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -5992,7 +5990,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidFlamegraphGetCall( + public okhttp3.Call jobsJobidVerticesVertexidFlamegraphGetCall( String jobid, String vertexid, String type, @@ -6026,10 +6024,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidFlamegraphGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -6042,7 +6040,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall( String jobid, String vertexid, String type, @@ -6059,17 +6057,17 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidFlamegraphGetValidateB "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidFlamegraphGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidFlamegraphGetCall(jobid, vertexid, type, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidFlamegraphGetCall(jobid, vertexid, type, progressListener, progressRequestListener); return call; } /** - * + * * Returns flame graph information for a vertex, and may initiate flame * graph sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6091,10 +6089,10 @@ public JobVertexFlameGraph jobsJobidVerticesVertexidFlamegraphGet(String jobid, } /** - * + * * Returns flame graph information for a vertex, and may initiate flame * graph sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6113,7 +6111,7 @@ public ApiResponse jobsJobidVerticesVertexidFlamegraphGetWi String jobid, String vertexid, String type) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall(jobid, vertexid, type, null, + okhttp3.Call call = jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall(jobid, vertexid, type, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6123,7 +6121,7 @@ public ApiResponse jobsJobidVerticesVertexidFlamegraphGetWi /** * (asynchronously) Returns flame graph information for a vertex, and may * initiate flame graph sampling if necessary. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6140,7 +6138,7 @@ public ApiResponse jobsJobidVerticesVertexidFlamegraphGetWi * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidFlamegraphGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidFlamegraphGetAsync( String jobid, String vertexid, String type, @@ -6165,7 +6163,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall(jobid, vertexid, type, + okhttp3.Call call = jobsJobidVerticesVertexidFlamegraphGetValidateBeforeCall(jobid, vertexid, type, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6175,7 +6173,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6190,7 +6188,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidGetCall( + public okhttp3.Call jobsJobidVerticesVertexidGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -6221,10 +6219,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -6237,7 +6235,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -6251,16 +6249,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidGetValidateBeforeCall( throw new ApiException("Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns details for a task, with a summary for each of its subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6278,9 +6276,9 @@ public JobVertexDetailsInfo jobsJobidVerticesVertexidGet(String jobid, String ve } /** - * + * * Returns details for a task, with a summary for each of its subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6294,7 +6292,7 @@ public JobVertexDetailsInfo jobsJobidVerticesVertexidGet(String jobid, String ve */ public ApiResponse jobsJobidVerticesVertexidGetWithHttpInfo(String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -6303,7 +6301,7 @@ public ApiResponse jobsJobidVerticesVertexidGetWithHttpInf /** * (asynchronously) Returns details for a task, with a summary for each of * its subtasks. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6317,7 +6315,7 @@ public ApiResponse jobsJobidVerticesVertexidGetWithHttpInf * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -6341,7 +6339,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidGetValidateBeforeCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6351,7 +6349,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidMetricsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6369,7 +6367,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidMetricsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidMetricsGetCall( String jobid, String vertexid, String get, @@ -6403,10 +6401,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -6419,7 +6417,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidMetricsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidMetricsGetValidateBeforeCall( String jobid, String vertexid, String get, @@ -6436,16 +6434,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidMetricsGetValidateBefo "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidMetricsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidMetricsGetCall(jobid, vertexid, get, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidMetricsGetCall(jobid, vertexid, get, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to task metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6467,9 +6465,9 @@ public MetricCollectionResponseBody jobsJobidVerticesVertexidMetricsGet(String j } /** - * + * * Provides access to task metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6488,7 +6486,7 @@ public ApiResponse jobsJobidVerticesVertexidMetric String jobid, String vertexid, String get) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidMetricsGetValidateBeforeCall(jobid, vertexid, get, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidMetricsGetValidateBeforeCall(jobid, vertexid, get, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -6496,7 +6494,7 @@ public ApiResponse jobsJobidVerticesVertexidMetric /** * (asynchronously) Provides access to task metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6513,7 +6511,7 @@ public ApiResponse jobsJobidVerticesVertexidMetric * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidMetricsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidMetricsGetAsync( String jobid, String vertexid, String get, @@ -6538,7 +6536,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidMetricsGetValidateBeforeCall(jobid, vertexid, get, + okhttp3.Call call = jobsJobidVerticesVertexidMetricsGetValidateBeforeCall(jobid, vertexid, get, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6548,7 +6546,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidSubtasksAccumulatorsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6563,7 +6561,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -6594,10 +6592,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGet localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -6610,7 +6608,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -6626,16 +6624,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGe "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidSubtasksAccumulatorsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns all user-defined accumulators for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6655,9 +6653,9 @@ public SubtasksAllAccumulatorsInfo jobsJobidVerticesVertexidSubtasksAccumulators } /** - * + * * Returns all user-defined accumulators for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6672,7 +6670,7 @@ public SubtasksAllAccumulatorsInfo jobsJobidVerticesVertexidSubtasksAccumulators public ApiResponse jobsJobidVerticesVertexidSubtasksAccumulatorsGetWithHttpInfo( String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall(jobid, vertexid, null, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6682,7 +6680,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtask /** * (asynchronously) Returns all user-defined accumulators for all subtasks * of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6696,7 +6694,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtask * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksAccumulatorsGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -6720,7 +6718,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksAccumulatorsGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6730,7 +6728,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidSubtasksMetricsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6755,7 +6753,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksMetricsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksMetricsGetCall( String jobid, String vertexid, String get, @@ -6795,10 +6793,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -6811,7 +6809,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall( String jobid, String vertexid, String get, @@ -6830,16 +6828,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksMetricsGetVali "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidSubtasksMetricsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetCall(jobid, vertexid, get, agg, subtasks, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetCall(jobid, vertexid, get, agg, subtasks, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to aggregated subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6873,9 +6871,9 @@ public AggregatedMetricsResponseBody jobsJobidVerticesVertexidSubtasksMetricsGet } /** - * + * * Provides access to aggregated subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6903,7 +6901,7 @@ public ApiResponse jobsJobidVerticesVertexidSubta String get, String agg, String subtasks) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall(jobid, vertexid, get, agg, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall(jobid, vertexid, get, agg, subtasks, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6912,7 +6910,7 @@ public ApiResponse jobsJobidVerticesVertexidSubta /** * (asynchronously) Provides access to aggregated subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6936,7 +6934,7 @@ public ApiResponse jobsJobidVerticesVertexidSubta * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksMetricsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksMetricsGetAsync( String jobid, String vertexid, String get, @@ -6963,7 +6961,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall(jobid, vertexid, get, agg, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksMetricsGetValidateBeforeCall(jobid, vertexid, get, agg, subtasks, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -6974,7 +6972,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for * jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -6994,7 +6992,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetCall( String jobid, String vertexid, Integer subtaskindex, @@ -7029,10 +7027,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAtt localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -7045,7 +7043,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( String jobid, String vertexid, Integer subtaskindex, @@ -7073,17 +7071,17 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAt "Missing the required parameter 'attempt' when calling jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetCall(jobid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetCall(jobid, vertexid, subtaskindex, attempt, progressListener, progressRequestListener); return call; } /** - * + * * Returns the accumulators of an execution attempt of a subtask. Multiple * execution attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7111,10 +7109,10 @@ public SubtaskExecutionAttemptAccumulatorsInfo jobsJobidVerticesVertexidSubtasks } /** - * + * * Returns the accumulators of an execution attempt of a subtask. Multiple * execution attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7136,7 +7134,7 @@ public ApiResponse jobsJobidVerticesVer String vertexid, Integer subtaskindex, Integer attempt) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( jobid, vertexid, subtaskindex, attempt, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7146,7 +7144,7 @@ public ApiResponse jobsJobidVerticesVer /** * (asynchronously) Returns the accumulators of an execution attempt of a * subtask. Multiple execution attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7165,7 +7163,7 @@ public ApiResponse jobsJobidVerticesVer * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetAsync( String jobid, String vertexid, Integer subtaskindex, @@ -7191,7 +7189,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptAccumulatorsGetValidateBeforeCall( jobid, vertexid, subtaskindex, attempt, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7202,7 +7200,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for * jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7222,7 +7220,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetCall( String jobid, String vertexid, Integer subtaskindex, @@ -7257,10 +7255,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAtt localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -7273,7 +7271,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall( String jobid, String vertexid, Integer subtaskindex, @@ -7301,17 +7299,17 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAt "Missing the required parameter 'attempt' when calling jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetCall(jobid, vertexid, subtaskindex, attempt, progressListener, progressRequestListener); return call; } /** - * + * * Returns details of an execution attempt of a subtask. Multiple execution * attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7339,10 +7337,10 @@ public SubtaskExecutionAttemptDetailsInfo jobsJobidVerticesVertexidSubtasksSubta } /** - * + * * Returns details of an execution attempt of a subtask. Multiple execution * attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7364,7 +7362,7 @@ public ApiResponse jobsJobidVerticesVertexid String vertexid, Integer subtaskindex, Integer attempt) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall(jobid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall(jobid, vertexid, subtaskindex, attempt, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7374,7 +7372,7 @@ public ApiResponse jobsJobidVerticesVertexid /** * (asynchronously) Returns details of an execution attempt of a subtask. * Multiple execution attempts happen in case of failure/recovery. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7393,7 +7391,7 @@ public ApiResponse jobsJobidVerticesVertexid * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetAsync( String jobid, String vertexid, Integer subtaskindex, @@ -7419,7 +7417,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall(jobid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexAttemptsAttemptGetValidateBeforeCall(jobid, vertexid, subtaskindex, attempt, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7429,7 +7427,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidSubtasksSubtaskindexGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7446,7 +7444,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetCall( String jobid, String vertexid, Integer subtaskindex, @@ -7479,10 +7477,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGet localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -7495,7 +7493,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall( String jobid, String vertexid, Integer subtaskindex, @@ -7517,16 +7515,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGe "Missing the required parameter 'subtaskindex' when calling jobsJobidVerticesVertexidSubtasksSubtaskindexGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetCall(jobid, vertexid, subtaskindex, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetCall(jobid, vertexid, subtaskindex, progressListener, progressRequestListener); return call; } /** - * + * * Returns details of the current or latest execution attempt of a subtask. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7550,9 +7548,9 @@ public SubtaskExecutionAttemptDetailsInfo jobsJobidVerticesVertexidSubtasksSubta } /** - * + * * Returns details of the current or latest execution attempt of a subtask. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7570,7 +7568,7 @@ public ApiResponse jobsJobidVerticesVertexid String jobid, String vertexid, Integer subtaskindex) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall(jobid, vertexid, subtaskindex, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7580,7 +7578,7 @@ public ApiResponse jobsJobidVerticesVertexid /** * (asynchronously) Returns details of the current or latest execution * attempt of a subtask. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7596,7 +7594,7 @@ public ApiResponse jobsJobidVerticesVertexid * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexGetAsync( String jobid, String vertexid, Integer subtaskindex, @@ -7621,7 +7619,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexGetValidateBeforeCall(jobid, vertexid, subtaskindex, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7631,7 +7629,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7651,7 +7649,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetCall( String jobid, String vertexid, Integer subtaskindex, @@ -7687,10 +7685,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMet localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -7703,7 +7701,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall( String jobid, String vertexid, Integer subtaskindex, @@ -7726,16 +7724,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMe "Missing the required parameter 'subtaskindex' when calling jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetCall(jobid, vertexid, subtaskindex, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetCall(jobid, vertexid, subtaskindex, get, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7763,9 +7761,9 @@ public MetricCollectionResponseBody jobsJobidVerticesVertexidSubtasksSubtaskinde } /** - * + * * Provides access to subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7787,7 +7785,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtas String vertexid, Integer subtaskindex, String get) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall(jobid, vertexid, subtaskindex, get, null, null); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7796,7 +7794,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtas /** * (asynchronously) Provides access to subtask metrics. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7815,7 +7813,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtas * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetAsync( String jobid, String vertexid, Integer subtaskindex, @@ -7841,7 +7839,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasksSubtaskindexMetricsGetValidateBeforeCall(jobid, vertexid, subtaskindex, get, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -7851,7 +7849,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidSubtasktimesGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7866,7 +7864,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasktimesGetCall( + public okhttp3.Call jobsJobidVerticesVertexidSubtasktimesGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -7897,10 +7895,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasktimesGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -7913,7 +7911,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -7929,16 +7927,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasktimesGetValidat "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidSubtasktimesGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasktimesGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasktimesGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns time-related information for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7956,9 +7954,9 @@ public SubtasksTimesInfo jobsJobidVerticesVertexidSubtasktimesGet(String jobid, } /** - * + * * Returns time-related information for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7972,7 +7970,7 @@ public SubtasksTimesInfo jobsJobidVerticesVertexidSubtasktimesGet(String jobid, */ public ApiResponse jobsJobidVerticesVertexidSubtasktimesGetWithHttpInfo(String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -7981,7 +7979,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtasktimesGetWi /** * (asynchronously) Returns time-related information for all subtasks of a * task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -7995,7 +7993,7 @@ public ApiResponse jobsJobidVerticesVertexidSubtasktimesGetWi * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidSubtasktimesGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidSubtasktimesGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -8019,7 +8017,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidSubtasktimesGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -8029,7 +8027,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidTaskmanagersGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8044,7 +8042,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidTaskmanagersGetCall( + public okhttp3.Call jobsJobidVerticesVertexidTaskmanagersGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -8075,10 +8073,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidTaskmanagersGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8091,7 +8089,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -8107,16 +8105,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidTaskmanagersGetValidat "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidTaskmanagersGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidTaskmanagersGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidTaskmanagersGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns task information aggregated by task manager. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8134,9 +8132,9 @@ public JobVertexTaskManagersInfo jobsJobidVerticesVertexidTaskmanagersGet(String } /** - * + * * Returns task information aggregated by task manager. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8151,7 +8149,7 @@ public JobVertexTaskManagersInfo jobsJobidVerticesVertexidTaskmanagersGet(String public ApiResponse jobsJobidVerticesVertexidTaskmanagersGetWithHttpInfo( String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8159,7 +8157,7 @@ public ApiResponse jobsJobidVerticesVertexidTaskmanag /** * (asynchronously) Returns task information aggregated by task manager. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8173,7 +8171,7 @@ public ApiResponse jobsJobidVerticesVertexidTaskmanag * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidTaskmanagersGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidTaskmanagersGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -8197,7 +8195,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidTaskmanagersGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -8207,7 +8205,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsJobidVerticesVertexidWatermarksGet - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8222,7 +8220,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidWatermarksGetCall( + public okhttp3.Call jobsJobidVerticesVertexidWatermarksGetCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -8253,10 +8251,10 @@ public com.squareup.okhttp.Call jobsJobidVerticesVertexidWatermarksGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8269,7 +8267,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall( + private okhttp3.Call jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall( String jobid, String vertexid, final ProgressResponseBody.ProgressListener progressListener, @@ -8285,16 +8283,16 @@ private com.squareup.okhttp.Call jobsJobidVerticesVertexidWatermarksGetValidateB "Missing the required parameter 'vertexid' when calling jobsJobidVerticesVertexidWatermarksGet(Async)"); } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidWatermarksGetCall(jobid, vertexid, progressListener, + okhttp3.Call call = jobsJobidVerticesVertexidWatermarksGetCall(jobid, vertexid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the watermarks for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8313,9 +8311,9 @@ public MetricCollectionResponseBody jobsJobidVerticesVertexidWatermarksGet(Strin } /** - * + * * Returns the watermarks for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8330,7 +8328,7 @@ public MetricCollectionResponseBody jobsJobidVerticesVertexidWatermarksGet(Strin public ApiResponse jobsJobidVerticesVertexidWatermarksGetWithHttpInfo( String jobid, String vertexid) throws ApiException { - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall(jobid, vertexid, null, null); + okhttp3.Call call = jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall(jobid, vertexid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8338,7 +8336,7 @@ public ApiResponse jobsJobidVerticesVertexidWaterm /** * (asynchronously) Returns the watermarks for all subtasks of a task. - * + * * @param jobid * 32-character hexadecimal string value that identifies a job. * (required) @@ -8352,7 +8350,7 @@ public ApiResponse jobsJobidVerticesVertexidWaterm * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsJobidVerticesVertexidWatermarksGetAsync( + public okhttp3.Call jobsJobidVerticesVertexidWatermarksGetAsync( String jobid, String vertexid, final ApiCallback callback) throws ApiException { @@ -8376,7 +8374,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall(jobid, vertexid, + okhttp3.Call call = jobsJobidVerticesVertexidWatermarksGetValidateBeforeCall(jobid, vertexid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -8386,7 +8384,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsMetricsGet - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -8405,7 +8403,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsMetricsGetCall( + public okhttp3.Call jobsMetricsGetCall( String get, String agg, String jobs, @@ -8441,10 +8439,10 @@ public com.squareup.okhttp.Call jobsMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8457,22 +8455,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsMetricsGetValidateBeforeCall( + private okhttp3.Call jobsMetricsGetValidateBeforeCall( String get, String agg, String jobs, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobsMetricsGetCall(get, agg, jobs, progressListener, progressRequestListener); + okhttp3.Call call = jobsMetricsGetCall(get, agg, jobs, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to aggregated job metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -8494,9 +8492,9 @@ public AggregatedMetricsResponseBody jobsMetricsGet(String get, String agg, Stri } /** - * + * * Provides access to aggregated job metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -8514,7 +8512,7 @@ public AggregatedMetricsResponseBody jobsMetricsGet(String get, String agg, Stri */ public ApiResponse jobsMetricsGetWithHttpInfo(String get, String agg, String jobs) throws ApiException { - com.squareup.okhttp.Call call = jobsMetricsGetValidateBeforeCall(get, agg, jobs, null, null); + okhttp3.Call call = jobsMetricsGetValidateBeforeCall(get, agg, jobs, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8522,7 +8520,7 @@ public ApiResponse jobsMetricsGetWithHttpInfo(Str /** * (asynchronously) Provides access to aggregated job metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -8540,7 +8538,7 @@ public ApiResponse jobsMetricsGetWithHttpInfo(Str * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsMetricsGetAsync( + public okhttp3.Call jobsMetricsGetAsync( String get, String agg, String jobs, @@ -8565,7 +8563,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsMetricsGetValidateBeforeCall(get, agg, jobs, progressListener, + okhttp3.Call call = jobsMetricsGetValidateBeforeCall(get, agg, jobs, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -8575,7 +8573,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsOverviewGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -8584,7 +8582,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsOverviewGetCall( + public okhttp3.Call jobsOverviewGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -8611,10 +8609,10 @@ public com.squareup.okhttp.Call jobsOverviewGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8627,19 +8625,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsOverviewGetValidateBeforeCall( + private okhttp3.Call jobsOverviewGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = jobsOverviewGetCall(progressListener, progressRequestListener); + okhttp3.Call call = jobsOverviewGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns an overview over all jobs. - * + * * @return MultipleJobsDetails * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -8651,16 +8649,16 @@ public MultipleJobsDetails jobsOverviewGet() throws ApiException { } /** - * + * * Returns an overview over all jobs. - * + * * @return ApiResponse<MultipleJobsDetails> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse jobsOverviewGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = jobsOverviewGetValidateBeforeCall(null, null); + okhttp3.Call call = jobsOverviewGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8668,7 +8666,7 @@ public ApiResponse jobsOverviewGetWithHttpInfo() throws Api /** * (asynchronously) Returns an overview over all jobs. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -8676,7 +8674,7 @@ public ApiResponse jobsOverviewGetWithHttpInfo() throws Api * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsOverviewGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call jobsOverviewGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8697,7 +8695,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsOverviewGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = jobsOverviewGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -8706,7 +8704,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for jobsPost - * + * * @param request * (required) * @param filename @@ -8719,7 +8717,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call jobsPostCall( + public okhttp3.Call jobsPostCall( JobSubmitRequestBody request, List filename, final ProgressResponseBody.ProgressListener progressListener, @@ -8750,10 +8748,10 @@ public com.squareup.okhttp.Call jobsPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8766,7 +8764,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call jobsPostValidateBeforeCall( + private okhttp3.Call jobsPostValidateBeforeCall( JobSubmitRequestBody request, List filename, final ProgressResponseBody.ProgressListener progressListener, @@ -8780,19 +8778,19 @@ private com.squareup.okhttp.Call jobsPostValidateBeforeCall( throw new ApiException("Missing the required parameter 'filename' when calling jobsPost(Async)"); } - com.squareup.okhttp.Call call = jobsPostCall(request, filename, progressListener, progressRequestListener); + okhttp3.Call call = jobsPostCall(request, filename, progressListener, progressRequestListener); return call; } /** - * + * * Submits a job. This call is primarily intended to be used by the Flink * client. This call expects a multipart/form-data request that consists of * file uploads for the serialized JobGraph, jars and distributed cache * artifacts and an attribute named \"request\" for the JSON * payload. - * + * * @param request * (required) * @param filename @@ -8808,13 +8806,13 @@ public JobSubmitResponseBody jobsPost(JobSubmitRequestBody request, List f } /** - * + * * Submits a job. This call is primarily intended to be used by the Flink * client. This call expects a multipart/form-data request that consists of * file uploads for the serialized JobGraph, jars and distributed cache * artifacts and an attribute named \"request\" for the JSON * payload. - * + * * @param request * (required) * @param filename @@ -8826,7 +8824,7 @@ public JobSubmitResponseBody jobsPost(JobSubmitRequestBody request, List f */ public ApiResponse jobsPostWithHttpInfo(JobSubmitRequestBody request, List filename) throws ApiException { - com.squareup.okhttp.Call call = jobsPostValidateBeforeCall(request, filename, null, null); + okhttp3.Call call = jobsPostValidateBeforeCall(request, filename, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8838,7 +8836,7 @@ public ApiResponse jobsPostWithHttpInfo(JobSubmitRequestB * that consists of file uploads for the serialized JobGraph, jars and * distributed cache artifacts and an attribute named \"request\" * for the JSON payload. - * + * * @param request * (required) * @param filename @@ -8850,7 +8848,7 @@ public ApiResponse jobsPostWithHttpInfo(JobSubmitRequestB * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call jobsPostAsync( + public okhttp3.Call jobsPostAsync( JobSubmitRequestBody request, List filename, final ApiCallback callback) throws ApiException { @@ -8874,7 +8872,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = jobsPostValidateBeforeCall(request, filename, progressListener, progressRequestListener); + okhttp3.Call call = jobsPostValidateBeforeCall(request, filename, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -8883,7 +8881,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for overviewGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -8892,7 +8890,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call overviewGetCall( + public okhttp3.Call overviewGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -8919,10 +8917,10 @@ public com.squareup.okhttp.Call overviewGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -8935,19 +8933,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call overviewGetValidateBeforeCall( + private okhttp3.Call overviewGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = overviewGetCall(progressListener, progressRequestListener); + okhttp3.Call call = overviewGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns an overview over the Flink cluster. - * + * * @return ClusterOverviewWithVersion * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -8959,16 +8957,16 @@ public ClusterOverviewWithVersion overviewGet() throws ApiException { } /** - * + * * Returns an overview over the Flink cluster. - * + * * @return ApiResponse<ClusterOverviewWithVersion> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse overviewGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = overviewGetValidateBeforeCall(null, null); + okhttp3.Call call = overviewGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -8976,7 +8974,7 @@ public ApiResponse overviewGetWithHttpInfo() throws /** * (asynchronously) Returns an overview over the Flink cluster. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -8984,7 +8982,7 @@ public ApiResponse overviewGetWithHttpInfo() throws * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call overviewGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call overviewGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9005,7 +9003,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = overviewGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = overviewGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -9014,7 +9012,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for savepointDisposalPost - * + * * @param body * (optional) * @param progressListener @@ -9025,7 +9023,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call savepointDisposalPostCall( + public okhttp3.Call savepointDisposalPostCall( SavepointDisposalRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9051,10 +9049,10 @@ public com.squareup.okhttp.Call savepointDisposalPostCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9067,21 +9065,21 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call savepointDisposalPostValidateBeforeCall( + private okhttp3.Call savepointDisposalPostValidateBeforeCall( SavepointDisposalRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = savepointDisposalPostCall(body, progressListener, progressRequestListener); + okhttp3.Call call = savepointDisposalPostCall(body, progressListener, progressRequestListener); return call; } /** - * + * * Triggers the desposal of a savepoint. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param body * (optional) * @return TriggerResponse @@ -9095,10 +9093,10 @@ public TriggerResponse savepointDisposalPost(SavepointDisposalRequest body) thro } /** - * + * * Triggers the desposal of a savepoint. This async operation would return a * 'triggerid' for further query identifier. - * + * * @param body * (optional) * @return ApiResponse<TriggerResponse> @@ -9107,7 +9105,7 @@ public TriggerResponse savepointDisposalPost(SavepointDisposalRequest body) thro * deserialize the response body */ public ApiResponse savepointDisposalPostWithHttpInfo(SavepointDisposalRequest body) throws ApiException { - com.squareup.okhttp.Call call = savepointDisposalPostValidateBeforeCall(body, null, null); + okhttp3.Call call = savepointDisposalPostValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9117,7 +9115,7 @@ public ApiResponse savepointDisposalPostWithHttpInfo(SavepointD * (asynchronously) Triggers the desposal of a savepoint. This async * operation would return a 'triggerid' for further query * identifier. - * + * * @param body * (optional) * @param callback @@ -9127,7 +9125,7 @@ public ApiResponse savepointDisposalPostWithHttpInfo(SavepointD * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call savepointDisposalPostAsync( + public okhttp3.Call savepointDisposalPostAsync( SavepointDisposalRequest body, final ApiCallback callback) throws ApiException { @@ -9150,7 +9148,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = savepointDisposalPostValidateBeforeCall(body, progressListener, progressRequestListener); + okhttp3.Call call = savepointDisposalPostValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -9159,7 +9157,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for savepointDisposalTriggeridGet - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -9172,7 +9170,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call savepointDisposalTriggeridGetCall( + public okhttp3.Call savepointDisposalTriggeridGetCall( String triggerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9201,10 +9199,10 @@ public com.squareup.okhttp.Call savepointDisposalTriggeridGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9217,7 +9215,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call savepointDisposalTriggeridGetValidateBeforeCall( + private okhttp3.Call savepointDisposalTriggeridGetValidateBeforeCall( String triggerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9227,15 +9225,15 @@ private com.squareup.okhttp.Call savepointDisposalTriggeridGetValidateBeforeCall "Missing the required parameter 'triggerid' when calling savepointDisposalTriggeridGet(Async)"); } - com.squareup.okhttp.Call call = savepointDisposalTriggeridGetCall(triggerid, progressListener, progressRequestListener); + okhttp3.Call call = savepointDisposalTriggeridGetCall(triggerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the status of a savepoint disposal operation. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -9251,9 +9249,9 @@ public AsynchronousOperationResult savepointDisposalTriggeridGet(String triggeri } /** - * + * * Returns the status of a savepoint disposal operation. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -9265,7 +9263,7 @@ public AsynchronousOperationResult savepointDisposalTriggeridGet(String triggeri */ public ApiResponse savepointDisposalTriggeridGetWithHttpInfo(String triggerid) throws ApiException { - com.squareup.okhttp.Call call = savepointDisposalTriggeridGetValidateBeforeCall(triggerid, null, null); + okhttp3.Call call = savepointDisposalTriggeridGetValidateBeforeCall(triggerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9273,7 +9271,7 @@ public ApiResponse savepointDisposalTriggeridGetWit /** * (asynchronously) Returns the status of a savepoint disposal operation. - * + * * @param triggerid * 32-character hexadecimal string that identifies an * asynchronous operation trigger ID. The ID was returned then @@ -9285,7 +9283,7 @@ public ApiResponse savepointDisposalTriggeridGetWit * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call savepointDisposalTriggeridGetAsync( + public okhttp3.Call savepointDisposalTriggeridGetAsync( String triggerid, final ApiCallback callback) throws ApiException { @@ -9308,7 +9306,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = savepointDisposalTriggeridGetValidateBeforeCall(triggerid, progressListener, + okhttp3.Call call = savepointDisposalTriggeridGetValidateBeforeCall(triggerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -9318,7 +9316,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersGet - * + * * @param progressListener * Progress listener * @param progressRequestListener @@ -9327,7 +9325,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersGetCall( + public okhttp3.Call taskmanagersGetCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; @@ -9354,10 +9352,10 @@ public com.squareup.okhttp.Call taskmanagersGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9370,19 +9368,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersGetValidateBeforeCall( + private okhttp3.Call taskmanagersGetValidateBeforeCall( final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersGetCall(progressListener, progressRequestListener); + okhttp3.Call call = taskmanagersGetCall(progressListener, progressRequestListener); return call; } /** - * + * * Returns an overview over all task managers. - * + * * @return TaskManagersInfo * @throws ApiException * If fail to call the API, e.g. server error or cannot @@ -9394,16 +9392,16 @@ public TaskManagersInfo taskmanagersGet() throws ApiException { } /** - * + * * Returns an overview over all task managers. - * + * * @return ApiResponse<TaskManagersInfo> * @throws ApiException * If fail to call the API, e.g. server error or cannot * deserialize the response body */ public ApiResponse taskmanagersGetWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = taskmanagersGetValidateBeforeCall(null, null); + okhttp3.Call call = taskmanagersGetValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9411,7 +9409,7 @@ public ApiResponse taskmanagersGetWithHttpInfo() throws ApiExc /** * (asynchronously) Returns an overview over all task managers. - * + * * @param callback * The callback to be executed when the API call finishes * @return The request call @@ -9419,7 +9417,7 @@ public ApiResponse taskmanagersGetWithHttpInfo() throws ApiExc * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersGetAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call taskmanagersGetAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9440,7 +9438,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersGetValidateBeforeCall(progressListener, progressRequestListener); + okhttp3.Call call = taskmanagersGetValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); apiClient.executeAsync(call, localVarReturnType, callback); @@ -9449,7 +9447,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersMetricsGet - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -9468,7 +9466,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersMetricsGetCall( + public okhttp3.Call taskmanagersMetricsGetCall( String get, String agg, String taskmanagers, @@ -9504,10 +9502,10 @@ public com.squareup.okhttp.Call taskmanagersMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9520,23 +9518,23 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersMetricsGetValidateBeforeCall( + private okhttp3.Call taskmanagersMetricsGetValidateBeforeCall( String get, String agg, String taskmanagers, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersMetricsGetCall(get, agg, taskmanagers, progressListener, + okhttp3.Call call = taskmanagersMetricsGetCall(get, agg, taskmanagers, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to aggregated task manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -9558,9 +9556,9 @@ public AggregatedMetricsResponseBody taskmanagersMetricsGet(String get, String a } /** - * + * * Provides access to aggregated task manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -9580,7 +9578,7 @@ public ApiResponse taskmanagersMetricsGetWithHttp String get, String agg, String taskmanagers) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersMetricsGetValidateBeforeCall(get, agg, taskmanagers, null, null); + okhttp3.Call call = taskmanagersMetricsGetValidateBeforeCall(get, agg, taskmanagers, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9588,7 +9586,7 @@ public ApiResponse taskmanagersMetricsGetWithHttp /** * (asynchronously) Provides access to aggregated task manager metrics. - * + * * @param get * Comma-separated list of string values to select specific * metrics. (optional) @@ -9606,7 +9604,7 @@ public ApiResponse taskmanagersMetricsGetWithHttp * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersMetricsGetAsync( + public okhttp3.Call taskmanagersMetricsGetAsync( String get, String agg, String taskmanagers, @@ -9631,7 +9629,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersMetricsGetValidateBeforeCall(get, agg, taskmanagers, progressListener, + okhttp3.Call call = taskmanagersMetricsGetValidateBeforeCall(get, agg, taskmanagers, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -9641,7 +9639,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersTaskmanageridGet - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9653,7 +9651,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridGetCall( + public okhttp3.Call taskmanagersTaskmanageridGetCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9682,10 +9680,10 @@ public com.squareup.okhttp.Call taskmanagersTaskmanageridGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9698,7 +9696,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersTaskmanageridGetValidateBeforeCall( + private okhttp3.Call taskmanagersTaskmanageridGetValidateBeforeCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9708,20 +9706,20 @@ private com.squareup.okhttp.Call taskmanagersTaskmanageridGetValidateBeforeCall( "Missing the required parameter 'taskmanagerid' when calling taskmanagersTaskmanageridGet(Async)"); } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridGetCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridGetCall(taskmanagerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns details for a task manager. * \"metrics.memorySegmentsAvailable\" and * \"metrics.memorySegmentsTotal\" are deprecated. Please use * \"metrics.nettyShuffleMemorySegmentsAvailable\" and * \"metrics.nettyShuffleMemorySegmentsTotal\" instead. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9736,13 +9734,13 @@ public TaskManagerDetailsInfo taskmanagersTaskmanageridGet(String taskmanagerid) } /** - * + * * Returns details for a task manager. * \"metrics.memorySegmentsAvailable\" and * \"metrics.memorySegmentsTotal\" are deprecated. Please use * \"metrics.nettyShuffleMemorySegmentsAvailable\" and * \"metrics.nettyShuffleMemorySegmentsTotal\" instead. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9753,7 +9751,7 @@ public TaskManagerDetailsInfo taskmanagersTaskmanageridGet(String taskmanagerid) */ public ApiResponse taskmanagersTaskmanageridGetWithHttpInfo(String taskmanagerid) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersTaskmanageridGetValidateBeforeCall(taskmanagerid, null, null); + okhttp3.Call call = taskmanagersTaskmanageridGetValidateBeforeCall(taskmanagerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9765,7 +9763,7 @@ public ApiResponse taskmanagersTaskmanageridGetWithHttpI * \"metrics.memorySegmentsTotal\" are deprecated. Please use * \"metrics.nettyShuffleMemorySegmentsAvailable\" and * \"metrics.nettyShuffleMemorySegmentsTotal\" instead. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9776,7 +9774,7 @@ public ApiResponse taskmanagersTaskmanageridGetWithHttpI * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridGetAsync( + public okhttp3.Call taskmanagersTaskmanageridGetAsync( String taskmanagerid, final ApiCallback callback) throws ApiException { @@ -9799,7 +9797,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridGetValidateBeforeCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridGetValidateBeforeCall(taskmanagerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -9809,7 +9807,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersTaskmanageridLogsGet - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9821,7 +9819,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridLogsGetCall( + public okhttp3.Call taskmanagersTaskmanageridLogsGetCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9850,10 +9848,10 @@ public com.squareup.okhttp.Call taskmanagersTaskmanageridLogsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -9866,7 +9864,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersTaskmanageridLogsGetValidateBeforeCall( + private okhttp3.Call taskmanagersTaskmanageridLogsGetValidateBeforeCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -9876,16 +9874,16 @@ private com.squareup.okhttp.Call taskmanagersTaskmanageridLogsGetValidateBeforeC "Missing the required parameter 'taskmanagerid' when calling taskmanagersTaskmanageridLogsGet(Async)"); } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridLogsGetCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridLogsGetCall(taskmanagerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the list of log files on a TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9900,9 +9898,9 @@ public LogListInfo taskmanagersTaskmanageridLogsGet(String taskmanagerid) throws } /** - * + * * Returns the list of log files on a TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9912,7 +9910,7 @@ public LogListInfo taskmanagersTaskmanageridLogsGet(String taskmanagerid) throws * deserialize the response body */ public ApiResponse taskmanagersTaskmanageridLogsGetWithHttpInfo(String taskmanagerid) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersTaskmanageridLogsGetValidateBeforeCall(taskmanagerid, null, null); + okhttp3.Call call = taskmanagersTaskmanageridLogsGetValidateBeforeCall(taskmanagerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -9920,7 +9918,7 @@ public ApiResponse taskmanagersTaskmanageridLogsGetWithHttpInfo(Str /** * (asynchronously) Returns the list of log files on a TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9931,7 +9929,7 @@ public ApiResponse taskmanagersTaskmanageridLogsGetWithHttpInfo(Str * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridLogsGetAsync( + public okhttp3.Call taskmanagersTaskmanageridLogsGetAsync( String taskmanagerid, final ApiCallback callback) throws ApiException { @@ -9954,7 +9952,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridLogsGetValidateBeforeCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridLogsGetValidateBeforeCall(taskmanagerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -9964,7 +9962,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersTaskmanageridMetricsGet - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -9979,7 +9977,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridMetricsGetCall( + public okhttp3.Call taskmanagersTaskmanageridMetricsGetCall( String taskmanagerid, String get, final ProgressResponseBody.ProgressListener progressListener, @@ -10011,10 +10009,10 @@ public com.squareup.okhttp.Call taskmanagersTaskmanageridMetricsGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -10027,7 +10025,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersTaskmanageridMetricsGetValidateBeforeCall( + private okhttp3.Call taskmanagersTaskmanageridMetricsGetValidateBeforeCall( String taskmanagerid, String get, final ProgressResponseBody.ProgressListener progressListener, @@ -10038,16 +10036,16 @@ private com.squareup.okhttp.Call taskmanagersTaskmanageridMetricsGetValidateBefo "Missing the required parameter 'taskmanagerid' when calling taskmanagersTaskmanageridMetricsGet(Async)"); } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridMetricsGetCall(taskmanagerid, get, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridMetricsGetCall(taskmanagerid, get, progressListener, progressRequestListener); return call; } /** - * + * * Provides access to task manager metrics. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10066,9 +10064,9 @@ public MetricCollectionResponseBody taskmanagersTaskmanageridMetricsGet(String t } /** - * + * * Provides access to task manager metrics. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10083,7 +10081,7 @@ public MetricCollectionResponseBody taskmanagersTaskmanageridMetricsGet(String t public ApiResponse taskmanagersTaskmanageridMetricsGetWithHttpInfo( String taskmanagerid, String get) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersTaskmanageridMetricsGetValidateBeforeCall(taskmanagerid, get, null, null); + okhttp3.Call call = taskmanagersTaskmanageridMetricsGetValidateBeforeCall(taskmanagerid, get, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -10091,7 +10089,7 @@ public ApiResponse taskmanagersTaskmanageridMetric /** * (asynchronously) Provides access to task manager metrics. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10105,7 +10103,7 @@ public ApiResponse taskmanagersTaskmanageridMetric * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridMetricsGetAsync( + public okhttp3.Call taskmanagersTaskmanageridMetricsGetAsync( String taskmanagerid, String get, final ApiCallback callback) throws ApiException { @@ -10129,7 +10127,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridMetricsGetValidateBeforeCall(taskmanagerid, get, + okhttp3.Call call = taskmanagersTaskmanageridMetricsGetValidateBeforeCall(taskmanagerid, get, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); @@ -10139,7 +10137,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for taskmanagersTaskmanageridThreadDumpGet - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10151,7 +10149,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @throws ApiException * If fail to serialize the request body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridThreadDumpGetCall( + public okhttp3.Call taskmanagersTaskmanageridThreadDumpGetCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -10180,10 +10178,10 @@ public com.squareup.okhttp.Call taskmanagersTaskmanageridThreadDumpGetCall( localVarHeaderParams.put("Content-Type", localVarContentType); if (progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + apiClient.getHttpClient().networkInterceptors().add(new okhttp3.Interceptor() { @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); @@ -10196,7 +10194,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - private com.squareup.okhttp.Call taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall( + private okhttp3.Call taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall( String taskmanagerid, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -10206,15 +10204,15 @@ private com.squareup.okhttp.Call taskmanagersTaskmanageridThreadDumpGetValidateB "Missing the required parameter 'taskmanagerid' when calling taskmanagersTaskmanageridThreadDumpGet(Async)"); } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridThreadDumpGetCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridThreadDumpGetCall(taskmanagerid, progressListener, progressRequestListener); return call; } /** - * + * * Returns the thread dump of the requested TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10229,9 +10227,9 @@ public ThreadDumpInfo taskmanagersTaskmanageridThreadDumpGet(String taskmanageri } /** - * + * * Returns the thread dump of the requested TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10242,7 +10240,7 @@ public ThreadDumpInfo taskmanagersTaskmanageridThreadDumpGet(String taskmanageri */ public ApiResponse taskmanagersTaskmanageridThreadDumpGetWithHttpInfo(String taskmanagerid) throws ApiException { - com.squareup.okhttp.Call call = taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall(taskmanagerid, null, null); + okhttp3.Call call = taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall(taskmanagerid, null, null); Type localVarReturnType = new TypeToken() { }.getType(); return apiClient.execute(call, localVarReturnType); @@ -10250,7 +10248,7 @@ public ApiResponse taskmanagersTaskmanageridThreadDumpGetWithHtt /** * (asynchronously) Returns the thread dump of the requested TaskManager. - * + * * @param taskmanagerid * 32-character hexadecimal string that identifies a task * manager. (required) @@ -10261,7 +10259,7 @@ public ApiResponse taskmanagersTaskmanageridThreadDumpGetWithHtt * If fail to process the API call, e.g. serializing the request * body object */ - public com.squareup.okhttp.Call taskmanagersTaskmanageridThreadDumpGetAsync( + public okhttp3.Call taskmanagersTaskmanageridThreadDumpGetAsync( String taskmanagerid, final ApiCallback callback) throws ApiException { @@ -10284,7 +10282,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall(taskmanagerid, progressListener, + okhttp3.Call call = taskmanagersTaskmanageridThreadDumpGetValidateBeforeCall(taskmanagerid, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken() { }.getType(); diff --git a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressRequestBody.java b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressRequestBody.java index 58b2bdbf..4d24430c 100644 --- a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressRequestBody.java +++ b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressRequestBody.java @@ -14,8 +14,8 @@ import java.io.IOException; -import com.squareup.okhttp.MediaType; -import com.squareup.okhttp.RequestBody; +import okhttp3.MediaType; +import okhttp3.RequestBody; import okio.Buffer; import okio.BufferedSink; diff --git a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressResponseBody.java b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressResponseBody.java index 5bce715a..995ebbb9 100644 --- a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressResponseBody.java +++ b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/ProgressResponseBody.java @@ -14,8 +14,8 @@ import java.io.IOException; -import com.squareup.okhttp.MediaType; -import com.squareup.okhttp.ResponseBody; +import okhttp3.MediaType; +import okhttp3.ResponseBody; import okio.Buffer; import okio.BufferedSource; @@ -44,12 +44,12 @@ public MediaType contentType() { } @Override - public long contentLength() throws IOException { + public long contentLength() { return responseBody.contentLength(); } @Override - public BufferedSource source() throws IOException { + public BufferedSource source() { if (bufferedSource == null) { bufferedSource = Okio.buffer(source(responseBody.source())); } diff --git a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/auth/HttpBasicAuth.java b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/auth/HttpBasicAuth.java index 11604582..9de33805 100644 --- a/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/auth/HttpBasicAuth.java +++ b/controller/src/main/java/com/nextbreakpoint/flinkclient1_15/api/auth/HttpBasicAuth.java @@ -16,7 +16,7 @@ import java.util.Map; import com.nextbreakpoint.flinkclient1_15.api.Pair; -import com.squareup.okhttp.Credentials; +import okhttp3.Credentials; public class HttpBasicAuth implements Authentication { private String username; diff --git a/controller/src/main/java/com/wl4g/RengineController.java b/controller/src/main/java/com/wl4g/RengineController.java index ff7697d7..025649d2 100644 --- a/controller/src/main/java/com/wl4g/RengineController.java +++ b/controller/src/main/java/com/wl4g/RengineController.java @@ -32,13 +32,13 @@ public class RengineController { // Private are not accessible, can only be checked using the class-name. - public static final String SILENTEXITEXCEPTION_CLASS = "org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException"; + public static final String SILENT_EXIT_EXCEPTION_CLASS = "org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException"; public static void main(String[] args) { try { SpringApplication.run(RengineController.class, args); } catch (Exception e) { - if (e.getClass().getName().equals(SILENTEXITEXCEPTION_CLASS)) { + if (e.getClass().getName().equals(SILENT_EXIT_EXCEPTION_CLASS)) { // issue-see:https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot // System.setProperty("spring.devtools.restart.enabled","false"); log.warn("SilentExitException exception occurred. This is a known issue that " diff --git a/controller/src/main/java/com/wl4g/rengine/controller/config/RengineControllerProperties.java b/controller/src/main/java/com/wl4g/rengine/controller/config/RengineControllerProperties.java index b8ba1689..c29559ee 100644 --- a/controller/src/main/java/com/wl4g/rengine/controller/config/RengineControllerProperties.java +++ b/controller/src/main/java/com/wl4g/rengine/controller/config/RengineControllerProperties.java @@ -327,7 +327,7 @@ public JobConfiguration toJobConfiguration(final String jobName) { @Setter @ToString public static class EnginePurgerProperties { - private @Min(1) Integer logRetentionHours = 7 * 24; + private @Min(1) Integer logRetentionHour = 7 * 24; private @Min(1) Long logRetentionCount = 1_000_000L; } diff --git a/controller/src/main/java/com/wl4g/rengine/controller/job/FlinkSubmitController.java b/controller/src/main/java/com/wl4g/rengine/controller/job/FlinkSubmitController.java index 5725fe29..7da81d37 100644 --- a/controller/src/main/java/com/wl4g/rengine/controller/job/FlinkSubmitController.java +++ b/controller/src/main/java/com/wl4g/rengine/controller/job/FlinkSubmitController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.wl4g.rengine.controller.job; import static com.wl4g.infra.common.collection.CollectionUtils2.safeList; @@ -58,7 +59,7 @@ import com.nextbreakpoint.flinkclient1_15.model.JobDetailsInfo; import com.nextbreakpoint.flinkclient1_15.model.JobDetailsInfo.StateEnum; import com.nextbreakpoint.flinkclient1_15.model.JobIdsWithStatusOverview; -import com.squareup.okhttp.OkHttpClient; +import okhttp3.OkHttpClient; import com.wl4g.infra.common.codec.Encodes; import com.wl4g.infra.common.io.FileIOUtils; import com.wl4g.infra.common.lang.Assert2; @@ -79,27 +80,27 @@ import lombok.CustomLog; import lombok.Getter; -// TODO 当前使用 restapi 提交 job 适用于 session 模式,后续应增加配置,并自动检测环境(rengine-controller)是 k8s 或 VM, +// TODO 当前使用 restapi 提交 job 适用于 session 模式,后续应增加配置,并自动检测环境(rengine-controller)是 k8s 或 VM, // 分别是启动 rengine-job pod 还是通过 ssh 远程命令行启动 rengine-job JVM进程 ? + /** * Notice: The flink cep job can be automatically scheduled, but currently it is * recommended to use a professional scheduling platform such as Aws EMR or - * dolphinscheduler. - * + * dolphin-scheduler. + * * @author James Wong - * @date 2023-01-11 + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... * @since v1.0.0 - * @see https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/ops/rest_api/#jobmanager - * @see https://nightlies.apache.org/flink/flink-docs-release-1.15/generated/rest_v1_dispatcher.yml - * @see https://github1s.com/apache/flink/blob/release-1.14/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java - * @see https://github1s.com/wl4g-collect/flink-client/blob/master/src/test/java/com/nextbreakpoint/FlinkClientIT.java#L88-L89 - * @see https://mvnrepository.com/artifact/com.nextbreakpoint/com.nextbreakpoint.flinkclient */ @Getter @CustomLog public class FlinkSubmitController extends AbstractJobExecutor { - private DefaultApi flinkApi; + private volatile DefaultApi flinkApi; @Override public String getType() { @@ -116,9 +117,8 @@ protected DefaultApi getDefaultApi() { apiClient.setDebugging(flinkConfig.getDebugging()); } apiClient.setBasePath(flinkConfig.getEndpoint()); - apiClient.setHttpClient(new OkHttpClient()); apiClient.setUserAgent(FlinkSubmitController.class.getSimpleName() - .concat(format("/%s/java", FlinkSubmitController.class.getPackage().getImplementationVersion()))); + .concat(format("/%s/java", FlinkSubmitController.class.getPackage().getImplementationVersion()))); if (nonNull(flinkConfig.getConnTimeout())) { apiClient.setConnectTimeout(flinkConfig.getConnTimeout()); } @@ -151,7 +151,7 @@ protected DefaultApi getDefaultApi() { if (!isBlank(flinkConfig.getAccessToken())) { apiClient.setAccessToken(flinkConfig.getAccessToken()); } - this.flinkApi = new DefaultApi(apiClient); + this.flinkApi = new DefaultApi(apiClient.build()); log.info("Initialized flinkApi of : {}", flinkConfig); } } @@ -160,7 +160,7 @@ protected DefaultApi getDefaultApi() { } /** - * {@link com.wl4g.rengine.job.cep.RengineKafkaFlinkCepStreamingIT} + * @see com.wl4g.rengine.job.cep RengineKafkaFlinkCepStreamingIT */ @Override protected void execute( @@ -188,9 +188,9 @@ protected void execute( final var jars = uploadJars(fssc); final var jobArgs = buildFlinkJobArgs(fssc); final String jobArgsLine = jobArgs.entrySet() - .stream() - .map(e -> format("--%s %s", e.getKey(), e.getValue())) - .collect(joining(",")); + .stream() + .map(e -> format("--%s %s", e.getKey(), e.getValue())) + .collect(joining(",")); log.info("Run flink job args line : {}", jobArgsLine); // TODO multi jars dependencies, The current flink rest run api does @@ -208,19 +208,19 @@ protected void execute( upsertControllerLog(controllerId, controllerLog.getId(), false, true, true, _jobLog -> { _jobLog.setDetails(FlinkSubmitControllerLog.builder() - .jarId(jars.get(0).getId()) - .jobId(response.getJobid()) - .jobArgs(jobArgs) - .name(jobDetails.getName()) - .isStoppable(jobDetails.isIsStoppable()) - .state(FlinkJobState.valueOf(jobDetails.getState().name())) - .startTime(jobDetails.getStartTime()) - .endTime(jobDetails.getEndTime()) - .duration(jobDetails.getDuration()) - .now(jobDetails.getNow()) - .timestamps(jobDetails.getTimestamps()) - .statusCounts(jobDetails.getStatusCounts()) - .build()); + .jarId(jars.get(0).getId()) + .jobId(response.getJobid()) + .jobArgs(jobArgs) + .name(jobDetails.getName()) + .isStoppable(jobDetails.isIsStoppable()) + .state(FlinkJobState.valueOf(jobDetails.getState().name())) + .startTime(jobDetails.getStartTime()) + .endTime(jobDetails.getEndTime()) + .duration(jobDetails.getDuration()) + .now(jobDetails.getNow()) + .timestamps(jobDetails.getTimestamps()) + .statusCounts(jobDetails.getStatusCounts()) + .build()); }); } catch (Throwable ex) { @@ -298,8 +298,8 @@ protected List uploadJars(FlinkSubmitExecutionConfig fssc) { throw new IllegalStateException(format("Unable to get flink upload jars.")); } final List jars = safeList(currentJars.getFiles()).stream() - .filter(j -> matchUploads(uploadFilenames, j)) - .collect(toList()); + .filter(j -> matchUploads(uploadFilenames, j)) + .collect(toList()); if (jars.isEmpty()) { throw new IllegalStateException(format("Could't find jar of flink uploads : {}", uploadFilenames)); } @@ -316,11 +316,11 @@ protected File obtainFlinkJobJarFile(@NotBlank String jarUrl) { Assert2.isTrue(resourcePath.contains("/"), "invalid resourcePath %s, missing is '/'", resourcePath); final File localTmpFile = new File( DEFAULT_CONTROLLER_JAR_TMP_DIR.concat("/").concat(resourcePath.substring(resourcePath.lastIndexOf("/")))) - // .concat("-") - // .concat(valueOf(currentTimeMillis())) - // .concat(".") - // .concat(getFilenameExtension(resourcePath)) - ; + // .concat("-") + // .concat(valueOf(currentTimeMillis())) + // .concat(".") + // .concat(getFilenameExtension(resourcePath)) + ; if (localTmpFile.exists()) { return localTmpFile; } @@ -334,7 +334,7 @@ protected File obtainFlinkJobJarFile(@NotBlank String jarUrl) { log.info("Downloading flink job jar file to '{}' from remote : '%s'", localTmpFile, resourcePath); try (ReadableByteChannel channel = Channels.newChannel(jarUri.toURL().openStream()); - FileOutputStream fos = new FileOutputStream(localTmpFile, false);) { + FileOutputStream fos = new FileOutputStream(localTmpFile, false);) { fos.getChannel().transferFrom(channel, 0, Long.MAX_VALUE); } } @@ -347,12 +347,12 @@ else if (equalsAnyIgnoreCase(scheme, "minio", "s3ref")) { log.info("Downloading flink job jar file to '{}' from s3ref : '%s'", localTmpFile, objectPrefix); getMinioManager().getMinioClient() - .downloadObject(DownloadObjectArgs.builder() - .bucket(config.getBucket()) - .region(config.getRegion()) - .object(objectPrefix) - .filename(localTmpFile.getAbsolutePath()) - .build()); + .downloadObject(DownloadObjectArgs.builder() + .bucket(config.getBucket()) + .region(config.getRegion()) + .object(objectPrefix) + .filename(localTmpFile.getAbsolutePath()) + .build()); } log.info("Downloaded flink job jar file '{}', length: {}", localTmpFile, localTmpFile.length()); @@ -433,9 +433,9 @@ protected Map buildFlinkJobArgs(FlinkSubmitExecutionConfig fssc) @Override protected ControllerLog newDefaultControllerLog(Long controllerId) { return ControllerLog.builder() - .controllerId(controllerId) - .details(FlinkSubmitControllerLog.builder().type(ControllerType.FLINK_SUBMITTER.name()).build()) - .build(); + .controllerId(controllerId) + .details(FlinkSubmitControllerLog.builder().type(ControllerType.FLINK_SUBMITTER.name()).build()) + .build(); } } \ No newline at end of file diff --git a/controller/src/main/java/com/wl4g/rengine/controller/job/MasterGlobalController.java b/controller/src/main/java/com/wl4g/rengine/controller/job/MasterGlobalController.java index d3ffe302..0574ec51 100644 --- a/controller/src/main/java/com/wl4g/rengine/controller/job/MasterGlobalController.java +++ b/controller/src/main/java/com/wl4g/rengine/controller/job/MasterGlobalController.java @@ -247,7 +247,7 @@ public void start() { // Purge past logs according to configuration, // keeping only the most recent period of time. final var purgeUpperTime = currentTimeMillis() - - Duration.ofHours(config.getPurger().getLogRetentionHours()).toMillis(); + - Duration.ofHours(config.getPurger().getLogRetentionHour()).toMillis(); final var result = controllerLogService.delete(ControllerLogDelete.builder() .updateDateLower(new Date(1)) diff --git a/controller/src/main/resources/application-arthas-override.yaml b/controller/src/main/resources/application-arthas-override.yaml index 65dbf716..aa22907d 100644 --- a/controller/src/main/resources/application-arthas-override.yaml +++ b/controller/src/main/resources/application-arthas-override.yaml @@ -14,6 +14,6 @@ ## see:https://arthas.aliyun.com/doc/spring-boot-starter.html ## see:com.taobao.arthas:arthas-spring-boot-starter(com.alibaba.arthas.spring.ArthasProperties) arthas: - agent-id: renginecontrollervfu6y + agent-id: renginecontrollerabcdefghijklmnopqrstuvwxyz telnet-port: 3660 http-port: 8565 \ No newline at end of file diff --git a/controller/src/main/resources/application-controller.yaml b/controller/src/main/resources/application-controller.yaml index 692870f7..3aa80236 100644 --- a/controller/src/main/resources/application-controller.yaml +++ b/controller/src/main/resources/application-controller.yaml @@ -7,10 +7,9 @@ # See the License for the specific language governing permissions and # limitations under the License. # - -# #### Collector Job configuration. #### # - +# #### Rengine controller configuration. #### +# rengine: controller: zookeeper: @@ -31,16 +30,17 @@ rengine: enabled: true port: 9888 controller: - disabled: false ## Default by false - overwrite: true ## Default by true + disabled: false # Default by false + overwrite: true # Default by true monitorExecution: true ## Default by true - failover: false ## Default by false - misfire: false ## Default by false + failover: false # Default by false + misfire: false # Default by false cron: "0/5 * * * * ?" timeZone: GMT+08:00 maxTimeDiffSeconds: -1 reconcileIntervalMinutes: 0 - ## When setup true, the shardingTotalCount will be ignored, and the will be automatically allocated according to the number of cluster nodes priority. + # When setup true, the shardingTotalCount will be ignored, and the will be automatically + # allocated according to the number of cluster nodes priority. autoShardingTotalCount: true shardingTotalCount: 1 shardingItemParameters: 0=Beijing,1=Shanghai @@ -50,7 +50,7 @@ rengine: jobListenerTypes: [] description: The job engine execution schedule controller. purger: - logRetentionHour: 168 ## 7*24 + logRetentionHour: 168 # 7*24 logRetentionCount: 1_000_000 client: concurrency: 10 diff --git a/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientAutoConfiguration.java b/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientAutoConfiguration.java index b5e14962..e0e068dd 100644 --- a/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientAutoConfiguration.java +++ b/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientAutoConfiguration.java @@ -29,11 +29,10 @@ /** * {@link MinioClientAutoConfiguration} - * + * * @author James Wong - * @date 2022-08-28 * @since v1.0.0 - * @see http://docs.minio.org.cn/docs/master/minio-sts-quickstart-guide + * @see ... */ @Configuration @ConditionalOnClass({ MinioClient.class }) diff --git a/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientProperties.java b/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientProperties.java index c85a3c50..d9fc9f8a 100644 --- a/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientProperties.java +++ b/service/src/main/java/com/wl4g/rengine/service/minio/MinioClientProperties.java @@ -128,15 +128,15 @@ public static class UserUploadAssumeConfig { * corresponding to s3:ListBucketMultipartUploads will be called, but * this interface must have read permission of the bucket root * directory? See the source codes: - * - * @see https://github.com/minio/minio-js/blob/7.0.32/src/main/minio.js#L1212 - * @see https://github.com/minio/minio-js/blob/7.0.32/src/main/object-uploader.js#L75 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/router.go#L95 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/object-handler.go#L345 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/user-handler.go#L391 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1754 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1680 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1723 + * + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... */ private DataSize libraryPartSize = ofMegabytes(10); @@ -148,15 +148,15 @@ public static class UserUploadAssumeConfig { * corresponding to s3:ListBucketMultipartUploads will be called, but * this interface must have read permission of the bucket root * directory? See the source codes: - * - * @see https://github.com/minio/minio-js/blob/7.0.32/src/main/minio.js#L1212 - * @see https://github.com/minio/minio-js/blob/7.0.32/src/main/object-uploader.js#L75 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/router.go#L95 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/object-handler.go#L345 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/user-handler.go#L391 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1754 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1680 - * @see https://github.com/minio/minio/blob/RELEASE.2022-08-26T19-53-15Z/cmd/iam.go#L1723 + * + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... + * @see ... */ private DataSize testsetPartSize = ofMegabytes(10); diff --git a/service/src/main/resources/application-redis.yaml b/service/src/main/resources/application-redis.yaml index 3fd357cd..53af2bcb 100644 --- a/service/src/main/resources/application-redis.yaml +++ b/service/src/main/resources/application-redis.yaml @@ -16,7 +16,7 @@ spring: ## see:org.springframework.data.redis.connection.RedisClusterConfiguration redis: #username: - password: zzx!@#$% + password: 'bitnami' ssl: false database: 0 timeout: 10s