Skip to content

Commit 8fa8c3f

Browse files
committed
add BetaApi annotations
1 parent e8bfb49 commit 8fa8c3f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/BaseKey.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import static com.google.cloud.datastore.Validator.validateNamespace;
2121
import static com.google.cloud.datastore.Validator.validateProjectId;
2222

23+
import com.google.api.core.BetaApi;
2324
import com.google.common.base.MoreObjects;
2425
import com.google.common.base.Preconditions;
2526
import com.google.common.collect.ImmutableList;
@@ -116,6 +117,7 @@ public B setNamespace(String namespace) {
116117
}
117118

118119
/** Sets the database id of the key. */
120+
@BetaApi
119121
public B setDatabaseId(String databaseId) {
120122
this.databaseId = databaseId;
121123
return self();

google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreOptions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import static com.google.cloud.datastore.Validator.validateNamespace;
2020

21+
import com.google.api.core.BetaApi;
2122
import com.google.cloud.ServiceDefaults;
2223
import com.google.cloud.ServiceOptions;
2324
import com.google.cloud.ServiceRpc;
@@ -96,6 +97,7 @@ public Builder setNamespace(String namespace) {
9697
return this;
9798
}
9899

100+
@BetaApi
99101
public Builder setDatabaseId(String databaseId) {
100102
this.databaseId = databaseId;
101103
return this;

0 commit comments

Comments
 (0)