{@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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Repository response = dataformClient.getRepository(name);
@@ -90,8 +93,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -102,8 +108,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder().setEndpoint(myEndpoint).build();
* DataformClient dataformClient = DataformClient.create(dataformSettings);
@@ -113,8 +122,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder()
* .setTransportChannelProvider(
@@ -181,8 +193,11 @@ public DataformStub getStub() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
@@ -210,8 +225,11 @@ public final ListRepositoriesPagedResponse listRepositories(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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
@@ -237,8 +255,11 @@ public final ListRepositoriesPagedResponse listRepositories(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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -268,8 +289,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -300,8 +324,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -338,8 +365,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Repository response = dataformClient.getRepository(name);
@@ -362,8 +392,11 @@ public final Repository getRepository(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* Repository response = dataformClient.getRepository(name);
@@ -385,8 +418,11 @@ public final Repository getRepository(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 (DataformClient dataformClient = DataformClient.create()) {
* GetRepositoryRequest request =
* GetRepositoryRequest.newBuilder()
@@ -410,8 +446,11 @@ public final Repository getRepository(GetRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetRepositoryRequest request =
* GetRepositoryRequest.newBuilder()
@@ -434,8 +473,11 @@ public final UnaryCallable getRepositoryCallab
* 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 (DataformClient dataformClient = DataformClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Repository repository = Repository.newBuilder().build();
@@ -469,8 +511,11 @@ public final Repository createRepository(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Repository repository = Repository.newBuilder().build();
@@ -504,8 +549,11 @@ public final Repository createRepository(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateRepositoryRequest request =
* CreateRepositoryRequest.newBuilder()
@@ -531,8 +579,11 @@ public final Repository createRepository(CreateRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateRepositoryRequest request =
* CreateRepositoryRequest.newBuilder()
@@ -557,8 +608,11 @@ public final UnaryCallable createRepository
* 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 (DataformClient dataformClient = DataformClient.create()) {
* Repository repository = Repository.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -587,8 +641,11 @@ public final Repository updateRepository(Repository repository, FieldMask update
* 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 (DataformClient dataformClient = DataformClient.create()) {
* UpdateRepositoryRequest request =
* UpdateRepositoryRequest.newBuilder()
@@ -613,8 +670,11 @@ public final Repository updateRepository(UpdateRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* UpdateRepositoryRequest request =
* UpdateRepositoryRequest.newBuilder()
@@ -638,8 +698,11 @@ public final UnaryCallable updateRepository
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* dataformClient.deleteRepository(name);
@@ -662,8 +725,11 @@ public final void deleteRepository(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* dataformClient.deleteRepository(name);
@@ -685,8 +751,11 @@ public final void deleteRepository(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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteRepositoryRequest request =
* DeleteRepositoryRequest.newBuilder()
@@ -711,8 +780,11 @@ public final void deleteRepository(DeleteRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteRepositoryRequest request =
* DeleteRepositoryRequest.newBuilder()
@@ -736,8 +808,11 @@ public final UnaryCallable deleteRepositoryCalla
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchRemoteBranchesRequest request =
* FetchRemoteBranchesRequest.newBuilder()
@@ -761,8 +836,11 @@ public final FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranches
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchRemoteBranchesRequest request =
* FetchRemoteBranchesRequest.newBuilder()
@@ -787,8 +865,11 @@ public final FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranches
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
@@ -816,8 +897,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
@@ -842,8 +926,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -873,8 +960,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -905,8 +995,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -943,8 +1036,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkspaceName name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
@@ -968,8 +1064,11 @@ public final Workspace getWorkspace(WorkspaceName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
@@ -992,8 +1091,11 @@ public final Workspace getWorkspace(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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkspaceRequest request =
* GetWorkspaceRequest.newBuilder()
@@ -1019,8 +1121,11 @@ public final Workspace getWorkspace(GetWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkspaceRequest request =
* GetWorkspaceRequest.newBuilder()
@@ -1045,8 +1150,11 @@ public final UnaryCallable getWorkspaceCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Workspace workspace = Workspace.newBuilder().build();
@@ -1080,8 +1188,11 @@ public final Workspace createWorkspace(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* Workspace workspace = Workspace.newBuilder().build();
@@ -1114,8 +1225,11 @@ public final Workspace createWorkspace(String parent, Workspace workspace, Strin
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkspaceRequest request =
* CreateWorkspaceRequest.newBuilder()
@@ -1141,8 +1255,11 @@ public final Workspace createWorkspace(CreateWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkspaceRequest request =
* CreateWorkspaceRequest.newBuilder()
@@ -1167,8 +1284,11 @@ public final UnaryCallable createWorkspaceCal
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkspaceName name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
@@ -1192,8 +1312,11 @@ public final void deleteWorkspace(WorkspaceName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
@@ -1216,8 +1339,11 @@ public final void deleteWorkspace(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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkspaceRequest request =
* DeleteWorkspaceRequest.newBuilder()
@@ -1243,8 +1369,11 @@ public final void deleteWorkspace(DeleteWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkspaceRequest request =
* DeleteWorkspaceRequest.newBuilder()
@@ -1269,8 +1398,11 @@ public final UnaryCallable deleteWorkspaceCallabl
* 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 (DataformClient dataformClient = DataformClient.create()) {
* InstallNpmPackagesRequest request =
* InstallNpmPackagesRequest.newBuilder()
@@ -1296,8 +1428,11 @@ public final InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesReq
* 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 (DataformClient dataformClient = DataformClient.create()) {
* InstallNpmPackagesRequest request =
* InstallNpmPackagesRequest.newBuilder()
@@ -1324,8 +1459,11 @@ public final InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesReq
* 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 (DataformClient dataformClient = DataformClient.create()) {
* PullGitCommitsRequest request =
* PullGitCommitsRequest.newBuilder()
@@ -1353,8 +1491,11 @@ public final void pullGitCommits(PullGitCommitsRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* PullGitCommitsRequest request =
* PullGitCommitsRequest.newBuilder()
@@ -1381,8 +1522,11 @@ public final UnaryCallable pullGitCommitsCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* PushGitCommitsRequest request =
* PushGitCommitsRequest.newBuilder()
@@ -1409,8 +1553,11 @@ public final void pushGitCommits(PushGitCommitsRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* PushGitCommitsRequest request =
* PushGitCommitsRequest.newBuilder()
@@ -1436,8 +1583,11 @@ public final UnaryCallable pushGitCommitsCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileGitStatusesRequest request =
* FetchFileGitStatusesRequest.newBuilder()
@@ -1464,8 +1614,11 @@ public final FetchFileGitStatusesResponse fetchFileGitStatuses(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileGitStatusesRequest request =
* FetchFileGitStatusesRequest.newBuilder()
@@ -1492,8 +1645,11 @@ public final FetchFileGitStatusesResponse fetchFileGitStatuses(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchGitAheadBehindRequest request =
* FetchGitAheadBehindRequest.newBuilder()
@@ -1520,8 +1676,11 @@ public final FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehind
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchGitAheadBehindRequest request =
* FetchGitAheadBehindRequest.newBuilder()
@@ -1549,8 +1708,11 @@ public final FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehind
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CommitWorkspaceChangesRequest request =
* CommitWorkspaceChangesRequest.newBuilder()
@@ -1579,8 +1741,11 @@ public final void commitWorkspaceChanges(CommitWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CommitWorkspaceChangesRequest request =
* CommitWorkspaceChangesRequest.newBuilder()
@@ -1609,8 +1774,11 @@ public final void commitWorkspaceChanges(CommitWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* ResetWorkspaceChangesRequest request =
* ResetWorkspaceChangesRequest.newBuilder()
@@ -1638,8 +1806,11 @@ public final void resetWorkspaceChanges(ResetWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* ResetWorkspaceChangesRequest request =
* ResetWorkspaceChangesRequest.newBuilder()
@@ -1666,8 +1837,11 @@ public final UnaryCallable resetWorkspaceCh
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileDiffRequest request =
* FetchFileDiffRequest.newBuilder()
@@ -1694,8 +1868,11 @@ public final FetchFileDiffResponse fetchFileDiff(FetchFileDiffRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileDiffRequest request =
* FetchFileDiffRequest.newBuilder()
@@ -1722,8 +1899,11 @@ public final UnaryCallable fetchFil
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryDirectoryContentsRequest request =
* QueryDirectoryContentsRequest.newBuilder()
@@ -1756,8 +1936,11 @@ public final QueryDirectoryContentsPagedResponse queryDirectoryContents(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryDirectoryContentsRequest request =
* QueryDirectoryContentsRequest.newBuilder()
@@ -1789,8 +1972,11 @@ public final QueryDirectoryContentsPagedResponse queryDirectoryContents(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryDirectoryContentsRequest request =
* QueryDirectoryContentsRequest.newBuilder()
@@ -1830,8 +2016,11 @@ public final QueryDirectoryContentsPagedResponse queryDirectoryContents(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* MakeDirectoryRequest request =
* MakeDirectoryRequest.newBuilder()
@@ -1858,8 +2047,11 @@ public final MakeDirectoryResponse makeDirectory(MakeDirectoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* MakeDirectoryRequest request =
* MakeDirectoryRequest.newBuilder()
@@ -1886,8 +2078,11 @@ public final UnaryCallable makeDire
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RemoveDirectoryRequest request =
* RemoveDirectoryRequest.newBuilder()
@@ -1914,8 +2109,11 @@ public final void removeDirectory(RemoveDirectoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* RemoveDirectoryRequest request =
* RemoveDirectoryRequest.newBuilder()
@@ -1941,8 +2139,11 @@ public final UnaryCallable removeDirectoryCallabl
* 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 (DataformClient dataformClient = DataformClient.create()) {
* MoveDirectoryRequest request =
* MoveDirectoryRequest.newBuilder()
@@ -1970,8 +2171,11 @@ public final MoveDirectoryResponse moveDirectory(MoveDirectoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* MoveDirectoryRequest request =
* MoveDirectoryRequest.newBuilder()
@@ -1999,8 +2203,11 @@ public final UnaryCallable moveDire
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ReadFileRequest request =
* ReadFileRequest.newBuilder()
@@ -2027,8 +2234,11 @@ public final ReadFileResponse readFile(ReadFileRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* ReadFileRequest request =
* ReadFileRequest.newBuilder()
@@ -2054,8 +2264,11 @@ public final UnaryCallable readFileCallable()
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RemoveFileRequest request =
* RemoveFileRequest.newBuilder()
@@ -2082,8 +2295,11 @@ public final void removeFile(RemoveFileRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* RemoveFileRequest request =
* RemoveFileRequest.newBuilder()
@@ -2109,8 +2325,11 @@ public final UnaryCallable removeFileCallable() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* MoveFileRequest request =
* MoveFileRequest.newBuilder()
@@ -2138,8 +2357,11 @@ public final MoveFileResponse moveFile(MoveFileRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* MoveFileRequest request =
* MoveFileRequest.newBuilder()
@@ -2166,8 +2388,11 @@ public final UnaryCallable moveFileCallable()
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WriteFileRequest request =
* WriteFileRequest.newBuilder()
@@ -2195,8 +2420,11 @@ public final WriteFileResponse writeFile(WriteFileRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* WriteFileRequest request =
* WriteFileRequest.newBuilder()
@@ -2223,8 +2451,11 @@ public final UnaryCallable writeFileCallabl
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* for (CompilationResult element : dataformClient.listCompilationResults(parent).iterateAll()) {
@@ -2252,8 +2483,11 @@ public final ListCompilationResultsPagedResponse listCompilationResults(Reposito
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* for (CompilationResult element : dataformClient.listCompilationResults(parent).iterateAll()) {
@@ -2279,8 +2513,11 @@ public final ListCompilationResultsPagedResponse listCompilationResults(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 (DataformClient dataformClient = DataformClient.create()) {
* ListCompilationResultsRequest request =
* ListCompilationResultsRequest.newBuilder()
@@ -2310,8 +2547,11 @@ public final ListCompilationResultsPagedResponse listCompilationResults(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListCompilationResultsRequest request =
* ListCompilationResultsRequest.newBuilder()
@@ -2340,8 +2580,11 @@ public final ListCompilationResultsPagedResponse listCompilationResults(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListCompilationResultsRequest request =
* ListCompilationResultsRequest.newBuilder()
@@ -2377,8 +2620,11 @@ public final ListCompilationResultsPagedResponse listCompilationResults(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CompilationResultName name =
* CompilationResultName.of(
@@ -2405,8 +2651,11 @@ public final CompilationResult getCompilationResult(CompilationResultName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* CompilationResultName.of(
@@ -2432,8 +2681,11 @@ public final CompilationResult getCompilationResult(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 (DataformClient dataformClient = DataformClient.create()) {
* GetCompilationResultRequest request =
* GetCompilationResultRequest.newBuilder()
@@ -2460,8 +2712,11 @@ public final CompilationResult getCompilationResult(GetCompilationResultRequest
* 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 (DataformClient dataformClient = DataformClient.create()) {
* GetCompilationResultRequest request =
* GetCompilationResultRequest.newBuilder()
@@ -2489,8 +2744,11 @@ public final CompilationResult getCompilationResult(GetCompilationResultRequest
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* CompilationResult compilationResult = CompilationResult.newBuilder().build();
@@ -2521,8 +2779,11 @@ public final CompilationResult createCompilationResult(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* CompilationResult compilationResult = CompilationResult.newBuilder().build();
@@ -2553,8 +2814,11 @@ public final CompilationResult createCompilationResult(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateCompilationResultRequest request =
* CreateCompilationResultRequest.newBuilder()
@@ -2579,8 +2843,11 @@ public final CompilationResult createCompilationResult(CreateCompilationResultRe
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateCompilationResultRequest request =
* CreateCompilationResultRequest.newBuilder()
@@ -2606,8 +2873,11 @@ public final CompilationResult createCompilationResult(CreateCompilationResultRe
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryCompilationResultActionsRequest request =
* QueryCompilationResultActionsRequest.newBuilder()
@@ -2641,8 +2911,11 @@ public final QueryCompilationResultActionsPagedResponse queryCompilationResultAc
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryCompilationResultActionsRequest request =
* QueryCompilationResultActionsRequest.newBuilder()
@@ -2676,8 +2949,11 @@ public final QueryCompilationResultActionsPagedResponse queryCompilationResultAc
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryCompilationResultActionsRequest request =
* QueryCompilationResultActionsRequest.newBuilder()
@@ -2718,8 +2994,11 @@ public final QueryCompilationResultActionsPagedResponse queryCompilationResultAc
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* for (WorkflowInvocation element :
@@ -2748,8 +3027,11 @@ public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(Reposi
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* for (WorkflowInvocation element :
@@ -2776,8 +3058,11 @@ public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkflowInvocationsRequest request =
* ListWorkflowInvocationsRequest.newBuilder()
@@ -2807,8 +3092,11 @@ public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkflowInvocationsRequest request =
* ListWorkflowInvocationsRequest.newBuilder()
@@ -2837,8 +3125,11 @@ public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkflowInvocationsRequest request =
* ListWorkflowInvocationsRequest.newBuilder()
@@ -2874,8 +3165,11 @@ public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkflowInvocationName name =
* WorkflowInvocationName.of(
@@ -2902,8 +3196,11 @@ public final WorkflowInvocation getWorkflowInvocation(WorkflowInvocationName nam
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkflowInvocationName.of(
@@ -2929,8 +3226,11 @@ public final WorkflowInvocation getWorkflowInvocation(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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkflowInvocationRequest request =
* GetWorkflowInvocationRequest.newBuilder()
@@ -2957,8 +3257,11 @@ public final WorkflowInvocation getWorkflowInvocation(GetWorkflowInvocationReque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkflowInvocationRequest request =
* GetWorkflowInvocationRequest.newBuilder()
@@ -2986,8 +3289,11 @@ public final WorkflowInvocation getWorkflowInvocation(GetWorkflowInvocationReque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build();
@@ -3017,8 +3323,11 @@ public final WorkflowInvocation createWorkflowInvocation(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build();
@@ -3048,8 +3357,11 @@ public final WorkflowInvocation createWorkflowInvocation(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkflowInvocationRequest request =
* CreateWorkflowInvocationRequest.newBuilder()
@@ -3075,8 +3387,11 @@ public final WorkflowInvocation createWorkflowInvocation(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkflowInvocationRequest request =
* CreateWorkflowInvocationRequest.newBuilder()
@@ -3102,8 +3417,11 @@ public final WorkflowInvocation createWorkflowInvocation(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkflowInvocationName name =
* WorkflowInvocationName.of(
@@ -3130,8 +3448,11 @@ public final void deleteWorkflowInvocation(WorkflowInvocationName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkflowInvocationName.of(
@@ -3157,8 +3478,11 @@ public final void deleteWorkflowInvocation(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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkflowInvocationRequest request =
* DeleteWorkflowInvocationRequest.newBuilder()
@@ -3185,8 +3509,11 @@ public final void deleteWorkflowInvocation(DeleteWorkflowInvocationRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkflowInvocationRequest request =
* DeleteWorkflowInvocationRequest.newBuilder()
@@ -3214,8 +3541,11 @@ public final void deleteWorkflowInvocation(DeleteWorkflowInvocationRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CancelWorkflowInvocationRequest request =
* CancelWorkflowInvocationRequest.newBuilder()
@@ -3242,8 +3572,11 @@ public final void cancelWorkflowInvocation(CancelWorkflowInvocationRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CancelWorkflowInvocationRequest request =
* CancelWorkflowInvocationRequest.newBuilder()
@@ -3271,8 +3604,11 @@ public final void cancelWorkflowInvocation(CancelWorkflowInvocationRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryWorkflowInvocationActionsRequest request =
* QueryWorkflowInvocationActionsRequest.newBuilder()
@@ -3305,8 +3641,11 @@ public final QueryWorkflowInvocationActionsPagedResponse queryWorkflowInvocation
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryWorkflowInvocationActionsRequest request =
* QueryWorkflowInvocationActionsRequest.newBuilder()
@@ -3339,8 +3678,11 @@ public final QueryWorkflowInvocationActionsPagedResponse queryWorkflowInvocation
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryWorkflowInvocationActionsRequest request =
* QueryWorkflowInvocationActionsRequest.newBuilder()
@@ -3380,8 +3722,11 @@ public final QueryWorkflowInvocationActionsPagedResponse queryWorkflowInvocation
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
@@ -3410,8 +3755,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
@@ -3440,8 +3788,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListLocationsRequest request =
* ListLocationsRequest.newBuilder()
@@ -3476,8 +3827,11 @@ public final UnaryCallable listLoca
* 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 (DataformClient dataformClient = DataformClient.create()) {
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
* Location response = dataformClient.getLocation(request);
@@ -3498,8 +3852,11 @@ public final Location getLocation(GetLocationRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
* ApiFuture future = dataformClient.getLocationCallable().futureCall(request);
@@ -3521,8 +3878,11 @@ public final UnaryCallable getLocationCallable() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
@@ -3553,8 +3913,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
@@ -3583,8 +3946,11 @@ public final UnaryCallable setIamPolicyCallable() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
@@ -3610,8 +3976,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
@@ -3640,8 +4009,11 @@ public final UnaryCallable getIamPolicyCallable() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
@@ -3671,8 +4043,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
* 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 (DataformClient dataformClient = DataformClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java
index c9b9a2e..18efa7c 100644
--- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java
+++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java
@@ -70,16 +70,16 @@
* For example, to set the total timeout of getRepository to 30 seconds:
*
*
{@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
* DataformSettings.Builder dataformSettingsBuilder = DataformSettings.newBuilder();
* dataformSettingsBuilder
* .getRepositorySettings()
* .setRetrySettings(
- * dataformSettingsBuilder
- * .getRepositorySettings()
- * .getRetrySettings()
- * .toBuilder()
+ * dataformSettingsBuilder.getRepositorySettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataformSettings dataformSettings = dataformSettingsBuilder.build();
diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java
index 580e975..ff0c1a5 100644
--- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java
+++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java
@@ -27,8 +27,11 @@
* Sample for DataformClient:
*
*
{@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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Repository response = dataformClient.getRepository(name);
diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java
index f322026..2a7f362 100644
--- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java
+++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java
@@ -145,16 +145,16 @@
* For example, to set the total timeout of getRepository to 30 seconds:
*
*
{@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
* DataformStubSettings.Builder dataformSettingsBuilder = DataformStubSettings.newBuilder();
* dataformSettingsBuilder
* .getRepositorySettings()
* .setRetrySettings(
- * dataformSettingsBuilder
- * .getRepositorySettings()
- * .getRetrySettings()
- * .toBuilder()
+ * dataformSettingsBuilder.getRepositorySettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataformStubSettings dataformSettings = dataformSettingsBuilder.build();
diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java
index 606cd23..82f7db4 100644
--- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java
+++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java
@@ -223,7 +223,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("repository", request.getRepository()))
+ .toBody("repository", request.getRepository(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -261,7 +261,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("repository", request.getRepository()))
+ .toBody("repository", request.getRepository(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -436,7 +436,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("workspace", request.getWorkspace()))
+ .toBody("workspace", request.getWorkspace(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -505,7 +505,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -541,7 +541,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -577,7 +577,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -683,7 +683,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -719,7 +719,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -827,7 +827,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -863,7 +863,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -899,7 +899,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -968,7 +968,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1004,7 +1004,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1040,7 +1040,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearWorkspace().build()))
+ .toBody("*", request.toBuilder().clearWorkspace().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1146,7 +1146,8 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("compilationResult", request.getCompilationResult()))
+ .toBody(
+ "compilationResult", request.getCompilationResult(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1293,7 +1294,8 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("workflowInvocation", request.getWorkflowInvocation()))
+ .toBody(
+ "workflowInvocation", request.getWorkflowInvocation(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1362,7 +1364,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1507,7 +1509,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearResource().build()))
+ .toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -1580,7 +1582,7 @@ public class HttpJsonDataformStub extends DataformStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearResource().build()))
+ .toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java
index a652923..2414aa0 100644
--- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java
+++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java
@@ -48,8 +48,11 @@
* calls that map to API methods. Sample code to get started:
*
* {@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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Repository response = dataformClient.getRepository(name);
@@ -85,8 +88,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -97,8 +103,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder().setEndpoint(myEndpoint).build();
* DataformClient dataformClient = DataformClient.create(dataformSettings);
@@ -108,8 +117,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
* DataformSettings dataformSettings =
* DataformSettings.newBuilder()
* .setTransportChannelProvider(
@@ -176,8 +188,11 @@ public DataformStub getStub() {
* 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 (DataformClient dataformClient = DataformClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
@@ -205,8 +220,11 @@ public final ListRepositoriesPagedResponse listRepositories(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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
@@ -232,8 +250,11 @@ public final ListRepositoriesPagedResponse listRepositories(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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -263,8 +284,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -295,8 +319,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListRepositoriesRequest request =
* ListRepositoriesRequest.newBuilder()
@@ -333,8 +360,11 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Repository response = dataformClient.getRepository(name);
@@ -357,8 +387,11 @@ public final Repository getRepository(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* Repository response = dataformClient.getRepository(name);
@@ -380,8 +413,11 @@ public final Repository getRepository(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 (DataformClient dataformClient = DataformClient.create()) {
* GetRepositoryRequest request =
* GetRepositoryRequest.newBuilder()
@@ -405,8 +441,11 @@ public final Repository getRepository(GetRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetRepositoryRequest request =
* GetRepositoryRequest.newBuilder()
@@ -429,8 +468,11 @@ public final UnaryCallable getRepositoryCallab
* 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 (DataformClient dataformClient = DataformClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Repository repository = Repository.newBuilder().build();
@@ -464,8 +506,11 @@ public final Repository createRepository(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Repository repository = Repository.newBuilder().build();
@@ -499,8 +544,11 @@ public final Repository createRepository(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateRepositoryRequest request =
* CreateRepositoryRequest.newBuilder()
@@ -526,8 +574,11 @@ public final Repository createRepository(CreateRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateRepositoryRequest request =
* CreateRepositoryRequest.newBuilder()
@@ -552,8 +603,11 @@ public final UnaryCallable createRepository
* 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 (DataformClient dataformClient = DataformClient.create()) {
* Repository repository = Repository.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -582,8 +636,11 @@ public final Repository updateRepository(Repository repository, FieldMask update
* 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 (DataformClient dataformClient = DataformClient.create()) {
* UpdateRepositoryRequest request =
* UpdateRepositoryRequest.newBuilder()
@@ -608,8 +665,11 @@ public final Repository updateRepository(UpdateRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* UpdateRepositoryRequest request =
* UpdateRepositoryRequest.newBuilder()
@@ -633,8 +693,11 @@ public final UnaryCallable updateRepository
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* dataformClient.deleteRepository(name);
@@ -657,8 +720,11 @@ public final void deleteRepository(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* dataformClient.deleteRepository(name);
@@ -680,8 +746,11 @@ public final void deleteRepository(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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteRepositoryRequest request =
* DeleteRepositoryRequest.newBuilder()
@@ -706,8 +775,11 @@ public final void deleteRepository(DeleteRepositoryRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteRepositoryRequest request =
* DeleteRepositoryRequest.newBuilder()
@@ -731,8 +803,11 @@ public final UnaryCallable deleteRepositoryCalla
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchRemoteBranchesRequest request =
* FetchRemoteBranchesRequest.newBuilder()
@@ -756,8 +831,11 @@ public final FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranches
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchRemoteBranchesRequest request =
* FetchRemoteBranchesRequest.newBuilder()
@@ -782,8 +860,11 @@ public final FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranches
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
@@ -811,8 +892,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(RepositoryName 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
@@ -837,8 +921,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -868,8 +955,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -900,8 +990,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* ListWorkspacesRequest request =
* ListWorkspacesRequest.newBuilder()
@@ -938,8 +1031,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest re
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkspaceName name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
@@ -963,8 +1059,11 @@ public final Workspace getWorkspace(WorkspaceName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
@@ -987,8 +1086,11 @@ public final Workspace getWorkspace(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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkspaceRequest request =
* GetWorkspaceRequest.newBuilder()
@@ -1014,8 +1116,11 @@ public final Workspace getWorkspace(GetWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* GetWorkspaceRequest request =
* GetWorkspaceRequest.newBuilder()
@@ -1040,8 +1145,11 @@ public final UnaryCallable getWorkspaceCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
* Workspace workspace = Workspace.newBuilder().build();
@@ -1075,8 +1183,11 @@ public final Workspace createWorkspace(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
* Workspace workspace = Workspace.newBuilder().build();
@@ -1109,8 +1220,11 @@ public final Workspace createWorkspace(String parent, Workspace workspace, Strin
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkspaceRequest request =
* CreateWorkspaceRequest.newBuilder()
@@ -1136,8 +1250,11 @@ public final Workspace createWorkspace(CreateWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CreateWorkspaceRequest request =
* CreateWorkspaceRequest.newBuilder()
@@ -1162,8 +1279,11 @@ public final UnaryCallable createWorkspaceCal
* 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 (DataformClient dataformClient = DataformClient.create()) {
* WorkspaceName name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
@@ -1187,8 +1307,11 @@ public final void deleteWorkspace(WorkspaceName 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 (DataformClient dataformClient = DataformClient.create()) {
* String name =
* WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
@@ -1211,8 +1334,11 @@ public final void deleteWorkspace(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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkspaceRequest request =
* DeleteWorkspaceRequest.newBuilder()
@@ -1238,8 +1364,11 @@ public final void deleteWorkspace(DeleteWorkspaceRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* DeleteWorkspaceRequest request =
* DeleteWorkspaceRequest.newBuilder()
@@ -1264,8 +1393,11 @@ public final UnaryCallable deleteWorkspaceCallabl
* 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 (DataformClient dataformClient = DataformClient.create()) {
* InstallNpmPackagesRequest request =
* InstallNpmPackagesRequest.newBuilder()
@@ -1291,8 +1423,11 @@ public final InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesReq
* 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 (DataformClient dataformClient = DataformClient.create()) {
* InstallNpmPackagesRequest request =
* InstallNpmPackagesRequest.newBuilder()
@@ -1319,8 +1454,11 @@ public final InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesReq
* 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 (DataformClient dataformClient = DataformClient.create()) {
* PullGitCommitsRequest request =
* PullGitCommitsRequest.newBuilder()
@@ -1348,8 +1486,11 @@ public final void pullGitCommits(PullGitCommitsRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* PullGitCommitsRequest request =
* PullGitCommitsRequest.newBuilder()
@@ -1376,8 +1517,11 @@ public final UnaryCallable pullGitCommitsCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* PushGitCommitsRequest request =
* PushGitCommitsRequest.newBuilder()
@@ -1404,8 +1548,11 @@ public final void pushGitCommits(PushGitCommitsRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* PushGitCommitsRequest request =
* PushGitCommitsRequest.newBuilder()
@@ -1431,8 +1578,11 @@ public final UnaryCallable pushGitCommitsCallable(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileGitStatusesRequest request =
* FetchFileGitStatusesRequest.newBuilder()
@@ -1459,8 +1609,11 @@ public final FetchFileGitStatusesResponse fetchFileGitStatuses(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileGitStatusesRequest request =
* FetchFileGitStatusesRequest.newBuilder()
@@ -1487,8 +1640,11 @@ public final FetchFileGitStatusesResponse fetchFileGitStatuses(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchGitAheadBehindRequest request =
* FetchGitAheadBehindRequest.newBuilder()
@@ -1515,8 +1671,11 @@ public final FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehind
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchGitAheadBehindRequest request =
* FetchGitAheadBehindRequest.newBuilder()
@@ -1544,8 +1703,11 @@ public final FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehind
* 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 (DataformClient dataformClient = DataformClient.create()) {
* CommitWorkspaceChangesRequest request =
* CommitWorkspaceChangesRequest.newBuilder()
@@ -1574,8 +1736,11 @@ public final void commitWorkspaceChanges(CommitWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* CommitWorkspaceChangesRequest request =
* CommitWorkspaceChangesRequest.newBuilder()
@@ -1604,8 +1769,11 @@ public final void commitWorkspaceChanges(CommitWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* ResetWorkspaceChangesRequest request =
* ResetWorkspaceChangesRequest.newBuilder()
@@ -1633,8 +1801,11 @@ public final void resetWorkspaceChanges(ResetWorkspaceChangesRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* ResetWorkspaceChangesRequest request =
* ResetWorkspaceChangesRequest.newBuilder()
@@ -1661,8 +1832,11 @@ public final UnaryCallable resetWorkspaceCh
* 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileDiffRequest request =
* FetchFileDiffRequest.newBuilder()
@@ -1689,8 +1863,11 @@ public final FetchFileDiffResponse fetchFileDiff(FetchFileDiffRequest 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 (DataformClient dataformClient = DataformClient.create()) {
* FetchFileDiffRequest request =
* FetchFileDiffRequest.newBuilder()
@@ -1717,8 +1894,11 @@ public final UnaryCallable fetchFil
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryDirectoryContentsRequest request =
* QueryDirectoryContentsRequest.newBuilder()
@@ -1751,8 +1931,11 @@ public final QueryDirectoryContentsPagedResponse queryDirectoryContents(
* 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 (DataformClient dataformClient = DataformClient.create()) {
* QueryDirectoryContentsRequest request =
* QueryDirectoryContentsRequest.newBuilder()
@@ -1784,8 +1967,11 @@ public final QueryDirectoryContentsPagedResponse queryDirectoryContents(
*