Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* GetIndexRequest request =
* GetIndexRequest.newBuilder()
Expand Down Expand Up @@ -154,8 +157,11 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* DatastoreAdminSettings datastoreAdminSettings =
* DatastoreAdminSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -166,8 +172,11 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* DatastoreAdminSettings datastoreAdminSettings =
* DatastoreAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
* DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
Expand All @@ -177,8 +186,11 @@
* the wire:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* DatastoreAdminSettings datastoreAdminSettings =
* DatastoreAdminSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -276,8 +288,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* String projectId = "projectId-894832108";
* Map<String, String> labels = new HashMap<>();
Expand Down Expand Up @@ -336,8 +351,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ExportEntitiesRequest request =
* ExportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -370,8 +388,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ExportEntitiesRequest request =
* ExportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -405,8 +426,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ExportEntitiesRequest request =
* ExportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -436,8 +460,11 @@ public final UnaryCallable<ExportEntitiesRequest, Operation> exportEntitiesCalla
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* String projectId = "projectId-894832108";
* Map<String, String> labels = new HashMap<>();
Expand Down Expand Up @@ -487,8 +514,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ImportEntitiesRequest request =
* ImportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -519,8 +549,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ImportEntitiesRequest request =
* ImportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -551,8 +584,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ImportEntitiesRequest request =
* ImportEntitiesRequest.newBuilder()
Expand Down Expand Up @@ -589,8 +625,11 @@ public final UnaryCallable<ImportEntitiesRequest, Operation> importEntitiesCalla
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* CreateIndexRequest request =
* CreateIndexRequest.newBuilder()
Expand Down Expand Up @@ -626,8 +665,11 @@ public final OperationFuture<Index, IndexOperationMetadata> createIndexAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* CreateIndexRequest request =
* CreateIndexRequest.newBuilder()
Expand Down Expand Up @@ -663,8 +705,11 @@ public final OperationFuture<Index, IndexOperationMetadata> createIndexAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* CreateIndexRequest request =
* CreateIndexRequest.newBuilder()
Expand Down Expand Up @@ -696,8 +741,11 @@ public final UnaryCallable<CreateIndexRequest, Operation> createIndexCallable()
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* DeleteIndexRequest request =
* DeleteIndexRequest.newBuilder()
Expand Down Expand Up @@ -731,8 +779,11 @@ public final OperationFuture<Index, IndexOperationMetadata> deleteIndexAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* DeleteIndexRequest request =
* DeleteIndexRequest.newBuilder()
Expand Down Expand Up @@ -766,8 +817,11 @@ public final OperationFuture<Index, IndexOperationMetadata> deleteIndexAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* DeleteIndexRequest request =
* DeleteIndexRequest.newBuilder()
Expand All @@ -791,8 +845,11 @@ public final UnaryCallable<DeleteIndexRequest, Operation> deleteIndexCallable()
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* GetIndexRequest request =
* GetIndexRequest.newBuilder()
Expand All @@ -817,8 +874,11 @@ public final Index getIndex(GetIndexRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* GetIndexRequest request =
* GetIndexRequest.newBuilder()
Expand All @@ -843,8 +903,11 @@ public final UnaryCallable<GetIndexRequest, Index> getIndexCallable() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ListIndexesRequest request =
* ListIndexesRequest.newBuilder()
Expand Down Expand Up @@ -874,8 +937,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ListIndexesRequest request =
* ListIndexesRequest.newBuilder()
Expand Down Expand Up @@ -905,8 +971,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
* ListIndexesRequest request =
* ListIndexesRequest.newBuilder()
Expand Down
Loading