All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.bigquery.model.JobStatistics2 Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2016-05-27 16:00:31 UTC)
 * on 2016-07-11 at 22:24:16 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.bigquery.model;

/**
 * Model definition for JobStatistics2.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class JobStatistics2 extends com.google.api.client.json.GenericJson { /** * [Output-only] Billing tier for the job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer billingTier; /** * [Output-only] Whether the query result was fetched from the query cache. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean cacheHit; /** * [Output-only, Experimental] Describes execution plan for the query as a list of stages. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List queryPlan; static { // hack to force ProGuard to consider ExplainQueryStage used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ExplainQueryStage.class); } /** * [Output-only, Experimental] Referenced tables for the job. Queries that reference more than 50 * tables will not have a complete list. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List referencedTables; /** * [Output-only, Experimental] The schema of the results. Present only for successful dry run of * non-legacy SQL queries. * The value may be {@code null}. */ @com.google.api.client.util.Key private TableSchema schema; /** * [Output-only] Total bytes billed for the job. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long totalBytesBilled; /** * [Output-only] Total bytes processed for the job. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long totalBytesProcessed; /** * [Output-only] Billing tier for the job. * @return value or {@code null} for none */ public java.lang.Integer getBillingTier() { return billingTier; } /** * [Output-only] Billing tier for the job. * @param billingTier billingTier or {@code null} for none */ public JobStatistics2 setBillingTier(java.lang.Integer billingTier) { this.billingTier = billingTier; return this; } /** * [Output-only] Whether the query result was fetched from the query cache. * @return value or {@code null} for none */ public java.lang.Boolean getCacheHit() { return cacheHit; } /** * [Output-only] Whether the query result was fetched from the query cache. * @param cacheHit cacheHit or {@code null} for none */ public JobStatistics2 setCacheHit(java.lang.Boolean cacheHit) { this.cacheHit = cacheHit; return this; } /** * [Output-only, Experimental] Describes execution plan for the query as a list of stages. * @return value or {@code null} for none */ public java.util.List getQueryPlan() { return queryPlan; } /** * [Output-only, Experimental] Describes execution plan for the query as a list of stages. * @param queryPlan queryPlan or {@code null} for none */ public JobStatistics2 setQueryPlan(java.util.List queryPlan) { this.queryPlan = queryPlan; return this; } /** * [Output-only, Experimental] Referenced tables for the job. Queries that reference more than 50 * tables will not have a complete list. * @return value or {@code null} for none */ public java.util.List getReferencedTables() { return referencedTables; } /** * [Output-only, Experimental] Referenced tables for the job. Queries that reference more than 50 * tables will not have a complete list. * @param referencedTables referencedTables or {@code null} for none */ public JobStatistics2 setReferencedTables(java.util.List referencedTables) { this.referencedTables = referencedTables; return this; } /** * [Output-only, Experimental] The schema of the results. Present only for successful dry run of * non-legacy SQL queries. * @return value or {@code null} for none */ public TableSchema getSchema() { return schema; } /** * [Output-only, Experimental] The schema of the results. Present only for successful dry run of * non-legacy SQL queries. * @param schema schema or {@code null} for none */ public JobStatistics2 setSchema(TableSchema schema) { this.schema = schema; return this; } /** * [Output-only] Total bytes billed for the job. * @return value or {@code null} for none */ public java.lang.Long getTotalBytesBilled() { return totalBytesBilled; } /** * [Output-only] Total bytes billed for the job. * @param totalBytesBilled totalBytesBilled or {@code null} for none */ public JobStatistics2 setTotalBytesBilled(java.lang.Long totalBytesBilled) { this.totalBytesBilled = totalBytesBilled; return this; } /** * [Output-only] Total bytes processed for the job. * @return value or {@code null} for none */ public java.lang.Long getTotalBytesProcessed() { return totalBytesProcessed; } /** * [Output-only] Total bytes processed for the job. * @param totalBytesProcessed totalBytesProcessed or {@code null} for none */ public JobStatistics2 setTotalBytesProcessed(java.lang.Long totalBytesProcessed) { this.totalBytesProcessed = totalBytesProcessed; return this; } @Override public JobStatistics2 set(String fieldName, Object value) { return (JobStatistics2) super.set(fieldName, value); } @Override public JobStatistics2 clone() { return (JobStatistics2) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy