com.google.api.services.bigquery.model.JobConfigurationTableCopy Maven / Gradle / Ivy
/*
* 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://code.google.com/p/google-apis-client-generator/
* (build: 2013-06-26 16:27:34 UTC)
* on 2013-06-27 at 22:14:48 UTC
* Modify at your own risk.
*/
package com.google.api.services.bigquery.model;
/**
* Model definition for JobConfigurationTableCopy.
*
* 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:
* http://code.google.com/p/google-api-java-client/wiki/Json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class JobConfigurationTableCopy extends com.google.api.client.json.GenericJson {
/**
* [Optional] Whether or not to create a new table, if none exists.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String createDisposition;
/**
* [Required] The destination table
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference destinationTable;
/**
* [Required] Source table to copy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference sourceTable;
/**
* [Optional] Whether or not to append or require the table to be empty.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String writeDisposition;
/**
* [Optional] Whether or not to create a new table, if none exists.
* @return value or {@code null} for none
*/
public java.lang.String getCreateDisposition() {
return createDisposition;
}
/**
* [Optional] Whether or not to create a new table, if none exists.
* @param createDisposition createDisposition or {@code null} for none
*/
public JobConfigurationTableCopy setCreateDisposition(java.lang.String createDisposition) {
this.createDisposition = createDisposition;
return this;
}
/**
* [Required] The destination table
* @return value or {@code null} for none
*/
public TableReference getDestinationTable() {
return destinationTable;
}
/**
* [Required] The destination table
* @param destinationTable destinationTable or {@code null} for none
*/
public JobConfigurationTableCopy setDestinationTable(TableReference destinationTable) {
this.destinationTable = destinationTable;
return this;
}
/**
* [Required] Source table to copy.
* @return value or {@code null} for none
*/
public TableReference getSourceTable() {
return sourceTable;
}
/**
* [Required] Source table to copy.
* @param sourceTable sourceTable or {@code null} for none
*/
public JobConfigurationTableCopy setSourceTable(TableReference sourceTable) {
this.sourceTable = sourceTable;
return this;
}
/**
* [Optional] Whether or not to append or require the table to be empty.
* @return value or {@code null} for none
*/
public java.lang.String getWriteDisposition() {
return writeDisposition;
}
/**
* [Optional] Whether or not to append or require the table to be empty.
* @param writeDisposition writeDisposition or {@code null} for none
*/
public JobConfigurationTableCopy setWriteDisposition(java.lang.String writeDisposition) {
this.writeDisposition = writeDisposition;
return this;
}
@Override
public JobConfigurationTableCopy set(String fieldName, Object value) {
return (JobConfigurationTableCopy) super.set(fieldName, value);
}
@Override
public JobConfigurationTableCopy clone() {
return (JobConfigurationTableCopy) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy