com.google.api.services.bigquery.model.DataSplitResult Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.bigquery.model;
/**
* Data split result. This contains references to the training and evaluation data tables that were
* used to train the model.
*
* 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 DataSplitResult extends com.google.api.client.json.GenericJson {
/**
* Table reference of the evaluation data after split.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference evaluationTable;
/**
* Table reference of the test data after split.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference testTable;
/**
* Table reference of the training data after split.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference trainingTable;
/**
* Table reference of the evaluation data after split.
* @return value or {@code null} for none
*/
public TableReference getEvaluationTable() {
return evaluationTable;
}
/**
* Table reference of the evaluation data after split.
* @param evaluationTable evaluationTable or {@code null} for none
*/
public DataSplitResult setEvaluationTable(TableReference evaluationTable) {
this.evaluationTable = evaluationTable;
return this;
}
/**
* Table reference of the test data after split.
* @return value or {@code null} for none
*/
public TableReference getTestTable() {
return testTable;
}
/**
* Table reference of the test data after split.
* @param testTable testTable or {@code null} for none
*/
public DataSplitResult setTestTable(TableReference testTable) {
this.testTable = testTable;
return this;
}
/**
* Table reference of the training data after split.
* @return value or {@code null} for none
*/
public TableReference getTrainingTable() {
return trainingTable;
}
/**
* Table reference of the training data after split.
* @param trainingTable trainingTable or {@code null} for none
*/
public DataSplitResult setTrainingTable(TableReference trainingTable) {
this.trainingTable = trainingTable;
return this;
}
@Override
public DataSplitResult set(String fieldName, Object value) {
return (DataSplitResult) super.set(fieldName, value);
}
@Override
public DataSplitResult clone() {
return (DataSplitResult) super.clone();
}
}