{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfileName name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -89,8 +92,11 @@
* To customize credentials:
*
*
{@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
* DatastreamSettings datastreamSettings =
* DatastreamSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,11 @@
* To customize the endpoint:
*
*
{@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
* DatastreamSettings datastreamSettings =
* DatastreamSettings.newBuilder().setEndpoint(myEndpoint).build();
* DatastreamClient datastreamClient = DatastreamClient.create(datastreamSettings);
@@ -112,8 +121,11 @@
* the wire:
*
* {@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
* DatastreamSettings datastreamSettings =
* DatastreamSettings.newBuilder()
* .setTransportChannelProvider(
@@ -204,8 +216,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (ConnectionProfile element :
@@ -233,8 +248,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(Location
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (ConnectionProfile element :
@@ -260,8 +278,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(String p
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListConnectionProfilesRequest request =
* ListConnectionProfilesRequest.newBuilder()
@@ -293,8 +314,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListConnectionProfilesRequest request =
* ListConnectionProfilesRequest.newBuilder()
@@ -325,8 +349,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListConnectionProfilesRequest request =
* ListConnectionProfilesRequest.newBuilder()
@@ -364,8 +391,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfileName name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -391,8 +421,11 @@ public final ConnectionProfile getConnectionProfile(ConnectionProfileName name)
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
@@ -416,8 +449,11 @@ public final ConnectionProfile getConnectionProfile(String name) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetConnectionProfileRequest request =
* GetConnectionProfileRequest.newBuilder()
@@ -443,8 +479,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetConnectionProfileRequest request =
* GetConnectionProfileRequest.newBuilder()
@@ -471,8 +510,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
@@ -507,8 +549,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
@@ -543,8 +588,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateConnectionProfileRequest request =
* CreateConnectionProfileRequest.newBuilder()
@@ -574,8 +622,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateConnectionProfileRequest request =
* CreateConnectionProfileRequest.newBuilder()
@@ -606,8 +657,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateConnectionProfileRequest request =
* CreateConnectionProfileRequest.newBuilder()
@@ -637,8 +691,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -671,8 +728,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateConnectionProfileRequest request =
* UpdateConnectionProfileRequest.newBuilder()
@@ -701,8 +761,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateConnectionProfileRequest request =
* UpdateConnectionProfileRequest.newBuilder()
@@ -732,8 +795,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateConnectionProfileRequest request =
* UpdateConnectionProfileRequest.newBuilder()
@@ -762,8 +828,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfileName name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
@@ -790,8 +859,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name =
* ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]").toString();
@@ -815,8 +887,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteConnectionProfileRequest request =
* DeleteConnectionProfileRequest.newBuilder()
@@ -844,8 +919,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteConnectionProfileRequest request =
* DeleteConnectionProfileRequest.newBuilder()
@@ -873,8 +951,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteConnectionProfileRequest request =
* DeleteConnectionProfileRequest.newBuilder()
@@ -904,8 +985,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DiscoverConnectionProfileRequest request =
* DiscoverConnectionProfileRequest.newBuilder()
@@ -933,8 +1017,11 @@ public final DiscoverConnectionProfileResponse discoverConnectionProfile(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DiscoverConnectionProfileRequest request =
* DiscoverConnectionProfileRequest.newBuilder()
@@ -959,8 +1046,11 @@ public final DiscoverConnectionProfileResponse discoverConnectionProfile(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -987,8 +1077,11 @@ public final ListStreamsPagedResponse listStreams(LocationName parent) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Stream element : datastreamClient.listStreams(parent).iterateAll()) {
@@ -1012,8 +1105,11 @@ public final ListStreamsPagedResponse listStreams(String parent) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamsRequest request =
* ListStreamsRequest.newBuilder()
@@ -1043,8 +1139,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest request) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamsRequest request =
* ListStreamsRequest.newBuilder()
@@ -1074,8 +1173,11 @@ public final ListStreamsPagedResponse listStreams(ListStreamsRequest request) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamsRequest request =
* ListStreamsRequest.newBuilder()
@@ -1111,8 +1213,11 @@ public final UnaryCallable listStreamsC
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
* Stream response = datastreamClient.getStream(name);
@@ -1135,8 +1240,11 @@ public final Stream getStream(StreamName name) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
* Stream response = datastreamClient.getStream(name);
@@ -1158,8 +1266,11 @@ public final Stream getStream(String name) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetStreamRequest request =
* GetStreamRequest.newBuilder()
@@ -1183,8 +1294,11 @@ public final Stream getStream(GetStreamRequest request) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetStreamRequest request =
* GetStreamRequest.newBuilder()
@@ -1207,8 +1321,11 @@ public final UnaryCallable getStreamCallable() {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Stream stream = Stream.newBuilder().build();
@@ -1240,8 +1357,11 @@ public final OperationFuture createStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Stream stream = Stream.newBuilder().build();
@@ -1273,8 +1393,11 @@ public final OperationFuture createStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateStreamRequest request =
* CreateStreamRequest.newBuilder()
@@ -1304,8 +1427,11 @@ public final OperationFuture createStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateStreamRequest request =
* CreateStreamRequest.newBuilder()
@@ -1335,8 +1461,11 @@ public final OperationFuture createStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* CreateStreamRequest request =
* CreateStreamRequest.newBuilder()
@@ -1364,8 +1493,11 @@ public final UnaryCallable createStreamCallable(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* Stream stream = Stream.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1394,8 +1526,11 @@ public final OperationFuture updateStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateStreamRequest request =
* UpdateStreamRequest.newBuilder()
@@ -1424,8 +1559,11 @@ public final OperationFuture updateStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateStreamRequest request =
* UpdateStreamRequest.newBuilder()
@@ -1454,8 +1592,11 @@ public final OperationFuture updateStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* UpdateStreamRequest request =
* UpdateStreamRequest.newBuilder()
@@ -1482,8 +1623,11 @@ public final UnaryCallable updateStreamCallable(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamName name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
* datastreamClient.deleteStreamAsync(name).get();
@@ -1506,8 +1650,11 @@ public final OperationFuture deleteStreamAsync(StreamN
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
* datastreamClient.deleteStreamAsync(name).get();
@@ -1529,8 +1676,11 @@ public final OperationFuture deleteStreamAsync(String
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteStreamRequest request =
* DeleteStreamRequest.newBuilder()
@@ -1556,8 +1706,11 @@ public final OperationFuture deleteStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteStreamRequest request =
* DeleteStreamRequest.newBuilder()
@@ -1583,8 +1736,11 @@ public final OperationFuture deleteStreamAsync(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* DeleteStreamRequest request =
* DeleteStreamRequest.newBuilder()
@@ -1608,8 +1764,11 @@ public final UnaryCallable deleteStreamCallable(
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamObjectName name =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
@@ -1633,8 +1792,11 @@ public final StreamObject getStreamObject(StreamObjectName name) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
@@ -1657,8 +1819,11 @@ public final StreamObject getStreamObject(String name) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetStreamObjectRequest request =
* GetStreamObjectRequest.newBuilder()
@@ -1683,8 +1848,11 @@ public final StreamObject getStreamObject(GetStreamObjectRequest request) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* GetStreamObjectRequest request =
* GetStreamObjectRequest.newBuilder()
@@ -1709,8 +1877,11 @@ public final UnaryCallable getStreamObject
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LookupStreamObjectRequest request =
* LookupStreamObjectRequest.newBuilder()
@@ -1735,8 +1906,11 @@ public final StreamObject lookupStreamObject(LookupStreamObjectRequest request)
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* LookupStreamObjectRequest request =
* LookupStreamObjectRequest.newBuilder()
@@ -1761,8 +1935,11 @@ public final UnaryCallable lookupStream
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamName parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]");
* for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
@@ -1789,8 +1966,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(StreamName parent)
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent = StreamName.of("[PROJECT]", "[LOCATION]", "[STREAM]").toString();
* for (StreamObject element : datastreamClient.listStreamObjects(parent).iterateAll()) {
@@ -1815,8 +1995,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(String parent) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamObjectsRequest request =
* ListStreamObjectsRequest.newBuilder()
@@ -1844,8 +2027,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(ListStreamObjectsR
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamObjectsRequest request =
* ListStreamObjectsRequest.newBuilder()
@@ -1874,8 +2060,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(ListStreamObjectsR
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ListStreamObjectsRequest request =
* ListStreamObjectsRequest.newBuilder()
@@ -1911,8 +2100,11 @@ public final ListStreamObjectsPagedResponse listStreamObjects(ListStreamObjectsR
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamObjectName object =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
@@ -1938,8 +2130,11 @@ public final StartBackfillJobResponse startBackfillJob(StreamObjectName object)
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String object =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
@@ -1963,8 +2158,11 @@ public final StartBackfillJobResponse startBackfillJob(String object) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StartBackfillJobRequest request =
* StartBackfillJobRequest.newBuilder()
@@ -1989,8 +2187,11 @@ public final StartBackfillJobResponse startBackfillJob(StartBackfillJobRequest r
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StartBackfillJobRequest request =
* StartBackfillJobRequest.newBuilder()
@@ -2016,8 +2217,11 @@ public final StartBackfillJobResponse startBackfillJob(StartBackfillJobRequest r
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StreamObjectName object =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]");
@@ -2043,8 +2247,11 @@ public final StopBackfillJobResponse stopBackfillJob(StreamObjectName object) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String object =
* StreamObjectName.of("[PROJECT]", "[LOCATION]", "[STREAM]", "[OBJECT]").toString();
@@ -2067,8 +2274,11 @@ public final StopBackfillJobResponse stopBackfillJob(String object) {
* Sample code:
*
*
{@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 (DatastreamClient datastreamClient = DatastreamClient.create()) {
* StopBackfillJobRequest request =
* StopBackfillJobRequest.newBuilder()
@@ -2093,8 +2303,11 @@ public final StopBackfillJobResponse stopBackfillJob(StopBackfillJobRequest requ
*