Skip to content

Commit 0a76886

Browse files
committed
Update
1 parent 41ff3e1 commit 0a76886

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,31 @@
2424
* Google BigQuery options for Cloud Datastore backup.
2525
*/
2626
public final class DatastoreBackupOptions extends FormatOptions {
27+
2728
private final List<String> projectionFields;
28-
29+
30+
private static final long serialVersionUID = -5302774763661451947L;
31+
2932
public static final class Builder {
3033
private List<String> projectionFields;
31-
34+
3235
private Builder() {}
3336

3437
private Builder(DatastoreBackupOptions options) {
3538
projectionFields = options.projectionFields;
3639
}
37-
40+
3841
/**
3942
* Sets which entity properties to load into BigQuery from a Cloud Datastore backup. Property
4043
* names are case sensitive and must be top-level properties.
4144
* If no properties are specified, BigQuery loads all properties. If any named property isn't
4245
* found in the Cloud Datastore backup, an invalid error is returned in the job result.
4346
*/
44-
Builder setProjectionFields(List<String> projectionFields) {
47+
public Builder setProjectionFields(List<String> projectionFields) {
4548
this.projectionFields = projectionFields;
4649
return this;
4750
}
48-
51+
4952
/**
5053
* Creates a {@code DatastoreBackupOptions} object.
5154
*/
@@ -58,7 +61,7 @@ private DatastoreBackupOptions(Builder builder) {
5861
super(FormatOptions.DATASTORE_BACKUP);
5962
this.projectionFields = builder.projectionFields;
6063
}
61-
64+
6265
/**
6366
* Returns the value of which entity properties to load into BigQuery from a Cloud Datastore
6467
* backup.
@@ -80,7 +83,7 @@ public Builder toBuilder() {
8083
public static Builder newBuilder() {
8184
return new Builder();
8285
}
83-
86+
8487
@Override
8588
public String toString() {
8689
return MoreObjects.toStringHelper(this)

0 commit comments

Comments
 (0)