Codota Logo
com.google.api.services.bigquery.model
Code IndexAdd Codota to your IDE (free)

How to use com.google.api.services.bigquery.model

Best Java code snippets using com.google.api.services.bigquery.model (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: googleapis/google-cloud-java

private Builder(com.google.api.services.bigquery.model.JobStatistics statisticsPb) {
 super(statisticsPb);
 if (statisticsPb.getExtract() != null) {
  this.destinationUriFileCounts = statisticsPb.getExtract().getDestinationUriFileCounts();
 }
}
origin: googleapis/google-cloud-java

 @Override
 public Dataset apply(DatasetList.Datasets datasetPb) {
  return new Dataset()
    .setDatasetReference(datasetPb.getDatasetReference())
    .setFriendlyName(datasetPb.getFriendlyName())
    .setId(datasetPb.getId())
    .setKind(datasetPb.getKind())
    .setLabels(datasetPb.getLabels());
 }
};
origin: googleapis/google-cloud-java

 @Override
 public Table apply(TableList.Tables tablePb) {
  return new Table()
    .setFriendlyName(tablePb.getFriendlyName())
    .setId(tablePb.getId())
    .setKind(tablePb.getKind())
    .setTableReference(tablePb.getTableReference())
    .setType(tablePb.getType());
 }
}));
origin: googleapis/google-cloud-java

private static com.google.api.services.bigquery.model.Job newJobPb() {
 return new com.google.api.services.bigquery.model.Job()
   .setConfiguration(
     new com.google.api.services.bigquery.model.JobConfiguration()
       .setQuery(new JobConfigurationQuery().setQuery("FOO")));
}
origin: googleapis/google-cloud-java

TableReference toPb() {
 return new TableReference().setProjectId(project).setDatasetId(dataset).setTableId(table);
}
origin: googleapis/google-cloud-java

@Override
com.google.api.services.bigquery.model.JobConfiguration toPb() {
 JobConfigurationExtract extractConfigurationPb = new JobConfigurationExtract();
 extractConfigurationPb.setDestinationUris(destinationUris);
 extractConfigurationPb.setSourceTable(sourceTable.toPb());
 extractConfigurationPb.setPrintHeader(printHeader);
 extractConfigurationPb.setFieldDelimiter(fieldDelimiter);
 extractConfigurationPb.setDestinationFormat(format);
 extractConfigurationPb.setCompression(compression);
 return new com.google.api.services.bigquery.model.JobConfiguration()
   .setExtract(extractConfigurationPb);
}
origin: googleapis/google-cloud-java

DatasetReference toPb() {
 return new DatasetReference().setProjectId(project).setDatasetId(dataset);
}
origin: googleapis/google-cloud-java

private Builder(com.google.api.services.bigquery.model.JobConfiguration configurationPb) {
 this();
 JobConfigurationExtract extractConfigurationPb = configurationPb.getExtract();
 this.sourceTable = TableId.fromPb(extractConfigurationPb.getSourceTable());
 this.destinationUris = extractConfigurationPb.getDestinationUris();
 this.printHeader = extractConfigurationPb.getPrintHeader();
 this.fieldDelimiter = extractConfigurationPb.getFieldDelimiter();
 this.format = extractConfigurationPb.getDestinationFormat();
 this.compression = extractConfigurationPb.getCompression();
}
origin: googleapis/google-cloud-java

com.google.api.services.bigquery.model.CsvOptions toPb() {
 com.google.api.services.bigquery.model.CsvOptions csvOptions =
   new com.google.api.services.bigquery.model.CsvOptions();
 csvOptions.setAllowJaggedRows(allowJaggedRows);
 csvOptions.setAllowQuotedNewlines(allowQuotedNewLines);
 csvOptions.setEncoding(encoding);
 csvOptions.setFieldDelimiter(fieldDelimiter);
 csvOptions.setQuote(quote);
 csvOptions.setSkipLeadingRows(skipLeadingRows);
 return csvOptions;
}
origin: googleapis/google-cloud-java

@Override
com.google.api.services.bigquery.model.JobStatistics toPb() {
 JobStatistics3 loadStatisticsPb = new JobStatistics3();
 loadStatisticsPb.setInputFileBytes(inputBytes);
 loadStatisticsPb.setInputFiles(inputFiles);
 loadStatisticsPb.setOutputBytes(outputBytes);
 loadStatisticsPb.setOutputRows(outputRows);
 loadStatisticsPb.setBadRecords(badRecords);
 return super.toPb().setLoad(loadStatisticsPb);
}
origin: googleapis/google-cloud-java

private Builder(com.google.api.services.bigquery.model.JobStatistics statisticsPb) {
 super(statisticsPb);
 if (statisticsPb.getLoad() != null) {
  this.inputBytes = statisticsPb.getLoad().getInputFileBytes();
  this.inputFiles = statisticsPb.getLoad().getInputFiles();
  this.outputBytes = statisticsPb.getLoad().getOutputBytes();
  this.outputRows = statisticsPb.getLoad().getOutputRows();
  this.badRecords = statisticsPb.getLoad().getBadRecords();
 }
}
origin: googleapis/google-cloud-java

com.google.api.services.bigquery.model.JobStatistics toPb() {
 com.google.api.services.bigquery.model.JobStatistics statistics =
   new com.google.api.services.bigquery.model.JobStatistics();
 statistics.setCreationTime(creationTime);
 statistics.setEndTime(endTime);
 statistics.setStartTime(startTime);
 return statistics;
}
origin: stackoverflow.com

 TableRow tr = new TableRow(this);  
TableLayout.LayoutParams tableRowParams=
 new TableLayout.LayoutParams
 (TableLayout.LayoutParams.FILL_PARENT,TableLayout.LayoutParams.WRAP_CONTENT);

int leftMargin=10;
int topMargin=2;
int rightMargin=10;
int bottomMargin=2;

tableRowParams.setMargins(leftMargin, topMargin, rightMargin, bottomMargin);

tr.setLayoutParams(tableRowParams);
origin: googleapis/google-cloud-java

ExplainQueryStep toPb() {
 return new ExplainQueryStep().setKind(name).setSubsteps(substeps);
}
origin: googleapis/google-cloud-java

@Override
com.google.api.services.bigquery.model.JobStatistics toPb() {
 com.google.api.services.bigquery.model.JobStatistics statisticsPb = super.toPb();
 return statisticsPb.setExtract(
   new JobStatistics4().setDestinationUriFileCounts(destinationUriFileCounts));
}
origin: googleapis/google-cloud-java

protected Builder(com.google.api.services.bigquery.model.JobStatistics statisticsPb) {
 this.creationTime = statisticsPb.getCreationTime();
 this.endTime = statisticsPb.getEndTime();
 this.startTime = statisticsPb.getStartTime();
}
origin: googleapis/google-cloud-java

 @Override
 Access toPb() {
  return new Access().setUserByEmail(email);
 }
}
origin: googleapis/google-cloud-java

 @Override
 Access toPb() {
  return new Access().setDomain(domain);
 }
}
origin: googleapis/google-cloud-java

public com.google.api.services.bigquery.model.EncryptionConfiguration toPb() {
 com.google.api.services.bigquery.model.EncryptionConfiguration encryptionConfigurationPb =
   new com.google.api.services.bigquery.model.EncryptionConfiguration();
 encryptionConfigurationPb.setKmsKeyName(kmsKeyName);
 return encryptionConfigurationPb;
}
origin: googleapis/google-cloud-java

com.google.api.services.bigquery.model.GoogleSheetsOptions toPb() {
 com.google.api.services.bigquery.model.GoogleSheetsOptions options =
   new com.google.api.services.bigquery.model.GoogleSheetsOptions();
 options.setSkipLeadingRows(skipLeadingRows);
 return options;
}
com.google.api.services.bigquery.model

Most used classes

  • TableRow
  • TableFieldSchema
  • TableSchema
  • TableReference
  • Table
  • Job,
  • JobConfiguration,
  • JobReference,
  • JobConfigurationQuery,
  • Dataset,
  • JobConfigurationLoad,
  • JobStatus,
  • ErrorProto,
  • TableDataInsertAllRequest,
  • JobConfigurationExtract,
  • TableDataInsertAllResponse$InsertErrors,
  • TableDataInsertAllResponse,
  • TableDataList,
  • JobConfigurationTableCopy
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now