Skip to content

Commit 20826f1

Browse files
authored
fix: Update experimental methods documentation to @internalapi (#3552)
* docs: Update experimental methods documentation to @internalapi * docs: Update experimental methods documentation to @internalapi
1 parent bd24fd8 commit 20826f1

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/LoadConfiguration.java

+17-15
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.cloud.bigquery;
1818

19+
import com.google.api.core.InternalApi;
1920
import com.google.cloud.bigquery.JobInfo.CreateDisposition;
2021
import com.google.cloud.bigquery.JobInfo.SchemaUpdateOption;
2122
import com.google.cloud.bigquery.JobInfo.WriteDisposition;
@@ -99,17 +100,17 @@ interface Builder {
99100
Builder setIgnoreUnknownValues(Boolean ignoreUnknownValues);
100101

101102
/**
102-
* [Experimental] Sets options allowing the schema of the destination table to be updated as a
103-
* side effect of the load job. Schema update options are supported in two cases: when
104-
* writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
105-
* table is a partition of a table, specified by partition decorators. For normal tables,
106-
* WRITE_TRUNCATE will always overwrite the schema.
103+
* Sets options allowing the schema of the destination table to be updated as a side effect of
104+
* the load job. Schema update options are supported in two cases: when writeDisposition is
105+
* WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a
106+
* partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE
107+
* will always overwrite the schema.
107108
*/
109+
@InternalApi
108110
Builder setSchemaUpdateOptions(List<SchemaUpdateOption> schemaUpdateOptions);
109111

110-
/**
111-
* [Experimental] Sets automatic inference of the options and schema for CSV and JSON sources.
112-
*/
112+
/** Sets automatic inference of the options and schema for CSV and JSON sources. */
113+
@InternalApi
113114
Builder setAutodetect(Boolean autodetect);
114115

115116
/** Sets the time partitioning specification for the destination table. */
@@ -202,18 +203,19 @@ interface Builder {
202203
DatastoreBackupOptions getDatastoreBackupOptions();
203204

204205
/**
205-
* [Experimental] Returns options allowing the schema of the destination table to be updated as a
206-
* side effect of the load job. Schema update options are supported in two cases: when
207-
* writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
208-
* table is a partition of a table, specified by partition decorators. For normal tables,
209-
* WRITE_TRUNCATE will always overwrite the schema.
206+
* Returns options allowing the schema of the destination table to be updated as a side effect of
207+
* the load job. Schema update options are supported in two cases: when writeDisposition is
208+
* WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition
209+
* of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always
210+
* overwrite the schema.
210211
*/
212+
@InternalApi
211213
List<SchemaUpdateOption> getSchemaUpdateOptions();
212214

213215
/**
214-
* [Experimental] Returns whether automatic inference of the options and schema for CSV and JSON
215-
* sources is set.
216+
* Returns whether automatic inference of the options and schema for CSV and JSON sources is set.
216217
*/
218+
@InternalApi
217219
Boolean getAutodetect();
218220

219221
/** Returns the time partitioning specification defined for the destination table. */

0 commit comments

Comments
 (0)