diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java deleted file mode 100644 index 2773aa43ef74..000000000000 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/dataexchange/common/common.proto - -package com.google.cloud.bigquery.dataexchange.common; - -/** - * - * - *
- * Listing categories.
- * 
- * - * Protobuf enum {@code google.cloud.bigquery.dataexchange.common.Category} - */ -public enum Category implements com.google.protobuf.ProtocolMessageEnum { - /** CATEGORY_UNSPECIFIED = 0; */ - CATEGORY_UNSPECIFIED(0), - /** CATEGORY_OTHERS = 1; */ - CATEGORY_OTHERS(1), - /** CATEGORY_ADVERTISING_AND_MARKETING = 2; */ - CATEGORY_ADVERTISING_AND_MARKETING(2), - /** CATEGORY_COMMERCE = 3; */ - CATEGORY_COMMERCE(3), - /** CATEGORY_CLIMATE_AND_ENVIRONMENT = 4; */ - CATEGORY_CLIMATE_AND_ENVIRONMENT(4), - /** CATEGORY_DEMOGRAPHICS = 5; */ - CATEGORY_DEMOGRAPHICS(5), - /** CATEGORY_ECONOMICS = 6; */ - CATEGORY_ECONOMICS(6), - /** CATEGORY_EDUCATION = 7; */ - CATEGORY_EDUCATION(7), - /** CATEGORY_ENERGY = 8; */ - CATEGORY_ENERGY(8), - /** CATEGORY_FINANCIAL = 9; */ - CATEGORY_FINANCIAL(9), - /** CATEGORY_GAMING = 10; */ - CATEGORY_GAMING(10), - /** CATEGORY_GEOSPATIAL = 11; */ - CATEGORY_GEOSPATIAL(11), - /** CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12; */ - CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE(12), - /** CATEGORY_MEDIA = 13; */ - CATEGORY_MEDIA(13), - /** CATEGORY_PUBLIC_SECTOR = 14; */ - CATEGORY_PUBLIC_SECTOR(14), - /** CATEGORY_RETAIL = 15; */ - CATEGORY_RETAIL(15), - /** CATEGORY_SPORTS = 16; */ - CATEGORY_SPORTS(16), - /** CATEGORY_SCIENCE_AND_RESEARCH = 17; */ - CATEGORY_SCIENCE_AND_RESEARCH(17), - /** CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18; */ - CATEGORY_TRANSPORTATION_AND_LOGISTICS(18), - /** CATEGORY_TRAVEL_AND_TOURISM = 19; */ - CATEGORY_TRAVEL_AND_TOURISM(19), - UNRECOGNIZED(-1), - ; - - /** CATEGORY_UNSPECIFIED = 0; */ - public static final int CATEGORY_UNSPECIFIED_VALUE = 0; - /** CATEGORY_OTHERS = 1; */ - public static final int CATEGORY_OTHERS_VALUE = 1; - /** CATEGORY_ADVERTISING_AND_MARKETING = 2; */ - public static final int CATEGORY_ADVERTISING_AND_MARKETING_VALUE = 2; - /** CATEGORY_COMMERCE = 3; */ - public static final int CATEGORY_COMMERCE_VALUE = 3; - /** CATEGORY_CLIMATE_AND_ENVIRONMENT = 4; */ - public static final int CATEGORY_CLIMATE_AND_ENVIRONMENT_VALUE = 4; - /** CATEGORY_DEMOGRAPHICS = 5; */ - public static final int CATEGORY_DEMOGRAPHICS_VALUE = 5; - /** CATEGORY_ECONOMICS = 6; */ - public static final int CATEGORY_ECONOMICS_VALUE = 6; - /** CATEGORY_EDUCATION = 7; */ - public static final int CATEGORY_EDUCATION_VALUE = 7; - /** CATEGORY_ENERGY = 8; */ - public static final int CATEGORY_ENERGY_VALUE = 8; - /** CATEGORY_FINANCIAL = 9; */ - public static final int CATEGORY_FINANCIAL_VALUE = 9; - /** CATEGORY_GAMING = 10; */ - public static final int CATEGORY_GAMING_VALUE = 10; - /** CATEGORY_GEOSPATIAL = 11; */ - public static final int CATEGORY_GEOSPATIAL_VALUE = 11; - /** CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12; */ - public static final int CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE_VALUE = 12; - /** CATEGORY_MEDIA = 13; */ - public static final int CATEGORY_MEDIA_VALUE = 13; - /** CATEGORY_PUBLIC_SECTOR = 14; */ - public static final int CATEGORY_PUBLIC_SECTOR_VALUE = 14; - /** CATEGORY_RETAIL = 15; */ - public static final int CATEGORY_RETAIL_VALUE = 15; - /** CATEGORY_SPORTS = 16; */ - public static final int CATEGORY_SPORTS_VALUE = 16; - /** CATEGORY_SCIENCE_AND_RESEARCH = 17; */ - public static final int CATEGORY_SCIENCE_AND_RESEARCH_VALUE = 17; - /** CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18; */ - public static final int CATEGORY_TRANSPORTATION_AND_LOGISTICS_VALUE = 18; - /** CATEGORY_TRAVEL_AND_TOURISM = 19; */ - public static final int CATEGORY_TRAVEL_AND_TOURISM_VALUE = 19; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Category valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Category forNumber(int value) { - switch (value) { - case 0: - return CATEGORY_UNSPECIFIED; - case 1: - return CATEGORY_OTHERS; - case 2: - return CATEGORY_ADVERTISING_AND_MARKETING; - case 3: - return CATEGORY_COMMERCE; - case 4: - return CATEGORY_CLIMATE_AND_ENVIRONMENT; - case 5: - return CATEGORY_DEMOGRAPHICS; - case 6: - return CATEGORY_ECONOMICS; - case 7: - return CATEGORY_EDUCATION; - case 8: - return CATEGORY_ENERGY; - case 9: - return CATEGORY_FINANCIAL; - case 10: - return CATEGORY_GAMING; - case 11: - return CATEGORY_GEOSPATIAL; - case 12: - return CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE; - case 13: - return CATEGORY_MEDIA; - case 14: - return CATEGORY_PUBLIC_SECTOR; - case 15: - return CATEGORY_RETAIL; - case 16: - return CATEGORY_SPORTS; - case 17: - return CATEGORY_SCIENCE_AND_RESEARCH; - case 18: - return CATEGORY_TRANSPORTATION_AND_LOGISTICS; - case 19: - return CATEGORY_TRAVEL_AND_TOURISM; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Category findValueByNumber(int number) { - return Category.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.dataexchange.common.CommonProto.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final Category[] VALUES = values(); - - public static Category valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Category(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.dataexchange.common.Category) -} diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/CommonProto.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/CommonProto.java deleted file mode 100644 index 0528e6076c81..000000000000 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/CommonProto.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/dataexchange/common/common.proto - -package com.google.cloud.bigquery.dataexchange.common; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/bigquery/dataexchange/com" - + "mon/common.proto\022)google.cloud.bigquery." - + "dataexchange.common*\267\004\n\010Category\022\030\n\024CATE" - + "GORY_UNSPECIFIED\020\000\022\023\n\017CATEGORY_OTHERS\020\001\022" - + "&\n\"CATEGORY_ADVERTISING_AND_MARKETING\020\002\022" - + "\025\n\021CATEGORY_COMMERCE\020\003\022$\n CATEGORY_CLIMA" - + "TE_AND_ENVIRONMENT\020\004\022\031\n\025CATEGORY_DEMOGRA" - + "PHICS\020\005\022\026\n\022CATEGORY_ECONOMICS\020\006\022\026\n\022CATEG" - + "ORY_EDUCATION\020\007\022\023\n\017CATEGORY_ENERGY\020\010\022\026\n\022" - + "CATEGORY_FINANCIAL\020\t\022\023\n\017CATEGORY_GAMING\020" - + "\n\022\027\n\023CATEGORY_GEOSPATIAL\020\013\022(\n$CATEGORY_H" - + "EALTHCARE_AND_LIFE_SCIENCE\020\014\022\022\n\016CATEGORY" - + "_MEDIA\020\r\022\032\n\026CATEGORY_PUBLIC_SECTOR\020\016\022\023\n\017" - + "CATEGORY_RETAIL\020\017\022\023\n\017CATEGORY_SPORTS\020\020\022!" - + "\n\035CATEGORY_SCIENCE_AND_RESEARCH\020\021\022)\n%CAT" - + "EGORY_TRANSPORTATION_AND_LOGISTICS\020\022\022\037\n\033" - + "CATEGORY_TRAVEL_AND_TOURISM\020\023B\227\002\n-com.go" - + "ogle.cloud.bigquery.dataexchange.commonB" - + "\013CommonProtoP\001ZOgoogle.golang.org/genpro" - + "to/googleapis/cloud/bigquery/dataexchang" - + "e/common;common\252\002)Google.Cloud.BigQuery." - + "DataExchange.Common\312\002)Google\\Cloud\\BigQu" - + "ery\\DataExchange\\Common\352\002-Google::Cloud:" - + ":Bigquery::DataExchange::Commonb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/BaseTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/BaseTest.java index 1dae34ce376f..cbe07e4ee3bd 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/BaseTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/BaseTest.java @@ -22,9 +22,8 @@ public class BaseTest { protected static final String DEFAULT_PROJECT = ServiceOptions.getDefaultProjectId(); protected static final String DEFAULT_ZONE = "us-central1-a"; protected static final String DEFAULT_REGION = "us-west1"; - protected static final String COMPUTE_PREFIX = "it-test-compute"; public static String generateRandomName(String placeholder) { - return COMPUTE_PREFIX + "-" + placeholder + "-" + UUID.randomUUID().toString().substring(0, 8); + return "gapic-" + placeholder + UUID.randomUUID().toString().substring(0, 8); } } diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITAddressesTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITAddressesTest.java index 5c442ea8fe66..f36ffdb304cd 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITAddressesTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITAddressesTest.java @@ -46,7 +46,6 @@ public static void setUp() throws IOException { addresses = new ArrayList<>(); AddressesSettings addressesSettings = AddressesSettings.newBuilder().build(); addressesClient = AddressesClient.create(addressesSettings); - Util.cleanUpComputeAddresses(addressesClient, DEFAULT_PROJECT, DEFAULT_REGION, COMPUTE_PREFIX); } @Before @@ -57,7 +56,7 @@ public void setUpMethod() { @AfterClass public static void tearDown() throws ExecutionException, InterruptedException { for (Address address : addresses) { - addressesClient.deleteAsync(DEFAULT_PROJECT, DEFAULT_REGION, address.getName()); + addressesClient.deleteAsync(DEFAULT_PROJECT, DEFAULT_REGION, address.getName()).get(); } addressesClient.close(); } diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITSmokeInstancesTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITSmokeInstancesTest.java index 756c097dadbb..33bec397c973 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITSmokeInstancesTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/ITSmokeInstancesTest.java @@ -72,8 +72,6 @@ public static void setUp() throws IOException { instances = new ArrayList<>(); InstancesSettings instanceSettings = InstancesSettings.newBuilder().build(); instancesClient = InstancesClient.create(instanceSettings); - - Util.cleanUpComputeInstances(instancesClient, DEFAULT_PROJECT, DEFAULT_ZONE, COMPUTE_PREFIX); } @Before @@ -84,7 +82,7 @@ public void setUpMethod() { @AfterClass public static void tearDown() throws ExecutionException, InterruptedException { for (Instance instance : instances) { - instancesClient.deleteAsync(DEFAULT_PROJECT, DEFAULT_ZONE, instance.getName()); + instancesClient.deleteAsync(DEFAULT_PROJECT, DEFAULT_ZONE, instance.getName()).get(); } instancesClient.close(); } diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/Util.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/Util.java deleted file mode 100644 index 50a51a509a19..000000000000 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration/Util.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.google.cloud.compute.v1.integration; - -import com.google.cloud.compute.v1.Address; -import com.google.cloud.compute.v1.AddressesClient; -import com.google.cloud.compute.v1.DeleteInstanceRequest; -import com.google.cloud.compute.v1.Instance; -import com.google.cloud.compute.v1.InstancesClient; -import com.google.cloud.compute.v1.InstancesClient.ListPagedResponse; -import java.time.Instant; -import java.time.OffsetDateTime; -import java.time.ZonedDateTime; -import java.time.temporal.ChronoUnit; - -public class Util { - - // Cleans existing test resources if any. - private static final int DELETION_THRESHOLD_TIME_HOURS = 24; - - /** Bring down any instances that are older than 24 hours */ - public static void cleanUpComputeInstances( - InstancesClient instancesClient, String project, String zone, String prefix) { - ListPagedResponse listPagedResponse = instancesClient.list(project, zone); - for (Instance instance : listPagedResponse.iterateAll()) { - if (isCreatedBeforeThresholdTime( - ZonedDateTime.parse(instance.getCreationTimestamp()).toInstant()) - && instance.getName().startsWith(prefix)) { - instancesClient.deleteAsync( - DeleteInstanceRequest.newBuilder() - .setInstance(instance.getName()) - .setProject(project) - .setZone(zone) - .build()); - } - } - } - - /** Bring down any addresses that are older than 24 hours */ - public static void cleanUpComputeAddresses( - AddressesClient addressesClient, String project, String region, String prefix) { - AddressesClient.ListPagedResponse listPagedResponse = addressesClient.list(project, region); - for (Address address : listPagedResponse.iterateAll()) { - if (isCreatedBeforeThresholdTime(address.getCreationTimestamp()) - && address.getName().startsWith(prefix)) { - addressesClient.deleteAsync(project, region, address.getName()); - } - } - } - - private static boolean isCreatedBeforeThresholdTime(Instant instant) { - return instant.isBefore(Instant.now().minus(DELETION_THRESHOLD_TIME_HOURS, ChronoUnit.HOURS)); - } - - private static boolean isCreatedBeforeThresholdTime(String timestamp) { - return OffsetDateTime.parse(timestamp) - .toInstant() - .isBefore(Instant.now().minus(DELETION_THRESHOLD_TIME_HOURS, ChronoUnit.HOURS)); - } -} diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java index 86edf8211d18..083330ac8959 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java @@ -26,7 +26,6 @@ import com.google.container.v1.ListOperationsResponse; import com.google.container.v1.NodePool; import com.google.container.v1.Operation; -import com.google.container.v1.Operation.Status; import com.google.container.v1.ServerConfig; import java.util.List; import java.util.UUID; @@ -44,11 +43,10 @@ public class ITSystemTest { private static final Logger LOG = Logger.getLogger(ITSystemTest.class.getName()); private static final String PROJECT_ID = ServiceOptions.getDefaultProjectId(); private static final String ZONE = "us-central1-a"; - private static final String CONTAINER_PREFIX = "it-test-container"; private static final String CLUSTER_NAME = - CONTAINER_PREFIX + "-cluster-" + UUID.randomUUID().toString().substring(0, 8); + "test-cluster-" + UUID.randomUUID().toString().substring(0, 8); private static final String NODE_POOL_NAME = - CONTAINER_PREFIX + "-node-pool-" + UUID.randomUUID().toString().substring(0, 8); + "test-node-pool-" + UUID.randomUUID().toString().substring(0, 8); private static final String DETAIL = "test-detail"; private static final String STATUS_MESSAGE = "test-status-message"; private static final String SELF_LINK = @@ -57,15 +55,15 @@ public class ITSystemTest { + "/zones/us-central1-a/clusters/" + CLUSTER_NAME; private static final String NODE_POOL_SEL_LINK = SELF_LINK + "/nodePools/" + NODE_POOL_NAME; - private static final String NETWORK = "java-container-network"; + private static final String NETWORK = "java-container-network-tests"; private static final int INITIAL_NODE_COUNT = 1; @BeforeClass public static void beforeClass() throws Exception { client = ClusterManagerClient.create(); - Util.cleanUpExistingInstanceCluster(client, PROJECT_ID, ZONE, CONTAINER_PREFIX); + Util.cleanUpExistingInstanceCluster(PROJECT_ID, ZONE, client); - /* create node pool* */ + /** create node pool* */ NodePool nodePool = NodePool.newBuilder() .setInitialNodeCount(INITIAL_NODE_COUNT) @@ -74,7 +72,7 @@ public static void beforeClass() throws Exception { .setStatusMessage(STATUS_MESSAGE) .build(); - /* create cluster */ + /** create cluster */ Cluster cluster = Cluster.newBuilder() .setName(CLUSTER_NAME) @@ -86,20 +84,13 @@ public static void beforeClass() throws Exception { .setNetwork(NETWORK) .build(); operation = client.createCluster(PROJECT_ID, ZONE, cluster); - - Operation response = client.getOperation(PROJECT_ID, ZONE, operation.getName()); - // Busy Wait for one minute at a time until Cluster CREATE operation is complete - while (response.getStatus() != Status.DONE) { - LOG.info(String.format("Cluster CREATE Operation Status: %s", response.getStatus())); - Thread.sleep(TimeUnit.MINUTES.toMillis(1)); - response = client.getOperation(PROJECT_ID, ZONE, operation.getName()); - } LOG.info(String.format("%s cluster created successfully.", CLUSTER_NAME)); LOG.info(String.format("%s node pool created successfully.", NODE_POOL_NAME)); } @AfterClass - public static void afterClass() { + public static void afterClass() throws Exception { + Thread.sleep(TimeUnit.MINUTES.toMillis(5)); client.deleteCluster(PROJECT_ID, ZONE, CLUSTER_NAME); LOG.info(String.format("%s cluster deleted successfully.", CLUSTER_NAME)); client.close(); diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/Util.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/Util.java index 5348c06b811e..426bd42fabc4 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/Util.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/Util.java @@ -19,26 +19,27 @@ import com.google.cloud.container.v1.ClusterManagerClient; import com.google.container.v1.Cluster; import com.google.container.v1.ListClustersResponse; +import java.io.IOException; import java.time.Instant; import java.time.OffsetDateTime; import java.time.temporal.ChronoUnit; import java.util.List; +import java.util.concurrent.ExecutionException; public class Util { - // Cleans existing test resources if any. private static final int DELETION_THRESHOLD_TIME_HOURS = 24; /** tear down any clusters that are older than 24 hours * */ public static void cleanUpExistingInstanceCluster( - ClusterManagerClient client, String projectId, String zone, String prefix) { + String projectId, String zone, ClusterManagerClient client) + throws IOException, ExecutionException, InterruptedException { ListClustersResponse clustersResponse = client.listClusters(projectId, zone); List clusters = clustersResponse.getClustersList(); for (Cluster cluster : clusters) { - if (isCreatedBeforeThresholdTime(cluster.getCreateTime()) - && cluster.getName().startsWith(prefix)) { + if (isCreatedBeforeThresholdTime(cluster.getCreateTime())) { client.deleteCluster(projectId, zone, cluster.getName()); } } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java index cdbb9dbc0326..0cee38d7a7e4 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java @@ -49,11 +49,8 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   String entryGroupId = "entryGroupId1228924712";
@@ -91,11 +88,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,11 +100,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DataCatalogClient dataCatalogClient = DataCatalogClient.create(dataCatalogSettings);
@@ -120,11 +111,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -202,11 +190,8 @@ public DataCatalogStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
    *   String query = "query107944136";
@@ -260,11 +245,8 @@ public final SearchCatalogPagedResponse searchCatalog(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -305,11 +287,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -351,11 +330,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -416,11 +392,8 @@ public final UnaryCallable searchCa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String entryGroupId = "entryGroupId1228924712";
@@ -482,11 +455,8 @@ public final EntryGroup createEntryGroup(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String entryGroupId = "entryGroupId1228924712";
@@ -548,11 +518,8 @@ public final EntryGroup createEntryGroup(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryGroupRequest request =
    *       CreateEntryGroupRequest.newBuilder()
@@ -603,11 +570,8 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryGroupRequest request =
    *       CreateEntryGroupRequest.newBuilder()
@@ -633,11 +597,8 @@ public final UnaryCallable createEntryGroup
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   EntryGroup response = dataCatalogClient.getEntryGroup(name);
@@ -660,11 +621,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   EntryGroup response = dataCatalogClient.getEntryGroup(name);
@@ -686,11 +644,8 @@ public final EntryGroup getEntryGroup(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   FieldMask readMask = FieldMask.newBuilder().build();
@@ -718,11 +673,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   FieldMask readMask = FieldMask.newBuilder().build();
@@ -747,11 +699,8 @@ public final EntryGroup getEntryGroup(String name, FieldMask readMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryGroupRequest request =
    *       GetEntryGroupRequest.newBuilder()
@@ -776,11 +725,8 @@ public final EntryGroup getEntryGroup(GetEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryGroupRequest request =
    *       GetEntryGroupRequest.newBuilder()
@@ -808,11 +754,8 @@ public final UnaryCallable getEntryGroupCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroup entryGroup = EntryGroup.newBuilder().build();
    *   EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup);
@@ -839,11 +782,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroup entryGroup = EntryGroup.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -877,11 +817,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask update
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryGroupRequest request =
    *       UpdateEntryGroupRequest.newBuilder()
@@ -910,11 +847,8 @@ public final EntryGroup updateEntryGroup(UpdateEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryGroupRequest request =
    *       UpdateEntryGroupRequest.newBuilder()
@@ -943,11 +877,8 @@ public final UnaryCallable updateEntryGroup
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   dataCatalogClient.deleteEntryGroup(name);
@@ -974,11 +905,8 @@ public final void deleteEntryGroup(EntryGroupName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   dataCatalogClient.deleteEntryGroup(name);
@@ -1004,11 +932,8 @@ public final void deleteEntryGroup(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryGroupRequest request =
    *       DeleteEntryGroupRequest.newBuilder()
@@ -1037,11 +962,8 @@ public final void deleteEntryGroup(DeleteEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryGroupRequest request =
    *       DeleteEntryGroupRequest.newBuilder()
@@ -1065,11 +987,8 @@ public final UnaryCallable deleteEntryGroupCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
@@ -1097,11 +1016,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
@@ -1126,11 +1042,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1158,11 +1071,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1191,11 +1101,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1241,11 +1148,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   String entryId = "entryId-1591558867";
@@ -1290,11 +1194,8 @@ public final Entry createEntry(EntryGroupName parent, String entryId, Entry entr
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   String entryId = "entryId-1591558867";
@@ -1339,11 +1240,8 @@ public final Entry createEntry(String parent, String entryId, Entry entry) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryRequest request =
    *       CreateEntryRequest.newBuilder()
@@ -1379,11 +1277,8 @@ public final Entry createEntry(CreateEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryRequest request =
    *       CreateEntryRequest.newBuilder()
@@ -1412,11 +1307,8 @@ public final UnaryCallable createEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Entry entry = Entry.newBuilder().build();
    *   Entry response = dataCatalogClient.updateEntry(entry);
@@ -1442,11 +1334,8 @@ public final Entry updateEntry(Entry entry) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Entry entry = Entry.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1501,11 +1390,8 @@ public final Entry updateEntry(Entry entry, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryRequest request =
    *       UpdateEntryRequest.newBuilder()
@@ -1534,11 +1420,8 @@ public final Entry updateEntry(UpdateEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryRequest request =
    *       UpdateEntryRequest.newBuilder()
@@ -1569,11 +1452,8 @@ public final UnaryCallable updateEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   dataCatalogClient.deleteEntry(name);
@@ -1603,11 +1483,8 @@ public final void deleteEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   dataCatalogClient.deleteEntry(name);
@@ -1636,11 +1513,8 @@ public final void deleteEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryRequest request =
    *       DeleteEntryRequest.newBuilder()
@@ -1672,11 +1546,8 @@ public final void deleteEntry(DeleteEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryRequest request =
    *       DeleteEntryRequest.newBuilder()
@@ -1700,11 +1571,8 @@ public final UnaryCallable deleteEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Entry response = dataCatalogClient.getEntry(name);
@@ -1727,11 +1595,8 @@ public final Entry getEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   Entry response = dataCatalogClient.getEntry(name);
@@ -1753,11 +1618,8 @@ public final Entry getEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryRequest request =
    *       GetEntryRequest.newBuilder()
@@ -1782,11 +1644,8 @@ public final Entry getEntry(GetEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryRequest request =
    *       GetEntryRequest.newBuilder()
@@ -1812,11 +1671,8 @@ public final UnaryCallable getEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
    *   Entry response = dataCatalogClient.lookupEntry(request);
@@ -1839,11 +1695,8 @@ public final Entry lookupEntry(LookupEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
    *   ApiFuture future = dataCatalogClient.lookupEntryCallable().futureCall(request);
@@ -1867,11 +1720,8 @@ public final UnaryCallable lookupEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
@@ -1903,11 +1753,8 @@ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
@@ -1936,11 +1783,8 @@ public final ListEntriesPagedResponse listEntries(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -1973,11 +1817,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -2010,11 +1851,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -2053,11 +1891,8 @@ public final UnaryCallable listEntriesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ModifyEntryOverviewRequest request =
    *       ModifyEntryOverviewRequest.newBuilder()
@@ -2087,11 +1922,8 @@ public final EntryOverview modifyEntryOverview(ModifyEntryOverviewRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ModifyEntryOverviewRequest request =
    *       ModifyEntryOverviewRequest.newBuilder()
@@ -2122,11 +1954,8 @@ public final EntryOverview modifyEntryOverview(ModifyEntryOverviewRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ModifyEntryContactsRequest request =
    *       ModifyEntryContactsRequest.newBuilder()
@@ -2156,11 +1985,8 @@ public final Contacts modifyEntryContacts(ModifyEntryContactsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ModifyEntryContactsRequest request =
    *       ModifyEntryContactsRequest.newBuilder()
@@ -2190,11 +2016,8 @@ public final UnaryCallable modifyEntryCont
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String tagTemplateId = "tagTemplateId-1438776721";
@@ -2234,11 +2057,8 @@ public final TagTemplate createTagTemplate(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String tagTemplateId = "tagTemplateId-1438776721";
@@ -2278,11 +2098,8 @@ public final TagTemplate createTagTemplate(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateRequest request =
    *       CreateTagTemplateRequest.newBuilder()
@@ -2312,11 +2129,8 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateRequest request =
    *       CreateTagTemplateRequest.newBuilder()
@@ -2342,11 +2156,8 @@ public final UnaryCallable createTagTempl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   TagTemplate response = dataCatalogClient.getTagTemplate(name);
@@ -2369,11 +2180,8 @@ public final TagTemplate getTagTemplate(TagTemplateName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   TagTemplate response = dataCatalogClient.getTagTemplate(name);
@@ -2395,11 +2203,8 @@ public final TagTemplate getTagTemplate(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetTagTemplateRequest request =
    *       GetTagTemplateRequest.newBuilder()
@@ -2423,11 +2228,8 @@ public final TagTemplate getTagTemplate(GetTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetTagTemplateRequest request =
    *       GetTagTemplateRequest.newBuilder()
@@ -2458,11 +2260,8 @@ public final UnaryCallable getTagTemplateCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplate tagTemplate = TagTemplate.newBuilder().build();
    *   TagTemplate response = dataCatalogClient.updateTagTemplate(tagTemplate);
@@ -2492,11 +2291,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplate tagTemplate = TagTemplate.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2536,11 +2332,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask up
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateRequest request =
    *       UpdateTagTemplateRequest.newBuilder()
@@ -2572,11 +2365,8 @@ public final TagTemplate updateTagTemplate(UpdateTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateRequest request =
    *       UpdateTagTemplateRequest.newBuilder()
@@ -2605,11 +2395,8 @@ public final UnaryCallable updateTagTempl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   boolean force = true;
@@ -2642,11 +2429,8 @@ public final void deleteTagTemplate(TagTemplateName name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   boolean force = true;
@@ -2676,11 +2460,8 @@ public final void deleteTagTemplate(String name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateRequest request =
    *       DeleteTagTemplateRequest.newBuilder()
@@ -2709,11 +2490,8 @@ public final void deleteTagTemplate(DeleteTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateRequest request =
    *       DeleteTagTemplateRequest.newBuilder()
@@ -2741,11 +2519,8 @@ public final UnaryCallable deleteTagTemplateCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
@@ -2787,11 +2562,8 @@ public final TagTemplateField createTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
@@ -2833,11 +2605,8 @@ public final TagTemplateField createTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateFieldRequest request =
    *       CreateTagTemplateFieldRequest.newBuilder()
@@ -2867,11 +2636,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateFieldRequest request =
    *       CreateTagTemplateFieldRequest.newBuilder()
@@ -2904,11 +2670,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -2944,11 +2707,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -2985,11 +2745,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -3045,11 +2802,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -3106,11 +2860,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateFieldRequest request =
    *       UpdateTagTemplateFieldRequest.newBuilder()
@@ -3144,11 +2895,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateFieldRequest request =
    *       UpdateTagTemplateFieldRequest.newBuilder()
@@ -3181,11 +2929,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -3221,11 +2966,8 @@ public final TagTemplateField renameTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -3261,11 +3003,8 @@ public final TagTemplateField renameTagTemplateField(String name, String newTagT
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldRequest request =
    *       RenameTagTemplateFieldRequest.newBuilder()
@@ -3296,11 +3035,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldRequest request =
    *       RenameTagTemplateFieldRequest.newBuilder()
@@ -3330,11 +3066,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldEnumValueName name =
    *       TagTemplateFieldEnumValueName.of(
@@ -3373,11 +3106,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldEnumValueName.of(
@@ -3417,11 +3147,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldEnumValueRequest request =
    *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
@@ -3456,11 +3183,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldEnumValueRequest request =
    *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
@@ -3498,11 +3222,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -3537,11 +3258,8 @@ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean forc
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -3574,11 +3292,8 @@ public final void deleteTagTemplateField(String name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateFieldRequest request =
    *       DeleteTagTemplateFieldRequest.newBuilder()
@@ -3610,11 +3325,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateFieldRequest request =
    *       DeleteTagTemplateFieldRequest.newBuilder()
@@ -3655,11 +3367,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Tag tag = Tag.newBuilder().build();
@@ -3704,11 +3413,8 @@ public final Tag createTag(EntryName parent, Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -3750,11 +3456,8 @@ public final Tag createTag(String parent, Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagRequest request =
    *       CreateTagRequest.newBuilder()
@@ -3793,11 +3496,8 @@ public final Tag createTag(CreateTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagRequest request =
    *       CreateTagRequest.newBuilder()
@@ -3822,11 +3522,8 @@ public final UnaryCallable createTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Tag tag = Tag.newBuilder().build();
    *   Tag response = dataCatalogClient.updateTag(tag);
@@ -3848,11 +3545,8 @@ public final Tag updateTag(Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Tag tag = Tag.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3880,11 +3574,8 @@ public final Tag updateTag(Tag tag, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagRequest request =
    *       UpdateTagRequest.newBuilder()
@@ -3909,11 +3600,8 @@ public final Tag updateTag(UpdateTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagRequest request =
    *       UpdateTagRequest.newBuilder()
@@ -3937,11 +3625,8 @@ public final UnaryCallable updateTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   dataCatalogClient.deleteTag(name);
@@ -3964,11 +3649,8 @@ public final void deleteTag(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   dataCatalogClient.deleteTag(name);
@@ -3990,11 +3672,8 @@ public final void deleteTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagRequest request =
    *       DeleteTagRequest.newBuilder()
@@ -4019,11 +3698,8 @@ public final void deleteTag(DeleteTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagRequest request =
    *       DeleteTagRequest.newBuilder()
@@ -4048,11 +3724,8 @@ public final UnaryCallable deleteTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
@@ -4081,11 +3754,8 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -4114,11 +3784,8 @@ public final ListTagsPagedResponse listTags(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -4148,11 +3815,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -4181,11 +3845,8 @@ public final UnaryCallable listTagsPaged
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -4221,11 +3882,8 @@ public final UnaryCallable listTagsCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   StarEntryResponse response = dataCatalogClient.starEntry(name);
@@ -4249,11 +3907,8 @@ public final StarEntryResponse starEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   StarEntryResponse response = dataCatalogClient.starEntry(name);
@@ -4276,11 +3931,8 @@ public final StarEntryResponse starEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   StarEntryRequest request =
    *       StarEntryRequest.newBuilder()
@@ -4306,11 +3958,8 @@ public final StarEntryResponse starEntry(StarEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   StarEntryRequest request =
    *       StarEntryRequest.newBuilder()
@@ -4336,11 +3985,8 @@ public final UnaryCallable starEntryCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   UnstarEntryResponse response = dataCatalogClient.unstarEntry(name);
@@ -4364,11 +4010,8 @@ public final UnstarEntryResponse unstarEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   UnstarEntryResponse response = dataCatalogClient.unstarEntry(name);
@@ -4391,11 +4034,8 @@ public final UnstarEntryResponse unstarEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UnstarEntryRequest request =
    *       UnstarEntryRequest.newBuilder()
@@ -4421,11 +4061,8 @@ public final UnstarEntryResponse unstarEntry(UnstarEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UnstarEntryRequest request =
    *       UnstarEntryRequest.newBuilder()
@@ -4463,11 +4100,8 @@ public final UnaryCallable unstarEntryC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ResourceName resource = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   Policy policy = Policy.newBuilder().build();
@@ -4511,11 +4145,8 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String resource =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -4557,11 +4188,8 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4600,11 +4228,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4649,11 +4274,8 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Policy response = dataCatalogClient.getIamPolicy(resource);
@@ -4699,11 +4321,8 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String resource =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -4747,11 +4366,8 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4797,11 +4413,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4838,11 +4451,8 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4880,11 +4490,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java
index fed650761f00..54fd2ec33576 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of createEntryGroup to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
  * dataCatalogSettingsBuilder
  *     .createEntryGroupSettings()
  *     .setRetrySettings(
- *         dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ *         dataCatalogSettingsBuilder
+ *             .createEntryGroupSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
index acaf9351bfba..2b92316a2e2f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
@@ -50,11 +50,8 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -92,11 +89,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,11 +102,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PolicyTagManagerClient policyTagManagerClient =
@@ -123,11 +114,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -198,11 +186,8 @@ public PolicyTagManagerStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -232,11 +217,8 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -263,11 +245,8 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreateTaxonomyRequest request =
    *       CreateTaxonomyRequest.newBuilder()
@@ -294,11 +273,8 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreateTaxonomyRequest request =
    *       CreateTaxonomyRequest.newBuilder()
@@ -324,11 +300,8 @@ public final UnaryCallable createTaxonomyCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   policyTagManagerClient.deleteTaxonomy(name);
@@ -353,11 +326,8 @@ public final void deleteTaxonomy(TaxonomyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   policyTagManagerClient.deleteTaxonomy(name);
@@ -381,11 +351,8 @@ public final void deleteTaxonomy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeleteTaxonomyRequest request =
    *       DeleteTaxonomyRequest.newBuilder()
@@ -410,11 +377,8 @@ public final void deleteTaxonomy(DeleteTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeleteTaxonomyRequest request =
    *       DeleteTaxonomyRequest.newBuilder()
@@ -437,11 +401,8 @@ public final UnaryCallable deleteTaxonomyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
    *   Taxonomy response = policyTagManagerClient.updateTaxonomy(taxonomy);
@@ -465,11 +426,8 @@ public final Taxonomy updateTaxonomy(Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdateTaxonomyRequest request =
    *       UpdateTaxonomyRequest.newBuilder()
@@ -494,11 +452,8 @@ public final Taxonomy updateTaxonomy(UpdateTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdateTaxonomyRequest request =
    *       UpdateTaxonomyRequest.newBuilder()
@@ -523,11 +478,8 @@ public final UnaryCallable updateTaxonomyCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
@@ -554,11 +506,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
@@ -582,11 +531,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -614,11 +560,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -647,11 +590,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -687,11 +627,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   Taxonomy response = policyTagManagerClient.getTaxonomy(name);
@@ -714,11 +651,8 @@ public final Taxonomy getTaxonomy(TaxonomyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   Taxonomy response = policyTagManagerClient.getTaxonomy(name);
@@ -740,11 +674,8 @@ public final Taxonomy getTaxonomy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetTaxonomyRequest request =
    *       GetTaxonomyRequest.newBuilder()
@@ -768,11 +699,8 @@ public final Taxonomy getTaxonomy(GetTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetTaxonomyRequest request =
    *       GetTaxonomyRequest.newBuilder()
@@ -795,11 +723,8 @@ public final UnaryCallable getTaxonomyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
@@ -827,11 +752,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
@@ -856,11 +778,8 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreatePolicyTagRequest request =
    *       CreatePolicyTagRequest.newBuilder()
@@ -885,11 +804,8 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreatePolicyTagRequest request =
    *       CreatePolicyTagRequest.newBuilder()
@@ -920,11 +836,8 @@ public final UnaryCallable createPolicyTagCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTagName name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
@@ -955,11 +868,8 @@ public final void deletePolicyTag(PolicyTagName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
@@ -989,11 +899,8 @@ public final void deletePolicyTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeletePolicyTagRequest request =
    *       DeletePolicyTagRequest.newBuilder()
@@ -1025,11 +932,8 @@ public final void deletePolicyTag(DeletePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeletePolicyTagRequest request =
    *       DeletePolicyTagRequest.newBuilder()
@@ -1055,11 +959,8 @@ public final UnaryCallable deletePolicyTagCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
    *   PolicyTag response = policyTagManagerClient.updatePolicyTag(policyTag);
@@ -1083,11 +984,8 @@ public final PolicyTag updatePolicyTag(PolicyTag policyTag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdatePolicyTagRequest request =
    *       UpdatePolicyTagRequest.newBuilder()
@@ -1112,11 +1010,8 @@ public final PolicyTag updatePolicyTag(UpdatePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdatePolicyTagRequest request =
    *       UpdatePolicyTagRequest.newBuilder()
@@ -1141,11 +1036,8 @@ public final UnaryCallable updatePolicyTagCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
@@ -1172,11 +1064,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
@@ -1200,11 +1089,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1232,11 +1118,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1265,11 +1148,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1305,11 +1185,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTagName name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
@@ -1333,11 +1210,8 @@ public final PolicyTag getPolicyTag(PolicyTagName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
@@ -1360,11 +1234,8 @@ public final PolicyTag getPolicyTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetPolicyTagRequest request =
    *       GetPolicyTagRequest.newBuilder()
@@ -1390,11 +1261,8 @@ public final PolicyTag getPolicyTag(GetPolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetPolicyTagRequest request =
    *       GetPolicyTagRequest.newBuilder()
@@ -1420,11 +1288,8 @@ public final UnaryCallable getPolicyTagCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1451,11 +1316,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1481,11 +1343,8 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1513,11 +1372,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1544,11 +1400,8 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1575,11 +1428,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
index a3efdeb1b072..7853e0f50598 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
@@ -35,11 +35,8 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
  *   ReplaceTaxonomyRequest request =
@@ -81,11 +78,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -97,11 +91,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
@@ -112,11 +103,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -199,11 +187,8 @@ public PolicyTagManagerSerializationStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ReplaceTaxonomyRequest request =
@@ -238,11 +223,8 @@ public final Taxonomy replaceTaxonomy(ReplaceTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ReplaceTaxonomyRequest request =
@@ -275,11 +257,8 @@ public final UnaryCallable replaceTaxonomyCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ImportTaxonomiesRequest request =
@@ -312,11 +291,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ImportTaxonomiesRequest request =
@@ -346,11 +322,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ExportTaxonomiesRequest request =
@@ -381,11 +354,8 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java
index 96004b38172f..773f663d882a 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java
@@ -50,11 +50,8 @@
  * 

For example, to set the total timeout of replaceTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java
index e4dce4dfc7d6..cedafe2a28c8 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java
@@ -60,17 +60,17 @@
  * 

For example, to set the total timeout of createTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
  *     PolicyTagManagerSettings.newBuilder();
  * policyTagManagerSettingsBuilder
  *     .createTaxonomySettings()
  *     .setRetrySettings(
- *         policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ *         policyTagManagerSettingsBuilder
+ *             .createTaxonomySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
index 91abc7d9128a..6ac23331d1cb 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
@@ -25,11 +25,8 @@
  * 

Sample for DataCatalogClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   String entryGroupId = "entryGroupId1228924712";
@@ -49,11 +46,8 @@
  * 

Sample for PolicyTagManagerClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -71,11 +65,8 @@
  * 

Sample for PolicyTagManagerSerializationClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
  *   ReplaceTaxonomyRequest request =
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java
index 8e5f40eed250..9cbbf2a38010 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java
@@ -122,17 +122,17 @@
  * 

For example, to set the total timeout of createEntryGroup to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
  *     DataCatalogStubSettings.newBuilder();
  * dataCatalogSettingsBuilder
  *     .createEntryGroupSettings()
  *     .setRetrySettings(
- *         dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ *         dataCatalogSettingsBuilder
+ *             .createEntryGroupSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java
index 7a68d84e4679..ba38436fa15f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java
@@ -126,8 +126,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().build(), false))
+                              ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -165,7 +164,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entryGroup", request.getEntryGroup(), false))
+                                  .toBody("entryGroup", request.getEntryGroup()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -237,7 +236,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entryGroup", request.getEntryGroup(), false))
+                                  .toBody("entryGroup", request.getEntryGroup()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -340,8 +339,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("entry", request.getEntry(), false))
+                      request -> ProtoRestSerializer.create().toBody("entry", request.getEntry()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -375,8 +373,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("entry", request.getEntry(), false))
+                      request -> ProtoRestSerializer.create().toBody("entry", request.getEntry()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -548,7 +545,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -584,7 +581,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -622,7 +619,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplate", request.getTagTemplate(), false))
+                                  .toBody("tagTemplate", request.getTagTemplate()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -693,7 +690,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplate", request.getTagTemplate(), false))
+                                  .toBody("tagTemplate", request.getTagTemplate()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -765,7 +762,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplateField", request.getTagTemplateField(), false))
+                                  .toBody("tagTemplateField", request.getTagTemplateField()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -802,7 +799,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplateField", request.getTagTemplateField(), false))
+                                  .toBody("tagTemplateField", request.getTagTemplateField()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -838,7 +835,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -875,7 +872,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -943,8 +940,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("tag", request.getTag(), false))
+                      request -> ProtoRestSerializer.create().toBody("tag", request.getTag()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -979,8 +975,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("tag", request.getTag(), false))
+                      request -> ProtoRestSerializer.create().toBody("tag", request.getTag()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -1085,7 +1080,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1121,7 +1116,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1159,7 +1154,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1198,7 +1193,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1237,7 +1232,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java
index b690d1f9c562..5a94a135b963 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java
@@ -82,7 +82,7 @@ public class HttpJsonPolicyTagManagerSerializationStub extends PolicyTagManagerS
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -119,7 +119,7 @@ public class HttpJsonPolicyTagManagerSerializationStub extends PolicyTagManagerS
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build(), false))
+                                  .toBody("*", request.toBuilder().clearParent().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java
index 3555708286b0..fc60ba0b45e4 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java
@@ -98,7 +98,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("taxonomy", request.getTaxonomy(), false))
+                                  .toBody("taxonomy", request.getTaxonomy()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -169,7 +169,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("taxonomy", request.getTaxonomy(), false))
+                                  .toBody("taxonomy", request.getTaxonomy()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -273,7 +273,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("policyTag", request.getPolicyTag(), false))
+                                  .toBody("policyTag", request.getPolicyTag()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -344,7 +344,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("policyTag", request.getPolicyTag(), false))
+                                  .toBody("policyTag", request.getPolicyTag()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -450,7 +450,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -488,7 +488,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -526,7 +526,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java
index 91f6b177b3b8..f9624e7ed4ae 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java
@@ -67,11 +67,8 @@
  * 

For example, to set the total timeout of replaceTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationStubSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java
index 2c25e342ece2..7f06ebabc367 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java
@@ -91,17 +91,17 @@
  * 

For example, to set the total timeout of createTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerStubSettings.Builder policyTagManagerSettingsBuilder =
  *     PolicyTagManagerStubSettings.newBuilder();
  * policyTagManagerSettingsBuilder
  *     .createTaxonomySettings()
  *     .setRetrySettings(
- *         policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ *         policyTagManagerSettingsBuilder
+ *             .createTaxonomySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PolicyTagManagerStubSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
index 15f882a6da25..7f4f0dff341f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
@@ -50,11 +50,8 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   String entryGroupId = "entryGroupId1228924712";
@@ -92,11 +89,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -107,11 +101,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DataCatalogClient dataCatalogClient = DataCatalogClient.create(dataCatalogSettings);
@@ -121,11 +112,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings dataCatalogSettings =
  *     DataCatalogSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -205,11 +193,8 @@ public DataCatalogStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
    *   String query = "query107944136";
@@ -262,11 +247,8 @@ public final SearchCatalogPagedResponse searchCatalog(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -308,11 +290,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -355,11 +334,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SearchCatalogRequest request =
    *       SearchCatalogRequest.newBuilder()
@@ -399,11 +375,8 @@ public final UnaryCallable searchCa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String entryGroupId = "entryGroupId1228924712";
@@ -446,11 +419,8 @@ public final EntryGroup createEntryGroup(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String entryGroupId = "entryGroupId1228924712";
@@ -493,11 +463,8 @@ public final EntryGroup createEntryGroup(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryGroupRequest request =
    *       CreateEntryGroupRequest.newBuilder()
@@ -527,11 +494,8 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryGroupRequest request =
    *       CreateEntryGroupRequest.newBuilder()
@@ -559,11 +523,8 @@ public final UnaryCallable createEntryGroup
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroup entryGroup = EntryGroup.newBuilder().build();
    *   EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup);
@@ -588,11 +549,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroup entryGroup = EntryGroup.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -623,11 +581,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask update
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryGroupRequest request =
    *       UpdateEntryGroupRequest.newBuilder()
@@ -654,11 +609,8 @@ public final EntryGroup updateEntryGroup(UpdateEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryGroupRequest request =
    *       UpdateEntryGroupRequest.newBuilder()
@@ -683,11 +635,8 @@ public final UnaryCallable updateEntryGroup
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   EntryGroup response = dataCatalogClient.getEntryGroup(name);
@@ -711,11 +660,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   EntryGroup response = dataCatalogClient.getEntryGroup(name);
@@ -738,11 +684,8 @@ public final EntryGroup getEntryGroup(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   FieldMask readMask = FieldMask.newBuilder().build();
@@ -771,11 +714,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   FieldMask readMask = FieldMask.newBuilder().build();
@@ -801,11 +741,8 @@ public final EntryGroup getEntryGroup(String name, FieldMask readMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryGroupRequest request =
    *       GetEntryGroupRequest.newBuilder()
@@ -830,11 +767,8 @@ public final EntryGroup getEntryGroup(GetEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryGroupRequest request =
    *       GetEntryGroupRequest.newBuilder()
@@ -861,11 +795,8 @@ public final UnaryCallable getEntryGroupCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   dataCatalogClient.deleteEntryGroup(name);
@@ -892,11 +823,8 @@ public final void deleteEntryGroup(EntryGroupName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   dataCatalogClient.deleteEntryGroup(name);
@@ -922,11 +850,8 @@ public final void deleteEntryGroup(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryGroupRequest request =
    *       DeleteEntryGroupRequest.newBuilder()
@@ -954,11 +879,8 @@ public final void deleteEntryGroup(DeleteEntryGroupRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryGroupRequest request =
    *       DeleteEntryGroupRequest.newBuilder()
@@ -982,11 +904,8 @@ public final UnaryCallable deleteEntryGroupCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
@@ -1018,11 +937,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
@@ -1051,11 +967,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1083,11 +996,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1116,11 +1026,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntryGroupsRequest request =
    *       ListEntryGroupsRequest.newBuilder()
@@ -1162,11 +1069,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   String entryId = "entryId-1591558867";
@@ -1208,11 +1112,8 @@ public final Entry createEntry(EntryGroupName parent, String entryId, Entry entr
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   String entryId = "entryId-1591558867";
@@ -1254,11 +1155,8 @@ public final Entry createEntry(String parent, String entryId, Entry entry) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryRequest request =
    *       CreateEntryRequest.newBuilder()
@@ -1290,11 +1188,8 @@ public final Entry createEntry(CreateEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateEntryRequest request =
    *       CreateEntryRequest.newBuilder()
@@ -1321,11 +1216,8 @@ public final UnaryCallable createEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Entry entry = Entry.newBuilder().build();
    *   Entry response = dataCatalogClient.updateEntry(entry);
@@ -1349,11 +1241,8 @@ public final Entry updateEntry(Entry entry) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Entry entry = Entry.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1391,11 +1280,8 @@ public final Entry updateEntry(Entry entry, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryRequest request =
    *       UpdateEntryRequest.newBuilder()
@@ -1422,11 +1308,8 @@ public final Entry updateEntry(UpdateEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateEntryRequest request =
    *       UpdateEntryRequest.newBuilder()
@@ -1454,11 +1337,8 @@ public final UnaryCallable updateEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   dataCatalogClient.deleteEntry(name);
@@ -1489,11 +1369,8 @@ public final void deleteEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   dataCatalogClient.deleteEntry(name);
@@ -1523,11 +1400,8 @@ public final void deleteEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryRequest request =
    *       DeleteEntryRequest.newBuilder()
@@ -1556,11 +1430,8 @@ public final void deleteEntry(DeleteEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteEntryRequest request =
    *       DeleteEntryRequest.newBuilder()
@@ -1584,11 +1455,8 @@ public final UnaryCallable deleteEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Entry response = dataCatalogClient.getEntry(name);
@@ -1615,11 +1483,8 @@ public final Entry getEntry(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   Entry response = dataCatalogClient.getEntry(name);
@@ -1645,11 +1510,8 @@ public final Entry getEntry(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryRequest request =
    *       GetEntryRequest.newBuilder()
@@ -1674,11 +1536,8 @@ public final Entry getEntry(GetEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetEntryRequest request =
    *       GetEntryRequest.newBuilder()
@@ -1703,11 +1562,8 @@ public final UnaryCallable getEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
    *   Entry response = dataCatalogClient.lookupEntry(request);
@@ -1729,11 +1585,8 @@ public final Entry lookupEntry(LookupEntryRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
    *   ApiFuture future = dataCatalogClient.lookupEntryCallable().futureCall(request);
@@ -1753,11 +1606,8 @@ public final UnaryCallable lookupEntryCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
@@ -1789,11 +1639,8 @@ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
    *   for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
@@ -1822,11 +1669,8 @@ public final ListEntriesPagedResponse listEntries(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -1855,11 +1699,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -1888,11 +1729,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListEntriesRequest request =
    *       ListEntriesRequest.newBuilder()
@@ -1930,11 +1768,8 @@ public final UnaryCallable listEntriesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String tagTemplateId = "tagTemplateId-1438776721";
@@ -1976,11 +1811,8 @@ public final TagTemplate createTagTemplate(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String tagTemplateId = "tagTemplateId-1438776721";
@@ -2022,11 +1854,8 @@ public final TagTemplate createTagTemplate(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateRequest request =
    *       CreateTagTemplateRequest.newBuilder()
@@ -2055,11 +1884,8 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateRequest request =
    *       CreateTagTemplateRequest.newBuilder()
@@ -2085,11 +1911,8 @@ public final UnaryCallable createTagTempl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   TagTemplate response = dataCatalogClient.getTagTemplate(name);
@@ -2116,11 +1939,8 @@ public final TagTemplate getTagTemplate(TagTemplateName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   TagTemplate response = dataCatalogClient.getTagTemplate(name);
@@ -2146,11 +1966,8 @@ public final TagTemplate getTagTemplate(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetTagTemplateRequest request =
    *       GetTagTemplateRequest.newBuilder()
@@ -2174,11 +1991,8 @@ public final TagTemplate getTagTemplate(GetTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetTagTemplateRequest request =
    *       GetTagTemplateRequest.newBuilder()
@@ -2206,11 +2020,8 @@ public final UnaryCallable getTagTemplateCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplate tagTemplate = TagTemplate.newBuilder().build();
    *   TagTemplate response = dataCatalogClient.updateTagTemplate(tagTemplate);
@@ -2237,11 +2048,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplate tagTemplate = TagTemplate.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2276,11 +2084,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask up
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateRequest request =
    *       UpdateTagTemplateRequest.newBuilder()
@@ -2309,11 +2114,8 @@ public final TagTemplate updateTagTemplate(UpdateTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateRequest request =
    *       UpdateTagTemplateRequest.newBuilder()
@@ -2340,11 +2142,8 @@ public final UnaryCallable updateTagTempl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   boolean force = true;
@@ -2380,11 +2179,8 @@ public final void deleteTagTemplate(TagTemplateName name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   boolean force = true;
@@ -2417,11 +2213,8 @@ public final void deleteTagTemplate(String name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateRequest request =
    *       DeleteTagTemplateRequest.newBuilder()
@@ -2448,11 +2241,8 @@ public final void deleteTagTemplate(DeleteTagTemplateRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateRequest request =
    *       DeleteTagTemplateRequest.newBuilder()
@@ -2479,11 +2269,8 @@ public final UnaryCallable deleteTagTemplateCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateName parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
    *   String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
@@ -2528,11 +2315,8 @@ public final TagTemplateField createTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
    *   String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
@@ -2577,11 +2361,8 @@ public final TagTemplateField createTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateFieldRequest request =
    *       CreateTagTemplateFieldRequest.newBuilder()
@@ -2610,11 +2391,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagTemplateFieldRequest request =
    *       CreateTagTemplateFieldRequest.newBuilder()
@@ -2644,11 +2422,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -2685,11 +2460,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -2727,11 +2499,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -2778,11 +2547,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -2830,11 +2596,8 @@ public final TagTemplateField updateTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateFieldRequest request =
    *       UpdateTagTemplateFieldRequest.newBuilder()
@@ -2865,11 +2628,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagTemplateFieldRequest request =
    *       UpdateTagTemplateFieldRequest.newBuilder()
@@ -2901,11 +2661,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -2944,11 +2701,8 @@ public final TagTemplateField renameTagTemplateField(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -2987,11 +2741,8 @@ public final TagTemplateField renameTagTemplateField(String name, String newTagT
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldRequest request =
    *       RenameTagTemplateFieldRequest.newBuilder()
@@ -3021,11 +2772,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   RenameTagTemplateFieldRequest request =
    *       RenameTagTemplateFieldRequest.newBuilder()
@@ -3056,11 +2804,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TagTemplateFieldName name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
@@ -3098,11 +2843,8 @@ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean forc
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name =
    *       TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
@@ -3138,11 +2880,8 @@ public final void deleteTagTemplateField(String name, boolean force) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateFieldRequest request =
    *       DeleteTagTemplateFieldRequest.newBuilder()
@@ -3172,11 +2911,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagTemplateFieldRequest request =
    *       DeleteTagTemplateFieldRequest.newBuilder()
@@ -3209,11 +2945,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Tag tag = Tag.newBuilder().build();
@@ -3252,11 +2985,8 @@ public final Tag createTag(EntryName parent, Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -3292,11 +3022,8 @@ public final Tag createTag(String parent, Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagRequest request =
    *       CreateTagRequest.newBuilder()
@@ -3327,11 +3054,8 @@ public final Tag createTag(CreateTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   CreateTagRequest request =
    *       CreateTagRequest.newBuilder()
@@ -3356,11 +3080,8 @@ public final UnaryCallable createTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Tag tag = Tag.newBuilder().build();
    *   Tag response = dataCatalogClient.updateTag(tag);
@@ -3382,11 +3103,8 @@ public final Tag updateTag(Tag tag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   Tag tag = Tag.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3412,11 +3130,8 @@ public final Tag updateTag(Tag tag, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagRequest request =
    *       UpdateTagRequest.newBuilder()
@@ -3441,11 +3156,8 @@ public final Tag updateTag(UpdateTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   UpdateTagRequest request =
    *       UpdateTagRequest.newBuilder()
@@ -3469,11 +3181,8 @@ public final UnaryCallable updateTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   dataCatalogClient.deleteTag(name);
@@ -3500,11 +3209,8 @@ public final void deleteTag(EntryName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
    *   dataCatalogClient.deleteTag(name);
@@ -3530,11 +3236,8 @@ public final void deleteTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagRequest request =
    *       DeleteTagRequest.newBuilder()
@@ -3559,11 +3262,8 @@ public final void deleteTag(DeleteTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   DeleteTagRequest request =
    *       DeleteTagRequest.newBuilder()
@@ -3587,11 +3287,8 @@ public final UnaryCallable deleteTagCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
@@ -3624,11 +3321,8 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String parent =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -3661,11 +3355,8 @@ public final ListTagsPagedResponse listTags(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -3694,11 +3385,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -3726,11 +3414,8 @@ public final UnaryCallable listTagsPaged
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ListTagsRequest request =
    *       ListTagsRequest.newBuilder()
@@ -3772,11 +3457,8 @@ public final UnaryCallable listTagsCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ResourceName resource = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
    *   Policy policy = Policy.newBuilder().build();
@@ -3814,11 +3496,8 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String resource =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -3854,11 +3533,8 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3891,11 +3567,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3930,11 +3603,8 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
    *   Policy response = dataCatalogClient.getIamPolicy(resource);
@@ -3970,11 +3640,8 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   String resource =
    *       EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
@@ -4008,11 +3675,8 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4048,11 +3712,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4084,11 +3745,8 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4121,11 +3779,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
index b943b02a5d6e..86869f7b5658 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of createEntryGroup to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
  * dataCatalogSettingsBuilder
  *     .createEntryGroupSettings()
  *     .setRetrySettings(
- *         dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ *         dataCatalogSettingsBuilder
+ *             .createEntryGroupSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
index 9734d9fd87e8..90b6882c7756 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
@@ -48,11 +48,8 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -90,11 +87,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,11 +100,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PolicyTagManagerClient policyTagManagerClient =
@@ -121,11 +112,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings policyTagManagerSettings =
  *     PolicyTagManagerSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -195,11 +183,8 @@ public PolicyTagManagerStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -227,11 +212,8 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -256,11 +238,8 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreateTaxonomyRequest request =
    *       CreateTaxonomyRequest.newBuilder()
@@ -285,11 +264,8 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreateTaxonomyRequest request =
    *       CreateTaxonomyRequest.newBuilder()
@@ -315,11 +291,8 @@ public final UnaryCallable createTaxonomyCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   policyTagManagerClient.deleteTaxonomy(name);
@@ -344,11 +317,8 @@ public final void deleteTaxonomy(TaxonomyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   policyTagManagerClient.deleteTaxonomy(name);
@@ -372,11 +342,8 @@ public final void deleteTaxonomy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeleteTaxonomyRequest request =
    *       DeleteTaxonomyRequest.newBuilder()
@@ -401,11 +368,8 @@ public final void deleteTaxonomy(DeleteTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeleteTaxonomyRequest request =
    *       DeleteTaxonomyRequest.newBuilder()
@@ -428,11 +392,8 @@ public final UnaryCallable deleteTaxonomyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
    *   Taxonomy response = policyTagManagerClient.updateTaxonomy(taxonomy);
@@ -456,11 +417,8 @@ public final Taxonomy updateTaxonomy(Taxonomy taxonomy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdateTaxonomyRequest request =
    *       UpdateTaxonomyRequest.newBuilder()
@@ -485,11 +443,8 @@ public final Taxonomy updateTaxonomy(UpdateTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdateTaxonomyRequest request =
    *       UpdateTaxonomyRequest.newBuilder()
@@ -515,11 +470,8 @@ public final UnaryCallable updateTaxonomyCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
@@ -547,11 +499,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
@@ -576,11 +525,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -609,11 +555,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -643,11 +586,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListTaxonomiesRequest request =
    *       ListTaxonomiesRequest.newBuilder()
@@ -683,11 +623,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   Taxonomy response = policyTagManagerClient.getTaxonomy(name);
@@ -710,11 +647,8 @@ public final Taxonomy getTaxonomy(TaxonomyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   Taxonomy response = policyTagManagerClient.getTaxonomy(name);
@@ -736,11 +670,8 @@ public final Taxonomy getTaxonomy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetTaxonomyRequest request =
    *       GetTaxonomyRequest.newBuilder()
@@ -764,11 +695,8 @@ public final Taxonomy getTaxonomy(GetTaxonomyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetTaxonomyRequest request =
    *       GetTaxonomyRequest.newBuilder()
@@ -791,11 +719,8 @@ public final UnaryCallable getTaxonomyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
@@ -823,11 +748,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
@@ -852,11 +774,8 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreatePolicyTagRequest request =
    *       CreatePolicyTagRequest.newBuilder()
@@ -881,11 +800,8 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   CreatePolicyTagRequest request =
    *       CreatePolicyTagRequest.newBuilder()
@@ -910,11 +826,8 @@ public final UnaryCallable createPolicyTagCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTagName name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
@@ -939,11 +852,8 @@ public final void deletePolicyTag(PolicyTagName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
@@ -967,11 +877,8 @@ public final void deletePolicyTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeletePolicyTagRequest request =
    *       DeletePolicyTagRequest.newBuilder()
@@ -997,11 +904,8 @@ public final void deletePolicyTag(DeletePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   DeletePolicyTagRequest request =
    *       DeletePolicyTagRequest.newBuilder()
@@ -1027,11 +931,8 @@ public final UnaryCallable deletePolicyTagCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTag policyTag = PolicyTag.newBuilder().build();
    *   PolicyTag response = policyTagManagerClient.updatePolicyTag(policyTag);
@@ -1055,11 +956,8 @@ public final PolicyTag updatePolicyTag(PolicyTag policyTag) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdatePolicyTagRequest request =
    *       UpdatePolicyTagRequest.newBuilder()
@@ -1084,11 +982,8 @@ public final PolicyTag updatePolicyTag(UpdatePolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   UpdatePolicyTagRequest request =
    *       UpdatePolicyTagRequest.newBuilder()
@@ -1113,11 +1008,8 @@ public final UnaryCallable updatePolicyTagCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
    *   for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
@@ -1144,11 +1036,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
    *   for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
@@ -1172,11 +1061,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1204,11 +1090,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1237,11 +1120,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   ListPolicyTagsRequest request =
    *       ListPolicyTagsRequest.newBuilder()
@@ -1277,11 +1157,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   PolicyTagName name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
@@ -1305,11 +1182,8 @@ public final PolicyTag getPolicyTag(PolicyTagName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   String name =
    *       PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
@@ -1332,11 +1206,8 @@ public final PolicyTag getPolicyTag(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetPolicyTagRequest request =
    *       GetPolicyTagRequest.newBuilder()
@@ -1362,11 +1233,8 @@ public final PolicyTag getPolicyTag(GetPolicyTagRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetPolicyTagRequest request =
    *       GetPolicyTagRequest.newBuilder()
@@ -1392,11 +1260,8 @@ public final UnaryCallable getPolicyTagCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1423,11 +1288,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1453,11 +1315,8 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1485,11 +1344,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1516,11 +1372,8 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1547,11 +1400,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
index 8f4950c42207..dd37145f6fe3 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
@@ -34,11 +34,8 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
  *   ImportTaxonomiesRequest request =
@@ -80,11 +77,8 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,11 +90,8 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
@@ -111,11 +102,8 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
  *     PolicyTagManagerSerializationSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -192,11 +180,8 @@ public PolicyTagManagerSerializationStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ImportTaxonomiesRequest request =
@@ -224,11 +209,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ImportTaxonomiesRequest request =
@@ -257,11 +239,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ExportTaxonomiesRequest request =
@@ -291,11 +270,8 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
    *     PolicyTagManagerSerializationClient.create()) {
    *   ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java
index 38bf3045e2d6..8fbe49bd9317 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java
@@ -50,11 +50,8 @@
  * 

For example, to set the total timeout of importTaxonomies to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
index e1bf5d3eb4a8..24400452f39f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
@@ -60,17 +60,17 @@
  * 

For example, to set the total timeout of createTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
  *     PolicyTagManagerSettings.newBuilder();
  * policyTagManagerSettingsBuilder
  *     .createTaxonomySettings()
  *     .setRetrySettings(
- *         policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ *         policyTagManagerSettingsBuilder
+ *             .createTaxonomySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
index a5b1dc6097ff..e2f1d813bb12 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
@@ -25,11 +25,8 @@
  * 

Sample for DataCatalogClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   String entryGroupId = "entryGroupId1228924712";
@@ -46,11 +43,8 @@
  * 

Sample for PolicyTagManagerClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Taxonomy taxonomy = Taxonomy.newBuilder().build();
@@ -66,11 +60,8 @@
  * 

Sample for PolicyTagManagerSerializationClient: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
  *   ImportTaxonomiesRequest request =
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java
index d7081852ccbe..9b9625117d5b 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java
@@ -113,17 +113,17 @@
  * 

For example, to set the total timeout of createEntryGroup to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
  *     DataCatalogStubSettings.newBuilder();
  * dataCatalogSettingsBuilder
  *     .createEntryGroupSettings()
  *     .setRetrySettings(
- *         dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ *         dataCatalogSettingsBuilder
+ *             .createEntryGroupSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java
index 1b76d3f7897a..555b2525bcb8 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java
@@ -117,8 +117,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().build(), false))
+                              ProtoRestSerializer.create().toBody("*", request.toBuilder().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -156,7 +155,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entryGroup", request.getEntryGroup(), false))
+                                  .toBody("entryGroup", request.getEntryGroup()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -194,7 +193,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("entryGroup", request.getEntryGroup(), false))
+                                  .toBody("entryGroup", request.getEntryGroup()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -331,8 +330,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("entry", request.getEntry(), false))
+                      request -> ProtoRestSerializer.create().toBody("entry", request.getEntry()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -366,8 +364,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("entry", request.getEntry(), false))
+                      request -> ProtoRestSerializer.create().toBody("entry", request.getEntry()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -539,7 +536,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplate", request.getTagTemplate(), false))
+                                  .toBody("tagTemplate", request.getTagTemplate()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -610,7 +607,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplate", request.getTagTemplate(), false))
+                                  .toBody("tagTemplate", request.getTagTemplate()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -683,7 +680,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplateField", request.getTagTemplateField(), false))
+                                  .toBody("tagTemplateField", request.getTagTemplateField()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -721,7 +718,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagTemplateField", request.getTagTemplateField(), false))
+                                  .toBody("tagTemplateField", request.getTagTemplateField()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -758,7 +755,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build(), false))
+                                  .toBody("*", request.toBuilder().clearName().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -827,8 +824,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("tag", request.getTag(), false))
+                      request -> ProtoRestSerializer.create().toBody("tag", request.getTag()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -864,8 +860,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                         return fields;
                       })
                   .setRequestBodyExtractor(
-                      request ->
-                          ProtoRestSerializer.create().toBody("tag", request.getTag(), false))
+                      request -> ProtoRestSerializer.create().toBody("tag", request.getTag()))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -973,7 +968,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1012,7 +1007,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1051,7 +1046,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java
index 388129f49955..1e99baa5f84f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java
@@ -80,7 +80,7 @@ public class HttpJsonPolicyTagManagerSerializationStub extends PolicyTagManagerS
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build(), false))
+                                  .toBody("*", request.toBuilder().clearParent().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java
index 6c004fee85cc..07db3bd207a1 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java
@@ -98,7 +98,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("taxonomy", request.getTaxonomy(), false))
+                                  .toBody("taxonomy", request.getTaxonomy()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -169,7 +169,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("taxonomy", request.getTaxonomy(), false))
+                                  .toBody("taxonomy", request.getTaxonomy()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -274,7 +274,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("policyTag", request.getPolicyTag(), false))
+                                  .toBody("policyTag", request.getPolicyTag()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -347,7 +347,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("policyTag", request.getPolicyTag(), false))
+                                  .toBody("policyTag", request.getPolicyTag()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -453,7 +453,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -491,7 +491,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -530,7 +530,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build(), false))
+                                  .toBody("*", request.toBuilder().clearResource().build()))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java
index 6e1890325a0e..c9609f16266e 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java
@@ -64,11 +64,8 @@
  * 

For example, to set the total timeout of importTaxonomies to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationStubSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
index 57e5eec10898..25433e8c8b6f 100644
--- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
+++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
@@ -90,17 +90,17 @@
  * 

For example, to set the total timeout of createTaxonomy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * PolicyTagManagerStubSettings.Builder policyTagManagerSettingsBuilder =
  *     PolicyTagManagerStubSettings.newBuilder();
  * policyTagManagerSettingsBuilder
  *     .createTaxonomySettings()
  *     .setRetrySettings(
- *         policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ *         policyTagManagerSettingsBuilder
+ *             .createTaxonomySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PolicyTagManagerStubSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
index 85b946ab6cda..71056af9b46d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
index 89f6d782acbf..62eb317906f3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetEndpoint.java
index 57e23adb13f6..ffb8e06d09d9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
     DataCatalogClient dataCatalogClient = DataCatalogClient.create(dataCatalogSettings);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/AsyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/AsyncCreateEntry.java
index ffc32a7a6645..8728f5965d37 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/AsyncCreateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/AsyncCreateEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryRequest request =
           CreateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntry.java
index d49bd2d84e70..78b55ff83dc0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryRequest request =
           CreateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
index ffe1fe7c69c5..6c2b897b3db5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryEntrygroupnameStringEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       String entryId = "entryId-1591558867";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
index fbe65cfc9983..73082b2590a2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryStringStringEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       String entryId = "entryId-1591558867";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
index c1adf62f9015..fb599568de06 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryGroupRequest request =
           CreateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
index a31110dcedb3..ac9b82e05333 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryGroupRequest request =
           CreateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
index f167a806390e..bc5b6f573faa 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroupLocationnameStringEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       String entryGroupId = "entryGroupId1228924712";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
index 5fcb89e741f0..419e70122dd9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroupStringStringEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       String entryGroupId = "entryGroupId1228924712";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/AsyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/AsyncCreateTag.java
index e120389bed18..db6487ae861b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/AsyncCreateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/AsyncCreateTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagRequest request =
           CreateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTag.java
index b8f6e519df01..de5e163ca9fd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagRequest request =
           CreateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
index 6f99aef06c1e..6ac0d2db679a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagEntrynameTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Tag tag = Tag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagStringTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagStringTag.java
index ff000f0159e0..11b851623530 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagStringTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtag/SyncCreateTagStringTag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagStringTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
index e619749ffa97..b17e563109d6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateRequest request =
           CreateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
index 0c850ced222f..ef2a8d4538b8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateRequest request =
           CreateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
index cff013983c7f..a0320d616df4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateLocationnameStringTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       String tagTemplateId = "tagTemplateId-1438776721";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
index 8724f0c1015f..dd25a9ec80f2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateStringStringTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       String tagTemplateId = "tagTemplateId-1438776721";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
index 4a4f68cf295c..7687c0a9ef1e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateFieldRequest request =
           CreateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
index 5cc74c144dd6..d73fed1ab6ca 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateFieldRequest request =
           CreateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
index c3ee2fb89fc0..50f925cfcdcf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateFieldStringStringTagtemplatefield() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
index 44f11abab6c7..824ecc8d5b50 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/AsyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
index 8329bf601a48..74bf6d440c2e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryRequest request =
           DeleteEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntry.java
index 65f23198b859..aa03c39af8c8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryRequest request =
           DeleteEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
index 7bcf34b2fc6c..ab98ed8b29c4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       dataCatalogClient.deleteEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
index fd0ccc3d142a..277529627748 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       dataCatalogClient.deleteEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
index 4998a3e40a7c..17df3a92de36 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryGroupRequest request =
           DeleteEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
index ef8ce52b5b4e..6dffd1252840 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryGroupRequest request =
           DeleteEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
index 77f540c09fe9..71029d94908a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroupEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       dataCatalogClient.deleteEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
index f2cf734581c4..f84bc0338aa0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroupString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       dataCatalogClient.deleteEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/AsyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/AsyncDeleteTag.java
index fd7b03e25a5e..2266a229fd93 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/AsyncDeleteTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/AsyncDeleteTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagRequest request =
           DeleteTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTag.java
index d7c325a9cf5b..6fa370d3d5ee 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagRequest request =
           DeleteTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
index 19cecf9db398..a256febe5f20 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       dataCatalogClient.deleteTag(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagString.java
index cfc583059e9a..96a16e7b1c2f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetag/SyncDeleteTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       dataCatalogClient.deleteTag(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
index ecaff72ab8ed..7fd4022a812d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateRequest request =
           DeleteTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
index a452044f75c3..5fab29e8f87d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateRequest request =
           DeleteTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
index 9cfa22db9216..955cb21139c3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateStringBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       boolean force = true;
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
index 7aa39dd07c7e..7f33aef254f6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateTagtemplatenameBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       boolean force = true;
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
index 847b2ec4dad6..a102f1236614 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateFieldRequest request =
           DeleteTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
index 41ee2af73be1..7f98941fbc4d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateFieldRequest request =
           DeleteTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
index dc2b97c51b70..f1178284beca 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateFieldStringBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
index 674691d1f09e..ab002a5a6098 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateFieldTagtemplatefieldnameBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/AsyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/AsyncGetEntry.java
index 3e2ce60ed934..03d29f99116e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/AsyncGetEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/AsyncGetEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryRequest request =
           GetEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntry.java
index a5c59a1cc3c9..8078b3e8f52e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryRequest request =
           GetEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryEntryname.java
index dcad9487d32c..5a6ef7a2e3c8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Entry response = dataCatalogClient.getEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryString.java
index b3a643fcf9fc..627d5bb96655 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentry/SyncGetEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       Entry response = dataCatalogClient.getEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
index 37c012193dd9..3fb9a721d2a7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryGroupRequest request =
           GetEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
index d15efc1b4e8a..d539f31425a3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryGroupRequest request =
           GetEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
index 2928ac5201c1..f0fdb8ebca47 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       EntryGroup response = dataCatalogClient.getEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
index ee13ff01f3f3..7a5348e92e41 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupEntrygroupnameFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       FieldMask readMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
index 074760ce7f02..dcea1790461b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       EntryGroup response = dataCatalogClient.getEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
index f594b7f13946..f49c27de270c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupStringFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       FieldMask readMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
index 12195fc40d39..5b9ebfe87fc9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
index 5df304230c2f..e90a71a661c0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
index 5a11782a78f4..db3d996387ee 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Policy response = dataCatalogClient.getIamPolicy(resource);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
index f9194396b5cc..5bc8fd659eda 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String resource =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
index f80d7f7c977c..84f3a37c9375 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetTagTemplateRequest request =
           GetTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
index 1c32dabae6b8..697942a5047f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetTagTemplateRequest request =
           GetTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
index 6bba884e2950..01042b515e2e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplateString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       TagTemplate response = dataCatalogClient.getTagTemplate(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
index 0de772fb78a2..1bb5576d99ac 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplateTagtemplatename() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       TagTemplate response = dataCatalogClient.getTagTemplate(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntries.java
index 279f747458ae..e664a3443d3f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntries.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntries.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntries() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntriesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntriesPaged.java
index ca3d16d5502e..91f5703fabbe 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntriesPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/AsyncListEntriesPaged.java
@@ -32,11 +32,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntriesPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntries.java
index 2a2d5c317772..b9137c25594e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntries.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntries.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntries() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
index a0bcf9fafab0..7e502c9e2758 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntriesEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesString.java
index 7a4cf6b8720b..fad80e89ce03 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentries/SyncListEntriesString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntriesString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
index d0e4c2f48225..b9778330e1db 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntryGroups() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
index 7d92c304a48b..cec9321040f1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntryGroupsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
index 57074157a738..4590f55883ee 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroups() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
index c3d0f044eab2..b2b3fdecd3b6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroupsLocationname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
index 85d58d33aaf2..c0c2c633a72a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroupsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTags.java
index 3ecef31bc7eb..c050263b5e12 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTags.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTagsPaged.java
index 430f5ba655d3..61e4c7c95567 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTagsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/AsyncListTagsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTags.java
index 0c5dc936755f..0285d71239da 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTags.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsEntryname.java
index b5c6b3b9922c..00c74b9c06f0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagsEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsString.java
index 718c279a4cc1..850346a4d23b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/listtags/SyncListTagsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/AsyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/AsyncLookupEntry.java
index f215757820f8..6d47863bef1f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/AsyncLookupEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/AsyncLookupEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncLookupEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
       ApiFuture future = dataCatalogClient.lookupEntryCallable().futureCall(request);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/SyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/SyncLookupEntry.java
index 566b3c87aec4..d8734546b7c0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/SyncLookupEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/lookupentry/SyncLookupEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncLookupEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
       Entry response = dataCatalogClient.lookupEntry(request);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/AsyncModifyEntryContacts.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/AsyncModifyEntryContacts.java
index 112331265f30..7123cefe1447 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/AsyncModifyEntryContacts.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/AsyncModifyEntryContacts.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncModifyEntryContacts() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ModifyEntryContactsRequest request =
           ModifyEntryContactsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/SyncModifyEntryContacts.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/SyncModifyEntryContacts.java
index d58179cd0bf2..3b4e15fb902a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/SyncModifyEntryContacts.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentrycontacts/SyncModifyEntryContacts.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncModifyEntryContacts() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ModifyEntryContactsRequest request =
           ModifyEntryContactsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/AsyncModifyEntryOverview.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/AsyncModifyEntryOverview.java
index 57c60a87e399..d93c36d86edd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/AsyncModifyEntryOverview.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/AsyncModifyEntryOverview.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncModifyEntryOverview() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ModifyEntryOverviewRequest request =
           ModifyEntryOverviewRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/SyncModifyEntryOverview.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/SyncModifyEntryOverview.java
index b3f5935d5637..ec8af1fad894 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/SyncModifyEntryOverview.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/modifyentryoverview/SyncModifyEntryOverview.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncModifyEntryOverview() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ModifyEntryOverviewRequest request =
           ModifyEntryOverviewRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
index 2307dc55a2c5..9fd114957777 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRenameTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldRequest request =
           RenameTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
index 53b580e4d59f..f4bbe14488b0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldRequest request =
           RenameTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
index 9fd544a78ecb..d7da1c45b0e6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldStringString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
index 896d7ec551ec..f8f4ead83f4f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldTagtemplatefieldnameString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java
index c9c4dff2dc80..47ce2381b004 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRenameTagTemplateFieldEnumValue() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldEnumValueRequest request =
           RenameTagTemplateFieldEnumValueRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java
index c93c822a2768..16f10b621330 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldEnumValue() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldEnumValueRequest request =
           RenameTagTemplateFieldEnumValueRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java
index 967b40110c57..93a400dd2d00 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldEnumValueStringString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldEnumValueName.of(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java
index 38750c1c9ded..b9321b9067cd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldEnumValueName name =
           TagTemplateFieldEnumValueName.of(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
index 9a56c225c6be..e75e84508009 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchCatalog() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
index 3ea93a5430c2..d8b7b6dbbfa3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchCatalogPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
index 1880697a7865..542673135936 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchCatalog() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
index 5163eee37335..b4714637aa41 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchCatalogSearchcatalogrequestscopeString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
       String query = "query107944136";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
index 4efcacb6bdaf..cba709344733 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
index 4f7db8f365c1..1926aab729d9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 4ffc8ba78777..4c5e112606a5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ResourceName resource = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       Policy policy = Policy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 3ca66643088e..fd240d605f30 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String resource =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/AsyncStarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/AsyncStarEntry.java
index f12240df3493..3a9a553c9bc6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/AsyncStarEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/AsyncStarEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStarEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       StarEntryRequest request =
           StarEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntry.java
index 0dc9f8bc9c36..973b02466f66 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStarEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       StarEntryRequest request =
           StarEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryEntryname.java
index c98797a297f3..f9888e7a7bd6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStarEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       StarEntryResponse response = dataCatalogClient.starEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryString.java
index 6a262313daf0..366b62734c98 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/starentry/SyncStarEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStarEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       StarEntryResponse response = dataCatalogClient.starEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
index 489fc8c91f9b..0c7f2c45cbe7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
index d3d9abe16b0b..7679bd5d9850 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/AsyncUnstarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/AsyncUnstarEntry.java
index 93a56dcb31bb..a34f2e090270 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/AsyncUnstarEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/AsyncUnstarEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUnstarEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UnstarEntryRequest request =
           UnstarEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntry.java
index 0cf72a8e956d..f6b72cdf5da1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUnstarEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UnstarEntryRequest request =
           UnstarEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryEntryname.java
index 53a382024b15..94a52cda9e31 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUnstarEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       UnstarEntryResponse response = dataCatalogClient.unstarEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryString.java
index 2d9b28e96117..0217b7b5cda1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/unstarentry/SyncUnstarEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUnstarEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       UnstarEntryResponse response = dataCatalogClient.unstarEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/AsyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/AsyncUpdateEntry.java
index 4d9aa8ac3a16..05d278260f18 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/AsyncUpdateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/AsyncUpdateEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryRequest request =
           UpdateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntry.java
index 6c9616945514..398b99f57dcf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryRequest request =
           UpdateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
index 70cdf8cc840a..640291c837bb 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Entry entry = Entry.newBuilder().build();
       Entry response = dataCatalogClient.updateEntry(entry);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
index 7b61bae5f791..6a6c36ce6933 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryEntryFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Entry entry = Entry.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
index 7240be5db956..4825925e7f33 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryGroupRequest request =
           UpdateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
index dd9592700a5b..e66fa29636bf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryGroupRequest request =
           UpdateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
index 8bb5bed3ac51..08c1ad43f29d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroupEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroup entryGroup = EntryGroup.newBuilder().build();
       EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
index 74b36ca56d4b..18e7c7659d84 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroupEntrygroupFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroup entryGroup = EntryGroup.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/AsyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/AsyncUpdateTag.java
index d51d2bcfec3c..3e04b674f801 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/AsyncUpdateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/AsyncUpdateTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagRequest request =
           UpdateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTag.java
index 736400288109..0cb15311e0d7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagRequest request =
           UpdateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTag.java
index e03c2f7bc1b0..be4013f59af5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTag.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Tag tag = Tag.newBuilder().build();
       Tag response = dataCatalogClient.updateTag(tag);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
index d97917f1869c..345bca2de70c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTagFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Tag tag = Tag.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
index 047718f19555..f20358167fc0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateRequest request =
           UpdateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
index acb1bb76e266..72f430fa2bb0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateRequest request =
           UpdateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
index 7ab370367ff8..23d92bdd31a5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplate tagTemplate = TagTemplate.newBuilder().build();
       TagTemplate response = dataCatalogClient.updateTagTemplate(tagTemplate);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
index 2e4fcfebe4a8..02c401f18d03 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateTagtemplateFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplate tagTemplate = TagTemplate.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
index 6afb923209ab..375b8408be83 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateFieldRequest request =
           UpdateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
index e79ca06c069e..5bcf2baa23db 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateFieldRequest request =
           UpdateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
index e59a2396384a..3f0a25b7a1c7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateFieldStringTagtemplatefield() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
index 85845f3ea675..0a3bd1b4f84d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
index ee13d355e92a..8f4d06b6654f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
index 780908ea7d3a..73e2e50ba605 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
index 0b8b2c097c1d..32745591479a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
     dataCatalogSettingsBuilder
         .createEntryGroupSettings()
         .setRetrySettings(
-            dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+            dataCatalogSettingsBuilder
+                .createEntryGroupSettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
index ac6721b23ec4..9ac5a587c9c1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
index 54e946c8b206..d1a6c3d747b7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
index 6950d5b2431e..91d2873131ba 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
     PolicyTagManagerClient policyTagManagerClient =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
index 7e86cb1ebe44..b3f7e4214cdf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreatePolicyTagRequest request =
           CreatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
index 8cb35211ad6f..ca7573cb33a3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreatePolicyTagRequest request =
           CreatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
index 4ab47fcfaf64..dc85a15f1a1c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTagStringPolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       PolicyTag policyTag = PolicyTag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
index 315ced5108fe..127902a53f15 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTagTaxonomynamePolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       PolicyTag policyTag = PolicyTag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
index 70b003f45300..96f44cb217a9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreateTaxonomyRequest request =
           CreateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
index 46791f6138ce..c0cdbbd42e0b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreateTaxonomyRequest request =
           CreateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
index aeed9127a616..0a01b48a9c8b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomyLocationnameTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
index 07ad70a0d7a7..e1765ba2cb4e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomyStringTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
index a499df5e3012..c69fab192f74 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeletePolicyTagRequest request =
           DeletePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
index 232c8e9bcfe4..fcd3ec51eb38 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeletePolicyTagRequest request =
           DeletePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
index 0afd3488bb99..2389f55cff94 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTagPolicytagname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTagName name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
index 7211132974ed..c012927bd5f2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
index e2be964aef03..5454ffca22f9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeleteTaxonomyRequest request =
           DeleteTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
index c12ecad3bba0..edd6ef3525c4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeleteTaxonomyRequest request =
           DeleteTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
index 2258c5d85663..2a8b20f411a2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       policyTagManagerClient.deleteTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
index 11579601cdb1..4f35f73bf353 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomyTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       policyTagManagerClient.deleteTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
index f69e6a558f40..c25a5fc29bac 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
index 547a4fadd4bf..5c675318f98f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
index 13ea6757f0fd..15abf6685c71 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetPolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetPolicyTagRequest request =
           GetPolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
index d31b8960946f..a3176053001b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetPolicyTagRequest request =
           GetPolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
index 872d0acd2f37..160124636790 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTagPolicytagname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTagName name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
index 6e17264a5d7f..8bf237c1ba93 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
index 3fc352093ceb..48ddd83e9418 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetTaxonomyRequest request =
           GetTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
index c3a0afff4991..dd5af17e5a4a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetTaxonomyRequest request =
           GetTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
index 4c7ea8757874..b6a87f9c9c99 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       Taxonomy response = policyTagManagerClient.getTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
index 4b7674991b4b..55824d2d86a6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomyTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       Taxonomy response = policyTagManagerClient.getTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
index 16ed7b642b4b..c91212b59070 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPolicyTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
index fdb1f46c701a..61f40741c411 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPolicyTagsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
index 3a481c227107..fa25bd2a8773 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
index 38f70b2917c8..cf41af18ae5e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTagsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
index 1d1fbfb39c56..e4aa4b84d0ca 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTagsTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
index bdf11c05dd5b..9ad929787823 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
index f97f364c93b1..ab7039166951 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTaxonomiesPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
index 4128d0328e47..7f329d96a789 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
index c197d7f7f8fe..48366bf32a1b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomiesLocationname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
index 693bbbe9b5a9..9ff68535e95c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomiesString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
index 2538018d7131..c588d90107cf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
index 9f43a603662c..06caf8bffd97 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
index fad44d95b8ca..77e9b99cae59 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
index aeca752db31b..212aa8f324b4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
index 8ce976c22f45..7731e7418a41 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdatePolicyTagRequest request =
           UpdatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
index 7f22acb52006..1b508814db7b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdatePolicyTagRequest request =
           UpdatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
index 324e1cf81622..7e6f8d52c407 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdatePolicyTagPolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTag policyTag = PolicyTag.newBuilder().build();
       PolicyTag response = policyTagManagerClient.updatePolicyTag(policyTag);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
index 3f0210bf8168..70160dce6027 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdateTaxonomyRequest request =
           UpdateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
index 0e400298c214..b627344e9d6f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdateTaxonomyRequest request =
           UpdateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
index 6d1d1a6c7f97..b18bd75c932e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTaxonomyTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
       Taxonomy response = policyTagManagerClient.updateTaxonomy(taxonomy);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
index ae250de3c2d6..28922fbc4a89 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
index b09cef2f11a6..e8caac55f550 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
index 16ae9e71820f..92cf20d1dc73 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build();
     PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
index 05b375a99e41..23d2652ef9b7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
index a53552225c1e..7d593b70a6fa 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
index 974b4ac9bc27..6604ec330f30 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ImportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
index 198ad7819a8b..bfbc348f6b6c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ImportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/AsyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/AsyncReplaceTaxonomy.java
index c215f61e1564..e30b3e986107 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/AsyncReplaceTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/AsyncReplaceTaxonomy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncReplaceTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ReplaceTaxonomyRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/SyncReplaceTaxonomy.java
index bacdff66e0d0..e625f02d8f10 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/SyncReplaceTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationclient/replacetaxonomy/SyncReplaceTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReplaceTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ReplaceTaxonomyRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java
index 4fde5ee59486..5646695d06b8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReplaceTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
         PolicyTagManagerSerializationSettings.newBuilder();
     policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
index ab58eee04191..a8b4c83acd1e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
         PolicyTagManagerSettings.newBuilder();
     policyTagManagerSettingsBuilder
         .createTaxonomySettings()
         .setRetrySettings(
-            policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+            policyTagManagerSettingsBuilder
+                .createTaxonomySettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
index 8539a945b1b0..69d357d95f4c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
         DataCatalogStubSettings.newBuilder();
     dataCatalogSettingsBuilder
         .createEntryGroupSettings()
         .setRetrySettings(
-            dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+            dataCatalogSettingsBuilder
+                .createEntryGroupSettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java
index b66ba71165d0..49d7d2d59006 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncReplaceTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
         PolicyTagManagerSerializationStubSettings.newBuilder();
     policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
index dbed5236df77..619245426e2c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerStubSettings.Builder policyTagManagerSettingsBuilder =
         PolicyTagManagerStubSettings.newBuilder();
     policyTagManagerSettingsBuilder
         .createTaxonomySettings()
         .setRetrySettings(
-            policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+            policyTagManagerSettingsBuilder
+                .createTaxonomySettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     PolicyTagManagerStubSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
index 9de8ef7dbd6f..2a6ec69e0caf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
index 65161d05e724..b321a53ad5b8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetEndpoint.java
index e2488b7081a5..cce7efbe5e88 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings dataCatalogSettings =
         DataCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
     DataCatalogClient dataCatalogClient = DataCatalogClient.create(dataCatalogSettings);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/AsyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/AsyncCreateEntry.java
index c71133923df6..1cdeabd03e0e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/AsyncCreateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/AsyncCreateEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryRequest request =
           CreateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntry.java
index a03336d28f4c..dc85fdff411f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryRequest request =
           CreateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
index 570f10f6faec..a5ee6bfdbcf3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryEntrygroupnameStringEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryEntrygroupnameStringEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       String entryId = "entryId-1591558867";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
index e7b04402e861..8f66151327a5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentry/SyncCreateEntryStringStringEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryStringStringEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       String entryId = "entryId-1591558867";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
index 9d1f6aa70d7f..5cdeb03fe98c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/AsyncCreateEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryGroupRequest request =
           CreateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
index f3647cb3a852..d17a5532cf2c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateEntryGroupRequest request =
           CreateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
index 69bee90bebd2..7acb009e5d49 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroupLocationnameStringEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       String entryGroupId = "entryGroupId1228924712";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
index 081452fb853f..7dd8be33e579 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroupStringStringEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       String entryGroupId = "entryGroupId1228924712";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/AsyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/AsyncCreateTag.java
index f41f10044a45..d60c5ee1166d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/AsyncCreateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/AsyncCreateTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagRequest request =
           CreateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTag.java
index a9b64b45b28e..1159dcca1d54 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagRequest request =
           CreateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
index 36ab147935b5..3bbdb18c49b5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagEntrynameTag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagEntrynameTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Tag tag = Tag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagStringTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagStringTag.java
index 550e23985010..955a0132c3e1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagStringTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtag/SyncCreateTagStringTag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagStringTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
index 54593c7127dd..c8e97a7227a1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/AsyncCreateTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateRequest request =
           CreateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
index 22e9307fe823..f16b94cf93cf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateRequest request =
           CreateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
index a76a52f2eb1c..504f2d3aa7f6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateLocationnameStringTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       String tagTemplateId = "tagTemplateId-1438776721";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
index 66e16bd65c6e..4678749497d8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateStringStringTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       String tagTemplateId = "tagTemplateId-1438776721";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
index b1867a83c167..4e4607bf724b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/AsyncCreateTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateFieldRequest request =
           CreateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
index 3fb1bf7316bb..d6cd15e18ef1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       CreateTagTemplateFieldRequest request =
           CreateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
index d5ac8a1e0f65..424b6df7ad16 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagTemplateFieldStringStringTagtemplatefield() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
index 2016da9cfc3d..b1408c7dbbb5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       String tagTemplateFieldId = "tagTemplateFieldId-1556835615";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/AsyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
index 957f3a04e585..28dc39c0a493 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/AsyncDeleteEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryRequest request =
           DeleteEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntry.java
index fb8bc31a3614..16bbd90afef4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryRequest request =
           DeleteEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
index 29f8c1cef033..208a6ca219ea 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       dataCatalogClient.deleteEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
index 3f8899270c72..0922b430c597 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentry/SyncDeleteEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       dataCatalogClient.deleteEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
index 5b37138dd7b9..cb746ce0713f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/AsyncDeleteEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryGroupRequest request =
           DeleteEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
index 576e6a923dc7..093b4a3e0382 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteEntryGroupRequest request =
           DeleteEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
index 80c8b24550d3..72e97d454bd7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroupEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       dataCatalogClient.deleteEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
index 6ed4742680e2..809689e38c4c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deleteentrygroup/SyncDeleteEntryGroupString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEntryGroupString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       dataCatalogClient.deleteEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/AsyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/AsyncDeleteTag.java
index dd6994501fc4..e640d2cad5e8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/AsyncDeleteTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/AsyncDeleteTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagRequest request =
           DeleteTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTag.java
index a9f1241606d8..738153340dbb 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagRequest request =
           DeleteTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
index 1bb916776e32..b34d1c080e9c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       dataCatalogClient.deleteTag(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagString.java
index ee31dd6f2d2a..aa0bdbb40dbc 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetag/SyncDeleteTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       dataCatalogClient.deleteTag(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
index 89d9fe169d1a..eb576b664576 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/AsyncDeleteTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateRequest request =
           DeleteTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
index fe779e249611..13c73ea72a61 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateRequest request =
           DeleteTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
index eceb0cfac426..5c12e12f817a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateStringBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       boolean force = true;
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
index c38702417cb5..918a59fe58ed 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateTagtemplatenameBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       boolean force = true;
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
index 59e01fa9b4ed..a56fc44b3bdf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/AsyncDeleteTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateFieldRequest request =
           DeleteTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
index 173d630fbf74..7e3f4d69b5ae 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       DeleteTagTemplateFieldRequest request =
           DeleteTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
index c2b2d26b3538..d006c178cc18 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateFieldStringBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
index e8dd2139b9e6..94e1173b8ac5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagTemplateFieldTagtemplatefieldnameBoolean() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/AsyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/AsyncGetEntry.java
index 3424d12cb83a..d7cd0fc68225 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/AsyncGetEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/AsyncGetEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryRequest request =
           GetEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntry.java
index 345ccd9d23e2..b1e0b3d95861 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryRequest request =
           GetEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryEntryname.java
index ecd42eb9ddf4..5852b5a1d499 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Entry response = dataCatalogClient.getEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryString.java
index a91caca41532..abfa158c631b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentry/SyncGetEntryString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
       Entry response = dataCatalogClient.getEntry(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
index 92304fb6e103..9604ba3bf2b6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/AsyncGetEntryGroup.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryGroupRequest request =
           GetEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
index 3f7fd1bbfca3..013dafe8ef95 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetEntryGroupRequest request =
           GetEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
index 1ce0ef6f4147..8ea70822d9e9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       EntryGroup response = dataCatalogClient.getEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
index fbcb2c67deb4..50c007d02cec 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupEntrygroupnameFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       FieldMask readMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
index 573fa501738b..55b32929fddf 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       EntryGroup response = dataCatalogClient.getEntryGroup(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
index cd65b846cc34..5cc3718a081d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getentrygroup/SyncGetEntryGroupStringFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEntryGroupStringFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       FieldMask readMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
index f89c7e18bdfa..3863b3d7e248 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
index 982edbb56029..3f1106f4764d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
index bcb07a8461af..99befbe4d0d8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       Policy response = dataCatalogClient.getIamPolicy(resource);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
index 6d8c6bbcb35c..f93723374d80 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String resource =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
index f666375330e9..12f3008fb381 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/AsyncGetTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetTagTemplateRequest request =
           GetTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
index 2c2596021911..a9f298f6cccd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       GetTagTemplateRequest request =
           GetTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
index f44880c2a9f3..5877f8ea71ac 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplateString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
       TagTemplate response = dataCatalogClient.getTagTemplate(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
index 3a9ea5240444..faee99bd513e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/gettagtemplate/SyncGetTagTemplateTagtemplatename.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagTemplateTagtemplatename() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
       TagTemplate response = dataCatalogClient.getTagTemplate(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntries.java
index 9b504a6d65fb..903c9334e50c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntries.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntries.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntries() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntriesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntriesPaged.java
index 0a112fc7577c..d118a14c20f9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntriesPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/AsyncListEntriesPaged.java
@@ -32,11 +32,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntriesPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntries.java
index 37a6214faedb..7fb5c51442b4 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntries.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntries.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntries() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntriesRequest request =
           ListEntriesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
index ea56ee5f6644..3cdbe50726d2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesEntrygroupname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntriesEntrygroupname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesString.java
index 20976da56f1e..327b926e3e7a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentries/SyncListEntriesString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntriesString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
       for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
index 6d324ad7e231..22a8c65b571a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroups.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntryGroups() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
index cb76c201bc01..39cfbd057c10 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/AsyncListEntryGroupsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEntryGroupsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
index 760a2b4c93de..bda4519a4ac9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroups.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroups() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListEntryGroupsRequest request =
           ListEntryGroupsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
index 8b18b7f704fc..2360bc5b0a49 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsLocationname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroupsLocationname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
index e1bbb5b269cd..af8573a3e52c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listentrygroups/SyncListEntryGroupsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEntryGroupsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTags.java
index a9bd435b58f9..34cfc824f89a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTags.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTagsPaged.java
index 2965ba1e1f39..f2233d9e0a62 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTagsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/AsyncListTagsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTags.java
index a741778beaf7..57b47e4107f2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTags.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ListTagsRequest request =
           ListTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsEntryname.java
index e11a9584908f..2dca2a90c096 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsEntryname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsEntryname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagsEntryname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
       for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsString.java
index e33ca0a3b8c9..890f973eb7f7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/listtags/SyncListTagsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String parent =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/AsyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/AsyncLookupEntry.java
index 6bcd03a4e2ab..73a62c76bf33 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/AsyncLookupEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/AsyncLookupEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncLookupEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
       ApiFuture future = dataCatalogClient.lookupEntryCallable().futureCall(request);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/SyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/SyncLookupEntry.java
index c66ac8d9a03e..d4555dcdcb20 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/SyncLookupEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/lookupentry/SyncLookupEntry.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncLookupEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
       Entry response = dataCatalogClient.lookupEntry(request);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
index 2419e109b9e8..d495a5dca23c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/AsyncRenameTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRenameTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldRequest request =
           RenameTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
index 22a582252020..8d473839cbb1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateField.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       RenameTagTemplateFieldRequest request =
           RenameTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
index 83ec5396b15d..549c2da10fa0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldStringString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
index 273029a00720..5944044ad05a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRenameTagTemplateFieldTagtemplatefieldnameString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
index 6c793ead8e38..b26606b37d5f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalog.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchCatalog() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
index 0fa23518e247..5db2b4898ae0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/AsyncSearchCatalogPaged.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchCatalogPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
index 5b2c954d35ba..92df245c1118 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalog.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchCatalog() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest request =
           SearchCatalogRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
index 14de556c8199..0c1686dbad92 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchCatalogSearchcatalogrequestscopeString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
       String query = "query107944136";
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
index 1b38086c0aff..a86a1d1265ed 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
index dc8ee9a303b2..6a9a6a397b59 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 7822b6c3b73b..5e561caaa485 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       ResourceName resource = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
       Policy policy = Policy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 8877edb0a293..ea528004426f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String resource =
           EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
index 8e542c8dcba2..a78e6c2562d5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
index c9602fd7e90b..b8577f2eddbc 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/AsyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/AsyncUpdateEntry.java
index 40104293c54e..a7509536897c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/AsyncUpdateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/AsyncUpdateEntry.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryRequest request =
           UpdateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntry.java
index fce6e0eea4f4..960088b65758 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntry.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryRequest request =
           UpdateEntryRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
index 950c3b319011..b6735da4ee9c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntry.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryEntry() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Entry entry = Entry.newBuilder().build();
       Entry response = dataCatalogClient.updateEntry(entry);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
index 336464663ba8..b8b16e9aac15 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentry/SyncUpdateEntryEntryFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryEntryFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Entry entry = Entry.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
index 607b02ee40fd..8c80c5daab21 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/AsyncUpdateEntryGroup.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryGroupRequest request =
           UpdateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
index 885a90c2febd..baf58b4cb89f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroup.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateEntryGroupRequest request =
           UpdateEntryGroupRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
index fd6a62797c45..0108ee73adfd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroupEntrygroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroup entryGroup = EntryGroup.newBuilder().build();
       EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
index 6b572910062a..0e861c8b82e5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateEntryGroupEntrygroupFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       EntryGroup entryGroup = EntryGroup.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/AsyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/AsyncUpdateTag.java
index a364053dce97..a5ea387d68a0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/AsyncUpdateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/AsyncUpdateTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagRequest request =
           UpdateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTag.java
index dbb9d4970735..40e1c6f2d280 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagRequest request =
           UpdateTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTag.java
index 9b594bfb6683..f080892f7655 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTag.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Tag tag = Tag.newBuilder().build();
       Tag response = dataCatalogClient.updateTag(tag);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
index 5bf5d29d023c..9b2461459a81 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetag/SyncUpdateTagTagFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTagFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       Tag tag = Tag.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
index 1ac656e6d020..df91193ad579 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/AsyncUpdateTagTemplate.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateRequest request =
           UpdateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
index d1e170eabc5e..ae208a785321 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplate.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateRequest request =
           UpdateTagTemplateRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
index 7bc5e2ca9c54..62e8c9fa1d64 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateTagtemplate() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplate tagTemplate = TagTemplate.newBuilder().build();
       TagTemplate response = dataCatalogClient.updateTagTemplate(tagTemplate);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
index bed3a4cd4327..79879ee4196c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateTagtemplateFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplate tagTemplate = TagTemplate.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
index a1c174d2ca65..0ac02f6244c3 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/AsyncUpdateTagTemplateField.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateFieldRequest request =
           UpdateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
index fece824a50c7..930d0c7eb98b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateField.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateField() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       UpdateTagTemplateFieldRequest request =
           UpdateTagTemplateFieldRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
index bf5365b040a3..4b8251d9d474 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateFieldStringTagtemplatefield() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
index b894bee90c6c..68006e05f5e7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       String name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]")
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
index 55c04b2e7a78..48b009b6ecb5 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
index 498a8b3d2a08..956b63bc8845 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogclient/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
 
   public static void syncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask()
       throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
       TagTemplateFieldName name =
           TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
index ee7c2ff45965..2f2aa587a80f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
     dataCatalogSettingsBuilder
         .createEntryGroupSettings()
         .setRetrySettings(
-            dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+            dataCatalogSettingsBuilder
+                .createEntryGroupSettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
index 87f1302c3508..4f0ad30339f0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
index 821dcefe25b2..f92fdacf36b9 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
index 3677b4efcb46..1d5053dc5a36 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings policyTagManagerSettings =
         PolicyTagManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
     PolicyTagManagerClient policyTagManagerClient =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
index 857de775a121..229107312ea0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/AsyncCreatePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreatePolicyTagRequest request =
           CreatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
index f8729d27eb4e..2bce3506c024 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreatePolicyTagRequest request =
           CreatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
index f2aea2b5209e..349323b3997c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagStringPolicytag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTagStringPolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       PolicyTag policyTag = PolicyTag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
index b9fb7f2ef25c..60981d71f108 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreatePolicyTagTaxonomynamePolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       PolicyTag policyTag = PolicyTag.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
index cd7b405fcf85..85f44c017a97 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/AsyncCreateTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreateTaxonomyRequest request =
           CreateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
index afdc604c4780..4f22f2e9634d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       CreateTaxonomyRequest request =
           CreateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
index a46fb7057274..2b77bf4e55a2 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomyLocationnameTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
index 499a3f1106a0..7c15c927e983 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomyStringTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
index 23b318788b6e..a0588f2e177a 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/AsyncDeletePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeletePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeletePolicyTagRequest request =
           DeletePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
index af4cc6f0d603..83f2c6dbc77f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeletePolicyTagRequest request =
           DeletePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
index 5e023dbe2ba0..c5a11ee5b552 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagPolicytagname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTagPolicytagname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTagName name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
index 81b4de234262..92faa2ddaaca 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletepolicytag/SyncDeletePolicyTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeletePolicyTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
index 071944f2d509..0e4073dc9f2c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/AsyncDeleteTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeleteTaxonomyRequest request =
           DeleteTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
index 5b8ffb0ee6d0..6a60432614a7 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       DeleteTaxonomyRequest request =
           DeleteTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
index 0badfde66e86..17eed81b35ea 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       policyTagManagerClient.deleteTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
index 8e94f6c706d4..2653531f923c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTaxonomyTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       policyTagManagerClient.deleteTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
index 28b764282504..731a1c05e06e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
index eb0da0d2c3a3..4bcb53ec6fea 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
index 7ced7ce44c83..8978a0c08c78 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/AsyncGetPolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetPolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetPolicyTagRequest request =
           GetPolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
index c99420c14a85..b0b5fb5dc710 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetPolicyTagRequest request =
           GetPolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
index 1dd977411652..f063fd52439d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagPolicytagname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTagPolicytagname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTagName name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]");
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
index 750787fed5cc..6241719d580d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/getpolicytag/SyncGetPolicyTagString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetPolicyTagString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name =
           PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
index ce5f376ff129..8d12d6bf8a7b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/AsyncGetTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetTaxonomyRequest request =
           GetTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
index 6c87592eab2b..bcbf6f33440b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       GetTaxonomyRequest request =
           GetTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
index 92790877630f..3a5a25360fe0 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomyString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       Taxonomy response = policyTagManagerClient.getTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
index 442443e1f056..355c705b1b7c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/gettaxonomy/SyncGetTaxonomyTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTaxonomyTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       Taxonomy response = policyTagManagerClient.getTaxonomy(name);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
index f4e07af3b7a8..27c32fc09190 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTags.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPolicyTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
index ace6921c08bf..789599cde1bd 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/AsyncListPolicyTagsPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListPolicyTagsPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
index 8535d292677c..ae3aceee2680 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTags.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTags() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListPolicyTagsRequest request =
           ListPolicyTagsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
index 7c244ad73f17..799f7acc9a1f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTagsString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
       for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
index 98905f173d8d..ad6c3e92f05e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listpolicytags/SyncListPolicyTagsTaxonomyname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListPolicyTagsTaxonomyname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
       for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
index 5f991716bfce..ad56829fb19e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
index 5c347910ce78..ec570db371ef 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/AsyncListTaxonomiesPaged.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTaxonomiesPaged() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
index 52015ef91c3a..c04ef8b67010 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomies.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       ListTaxonomiesRequest request =
           ListTaxonomiesRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
index 10924b2713a7..a1359e5f1d82 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesLocationname.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomiesLocationname() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
index 1b8a34e94c61..8630b50ad484 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/listtaxonomies/SyncListTaxonomiesString.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTaxonomiesString() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
index b34fab0957e9..81c380091009 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
index a8a89cef4c89..9c2724ffc394 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
index f935b357b537..3f2fb86f886b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
index 0a01df0f9a38..28776e2da541 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
index 92f350c21473..ee30ebb8d44e 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/AsyncUpdatePolicyTag.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdatePolicyTagRequest request =
           UpdatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
index cdaa7c558f90..d27fcbdc37ea 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTag.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdatePolicyTag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdatePolicyTagRequest request =
           UpdatePolicyTagRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
index a76519759e06..c64f4c0a0019 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatepolicytag/SyncUpdatePolicyTagPolicytag.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdatePolicyTagPolicytag() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       PolicyTag policyTag = PolicyTag.newBuilder().build();
       PolicyTag response = policyTagManagerClient.updatePolicyTag(policyTag);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
index 626ac0ac5f93..25042dfd8e3d 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/AsyncUpdateTaxonomy.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdateTaxonomyRequest request =
           UpdateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
index 70a83b563ad0..6d33b974b3ac 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomy.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       UpdateTaxonomyRequest request =
           UpdateTaxonomyRequest.newBuilder()
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
index 52febd137ecf..251c3fac3ee6 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerclient/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTaxonomyTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
       Taxonomy taxonomy = Taxonomy.newBuilder().build();
       Taxonomy response = policyTagManagerClient.updateTaxonomy(taxonomy);
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
index 6ef9fc1df4dc..61941d0c8312 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
index 25d0684ce546..c683b49aaf3c 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
index 67b706d9f63d..cdeddfae4dc1 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/create/SyncCreateSetEndpoint.java
@@ -28,11 +28,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
         PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build();
     PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
index 8b36bda6461a..71d70dfe968b 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/AsyncExportTaxonomies.java
@@ -31,11 +31,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncExportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
index 6d6f2c908c1b..f2b8c6ab2779 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/exporttaxonomies/SyncExportTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncExportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ExportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
index 606cbfb7e8ac..d9d86e0d1c33 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/AsyncImportTaxonomies.java
@@ -30,11 +30,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ImportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
index af5b99b5b9bd..a7d9efc5af84 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationclient/importtaxonomies/SyncImportTaxonomies.java
@@ -29,11 +29,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
         PolicyTagManagerSerializationClient.create()) {
       ImportTaxonomiesRequest request =
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java
index d4bdb91db51a..544ffde2b882 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
         PolicyTagManagerSerializationSettings.newBuilder();
     policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
index 7b6538208481..bf23547790e8 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
         PolicyTagManagerSettings.newBuilder();
     policyTagManagerSettingsBuilder
         .createTaxonomySettings()
         .setRetrySettings(
-            policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+            policyTagManagerSettingsBuilder
+                .createTaxonomySettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
index a5f3291dbd21..841b71110842 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEntryGroup() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
         DataCatalogStubSettings.newBuilder();
     dataCatalogSettingsBuilder
         .createEntryGroupSettings()
         .setRetrySettings(
-            dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+            dataCatalogSettingsBuilder
+                .createEntryGroupSettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java
index 49976c413a02..465a1c503d0f 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java
@@ -27,11 +27,8 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncImportTaxonomies() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
         PolicyTagManagerSerializationStubSettings.newBuilder();
     policyTagManagerSerializationSettingsBuilder
diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
index fcf99441adf0..f51ea658a7ff 100644
--- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
+++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTaxonomy() throws Exception {
-    // This snippet has been automatically generated and should be regarded as a code template only.
-    // It will require modifications to work:
-    // - It may require correct/in-range values for request initialization.
-    // - It may require specifying regional endpoints when creating the service client as shown in
-    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
     PolicyTagManagerStubSettings.Builder policyTagManagerSettingsBuilder =
         PolicyTagManagerStubSettings.newBuilder();
     policyTagManagerSettingsBuilder
         .createTaxonomySettings()
         .setRetrySettings(
-            policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+            policyTagManagerSettingsBuilder
+                .createTaxonomySettings()
+                .getRetrySettings()
+                .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     PolicyTagManagerStubSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
index ea4a72c7c458..d2df6e2f262c 100644
--- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
+++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
@@ -275,23 +275,6 @@ private ClusterConfig(
                 metastoreConfig_ = subBuilder.buildPartial();
               }
 
-              break;
-            }
-          case 170:
-            {
-              com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder subBuilder = null;
-              if (dataprocMetricConfig_ != null) {
-                subBuilder = dataprocMetricConfig_.toBuilder();
-              }
-              dataprocMetricConfig_ =
-                  input.readMessage(
-                      com.google.cloud.dataproc.v1.DataprocMetricConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dataprocMetricConfig_);
-                dataprocMetricConfig_ = subBuilder.buildPartial();
-              }
-
               break;
             }
           default:
@@ -1222,61 +1205,6 @@ public com.google.cloud.dataproc.v1.MetastoreConfigOrBuilder getMetastoreConfigO
     return getMetastoreConfig();
   }
 
-  public static final int DATAPROC_METRIC_CONFIG_FIELD_NUMBER = 21;
-  private com.google.cloud.dataproc.v1.DataprocMetricConfig dataprocMetricConfig_;
-  /**
-   *
-   *
-   * 
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the dataprocMetricConfig field is set. - */ - @java.lang.Override - public boolean hasDataprocMetricConfig() { - return dataprocMetricConfig_ != null; - } - /** - * - * - *
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The dataprocMetricConfig. - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfig getDataprocMetricConfig() { - return dataprocMetricConfig_ == null - ? com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance() - : dataprocMetricConfig_; - } - /** - * - * - *
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder - getDataprocMetricConfigOrBuilder() { - return getDataprocMetricConfig(); - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1333,9 +1261,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (metastoreConfig_ != null) { output.writeMessage(20, getMetastoreConfig()); } - if (dataprocMetricConfig_ != null) { - output.writeMessage(21, getDataprocMetricConfig()); - } unknownFields.writeTo(output); } @@ -1390,10 +1315,6 @@ public int getSerializedSize() { if (metastoreConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getMetastoreConfig()); } - if (dataprocMetricConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(21, getDataprocMetricConfig()); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1457,10 +1378,6 @@ public boolean equals(final java.lang.Object obj) { if (hasMetastoreConfig()) { if (!getMetastoreConfig().equals(other.getMetastoreConfig())) return false; } - if (hasDataprocMetricConfig() != other.hasDataprocMetricConfig()) return false; - if (hasDataprocMetricConfig()) { - if (!getDataprocMetricConfig().equals(other.getDataprocMetricConfig())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1524,10 +1441,6 @@ public int hashCode() { hash = (37 * hash) + METASTORE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMetastoreConfig().hashCode(); } - if (hasDataprocMetricConfig()) { - hash = (37 * hash) + DATAPROC_METRIC_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getDataprocMetricConfig().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1751,12 +1664,6 @@ public Builder clear() { metastoreConfig_ = null; metastoreConfigBuilder_ = null; } - if (dataprocMetricConfigBuilder_ == null) { - dataprocMetricConfig_ = null; - } else { - dataprocMetricConfig_ = null; - dataprocMetricConfigBuilder_ = null; - } return this; } @@ -1851,11 +1758,6 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() { } else { result.metastoreConfig_ = metastoreConfigBuilder_.build(); } - if (dataprocMetricConfigBuilder_ == null) { - result.dataprocMetricConfig_ = dataprocMetricConfig_; - } else { - result.dataprocMetricConfig_ = dataprocMetricConfigBuilder_.build(); - } onBuilt(); return result; } @@ -1973,9 +1875,6 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { if (other.hasMetastoreConfig()) { mergeMetastoreConfig(other.getMetastoreConfig()); } - if (other.hasDataprocMetricConfig()) { - mergeDataprocMetricConfig(other.getDataprocMetricConfig()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -5222,214 +5121,6 @@ public com.google.cloud.dataproc.v1.MetastoreConfigOrBuilder getMetastoreConfigO return metastoreConfigBuilder_; } - private com.google.cloud.dataproc.v1.DataprocMetricConfig dataprocMetricConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataproc.v1.DataprocMetricConfig, - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder, - com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder> - dataprocMetricConfigBuilder_; - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the dataprocMetricConfig field is set. - */ - public boolean hasDataprocMetricConfig() { - return dataprocMetricConfigBuilder_ != null || dataprocMetricConfig_ != null; - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The dataprocMetricConfig. - */ - public com.google.cloud.dataproc.v1.DataprocMetricConfig getDataprocMetricConfig() { - if (dataprocMetricConfigBuilder_ == null) { - return dataprocMetricConfig_ == null - ? com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance() - : dataprocMetricConfig_; - } else { - return dataprocMetricConfigBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setDataprocMetricConfig( - com.google.cloud.dataproc.v1.DataprocMetricConfig value) { - if (dataprocMetricConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataprocMetricConfig_ = value; - onChanged(); - } else { - dataprocMetricConfigBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setDataprocMetricConfig( - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder builderForValue) { - if (dataprocMetricConfigBuilder_ == null) { - dataprocMetricConfig_ = builderForValue.build(); - onChanged(); - } else { - dataprocMetricConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder mergeDataprocMetricConfig( - com.google.cloud.dataproc.v1.DataprocMetricConfig value) { - if (dataprocMetricConfigBuilder_ == null) { - if (dataprocMetricConfig_ != null) { - dataprocMetricConfig_ = - com.google.cloud.dataproc.v1.DataprocMetricConfig.newBuilder(dataprocMetricConfig_) - .mergeFrom(value) - .buildPartial(); - } else { - dataprocMetricConfig_ = value; - } - onChanged(); - } else { - dataprocMetricConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearDataprocMetricConfig() { - if (dataprocMetricConfigBuilder_ == null) { - dataprocMetricConfig_ = null; - onChanged(); - } else { - dataprocMetricConfig_ = null; - dataprocMetricConfigBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder - getDataprocMetricConfigBuilder() { - - onChanged(); - return getDataprocMetricConfigFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder - getDataprocMetricConfigOrBuilder() { - if (dataprocMetricConfigBuilder_ != null) { - return dataprocMetricConfigBuilder_.getMessageOrBuilder(); - } else { - return dataprocMetricConfig_ == null - ? com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance() - : dataprocMetricConfig_; - } - } - /** - * - * - *
-     * Optional. Dataproc metrics configuration.
-     * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataproc.v1.DataprocMetricConfig, - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder, - com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder> - getDataprocMetricConfigFieldBuilder() { - if (dataprocMetricConfigBuilder_ == null) { - dataprocMetricConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataproc.v1.DataprocMetricConfig, - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder, - com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder>( - getDataprocMetricConfig(), getParentForChildren(), isClean()); - dataprocMetricConfig_ = null; - } - return dataprocMetricConfigBuilder_; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java index 3f315078ba13..848764d7ee9b 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java @@ -701,45 +701,4 @@ com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitialization * */ com.google.cloud.dataproc.v1.MetastoreConfigOrBuilder getMetastoreConfigOrBuilder(); - - /** - * - * - *
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the dataprocMetricConfig field is set. - */ - boolean hasDataprocMetricConfig(); - /** - * - * - *
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The dataprocMetricConfig. - */ - com.google.cloud.dataproc.v1.DataprocMetricConfig getDataprocMetricConfig(); - /** - * - * - *
-   * Optional. Dataproc metrics configuration.
-   * 
- * - * - * .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder getDataprocMetricConfigOrBuilder(); } diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java index 4872aa197426..87a315953a76 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java @@ -139,14 +139,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dataproc_v1_MetastoreConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dataproc_v1_MetastoreConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataproc_v1_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataproc_v1_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dataproc_v1_ClusterMetrics_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -234,7 +226,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tusB\003\340A\003\022\031\n\014cluster_uuid\030\006 \001(\tB\003\340A\003\022>\n\007m" + "etrics\030\t \001(\0132(.google.cloud.dataproc.v1." + "ClusterMetricsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\261\010\n\rClusterCo" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\334\007\n\rClusterCo" + "nfig\022\032\n\rconfig_bucket\030\001 \001(\tB\003\340A\001\022\030\n\013temp" + "_bucket\030\002 \001(\tB\003\340A\001\022K\n\022gce_cluster_config" + "\030\010 \001(\0132*.google.cloud.dataproc.v1.GceClu" @@ -259,253 +251,242 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "int_config\030\023 \001(\0132(.google.cloud.dataproc" + ".v1.EndpointConfigB\003\340A\001\022H\n\020metastore_con" + "fig\030\024 \001(\0132).google.cloud.dataproc.v1.Met" - + "astoreConfigB\003\340A\001\022S\n\026dataproc_metric_con" - + "fig\030\025 \001(\0132..google.cloud.dataproc.v1.Dat" - + "aprocMetricConfigB\003\340A\001\"\204\002\n\024VirtualCluste" - + "rConfig\022\033\n\016staging_bucket\030\001 \001(\tB\003\340A\001\022[\n\031" - + "kubernetes_cluster_config\030\006 \001(\01321.google" - + ".cloud.dataproc.v1.KubernetesClusterConf" - + "igB\003\340A\002H\000\022Y\n\031auxiliary_services_config\030\007" - + " \001(\01321.google.cloud.dataproc.v1.Auxiliar" - + "yServicesConfigB\003\340A\001B\027\n\025infrastructure_c" - + "onfig\"\301\001\n\027AuxiliaryServicesConfig\022H\n\020met" - + "astore_config\030\001 \001(\0132).google.cloud.datap" - + "roc.v1.MetastoreConfigB\003\340A\001\022\\\n\033spark_his" - + "tory_server_config\030\002 \001(\01322.google.cloud." - + "dataproc.v1.SparkHistoryServerConfigB\003\340A" - + "\001\"\272\001\n\016EndpointConfig\022P\n\nhttp_ports\030\001 \003(\013" - + "27.google.cloud.dataproc.v1.EndpointConf" - + "ig.HttpPortsEntryB\003\340A\003\022$\n\027enable_http_po" - + "rt_access\030\002 \001(\010B\003\340A\001\0320\n\016HttpPortsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\",\n\021Autosc" - + "alingConfig\022\027\n\npolicy_uri\030\001 \001(\tB\003\340A\001\"4\n\020" - + "EncryptionConfig\022 \n\023gce_pd_kms_key_name\030" - + "\001 \001(\tB\003\340A\001\"\233\007\n\020GceClusterConfig\022\025\n\010zone_" - + "uri\030\001 \001(\tB\003\340A\001\022\030\n\013network_uri\030\002 \001(\tB\003\340A\001" - + "\022\033\n\016subnetwork_uri\030\006 \001(\tB\003\340A\001\022\035\n\020interna" - + "l_ip_only\030\007 \001(\010B\003\340A\001\022k\n\032private_ipv6_goo" - + "gle_access\030\014 \001(\0162B.google.cloud.dataproc" - + ".v1.GceClusterConfig.PrivateIpv6GoogleAc" - + "cessB\003\340A\001\022\034\n\017service_account\030\010 \001(\tB\003\340A\001\022" - + "#\n\026service_account_scopes\030\003 \003(\tB\003\340A\001\022\014\n\004" - + "tags\030\004 \003(\t\022J\n\010metadata\030\005 \003(\01328.google.cl" - + "oud.dataproc.v1.GceClusterConfig.Metadat" - + "aEntry\022P\n\024reservation_affinity\030\013 \001(\0132-.g" - + "oogle.cloud.dataproc.v1.ReservationAffin" - + "ityB\003\340A\001\022M\n\023node_group_affinity\030\r \001(\0132+." - + "google.cloud.dataproc.v1.NodeGroupAffini" - + "tyB\003\340A\001\022W\n\030shielded_instance_config\030\016 \001(" - + "\01320.google.cloud.dataproc.v1.ShieldedIns" - + "tanceConfigB\003\340A\001\022_\n\034confidential_instanc" - + "e_config\030\017 \001(\01324.google.cloud.dataproc.v" - + "1.ConfidentialInstanceConfigB\003\340A\001\032/\n\rMet" - + "adataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"\203\001\n\027PrivateIpv6GoogleAccess\022*\n&PRIVAT" - + "E_IPV6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\033\n\027IN" - + "HERIT_FROM_SUBNETWORK\020\001\022\014\n\010OUTBOUND\020\002\022\021\n" - + "\rBIDIRECTIONAL\020\003\"0\n\021NodeGroupAffinity\022\033\n" - + "\016node_group_uri\030\001 \001(\tB\003\340A\002\"}\n\026ShieldedIn" - + "stanceConfig\022\037\n\022enable_secure_boot\030\001 \001(\010" - + "B\003\340A\001\022\030\n\013enable_vtpm\030\002 \001(\010B\003\340A\001\022(\n\033enabl" - + "e_integrity_monitoring\030\003 \001(\010B\003\340A\001\"F\n\032Con" - + "fidentialInstanceConfig\022(\n\033enable_confid" - + "ential_compute\030\001 \001(\010B\003\340A\001\"\315\004\n\023InstanceGr" - + "oupConfig\022\032\n\rnum_instances\030\001 \001(\005B\003\340A\001\022\033\n" - + "\016instance_names\030\002 \003(\tB\003\340A\003\022\026\n\timage_uri\030" - + "\003 \001(\tB\003\340A\001\022\035\n\020machine_type_uri\030\004 \001(\tB\003\340A" - + "\001\022>\n\013disk_config\030\005 \001(\0132$.google.cloud.da" - + "taproc.v1.DiskConfigB\003\340A\001\022\033\n\016is_preempti" - + "ble\030\006 \001(\010B\003\340A\003\022Y\n\016preemptibility\030\n \001(\0162<" - + ".google.cloud.dataproc.v1.InstanceGroupC" - + "onfig.PreemptibilityB\003\340A\001\022O\n\024managed_gro" - + "up_config\030\007 \001(\0132,.google.cloud.dataproc." - + "v1.ManagedGroupConfigB\003\340A\003\022F\n\014accelerato" - + "rs\030\010 \003(\0132+.google.cloud.dataproc.v1.Acce" - + "leratorConfigB\003\340A\001\022\035\n\020min_cpu_platform\030\t" - + " \001(\tB\003\340A\001\"V\n\016Preemptibility\022\036\n\032PREEMPTIB" - + "ILITY_UNSPECIFIED\020\000\022\023\n\017NON_PREEMPTIBLE\020\001" - + "\022\017\n\013PREEMPTIBLE\020\002\"c\n\022ManagedGroupConfig\022" - + "#\n\026instance_template_name\030\001 \001(\tB\003\340A\003\022(\n\033" - + "instance_group_manager_name\030\002 \001(\tB\003\340A\003\"L" - + "\n\021AcceleratorConfig\022\034\n\024accelerator_type_" - + "uri\030\001 \001(\t\022\031\n\021accelerator_count\030\002 \001(\005\"\210\001\n" - + "\nDiskConfig\022\033\n\016boot_disk_type\030\003 \001(\tB\003\340A\001" - + "\022\036\n\021boot_disk_size_gb\030\001 \001(\005B\003\340A\001\022\033\n\016num_" - + "local_ssds\030\002 \001(\005B\003\340A\001\022 \n\023local_ssd_inter" - + "face\030\004 \001(\tB\003\340A\001\"s\n\030NodeInitializationAct" - + "ion\022\034\n\017executable_file\030\001 \001(\tB\003\340A\002\0229\n\021exe" - + "cution_timeout\030\002 \001(\0132\031.google.protobuf.D" - + "urationB\003\340A\001\"\307\003\n\rClusterStatus\022A\n\005state\030" - + "\001 \001(\0162-.google.cloud.dataproc.v1.Cluster" - + "Status.StateB\003\340A\003\022\026\n\006detail\030\002 \001(\tB\006\340A\003\340A" - + "\001\0229\n\020state_start_time\030\003 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022G\n\010substate\030\004 \001(\01620" - + ".google.cloud.dataproc.v1.ClusterStatus." - + "SubstateB\003\340A\003\"\230\001\n\005State\022\013\n\007UNKNOWN\020\000\022\014\n\010" - + "CREATING\020\001\022\013\n\007RUNNING\020\002\022\t\n\005ERROR\020\003\022\027\n\023ER" - + "ROR_DUE_TO_UPDATE\020\t\022\014\n\010DELETING\020\004\022\014\n\010UPD" - + "ATING\020\005\022\014\n\010STOPPING\020\006\022\013\n\007STOPPED\020\007\022\014\n\010ST" - + "ARTING\020\010\"<\n\010Substate\022\017\n\013UNSPECIFIED\020\000\022\r\n" - + "\tUNHEALTHY\020\001\022\020\n\014STALE_STATUS\020\002\"\240\001\n\016Secur" - + "ityConfig\022F\n\017kerberos_config\030\001 \001(\0132(.goo" - + "gle.cloud.dataproc.v1.KerberosConfigB\003\340A" - + "\001\022F\n\017identity_config\030\002 \001(\0132(.google.clou" - + "d.dataproc.v1.IdentityConfigB\003\340A\001\"\220\004\n\016Ke" - + "rberosConfig\022\034\n\017enable_kerberos\030\001 \001(\010B\003\340" - + "A\001\022(\n\033root_principal_password_uri\030\002 \001(\tB" - + "\003\340A\001\022\030\n\013kms_key_uri\030\003 \001(\tB\003\340A\001\022\031\n\014keysto" - + "re_uri\030\004 \001(\tB\003\340A\001\022\033\n\016truststore_uri\030\005 \001(" - + "\tB\003\340A\001\022\"\n\025keystore_password_uri\030\006 \001(\tB\003\340" - + "A\001\022\035\n\020key_password_uri\030\007 \001(\tB\003\340A\001\022$\n\027tru" - + "ststore_password_uri\030\010 \001(\tB\003\340A\001\022$\n\027cross" - + "_realm_trust_realm\030\t \001(\tB\003\340A\001\022\"\n\025cross_r" - + "ealm_trust_kdc\030\n \001(\tB\003\340A\001\022+\n\036cross_realm" - + "_trust_admin_server\030\013 \001(\tB\003\340A\001\0222\n%cross_" - + "realm_trust_shared_password_uri\030\014 \001(\tB\003\340" - + "A\001\022\033\n\016kdc_db_key_uri\030\r \001(\tB\003\340A\001\022\037\n\022tgt_l" - + "ifetime_hours\030\016 \001(\005B\003\340A\001\022\022\n\005realm\030\017 \001(\tB" - + "\003\340A\001\"\306\001\n\016IdentityConfig\022r\n\034user_service_" - + "account_mapping\030\001 \003(\0132G.google.cloud.dat" - + "aproc.v1.IdentityConfig.UserServiceAccou" - + "ntMappingEntryB\003\340A\002\032@\n\036UserServiceAccoun" - + "tMappingEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"\371\001\n\016SoftwareConfig\022\032\n\rimage_versio" - + "n\030\001 \001(\tB\003\340A\001\022Q\n\nproperties\030\002 \003(\01328.googl" - + "e.cloud.dataproc.v1.SoftwareConfig.Prope" - + "rtiesEntryB\003\340A\001\022E\n\023optional_components\030\003" - + " \003(\0162#.google.cloud.dataproc.v1.Componen" - + "tB\003\340A\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"\203\002\n\017LifecycleConfig\0227\n" - + "\017idle_delete_ttl\030\001 \001(\0132\031.google.protobuf" - + ".DurationB\003\340A\001\022;\n\020auto_delete_time\030\002 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\001H\000\0229\n\017a" - + "uto_delete_ttl\030\003 \001(\0132\031.google.protobuf.D" - + "urationB\003\340A\001H\000\0228\n\017idle_start_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003B\005\n\003ttl\"" - + "_\n\017MetastoreConfig\022L\n\032dataproc_metastore" - + "_service\030\001 \001(\tB(\340A\002\372A\"\n metastore.google" - + "apis.com/Service\"\213\002\n\006Metric\022I\n\rmetric_so" - + "urce\030\001 \001(\0162-.google.cloud.dataproc.v1.Me" - + "tric.MetricSourceB\003\340A\002\022\035\n\020metric_overrid" - + "es\030\002 \003(\tB\003\340A\001\"\226\001\n\014MetricSource\022\035\n\031METRIC" - + "_SOURCE_UNSPECIFIED\020\000\022\035\n\031MONITORING_AGEN" - + "T_DEFAULTS\020\001\022\010\n\004HDFS\020\002\022\t\n\005SPARK\020\003\022\010\n\004YAR" - + "N\020\004\022\030\n\024SPARK_HISTORY_SERVER\020\005\022\017\n\013HIVESER" - + "VER2\020\006\"N\n\024DataprocMetricConfig\0226\n\007metric" - + "s\030\001 \003(\0132 .google.cloud.dataproc.v1.Metri" - + "cB\003\340A\002\"\232\002\n\016ClusterMetrics\022O\n\014hdfs_metric" - + "s\030\001 \003(\01329.google.cloud.dataproc.v1.Clust" - + "erMetrics.HdfsMetricsEntry\022O\n\014yarn_metri" - + "cs\030\002 \003(\01329.google.cloud.dataproc.v1.Clus" - + "terMetrics.YarnMetricsEntry\0322\n\020HdfsMetri" - + "csEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\032" - + "2\n\020YarnMetricsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\003:\0028\001\"\356\001\n\024CreateClusterRequest\022\027\n\n" - + "project_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\003 \001(\tB\003\340" - + "A\002\0227\n\007cluster\030\002 \001(\0132!.google.cloud.datap" - + "roc.v1.ClusterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB" - + "\003\340A\001\022V\n action_on_failed_primary_workers" - + "\030\005 \001(\0162\'.google.cloud.dataproc.v1.Failur" - + "eActionB\003\340A\001\"\256\002\n\024UpdateClusterRequest\022\027\n" - + "\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\005 \001(\tB\003" - + "\340A\002\022\031\n\014cluster_name\030\002 \001(\tB\003\340A\002\0227\n\007cluste" - + "r\030\003 \001(\0132!.google.cloud.dataproc.v1.Clust" - + "erB\003\340A\002\022E\n\035graceful_decommission_timeout" - + "\030\006 \001(\0132\031.google.protobuf.DurationB\003\340A\001\0224" - + "\n\013update_mask\030\004 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\003\340A\002\022\027\n\nrequest_id\030\007 \001(\tB\003\340A\001\"\221\001" - + "\n\022StopClusterRequest\022\027\n\nproject_id\030\001 \001(\t" - + "B\003\340A\002\022\023\n\006region\030\002 \001(\tB\003\340A\002\022\031\n\014cluster_na" - + "me\030\003 \001(\tB\003\340A\002\022\031\n\014cluster_uuid\030\004 \001(\tB\003\340A\001" - + "\022\027\n\nrequest_id\030\005 \001(\tB\003\340A\001\"\222\001\n\023StartClust" - + "erRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006re" - + "gion\030\002 \001(\tB\003\340A\002\022\031\n\014cluster_name\030\003 \001(\tB\003\340" - + "A\002\022\031\n\014cluster_uuid\030\004 \001(\tB\003\340A\001\022\027\n\nrequest" - + "_id\030\005 \001(\tB\003\340A\001\"\223\001\n\024DeleteClusterRequest\022" - + "\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\003 \001(\t" - + "B\003\340A\002\022\031\n\014cluster_name\030\002 \001(\tB\003\340A\002\022\031\n\014clus" - + "ter_uuid\030\004 \001(\tB\003\340A\001\022\027\n\nrequest_id\030\005 \001(\tB" - + "\003\340A\001\"\\\n\021GetClusterRequest\022\027\n\nproject_id\030" - + "\001 \001(\tB\003\340A\002\022\023\n\006region\030\003 \001(\tB\003\340A\002\022\031\n\014clust" - + "er_name\030\002 \001(\tB\003\340A\002\"\211\001\n\023ListClustersReque" - + "st\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\004 " - + "\001(\tB\003\340A\002\022\023\n\006filter\030\005 \001(\tB\003\340A\001\022\026\n\tpage_si" - + "ze\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"n" - + "\n\024ListClustersResponse\0228\n\010clusters\030\001 \003(\013" - + "2!.google.cloud.dataproc.v1.ClusterB\003\340A\003" - + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"a\n\026Diagno" - + "seClusterRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A" - + "\002\022\023\n\006region\030\003 \001(\tB\003\340A\002\022\031\n\014cluster_name\030\002" - + " \001(\tB\003\340A\002\"1\n\026DiagnoseClusterResults\022\027\n\no" - + "utput_uri\030\001 \001(\tB\003\340A\003\"\370\001\n\023ReservationAffi" - + "nity\022Y\n\030consume_reservation_type\030\001 \001(\01622" - + ".google.cloud.dataproc.v1.ReservationAff" - + "inity.TypeB\003\340A\001\022\020\n\003key\030\002 \001(\tB\003\340A\001\022\023\n\006val" - + "ues\030\003 \003(\tB\003\340A\001\"_\n\004Type\022\024\n\020TYPE_UNSPECIFI" - + "ED\020\000\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RESERVAT" - + "ION\020\002\022\030\n\024SPECIFIC_RESERVATION\020\0032\344\020\n\021Clus" - + "terController\022\200\002\n\rCreateCluster\022..google" - + ".cloud.dataproc.v1.CreateClusterRequest\032" - + "\035.google.longrunning.Operation\"\237\001\202\323\344\223\002>\"" - + "3/v1/projects/{project_id}/regions/{regi" - + "on}/clusters:\007cluster\332A\031project_id,regio" - + "n,cluster\312A<\n\007Cluster\0221google.cloud.data" - + "proc.v1.ClusterOperationMetadata\022\250\002\n\rUpd" - + "ateCluster\022..google.cloud.dataproc.v1.Up" - + "dateClusterRequest\032\035.google.longrunning." - + "Operation\"\307\001\202\323\344\223\002M2B/v1/projects/{projec" - + "t_id}/regions/{region}/clusters/{cluster" - + "_name}:\007cluster\332A2project_id,region,clus" - + "ter_name,cluster,update_mask\312A<\n\007Cluster" - + "\0221google.cloud.dataproc.v1.ClusterOperat" - + "ionMetadata\022\356\001\n\013StopCluster\022,.google.clo" - + "ud.dataproc.v1.StopClusterRequest\032\035.goog" - + "le.longrunning.Operation\"\221\001\202\323\344\223\002L\"G/v1/p" - + "rojects/{project_id}/regions/{region}/cl" - + "usters/{cluster_name}:stop:\001*\312A<\n\007Cluste" - + "r\0221google.cloud.dataproc.v1.ClusterOpera" - + "tionMetadata\022\361\001\n\014StartCluster\022-.google.c" - + "loud.dataproc.v1.StartClusterRequest\032\035.g" - + "oogle.longrunning.Operation\"\222\001\202\323\344\223\002M\"H/v" - + "1/projects/{project_id}/regions/{region}" - + "/clusters/{cluster_name}:start:\001*\312A<\n\007Cl" + + "astoreConfigB\003\340A\001\"\204\002\n\024VirtualClusterConf" + + "ig\022\033\n\016staging_bucket\030\001 \001(\tB\003\340A\001\022[\n\031kuber" + + "netes_cluster_config\030\006 \001(\01321.google.clou" + + "d.dataproc.v1.KubernetesClusterConfigB\003\340" + + "A\002H\000\022Y\n\031auxiliary_services_config\030\007 \001(\0132" + + "1.google.cloud.dataproc.v1.AuxiliaryServ" + + "icesConfigB\003\340A\001B\027\n\025infrastructure_config" + + "\"\301\001\n\027AuxiliaryServicesConfig\022H\n\020metastor" + + "e_config\030\001 \001(\0132).google.cloud.dataproc.v" + + "1.MetastoreConfigB\003\340A\001\022\\\n\033spark_history_" + + "server_config\030\002 \001(\01322.google.cloud.datap" + + "roc.v1.SparkHistoryServerConfigB\003\340A\001\"\272\001\n" + + "\016EndpointConfig\022P\n\nhttp_ports\030\001 \003(\01327.go" + + "ogle.cloud.dataproc.v1.EndpointConfig.Ht" + + "tpPortsEntryB\003\340A\003\022$\n\027enable_http_port_ac" + + "cess\030\002 \001(\010B\003\340A\001\0320\n\016HttpPortsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\",\n\021Autoscaling" + + "Config\022\027\n\npolicy_uri\030\001 \001(\tB\003\340A\001\"4\n\020Encry" + + "ptionConfig\022 \n\023gce_pd_kms_key_name\030\001 \001(\t" + + "B\003\340A\001\"\233\007\n\020GceClusterConfig\022\025\n\010zone_uri\030\001" + + " \001(\tB\003\340A\001\022\030\n\013network_uri\030\002 \001(\tB\003\340A\001\022\033\n\016s" + + "ubnetwork_uri\030\006 \001(\tB\003\340A\001\022\035\n\020internal_ip_" + + "only\030\007 \001(\010B\003\340A\001\022k\n\032private_ipv6_google_a" + + "ccess\030\014 \001(\0162B.google.cloud.dataproc.v1.G" + + "ceClusterConfig.PrivateIpv6GoogleAccessB" + + "\003\340A\001\022\034\n\017service_account\030\010 \001(\tB\003\340A\001\022#\n\026se" + + "rvice_account_scopes\030\003 \003(\tB\003\340A\001\022\014\n\004tags\030" + + "\004 \003(\t\022J\n\010metadata\030\005 \003(\01328.google.cloud.d" + + "ataproc.v1.GceClusterConfig.MetadataEntr" + + "y\022P\n\024reservation_affinity\030\013 \001(\0132-.google" + + ".cloud.dataproc.v1.ReservationAffinityB\003" + + "\340A\001\022M\n\023node_group_affinity\030\r \001(\0132+.googl" + + "e.cloud.dataproc.v1.NodeGroupAffinityB\003\340" + + "A\001\022W\n\030shielded_instance_config\030\016 \001(\01320.g" + + "oogle.cloud.dataproc.v1.ShieldedInstance" + + "ConfigB\003\340A\001\022_\n\034confidential_instance_con" + + "fig\030\017 \001(\01324.google.cloud.dataproc.v1.Con" + + "fidentialInstanceConfigB\003\340A\001\032/\n\rMetadata" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\203\001" + + "\n\027PrivateIpv6GoogleAccess\022*\n&PRIVATE_IPV" + + "6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\033\n\027INHERIT" + + "_FROM_SUBNETWORK\020\001\022\014\n\010OUTBOUND\020\002\022\021\n\rBIDI" + + "RECTIONAL\020\003\"0\n\021NodeGroupAffinity\022\033\n\016node" + + "_group_uri\030\001 \001(\tB\003\340A\002\"}\n\026ShieldedInstanc" + + "eConfig\022\037\n\022enable_secure_boot\030\001 \001(\010B\003\340A\001" + + "\022\030\n\013enable_vtpm\030\002 \001(\010B\003\340A\001\022(\n\033enable_int" + + "egrity_monitoring\030\003 \001(\010B\003\340A\001\"F\n\032Confiden" + + "tialInstanceConfig\022(\n\033enable_confidentia" + + "l_compute\030\001 \001(\010B\003\340A\001\"\315\004\n\023InstanceGroupCo" + + "nfig\022\032\n\rnum_instances\030\001 \001(\005B\003\340A\001\022\033\n\016inst" + + "ance_names\030\002 \003(\tB\003\340A\003\022\026\n\timage_uri\030\003 \001(\t" + + "B\003\340A\001\022\035\n\020machine_type_uri\030\004 \001(\tB\003\340A\001\022>\n\013" + + "disk_config\030\005 \001(\0132$.google.cloud.datapro" + + "c.v1.DiskConfigB\003\340A\001\022\033\n\016is_preemptible\030\006" + + " \001(\010B\003\340A\003\022Y\n\016preemptibility\030\n \001(\0162<.goog" + + "le.cloud.dataproc.v1.InstanceGroupConfig" + + ".PreemptibilityB\003\340A\001\022O\n\024managed_group_co" + + "nfig\030\007 \001(\0132,.google.cloud.dataproc.v1.Ma" + + "nagedGroupConfigB\003\340A\003\022F\n\014accelerators\030\010 " + + "\003(\0132+.google.cloud.dataproc.v1.Accelerat" + + "orConfigB\003\340A\001\022\035\n\020min_cpu_platform\030\t \001(\tB" + + "\003\340A\001\"V\n\016Preemptibility\022\036\n\032PREEMPTIBILITY" + + "_UNSPECIFIED\020\000\022\023\n\017NON_PREEMPTIBLE\020\001\022\017\n\013P" + + "REEMPTIBLE\020\002\"c\n\022ManagedGroupConfig\022#\n\026in" + + "stance_template_name\030\001 \001(\tB\003\340A\003\022(\n\033insta" + + "nce_group_manager_name\030\002 \001(\tB\003\340A\003\"L\n\021Acc" + + "eleratorConfig\022\034\n\024accelerator_type_uri\030\001" + + " \001(\t\022\031\n\021accelerator_count\030\002 \001(\005\"\210\001\n\nDisk" + + "Config\022\033\n\016boot_disk_type\030\003 \001(\tB\003\340A\001\022\036\n\021b" + + "oot_disk_size_gb\030\001 \001(\005B\003\340A\001\022\033\n\016num_local" + + "_ssds\030\002 \001(\005B\003\340A\001\022 \n\023local_ssd_interface\030" + + "\004 \001(\tB\003\340A\001\"s\n\030NodeInitializationAction\022\034" + + "\n\017executable_file\030\001 \001(\tB\003\340A\002\0229\n\021executio" + + "n_timeout\030\002 \001(\0132\031.google.protobuf.Durati" + + "onB\003\340A\001\"\307\003\n\rClusterStatus\022A\n\005state\030\001 \001(\016" + + "2-.google.cloud.dataproc.v1.ClusterStatu" + + "s.StateB\003\340A\003\022\026\n\006detail\030\002 \001(\tB\006\340A\003\340A\001\0229\n\020" + + "state_start_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022G\n\010substate\030\004 \001(\01620.goog" + + "le.cloud.dataproc.v1.ClusterStatus.Subst" + + "ateB\003\340A\003\"\230\001\n\005State\022\013\n\007UNKNOWN\020\000\022\014\n\010CREAT" + + "ING\020\001\022\013\n\007RUNNING\020\002\022\t\n\005ERROR\020\003\022\027\n\023ERROR_D" + + "UE_TO_UPDATE\020\t\022\014\n\010DELETING\020\004\022\014\n\010UPDATING" + + "\020\005\022\014\n\010STOPPING\020\006\022\013\n\007STOPPED\020\007\022\014\n\010STARTIN" + + "G\020\010\"<\n\010Substate\022\017\n\013UNSPECIFIED\020\000\022\r\n\tUNHE" + + "ALTHY\020\001\022\020\n\014STALE_STATUS\020\002\"\240\001\n\016SecurityCo" + + "nfig\022F\n\017kerberos_config\030\001 \001(\0132(.google.c" + + "loud.dataproc.v1.KerberosConfigB\003\340A\001\022F\n\017" + + "identity_config\030\002 \001(\0132(.google.cloud.dat" + + "aproc.v1.IdentityConfigB\003\340A\001\"\220\004\n\016Kerbero" + + "sConfig\022\034\n\017enable_kerberos\030\001 \001(\010B\003\340A\001\022(\n" + + "\033root_principal_password_uri\030\002 \001(\tB\003\340A\001\022" + + "\030\n\013kms_key_uri\030\003 \001(\tB\003\340A\001\022\031\n\014keystore_ur" + + "i\030\004 \001(\tB\003\340A\001\022\033\n\016truststore_uri\030\005 \001(\tB\003\340A" + + "\001\022\"\n\025keystore_password_uri\030\006 \001(\tB\003\340A\001\022\035\n" + + "\020key_password_uri\030\007 \001(\tB\003\340A\001\022$\n\027truststo" + + "re_password_uri\030\010 \001(\tB\003\340A\001\022$\n\027cross_real" + + "m_trust_realm\030\t \001(\tB\003\340A\001\022\"\n\025cross_realm_" + + "trust_kdc\030\n \001(\tB\003\340A\001\022+\n\036cross_realm_trus" + + "t_admin_server\030\013 \001(\tB\003\340A\001\0222\n%cross_realm" + + "_trust_shared_password_uri\030\014 \001(\tB\003\340A\001\022\033\n" + + "\016kdc_db_key_uri\030\r \001(\tB\003\340A\001\022\037\n\022tgt_lifeti" + + "me_hours\030\016 \001(\005B\003\340A\001\022\022\n\005realm\030\017 \001(\tB\003\340A\001\"" + + "\306\001\n\016IdentityConfig\022r\n\034user_service_accou" + + "nt_mapping\030\001 \003(\0132G.google.cloud.dataproc" + + ".v1.IdentityConfig.UserServiceAccountMap" + + "pingEntryB\003\340A\002\032@\n\036UserServiceAccountMapp" + + "ingEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"\371\001\n\016SoftwareConfig\022\032\n\rimage_version\030\001 \001" + + "(\tB\003\340A\001\022Q\n\nproperties\030\002 \003(\01328.google.clo" + + "ud.dataproc.v1.SoftwareConfig.Properties" + + "EntryB\003\340A\001\022E\n\023optional_components\030\003 \003(\0162" + + "#.google.cloud.dataproc.v1.ComponentB\003\340A" + + "\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"\203\002\n\017LifecycleConfig\0227\n\017idle" + + "_delete_ttl\030\001 \001(\0132\031.google.protobuf.Dura" + + "tionB\003\340A\001\022;\n\020auto_delete_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\001H\000\0229\n\017auto_d" + + "elete_ttl\030\003 \001(\0132\031.google.protobuf.Durati" + + "onB\003\340A\001H\000\0228\n\017idle_start_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003B\005\n\003ttl\"_\n\017Me" + + "tastoreConfig\022L\n\032dataproc_metastore_serv" + + "ice\030\001 \001(\tB(\340A\002\372A\"\n metastore.googleapis." + + "com/Service\"\232\002\n\016ClusterMetrics\022O\n\014hdfs_m" + + "etrics\030\001 \003(\01329.google.cloud.dataproc.v1." + + "ClusterMetrics.HdfsMetricsEntry\022O\n\014yarn_" + + "metrics\030\002 \003(\01329.google.cloud.dataproc.v1" + + ".ClusterMetrics.YarnMetricsEntry\0322\n\020Hdfs" + + "MetricsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003" + + ":\0028\001\0322\n\020YarnMetricsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\003:\0028\001\"\356\001\n\024CreateClusterReques" + + "t\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\003 \001" + + "(\tB\003\340A\002\0227\n\007cluster\030\002 \001(\0132!.google.cloud." + + "dataproc.v1.ClusterB\003\340A\002\022\027\n\nrequest_id\030\004" + + " \001(\tB\003\340A\001\022V\n action_on_failed_primary_wo" + + "rkers\030\005 \001(\0162\'.google.cloud.dataproc.v1.F" + + "ailureActionB\003\340A\001\"\256\002\n\024UpdateClusterReque" + + "st\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\005 " + + "\001(\tB\003\340A\002\022\031\n\014cluster_name\030\002 \001(\tB\003\340A\002\0227\n\007c" + + "luster\030\003 \001(\0132!.google.cloud.dataproc.v1." + + "ClusterB\003\340A\002\022E\n\035graceful_decommission_ti" + + "meout\030\006 \001(\0132\031.google.protobuf.DurationB\003" + + "\340A\001\0224\n\013update_mask\030\004 \001(\0132\032.google.protob" + + "uf.FieldMaskB\003\340A\002\022\027\n\nrequest_id\030\007 \001(\tB\003\340" + + "A\001\"\221\001\n\022StopClusterRequest\022\027\n\nproject_id\030" + + "\001 \001(\tB\003\340A\002\022\023\n\006region\030\002 \001(\tB\003\340A\002\022\031\n\014clust" + + "er_name\030\003 \001(\tB\003\340A\002\022\031\n\014cluster_uuid\030\004 \001(\t" + + "B\003\340A\001\022\027\n\nrequest_id\030\005 \001(\tB\003\340A\001\"\222\001\n\023Start" + + "ClusterRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022" + + "\023\n\006region\030\002 \001(\tB\003\340A\002\022\031\n\014cluster_name\030\003 \001" + + "(\tB\003\340A\002\022\031\n\014cluster_uuid\030\004 \001(\tB\003\340A\001\022\027\n\nre" + + "quest_id\030\005 \001(\tB\003\340A\001\"\223\001\n\024DeleteClusterReq" + + "uest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030" + + "\003 \001(\tB\003\340A\002\022\031\n\014cluster_name\030\002 \001(\tB\003\340A\002\022\031\n" + + "\014cluster_uuid\030\004 \001(\tB\003\340A\001\022\027\n\nrequest_id\030\005" + + " \001(\tB\003\340A\001\"\\\n\021GetClusterRequest\022\027\n\nprojec" + + "t_id\030\001 \001(\tB\003\340A\002\022\023\n\006region\030\003 \001(\tB\003\340A\002\022\031\n\014" + + "cluster_name\030\002 \001(\tB\003\340A\002\"\211\001\n\023ListClusters" + + "Request\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\023\n\006regi" + + "on\030\004 \001(\tB\003\340A\002\022\023\n\006filter\030\005 \001(\tB\003\340A\001\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\001\"n\n\024ListClustersResponse\0228\n\010clusters\030" + + "\001 \003(\0132!.google.cloud.dataproc.v1.Cluster" + + "B\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"a\n\026D" + + "iagnoseClusterRequest\022\027\n\nproject_id\030\001 \001(" + + "\tB\003\340A\002\022\023\n\006region\030\003 \001(\tB\003\340A\002\022\031\n\014cluster_n" + + "ame\030\002 \001(\tB\003\340A\002\"1\n\026DiagnoseClusterResults" + + "\022\027\n\noutput_uri\030\001 \001(\tB\003\340A\003\"\370\001\n\023Reservatio" + + "nAffinity\022Y\n\030consume_reservation_type\030\001 " + + "\001(\01622.google.cloud.dataproc.v1.Reservati" + + "onAffinity.TypeB\003\340A\001\022\020\n\003key\030\002 \001(\tB\003\340A\001\022\023" + + "\n\006values\030\003 \003(\tB\003\340A\001\"_\n\004Type\022\024\n\020TYPE_UNSP" + + "ECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RES" + + "ERVATION\020\002\022\030\n\024SPECIFIC_RESERVATION\020\0032\344\020\n" + + "\021ClusterController\022\200\002\n\rCreateCluster\022..g" + + "oogle.cloud.dataproc.v1.CreateClusterReq" + + "uest\032\035.google.longrunning.Operation\"\237\001\202\323" + + "\344\223\002>\"3/v1/projects/{project_id}/regions/" + + "{region}/clusters:\007cluster\332A\031project_id," + + "region,cluster\312A<\n\007Cluster\0221google.cloud" + + ".dataproc.v1.ClusterOperationMetadata\022\250\002" + + "\n\rUpdateCluster\022..google.cloud.dataproc." + + "v1.UpdateClusterRequest\032\035.google.longrun" + + "ning.Operation\"\307\001\202\323\344\223\002M2B/v1/projects/{p" + + "roject_id}/regions/{region}/clusters/{cl" + + "uster_name}:\007cluster\332A2project_id,region" + + ",cluster_name,cluster,update_mask\312A<\n\007Cl" + "uster\0221google.cloud.dataproc.v1.ClusterO" - + "perationMetadata\022\231\002\n\rDeleteCluster\022..goo" - + "gle.cloud.dataproc.v1.DeleteClusterReque" - + "st\032\035.google.longrunning.Operation\"\270\001\202\323\344\223" - + "\002D*B/v1/projects/{project_id}/regions/{r" - + "egion}/clusters/{cluster_name}\332A\036project" - + "_id,region,cluster_name\312AJ\n\025google.proto" - + "buf.Empty\0221google.cloud.dataproc.v1.Clus" - + "terOperationMetadata\022\311\001\n\nGetCluster\022+.go" - + "ogle.cloud.dataproc.v1.GetClusterRequest" - + "\032!.google.cloud.dataproc.v1.Cluster\"k\202\323\344" - + "\223\002D\022B/v1/projects/{project_id}/regions/{" - + "region}/clusters/{cluster_name}\332A\036projec" - + "t_id,region,cluster_name\022\331\001\n\014ListCluster" - + "s\022-.google.cloud.dataproc.v1.ListCluster" - + "sRequest\032..google.cloud.dataproc.v1.List" - + "ClustersResponse\"j\202\323\344\223\0025\0223/v1/projects/{" - + "project_id}/regions/{region}/clusters\332A\021" - + "project_id,region\332A\030project_id,region,fi" - + "lter\022\252\002\n\017DiagnoseCluster\0220.google.cloud." - + "dataproc.v1.DiagnoseClusterRequest\032\035.goo" - + "gle.longrunning.Operation\"\305\001\202\323\344\223\002P\"K/v1/" - + "projects/{project_id}/regions/{region}/c" - + "lusters/{cluster_name}:diagnose:\001*\332A\036pro" - + "ject_id,region,cluster_name\312AK\n\026Diagnose" - + "ClusterResults\0221google.cloud.dataproc.v1" - + ".ClusterOperationMetadata\032K\312A\027dataproc.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\263\002\n\034com.google.cl" - + "oud.dataproc.v1B\rClustersProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/da" - + "taproc/v1;dataproc\352A^\n container.googlea" - + "pis.com/Cluster\022:projects/{project}/loca" - + "tions/{location}/clusters/{cluster}\352A^\n " - + "metastore.googleapis.com/Service\022:projec" - + "ts/{project}/locations/{location}/servic" - + "es/{service}b\006proto3" + + "perationMetadata\022\356\001\n\013StopCluster\022,.googl" + + "e.cloud.dataproc.v1.StopClusterRequest\032\035" + + ".google.longrunning.Operation\"\221\001\202\323\344\223\002L\"G" + + "/v1/projects/{project_id}/regions/{regio" + + "n}/clusters/{cluster_name}:stop:\001*\312A<\n\007C" + + "luster\0221google.cloud.dataproc.v1.Cluster" + + "OperationMetadata\022\361\001\n\014StartCluster\022-.goo" + + "gle.cloud.dataproc.v1.StartClusterReques" + + "t\032\035.google.longrunning.Operation\"\222\001\202\323\344\223\002" + + "M\"H/v1/projects/{project_id}/regions/{re" + + "gion}/clusters/{cluster_name}:start:\001*\312A" + + "<\n\007Cluster\0221google.cloud.dataproc.v1.Clu" + + "sterOperationMetadata\022\231\002\n\rDeleteCluster\022" + + "..google.cloud.dataproc.v1.DeleteCluster" + + "Request\032\035.google.longrunning.Operation\"\270" + + "\001\202\323\344\223\002D*B/v1/projects/{project_id}/regio" + + "ns/{region}/clusters/{cluster_name}\332A\036pr" + + "oject_id,region,cluster_name\312AJ\n\025google." + + "protobuf.Empty\0221google.cloud.dataproc.v1" + + ".ClusterOperationMetadata\022\311\001\n\nGetCluster" + + "\022+.google.cloud.dataproc.v1.GetClusterRe" + + "quest\032!.google.cloud.dataproc.v1.Cluster" + + "\"k\202\323\344\223\002D\022B/v1/projects/{project_id}/regi" + + "ons/{region}/clusters/{cluster_name}\332A\036p" + + "roject_id,region,cluster_name\022\331\001\n\014ListCl" + + "usters\022-.google.cloud.dataproc.v1.ListCl" + + "ustersRequest\032..google.cloud.dataproc.v1" + + ".ListClustersResponse\"j\202\323\344\223\0025\0223/v1/proje" + + "cts/{project_id}/regions/{region}/cluste" + + "rs\332A\021project_id,region\332A\030project_id,regi" + + "on,filter\022\252\002\n\017DiagnoseCluster\0220.google.c" + + "loud.dataproc.v1.DiagnoseClusterRequest\032" + + "\035.google.longrunning.Operation\"\305\001\202\323\344\223\002P\"" + + "K/v1/projects/{project_id}/regions/{regi" + + "on}/clusters/{cluster_name}:diagnose:\001*\332" + + "A\036project_id,region,cluster_name\312AK\n\026Dia" + + "gnoseClusterResults\0221google.cloud.datapr" + + "oc.v1.ClusterOperationMetadata\032K\312A\027datap" + + "roc.googleapis.com\322A.https://www.googlea" + + "pis.com/auth/cloud-platformB\263\002\n\034com.goog" + + "le.cloud.dataproc.v1B\rClustersProtoP\001Z@g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/dataproc/v1;dataproc\352A^\n container.go" + + "ogleapis.com/Cluster\022:projects/{project}" + + "/locations/{location}/clusters/{cluster}" + + "\352A^\n metastore.googleapis.com/Service\022:p" + + "rojects/{project}/locations/{location}/s" + + "ervices/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -565,7 +546,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LifecycleConfig", "EndpointConfig", "MetastoreConfig", - "DataprocMetricConfig", }); internal_static_google_cloud_dataproc_v1_VirtualClusterConfig_descriptor = getDescriptor().getMessageTypes().get(2); @@ -807,24 +787,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "DataprocMetastoreService", }); - internal_static_google_cloud_dataproc_v1_Metric_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataproc_v1_Metric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataproc_v1_Metric_descriptor, - new java.lang.String[] { - "MetricSource", "MetricOverrides", - }); - internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor, - new java.lang.String[] { - "Metrics", - }); internal_static_google_cloud_dataproc_v1_ClusterMetrics_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_dataproc_v1_ClusterMetrics_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_ClusterMetrics_descriptor, @@ -848,7 +812,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_dataproc_v1_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_dataproc_v1_CreateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_CreateClusterRequest_descriptor, @@ -856,7 +820,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "Cluster", "RequestId", "ActionOnFailedPrimaryWorkers", }); internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_descriptor, @@ -870,7 +834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_dataproc_v1_StopClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_dataproc_v1_StopClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_StopClusterRequest_descriptor, @@ -878,7 +842,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "ClusterName", "ClusterUuid", "RequestId", }); internal_static_google_cloud_dataproc_v1_StartClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_dataproc_v1_StartClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_StartClusterRequest_descriptor, @@ -886,7 +850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "ClusterName", "ClusterUuid", "RequestId", }); internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_descriptor, @@ -894,7 +858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "ClusterName", "ClusterUuid", "RequestId", }); internal_static_google_cloud_dataproc_v1_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_dataproc_v1_GetClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_GetClusterRequest_descriptor, @@ -902,7 +866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "ClusterName", }); internal_static_google_cloud_dataproc_v1_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_dataproc_v1_ListClustersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_ListClustersRequest_descriptor, @@ -910,7 +874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "Filter", "PageSize", "PageToken", }); internal_static_google_cloud_dataproc_v1_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_dataproc_v1_ListClustersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_ListClustersResponse_descriptor, @@ -918,7 +882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Clusters", "NextPageToken", }); internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_descriptor, @@ -926,7 +890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Region", "ClusterName", }); internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_descriptor, @@ -934,7 +898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OutputUri", }); internal_static_google_cloud_dataproc_v1_ReservationAffinity_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_dataproc_v1_ReservationAffinity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_ReservationAffinity_descriptor, diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfig.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfig.java deleted file mode 100644 index 0f3dc4706b08..000000000000 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfig.java +++ /dev/null @@ -1,996 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataproc/v1/clusters.proto - -package com.google.cloud.dataproc.v1; - -/** - * - * - *
- * Specifies a Dataproc metric config
- * 
- * - * Protobuf type {@code google.cloud.dataproc.v1.DataprocMetricConfig} - */ -public final class DataprocMetricConfig extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.DataprocMetricConfig) - DataprocMetricConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use DataprocMetricConfig.newBuilder() to construct. - private DataprocMetricConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DataprocMetricConfig() { - metrics_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DataprocMetricConfig(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DataprocMetricConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - metrics_.add( - input.readMessage( - com.google.cloud.dataproc.v1.Metric.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dataproc.v1.DataprocMetricConfig.class, - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder.class); - } - - public static final int METRICS_FIELD_NUMBER = 1; - private java.util.List metrics_; - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getMetricsList() { - return metrics_; - } - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getMetricsOrBuilderList() { - return metrics_; - } - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getMetricsCount() { - return metrics_.size(); - } - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric getMetrics(int index) { - return metrics_.get(index); - } - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.MetricOrBuilder getMetricsOrBuilder(int index) { - return metrics_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < metrics_.size(); i++) { - output.writeMessage(1, metrics_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, metrics_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.dataproc.v1.DataprocMetricConfig)) { - return super.equals(obj); - } - com.google.cloud.dataproc.v1.DataprocMetricConfig other = - (com.google.cloud.dataproc.v1.DataprocMetricConfig) obj; - - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getMetricsCount() > 0) { - hash = (37 * hash) + METRICS_FIELD_NUMBER; - hash = (53 * hash) + getMetricsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.dataproc.v1.DataprocMetricConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Specifies a Dataproc metric config
-   * 
- * - * Protobuf type {@code google.cloud.dataproc.v1.DataprocMetricConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.DataprocMetricConfig) - com.google.cloud.dataproc.v1.DataprocMetricConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dataproc.v1.DataprocMetricConfig.class, - com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder.class); - } - - // Construct using com.google.cloud.dataproc.v1.DataprocMetricConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMetricsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - metricsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_DataprocMetricConfig_descriptor; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfig getDefaultInstanceForType() { - return com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfig build() { - com.google.cloud.dataproc.v1.DataprocMetricConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfig buildPartial() { - com.google.cloud.dataproc.v1.DataprocMetricConfig result = - new com.google.cloud.dataproc.v1.DataprocMetricConfig(this); - int from_bitField0_ = bitField0_; - if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.metrics_ = metrics_; - } else { - result.metrics_ = metricsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataproc.v1.DataprocMetricConfig) { - return mergeFrom((com.google.cloud.dataproc.v1.DataprocMetricConfig) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.dataproc.v1.DataprocMetricConfig other) { - if (other == com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance()) - return this; - if (metricsBuilder_ == null) { - if (!other.metrics_.isEmpty()) { - if (metrics_.isEmpty()) { - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMetricsIsMutable(); - metrics_.addAll(other.metrics_); - } - onChanged(); - } - } else { - if (!other.metrics_.isEmpty()) { - if (metricsBuilder_.isEmpty()) { - metricsBuilder_.dispose(); - metricsBuilder_ = null; - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000001); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; - } else { - metricsBuilder_.addAllMessages(other.metrics_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.dataproc.v1.DataprocMetricConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataproc.v1.DataprocMetricConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List metrics_ = - java.util.Collections.emptyList(); - - private void ensureMetricsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataproc.v1.Metric, - com.google.cloud.dataproc.v1.Metric.Builder, - com.google.cloud.dataproc.v1.MetricOrBuilder> - metricsBuilder_; - - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getMetricsList() { - if (metricsBuilder_ == null) { - return java.util.Collections.unmodifiableList(metrics_); - } else { - return metricsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getMetricsCount() { - if (metricsBuilder_ == null) { - return metrics_.size(); - } else { - return metricsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.dataproc.v1.Metric getMetrics(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setMetrics(int index, com.google.cloud.dataproc.v1.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.set(index, value); - onChanged(); - } else { - metricsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setMetrics( - int index, com.google.cloud.dataproc.v1.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.set(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addMetrics(com.google.cloud.dataproc.v1.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(value); - onChanged(); - } else { - metricsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addMetrics(int index, com.google.cloud.dataproc.v1.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(index, value); - onChanged(); - } else { - metricsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addMetrics(com.google.cloud.dataproc.v1.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addMetrics( - int index, com.google.cloud.dataproc.v1.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllMetrics( - java.lang.Iterable values) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); - onChanged(); - } else { - metricsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - metricsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeMetrics(int index) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.remove(index); - onChanged(); - } else { - metricsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.dataproc.v1.Metric.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.dataproc.v1.MetricOrBuilder getMetricsOrBuilder(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getMetricsOrBuilderList() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metrics_); - } - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.dataproc.v1.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.cloud.dataproc.v1.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.dataproc.v1.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.cloud.dataproc.v1.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * Configuration set of metrics to collect from the cluster
-     * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataproc.v1.Metric, - com.google.cloud.dataproc.v1.Metric.Builder, - com.google.cloud.dataproc.v1.MetricOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataproc.v1.Metric, - com.google.cloud.dataproc.v1.Metric.Builder, - com.google.cloud.dataproc.v1.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - metrics_ = null; - } - return metricsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.dataproc.v1.DataprocMetricConfig) - } - - // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.DataprocMetricConfig) - private static final com.google.cloud.dataproc.v1.DataprocMetricConfig DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.DataprocMetricConfig(); - } - - public static com.google.cloud.dataproc.v1.DataprocMetricConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataprocMetricConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataprocMetricConfig(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.DataprocMetricConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfigOrBuilder.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfigOrBuilder.java deleted file mode 100644 index 22647991f6f1..000000000000 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DataprocMetricConfigOrBuilder.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataproc/v1/clusters.proto - -package com.google.cloud.dataproc.v1; - -public interface DataprocMetricConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.DataprocMetricConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getMetricsList(); - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.dataproc.v1.Metric getMetrics(int index); - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getMetricsCount(); - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getMetricsOrBuilderList(); - /** - * - * - *
-   * Configuration set of metrics to collect from the cluster
-   * 
- * - * - * repeated .google.cloud.dataproc.v1.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.dataproc.v1.MetricOrBuilder getMetricsOrBuilder(int index); -} diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Metric.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Metric.java deleted file mode 100644 index 176cfe3a1e9c..000000000000 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Metric.java +++ /dev/null @@ -1,1158 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataproc/v1/clusters.proto - -package com.google.cloud.dataproc.v1; - -/** - * - * - *
- * Specifies Dataproc OSS Metric.
- * 
- * - * Protobuf type {@code google.cloud.dataproc.v1.Metric} - */ -public final class Metric extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.Metric) - MetricOrBuilder { - private static final long serialVersionUID = 0L; - // Use Metric.newBuilder() to construct. - private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Metric() { - metricSource_ = 0; - metricOverrides_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Metric(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Metric( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - metricSource_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metricOverrides_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - metricOverrides_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - metricOverrides_ = metricOverrides_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_Metric_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_Metric_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dataproc.v1.Metric.class, - com.google.cloud.dataproc.v1.Metric.Builder.class); - } - - /** Protobuf enum {@code google.cloud.dataproc.v1.Metric.MetricSource} */ - public enum MetricSource implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * Unspecified metric source
-     * 
- * - * METRIC_SOURCE_UNSPECIFIED = 0; - */ - METRIC_SOURCE_UNSPECIFIED(0), - /** - * - * - *
-     * Default monitoring agent metrics. If this source is enabled,
-     * Dataproc enables the monitoring agent in Compute Engine, and collects
-     * default monitoring agent metrics, which are published with an
-     * agent.googleapis.com prefix.
-     * 
- * - * MONITORING_AGENT_DEFAULTS = 1; - */ - MONITORING_AGENT_DEFAULTS(1), - /** - * - * - *
-     * HDFS metric source
-     * 
- * - * HDFS = 2; - */ - HDFS(2), - /** - * - * - *
-     * SPARK metric source
-     * 
- * - * SPARK = 3; - */ - SPARK(3), - /** - * - * - *
-     * YARN metric source
-     * 
- * - * YARN = 4; - */ - YARN(4), - /** - * - * - *
-     * Spark History Server metric source
-     * 
- * - * SPARK_HISTORY_SERVER = 5; - */ - SPARK_HISTORY_SERVER(5), - /** - * - * - *
-     * Hiveserver2 metric source
-     * 
- * - * HIVESERVER2 = 6; - */ - HIVESERVER2(6), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * Unspecified metric source
-     * 
- * - * METRIC_SOURCE_UNSPECIFIED = 0; - */ - public static final int METRIC_SOURCE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * Default monitoring agent metrics. If this source is enabled,
-     * Dataproc enables the monitoring agent in Compute Engine, and collects
-     * default monitoring agent metrics, which are published with an
-     * agent.googleapis.com prefix.
-     * 
- * - * MONITORING_AGENT_DEFAULTS = 1; - */ - public static final int MONITORING_AGENT_DEFAULTS_VALUE = 1; - /** - * - * - *
-     * HDFS metric source
-     * 
- * - * HDFS = 2; - */ - public static final int HDFS_VALUE = 2; - /** - * - * - *
-     * SPARK metric source
-     * 
- * - * SPARK = 3; - */ - public static final int SPARK_VALUE = 3; - /** - * - * - *
-     * YARN metric source
-     * 
- * - * YARN = 4; - */ - public static final int YARN_VALUE = 4; - /** - * - * - *
-     * Spark History Server metric source
-     * 
- * - * SPARK_HISTORY_SERVER = 5; - */ - public static final int SPARK_HISTORY_SERVER_VALUE = 5; - /** - * - * - *
-     * Hiveserver2 metric source
-     * 
- * - * HIVESERVER2 = 6; - */ - public static final int HIVESERVER2_VALUE = 6; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MetricSource valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static MetricSource forNumber(int value) { - switch (value) { - case 0: - return METRIC_SOURCE_UNSPECIFIED; - case 1: - return MONITORING_AGENT_DEFAULTS; - case 2: - return HDFS; - case 3: - return SPARK; - case 4: - return YARN; - case 5: - return SPARK_HISTORY_SERVER; - case 6: - return HIVESERVER2; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricSource findValueByNumber(int number) { - return MetricSource.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataproc.v1.Metric.getDescriptor().getEnumTypes().get(0); - } - - private static final MetricSource[] VALUES = values(); - - public static MetricSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private MetricSource(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.Metric.MetricSource) - } - - public static final int METRIC_SOURCE_FIELD_NUMBER = 1; - private int metricSource_; - /** - * - * - *
-   * Required. Specified source of metric collection
-   * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for metricSource. - */ - @java.lang.Override - public int getMetricSourceValue() { - return metricSource_; - } - /** - * - * - *
-   * Required. Specified source of metric collection
-   * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The metricSource. - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric.MetricSource getMetricSource() { - @SuppressWarnings("deprecation") - com.google.cloud.dataproc.v1.Metric.MetricSource result = - com.google.cloud.dataproc.v1.Metric.MetricSource.valueOf(metricSource_); - return result == null ? com.google.cloud.dataproc.v1.Metric.MetricSource.UNRECOGNIZED : result; - } - - public static final int METRIC_OVERRIDES_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList metricOverrides_; - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the metricOverrides. - */ - public com.google.protobuf.ProtocolStringList getMetricOverridesList() { - return metricOverrides_; - } - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of metricOverrides. - */ - public int getMetricOverridesCount() { - return metricOverrides_.size(); - } - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The metricOverrides at the given index. - */ - public java.lang.String getMetricOverrides(int index) { - return metricOverrides_.get(index); - } - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the metricOverrides at the given index. - */ - public com.google.protobuf.ByteString getMetricOverridesBytes(int index) { - return metricOverrides_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (metricSource_ - != com.google.cloud.dataproc.v1.Metric.MetricSource.METRIC_SOURCE_UNSPECIFIED.getNumber()) { - output.writeEnum(1, metricSource_); - } - for (int i = 0; i < metricOverrides_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, metricOverrides_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (metricSource_ - != com.google.cloud.dataproc.v1.Metric.MetricSource.METRIC_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, metricSource_); - } - { - int dataSize = 0; - for (int i = 0; i < metricOverrides_.size(); i++) { - dataSize += computeStringSizeNoTag(metricOverrides_.getRaw(i)); - } - size += dataSize; - size += 1 * getMetricOverridesList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.dataproc.v1.Metric)) { - return super.equals(obj); - } - com.google.cloud.dataproc.v1.Metric other = (com.google.cloud.dataproc.v1.Metric) obj; - - if (metricSource_ != other.metricSource_) return false; - if (!getMetricOverridesList().equals(other.getMetricOverridesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + METRIC_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + metricSource_; - if (getMetricOverridesCount() > 0) { - hash = (37 * hash) + METRIC_OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getMetricOverridesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.Metric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.Metric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.dataproc.v1.Metric parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.dataproc.v1.Metric prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Specifies Dataproc OSS Metric.
-   * 
- * - * Protobuf type {@code google.cloud.dataproc.v1.Metric} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.Metric) - com.google.cloud.dataproc.v1.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_Metric_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_Metric_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.dataproc.v1.Metric.class, - com.google.cloud.dataproc.v1.Metric.Builder.class); - } - - // Construct using com.google.cloud.dataproc.v1.Metric.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - metricSource_ = 0; - - metricOverrides_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataproc.v1.ClustersProto - .internal_static_google_cloud_dataproc_v1_Metric_descriptor; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric getDefaultInstanceForType() { - return com.google.cloud.dataproc.v1.Metric.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric build() { - com.google.cloud.dataproc.v1.Metric result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric buildPartial() { - com.google.cloud.dataproc.v1.Metric result = new com.google.cloud.dataproc.v1.Metric(this); - int from_bitField0_ = bitField0_; - result.metricSource_ = metricSource_; - if (((bitField0_ & 0x00000001) != 0)) { - metricOverrides_ = metricOverrides_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.metricOverrides_ = metricOverrides_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataproc.v1.Metric) { - return mergeFrom((com.google.cloud.dataproc.v1.Metric) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.dataproc.v1.Metric other) { - if (other == com.google.cloud.dataproc.v1.Metric.getDefaultInstance()) return this; - if (other.metricSource_ != 0) { - setMetricSourceValue(other.getMetricSourceValue()); - } - if (!other.metricOverrides_.isEmpty()) { - if (metricOverrides_.isEmpty()) { - metricOverrides_ = other.metricOverrides_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMetricOverridesIsMutable(); - metricOverrides_.addAll(other.metricOverrides_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.dataproc.v1.Metric parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataproc.v1.Metric) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private int metricSource_ = 0; - /** - * - * - *
-     * Required. Specified source of metric collection
-     * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for metricSource. - */ - @java.lang.Override - public int getMetricSourceValue() { - return metricSource_; - } - /** - * - * - *
-     * Required. Specified source of metric collection
-     * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The enum numeric value on the wire for metricSource to set. - * @return This builder for chaining. - */ - public Builder setMetricSourceValue(int value) { - - metricSource_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. Specified source of metric collection
-     * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The metricSource. - */ - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric.MetricSource getMetricSource() { - @SuppressWarnings("deprecation") - com.google.cloud.dataproc.v1.Metric.MetricSource result = - com.google.cloud.dataproc.v1.Metric.MetricSource.valueOf(metricSource_); - return result == null - ? com.google.cloud.dataproc.v1.Metric.MetricSource.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * Required. Specified source of metric collection
-     * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The metricSource to set. - * @return This builder for chaining. - */ - public Builder setMetricSource(com.google.cloud.dataproc.v1.Metric.MetricSource value) { - if (value == null) { - throw new NullPointerException(); - } - - metricSource_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. Specified source of metric collection
-     * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return This builder for chaining. - */ - public Builder clearMetricSource() { - - metricSource_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList metricOverrides_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureMetricOverridesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - metricOverrides_ = new com.google.protobuf.LazyStringArrayList(metricOverrides_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the metricOverrides. - */ - public com.google.protobuf.ProtocolStringList getMetricOverridesList() { - return metricOverrides_.getUnmodifiableView(); - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of metricOverrides. - */ - public int getMetricOverridesCount() { - return metricOverrides_.size(); - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The metricOverrides at the given index. - */ - public java.lang.String getMetricOverrides(int index) { - return metricOverrides_.get(index); - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the metricOverrides at the given index. - */ - public com.google.protobuf.ByteString getMetricOverridesBytes(int index) { - return metricOverrides_.getByteString(index); - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index to set the value at. - * @param value The metricOverrides to set. - * @return This builder for chaining. - */ - public Builder setMetricOverrides(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricOverridesIsMutable(); - metricOverrides_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The metricOverrides to add. - * @return This builder for chaining. - */ - public Builder addMetricOverrides(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricOverridesIsMutable(); - metricOverrides_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param values The metricOverrides to add. - * @return This builder for chaining. - */ - public Builder addAllMetricOverrides(java.lang.Iterable values) { - ensureMetricOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricOverrides_); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearMetricOverrides() { - metricOverrides_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. The set of available OSS metrics to collect from the metric
-     * source.
-     * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes of the metricOverrides to add. - * @return This builder for chaining. - */ - public Builder addMetricOverridesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureMetricOverridesIsMutable(); - metricOverrides_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.dataproc.v1.Metric) - } - - // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.Metric) - private static final com.google.cloud.dataproc.v1.Metric DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.Metric(); - } - - public static com.google.cloud.dataproc.v1.Metric getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metric(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.dataproc.v1.Metric getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/MetricOrBuilder.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/MetricOrBuilder.java deleted file mode 100644 index 6394041a5f7a..000000000000 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/MetricOrBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataproc/v1/clusters.proto - -package com.google.cloud.dataproc.v1; - -public interface MetricOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.Metric) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Specified source of metric collection
-   * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for metricSource. - */ - int getMetricSourceValue(); - /** - * - * - *
-   * Required. Specified source of metric collection
-   * 
- * - * - * .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The metricSource. - */ - com.google.cloud.dataproc.v1.Metric.MetricSource getMetricSource(); - - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the metricOverrides. - */ - java.util.List getMetricOverridesList(); - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of metricOverrides. - */ - int getMetricOverridesCount(); - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The metricOverrides at the given index. - */ - java.lang.String getMetricOverrides(int index); - /** - * - * - *
-   * Optional. The set of available OSS metrics to collect from the metric
-   * source.
-   * 
- * - * repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the metricOverrides at the given index. - */ - com.google.protobuf.ByteString getMetricOverridesBytes(int index); -} diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..9c71e5448547 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceSettings; +import com.google.cloud.gkeconnect.gateway.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + GatewayServiceSettings gatewayServiceSettings = + GatewayServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create(gatewayServiceSettings); + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_create_setcredentialsprovider_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetEndpoint.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..445d57800395 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_create_setendpoint_sync] +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceSettings; +import com.google.cloud.gkeconnect.gateway.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + GatewayServiceSettings gatewayServiceSettings = + GatewayServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create(gatewayServiceSettings); + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_create_setendpoint_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/AsyncDeleteResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/AsyncDeleteResource.java new file mode 100644 index 000000000000..968fd5f3c074 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/AsyncDeleteResource.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_deleteresource_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncDeleteResource { + + public static void main(String[] args) throws Exception { + asyncDeleteResource(); + } + + public static void asyncDeleteResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + ApiFuture future = + gatewayServiceClient.deleteResourceCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_deleteresource_async] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/SyncDeleteResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/SyncDeleteResource.java new file mode 100644 index 000000000000..b5a4759c805a --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/deleteresource/SyncDeleteResource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_deleteresource_sync] +import com.google.api.HttpBody; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncDeleteResource { + + public static void main(String[] args) throws Exception { + syncDeleteResource(); + } + + public static void syncDeleteResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + HttpBody response = gatewayServiceClient.deleteResource(request); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_deleteresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/AsyncGetResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/AsyncGetResource.java new file mode 100644 index 000000000000..7e68d1398e39 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/AsyncGetResource.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_getresource_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncGetResource { + + public static void main(String[] args) throws Exception { + asyncGetResource(); + } + + public static void asyncGetResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + ApiFuture future = gatewayServiceClient.getResourceCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_getresource_async] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/SyncGetResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/SyncGetResource.java new file mode 100644 index 000000000000..1b870b3dbf08 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/getresource/SyncGetResource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_getresource_sync] +import com.google.api.HttpBody; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncGetResource { + + public static void main(String[] args) throws Exception { + syncGetResource(); + } + + public static void syncGetResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + HttpBody response = gatewayServiceClient.getResource(request); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_getresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/AsyncPatchResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/AsyncPatchResource.java new file mode 100644 index 000000000000..ed70b13e931e --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/AsyncPatchResource.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_patchresource_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncPatchResource { + + public static void main(String[] args) throws Exception { + asyncPatchResource(); + } + + public static void asyncPatchResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + ApiFuture future = gatewayServiceClient.patchResourceCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_patchresource_async] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/SyncPatchResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/SyncPatchResource.java new file mode 100644 index 000000000000..ede8f8439a68 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/patchresource/SyncPatchResource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_patchresource_sync] +import com.google.api.HttpBody; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncPatchResource { + + public static void main(String[] args) throws Exception { + syncPatchResource(); + } + + public static void syncPatchResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + HttpBody response = gatewayServiceClient.patchResource(request); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_patchresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/AsyncPostResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/AsyncPostResource.java new file mode 100644 index 000000000000..c20017880714 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/AsyncPostResource.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_postresource_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncPostResource { + + public static void main(String[] args) throws Exception { + asyncPostResource(); + } + + public static void asyncPostResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + ApiFuture future = gatewayServiceClient.postResourceCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_postresource_async] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/SyncPostResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/SyncPostResource.java new file mode 100644 index 000000000000..b63e86223028 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/postresource/SyncPostResource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_postresource_sync] +import com.google.api.HttpBody; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncPostResource { + + public static void main(String[] args) throws Exception { + syncPostResource(); + } + + public static void syncPostResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + HttpBody response = gatewayServiceClient.postResource(request); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_postresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/AsyncPutResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/AsyncPutResource.java new file mode 100644 index 000000000000..765d217330ba --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/AsyncPutResource.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_putresource_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncPutResource { + + public static void main(String[] args) throws Exception { + asyncPutResource(); + } + + public static void asyncPutResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + ApiFuture future = gatewayServiceClient.putResourceCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_putresource_async] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/SyncPutResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/SyncPutResource.java new file mode 100644 index 000000000000..521c76fca9a8 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayserviceclient/putresource/SyncPutResource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayserviceclient_putresource_sync] +import com.google.api.HttpBody; +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncPutResource { + + public static void main(String[] args) throws Exception { + syncPutResource(); + } + + public static void syncPutResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) { + HttpBody request = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + HttpBody response = gatewayServiceClient.putResource(request); + } + } +} +// [END gateway_v1beta1_generated_gatewayserviceclient_putresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayservicesettings/getresource/SyncGetResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayservicesettings/getresource/SyncGetResource.java new file mode 100644 index 000000000000..5ebdeb853720 --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/gatewayservicesettings/getresource/SyncGetResource.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.samples; + +// [START gateway_v1beta1_generated_gatewayservicesettings_getresource_sync] +import com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceSettings; +import java.time.Duration; + +public class SyncGetResource { + + public static void main(String[] args) throws Exception { + syncGetResource(); + } + + public static void syncGetResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + GatewayServiceSettings.Builder gatewayServiceSettingsBuilder = + GatewayServiceSettings.newBuilder(); + gatewayServiceSettingsBuilder + .getResourceSettings() + .setRetrySettings( + gatewayServiceSettingsBuilder.getResourceSettings().getRetrySettings().toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + GatewayServiceSettings gatewayServiceSettings = gatewayServiceSettingsBuilder.build(); + } +} +// [END gateway_v1beta1_generated_gatewayservicesettings_getresource_sync] diff --git a/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/stub/gatewayservicestubsettings/getresource/SyncGetResource.java b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/stub/gatewayservicestubsettings/getresource/SyncGetResource.java new file mode 100644 index 000000000000..6210e35f8e3f --- /dev/null +++ b/java-gke-connect-gateway/samples/snippets/generated/com/google/cloud/gkeconnect/gateway/v1beta1/stub/gatewayservicestubsettings/getresource/SyncGetResource.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkeconnect.gateway.v1beta1.stub.samples; + +// [START gateway_v1beta1_generated_gatewayservicestubsettings_getresource_sync] +import com.google.cloud.gkeconnect.gateway.v1beta1.stub.GatewayServiceStubSettings; +import java.time.Duration; + +public class SyncGetResource { + + public static void main(String[] args) throws Exception { + syncGetResource(); + } + + public static void syncGetResource() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + GatewayServiceStubSettings.Builder gatewayServiceSettingsBuilder = + GatewayServiceStubSettings.newBuilder(); + gatewayServiceSettingsBuilder + .getResourceSettings() + .setRetrySettings( + gatewayServiceSettingsBuilder.getResourceSettings().getRetrySettings().toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + GatewayServiceStubSettings gatewayServiceSettings = gatewayServiceSettingsBuilder.build(); + } +} +// [END gateway_v1beta1_generated_gatewayservicestubsettings_getresource_sync] diff --git a/java-iam-admin/proto-google-iam-admin-v1/src/main/java/com/google/iam/admin/v1/IamProto.java b/java-iam-admin/proto-google-iam-admin-v1/src/main/java/com/google/iam/admin/v1/IamProto.java deleted file mode 100644 index aeb9f0853709..000000000000 --- a/java-iam-admin/proto-google-iam-admin-v1/src/main/java/com/google/iam/admin/v1/IamProto.java +++ /dev/null @@ -1,896 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/admin/v1/iam.proto - -package com.google.iam.admin.v1; - -public final class IamProto { - private IamProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ServiceAccount_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ServiceAccount_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_CreateServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_CreateServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListServiceAccountsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListServiceAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListServiceAccountsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListServiceAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_GetServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_GetServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_DeleteServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_DeleteServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_PatchServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_PatchServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_UndeleteServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_UndeleteServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_UndeleteServiceAccountResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_UndeleteServiceAccountResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_EnableServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_EnableServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_DisableServiceAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_DisableServiceAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListServiceAccountKeysRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListServiceAccountKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListServiceAccountKeysResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListServiceAccountKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_GetServiceAccountKeyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_GetServiceAccountKeyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ServiceAccountKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ServiceAccountKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_CreateServiceAccountKeyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_CreateServiceAccountKeyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_UploadServiceAccountKeyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_UploadServiceAccountKeyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_DeleteServiceAccountKeyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_DeleteServiceAccountKeyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_SignBlobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_SignBlobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_SignBlobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_SignBlobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_SignJwtRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_SignJwtRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_SignJwtResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_SignJwtResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_Role_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_Role_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryGrantableRolesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryGrantableRolesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryGrantableRolesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryGrantableRolesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListRolesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListRolesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_ListRolesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_ListRolesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_GetRoleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_GetRoleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_CreateRoleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_CreateRoleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_UpdateRoleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_UpdateRoleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_DeleteRoleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_DeleteRoleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_UndeleteRoleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_UndeleteRoleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_Permission_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_Permission_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryTestablePermissionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryTestablePermissionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryTestablePermissionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryTestablePermissionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryAuditableServicesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryAuditableServicesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_AuditableService_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_AuditableService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_LintPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_LintPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_LintResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_LintResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_admin_v1_LintPolicyResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_admin_v1_LintPolicyResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\035google/iam/admin/v1/iam.proto\022\023google." - + "iam.admin.v1\032\027google/api/client.proto\032\037g" - + "oogle/api/field_behavior.proto\032\031google/a" - + "pi/resource.proto\032\036google/iam/v1/iam_pol" - + "icy.proto\032\032google/iam/v1/policy.proto\032\033g" - + "oogle/protobuf/empty.proto\032 google/proto" - + "buf/field_mask.proto\032\037google/protobuf/ti" - + "mestamp.proto\032\026google/type/expr.proto\032\034g" - + "oogle/api/annotations.proto\"\276\002\n\016ServiceA" - + "ccount\022\014\n\004name\030\001 \001(\t\022\027\n\nproject_id\030\002 \001(\t" - + "B\003\340A\003\022\026\n\tunique_id\030\004 \001(\tB\003\340A\003\022\022\n\005email\030\005" - + " \001(\tB\003\340A\003\022\031\n\014display_name\030\006 \001(\tB\003\340A\001\022\020\n\004" - + "etag\030\007 \001(\014B\002\030\001\022\030\n\013description\030\010 \001(\tB\003\340A\001" - + "\022\035\n\020oauth2_client_id\030\t \001(\tB\003\340A\003\022\025\n\010disab" - + "led\030\013 \001(\010B\003\340A\003:\\\352AY\n!iam.googleapis.com/" - + "ServiceAccount\0224projects/{project}/servi" - + "ceAccounts/{service_account}\"\267\001\n\033CreateS" - + "erviceAccountRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" - + "A-\n+cloudresourcemanager.googleapis.com/" - + "Project\022\027\n\naccount_id\030\002 \001(\tB\003\340A\002\022<\n\017serv" - + "ice_account\030\003 \001(\0132#.google.iam.admin.v1." - + "ServiceAccount\"\206\001\n\032ListServiceAccountsRe" - + "quest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" - + "cemanager.googleapis.com/Project\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"m\n\033ListS" - + "erviceAccountsResponse\0225\n\010accounts\030\001 \003(\013" - + "2#.google.iam.admin.v1.ServiceAccount\022\027\n" - + "\017next_page_token\030\002 \001(\t\"S\n\030GetServiceAcco" - + "untRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!iam.go" - + "ogleapis.com/ServiceAccount\"V\n\033DeleteSer" - + "viceAccountRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!iam.googleapis.com/ServiceAccount\"\213\001\n\032" - + "PatchServiceAccountRequest\022<\n\017service_ac" - + "count\030\001 \001(\0132#.google.iam.admin.v1.Servic" - + "eAccount\022/\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMask\"-\n\035UndeleteServiceAcco" - + "untRequest\022\014\n\004name\030\001 \001(\t\"_\n\036UndeleteServ" - + "iceAccountResponse\022=\n\020restored_account\030\001" - + " \001(\0132#.google.iam.admin.v1.ServiceAccoun" - + "t\"+\n\033EnableServiceAccountRequest\022\014\n\004name" - + "\030\001 \001(\t\",\n\034DisableServiceAccountRequest\022\014" - + "\n\004name\030\001 \001(\t\"\362\001\n\035ListServiceAccountKeysR" - + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!iam.google" - + "apis.com/ServiceAccount\022M\n\tkey_types\030\002 \003" - + "(\0162:.google.iam.admin.v1.ListServiceAcco" - + "untKeysRequest.KeyType\"I\n\007KeyType\022\030\n\024KEY" - + "_TYPE_UNSPECIFIED\020\000\022\020\n\014USER_MANAGED\020\001\022\022\n" - + "\016SYSTEM_MANAGED\020\002\"V\n\036ListServiceAccountK" - + "eysResponse\0224\n\004keys\030\001 \003(\0132&.google.iam.a" - + "dmin.v1.ServiceAccountKey\"\226\001\n\033GetService" - + "AccountKeyRequest\022,\n\004name\030\001 \001(\tB\036\340A\002\372A\030\n" - + "\026iam.googleapis.com/Key\022I\n\017public_key_ty" - + "pe\030\002 \001(\01620.google.iam.admin.v1.ServiceAc" - + "countPublicKeyType\"\304\004\n\021ServiceAccountKey" - + "\022\014\n\004name\030\001 \001(\t\022K\n\020private_key_type\030\002 \001(\016" - + "21.google.iam.admin.v1.ServiceAccountPri" - + "vateKeyType\022F\n\rkey_algorithm\030\010 \001(\0162/.goo" - + "gle.iam.admin.v1.ServiceAccountKeyAlgori" - + "thm\022\030\n\020private_key_data\030\003 \001(\014\022\027\n\017public_" - + "key_data\030\007 \001(\014\0224\n\020valid_after_time\030\004 \001(\013" - + "2\032.google.protobuf.Timestamp\0225\n\021valid_be" - + "fore_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "amp\022@\n\nkey_origin\030\t \001(\0162,.google.iam.adm" - + "in.v1.ServiceAccountKeyOrigin\022L\n\010key_typ" - + "e\030\n \001(\0162:.google.iam.admin.v1.ListServic" - + "eAccountKeysRequest.KeyType:\\\352AY\n\026iam.go" - + "ogleapis.com/Key\022?projects/{project}/ser" - + "viceAccounts/{service_account}/keys/{key" - + "}\"\356\001\n\036CreateServiceAccountKeyRequest\0227\n\004" - + "name\030\001 \001(\tB)\340A\002\372A#\n!iam.googleapis.com/S" - + "erviceAccount\022K\n\020private_key_type\030\002 \001(\0162" - + "1.google.iam.admin.v1.ServiceAccountPriv" - + "ateKeyType\022F\n\rkey_algorithm\030\003 \001(\0162/.goog" - + "le.iam.admin.v1.ServiceAccountKeyAlgorit" - + "hm\"G\n\036UploadServiceAccountKeyRequest\022\014\n\004" - + "name\030\001 \001(\t\022\027\n\017public_key_data\030\002 \001(\014\"N\n\036D" - + "eleteServiceAccountKeyRequest\022,\n\004name\030\001 " - + "\001(\tB\036\340A\002\372A\030\n\026iam.googleapis.com/Key\"j\n\017S" - + "ignBlobRequest\0229\n\004name\030\001 \001(\tB+\030\001\340A\002\372A#\n!" - + "iam.googleapis.com/ServiceAccount\022\034\n\rbyt" - + "es_to_sign\030\002 \001(\014B\005\030\001\340A\002\"=\n\020SignBlobRespo" - + "nse\022\022\n\006key_id\030\001 \001(\tB\002\030\001\022\025\n\tsignature\030\002 \001" - + "(\014B\002\030\001\"c\n\016SignJwtRequest\0229\n\004name\030\001 \001(\tB+" - + "\030\001\340A\002\372A#\n!iam.googleapis.com/ServiceAcco" - + "unt\022\026\n\007payload\030\002 \001(\tB\005\030\001\340A\002\"=\n\017SignJwtRe" - + "sponse\022\022\n\006key_id\030\001 \001(\tB\002\030\001\022\026\n\nsigned_jwt" - + "\030\002 \001(\tB\002\030\001\"\206\002\n\004Role\022\014\n\004name\030\001 \001(\t\022\r\n\005tit" - + "le\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\034\n\024include" - + "d_permissions\030\007 \003(\t\0228\n\005stage\030\010 \001(\0162).goo" - + "gle.iam.admin.v1.Role.RoleLaunchStage\022\014\n" - + "\004etag\030\t \001(\014\022\017\n\007deleted\030\013 \001(\010\"U\n\017RoleLaun" - + "chStage\022\t\n\005ALPHA\020\000\022\010\n\004BETA\020\001\022\006\n\002GA\020\002\022\016\n\n" - + "DEPRECATED\020\004\022\014\n\010DISABLED\020\005\022\007\n\003EAP\020\006\"\221\001\n\032" - + "QueryGrantableRolesRequest\022\037\n\022full_resou" - + "rce_name\030\001 \001(\tB\003\340A\002\022+\n\004view\030\002 \001(\0162\035.goog" - + "le.iam.admin.v1.RoleView\022\021\n\tpage_size\030\003 " - + "\001(\005\022\022\n\npage_token\030\004 \001(\t\"`\n\033QueryGrantabl" - + "eRolesResponse\022(\n\005roles\030\001 \003(\0132\031.google.i" - + "am.admin.v1.Role\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\224\001\n\020ListRolesRequest\022\026\n\006parent\030\001 \001(\tB\006" - + "\372A\003\n\001*\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\022+\n\004view\030\004 \001(\0162\035.google.iam.admin.v" - + "1.RoleView\022\024\n\014show_deleted\030\006 \001(\010\"V\n\021List" - + "RolesResponse\022(\n\005roles\030\001 \003(\0132\031.google.ia" - + "m.admin.v1.Role\022\027\n\017next_page_token\030\002 \001(\t" - + "\"&\n\016GetRoleRequest\022\024\n\004name\030\001 \001(\tB\006\372A\003\n\001*" - + "\"e\n\021CreateRoleRequest\022\026\n\006parent\030\001 \001(\tB\006\372" - + "A\003\n\001*\022\017\n\007role_id\030\002 \001(\t\022\'\n\004role\030\003 \001(\0132\031.g" - + "oogle.iam.admin.v1.Role\"\203\001\n\021UpdateRoleRe" - + "quest\022\024\n\004name\030\001 \001(\tB\006\372A\003\n\001*\022\'\n\004role\030\002 \001(" - + "\0132\031.google.iam.admin.v1.Role\022/\n\013update_m" - + "ask\030\003 \001(\0132\032.google.protobuf.FieldMask\"7\n" - + "\021DeleteRoleRequest\022\024\n\004name\030\001 \001(\tB\006\372A\003\n\001*" - + "\022\014\n\004etag\030\002 \001(\014\"9\n\023UndeleteRoleRequest\022\024\n" - + "\004name\030\001 \001(\tB\006\372A\003\n\001*\022\014\n\004etag\030\002 \001(\014\"\311\003\n\nPe" - + "rmission\022\014\n\004name\030\001 \001(\t\022\r\n\005title\030\002 \001(\t\022\023\n" - + "\013description\030\003 \001(\t\022$\n\030only_in_predefined" - + "_roles\030\004 \001(\010B\002\030\001\022D\n\005stage\030\005 \001(\01625.google" - + ".iam.admin.v1.Permission.PermissionLaunc" - + "hStage\022[\n\032custom_roles_support_level\030\006 \001" - + "(\01627.google.iam.admin.v1.Permission.Cust" - + "omRolesSupportLevel\022\024\n\014api_disabled\030\007 \001(" - + "\010\022\032\n\022primary_permission\030\010 \001(\t\"D\n\025Permiss" - + "ionLaunchStage\022\t\n\005ALPHA\020\000\022\010\n\004BETA\020\001\022\006\n\002G" - + "A\020\002\022\016\n\nDEPRECATED\020\003\"H\n\027CustomRolesSuppor" - + "tLevel\022\r\n\tSUPPORTED\020\000\022\013\n\007TESTING\020\001\022\021\n\rNO" - + "T_SUPPORTED\020\002\"d\n\037QueryTestablePermission" - + "sRequest\022\032\n\022full_resource_name\030\001 \001(\t\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n Q" - + "ueryTestablePermissionsResponse\0224\n\013permi" - + "ssions\030\001 \003(\0132\037.google.iam.admin.v1.Permi" - + "ssion\022\027\n\017next_page_token\030\002 \001(\t\";\n\035QueryA" - + "uditableServicesRequest\022\032\n\022full_resource" - + "_name\030\001 \001(\t\"\232\001\n\036QueryAuditableServicesRe" - + "sponse\022V\n\010services\030\001 \003(\0132D.google.iam.ad" - + "min.v1.QueryAuditableServicesResponse.Au" - + "ditableService\032 \n\020AuditableService\022\014\n\004na" - + "me\030\001 \001(\t\"f\n\021LintPolicyRequest\022\032\n\022full_re" - + "source_name\030\001 \001(\t\022&\n\tcondition\030\005 \001(\0132\021.g" - + "oogle.type.ExprH\000B\r\n\013lint_object\"\363\002\n\nLin" - + "tResult\0224\n\005level\030\001 \001(\0162%.google.iam.admi" - + "n.v1.LintResult.Level\022\034\n\024validation_unit" - + "_name\030\002 \001(\t\022:\n\010severity\030\003 \001(\0162(.google.i" - + "am.admin.v1.LintResult.Severity\022\022\n\nfield" - + "_name\030\005 \001(\t\022\027\n\017location_offset\030\006 \001(\005\022\025\n\r" - + "debug_message\030\007 \001(\t\"-\n\005Level\022\025\n\021LEVEL_UN" - + "SPECIFIED\020\000\022\r\n\tCONDITION\020\003\"b\n\010Severity\022\030" - + "\n\024SEVERITY_UNSPECIFIED\020\000\022\t\n\005ERROR\020\001\022\013\n\007W" - + "ARNING\020\002\022\n\n\006NOTICE\020\003\022\010\n\004INFO\020\004\022\016\n\nDEPREC" - + "ATED\020\005\"K\n\022LintPolicyResponse\0225\n\014lint_res" - + "ults\030\001 \003(\0132\037.google.iam.admin.v1.LintRes" - + "ult*a\n\032ServiceAccountKeyAlgorithm\022\027\n\023KEY" - + "_ALG_UNSPECIFIED\020\000\022\024\n\020KEY_ALG_RSA_1024\020\001" - + "\022\024\n\020KEY_ALG_RSA_2048\020\002*l\n\034ServiceAccount" - + "PrivateKeyType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\024\n\020" - + "TYPE_PKCS12_FILE\020\001\022 \n\034TYPE_GOOGLE_CREDEN" - + "TIALS_FILE\020\002*]\n\033ServiceAccountPublicKeyT" - + "ype\022\r\n\tTYPE_NONE\020\000\022\026\n\022TYPE_X509_PEM_FILE" - + "\020\001\022\027\n\023TYPE_RAW_PUBLIC_KEY\020\002*Y\n\027ServiceAc" - + "countKeyOrigin\022\026\n\022ORIGIN_UNSPECIFIED\020\000\022\021" - + "\n\rUSER_PROVIDED\020\001\022\023\n\017GOOGLE_PROVIDED\020\002*\037" - + "\n\010RoleView\022\t\n\005BASIC\020\000\022\010\n\004FULL\020\0012\263(\n\003IAM\022" - + "\256\001\n\023ListServiceAccounts\022/.google.iam.adm" - + "in.v1.ListServiceAccountsRequest\0320.googl" - + "e.iam.admin.v1.ListServiceAccountsRespon" - + "se\"4\202\323\344\223\002\'\022%/v1/{name=projects/*}/servic" - + "eAccounts\332A\004name\022\237\001\n\021GetServiceAccount\022-" - + ".google.iam.admin.v1.GetServiceAccountRe" - + "quest\032#.google.iam.admin.v1.ServiceAccou" - + "nt\"6\202\323\344\223\002)\022\'/v1/{name=projects/*/service" - + "Accounts/*}\332A\004name\022\301\001\n\024CreateServiceAcco" - + "unt\0220.google.iam.admin.v1.CreateServiceA" - + "ccountRequest\032#.google.iam.admin.v1.Serv" - + "iceAccount\"R\202\323\344\223\002*\"%/v1/{name=projects/*" - + "}/serviceAccounts:\001*\332A\037name,account_id,s" - + "ervice_account\022\224\001\n\024UpdateServiceAccount\022" - + "#.google.iam.admin.v1.ServiceAccount\032#.g" - + "oogle.iam.admin.v1.ServiceAccount\"2\202\323\344\223\002" - + ",\032\'/v1/{name=projects/*/serviceAccounts/" - + "*}:\001*\022\257\001\n\023PatchServiceAccount\022/.google.i" - + "am.admin.v1.PatchServiceAccountRequest\032#" - + ".google.iam.admin.v1.ServiceAccount\"B\202\323\344" - + "\223\002<27/v1/{service_account.name=projects/" - + "*/serviceAccounts/*}:\001*\022\230\001\n\024DeleteServic" - + "eAccount\0220.google.iam.admin.v1.DeleteSer" - + "viceAccountRequest\032\026.google.protobuf.Emp" - + "ty\"6\202\323\344\223\002)*\'/v1/{name=projects/*/service" - + "Accounts/*}\332A\004name\022\276\001\n\026UndeleteServiceAc" - + "count\0222.google.iam.admin.v1.UndeleteServ" - + "iceAccountRequest\0323.google.iam.admin.v1." - + "UndeleteServiceAccountResponse\";\202\323\344\223\0025\"0" - + "/v1/{name=projects/*/serviceAccounts/*}:" - + "undelete:\001*\022\233\001\n\024EnableServiceAccount\0220.g" - + "oogle.iam.admin.v1.EnableServiceAccountR" - + "equest\032\026.google.protobuf.Empty\"9\202\323\344\223\0023\"." - + "/v1/{name=projects/*/serviceAccounts/*}:" - + "enable:\001*\022\236\001\n\025DisableServiceAccount\0221.go" - + "ogle.iam.admin.v1.DisableServiceAccountR" - + "equest\032\026.google.protobuf.Empty\":\202\323\344\223\0024\"/" - + "/v1/{name=projects/*/serviceAccounts/*}:" - + "disable:\001*\022\310\001\n\026ListServiceAccountKeys\0222." - + "google.iam.admin.v1.ListServiceAccountKe" - + "ysRequest\0323.google.iam.admin.v1.ListServ" - + "iceAccountKeysResponse\"E\202\323\344\223\002.\022,/v1/{nam" - + "e=projects/*/serviceAccounts/*}/keys\332A\016n" - + "ame,key_types\022\277\001\n\024GetServiceAccountKey\0220" - + ".google.iam.admin.v1.GetServiceAccountKe" - + "yRequest\032&.google.iam.admin.v1.ServiceAc" - + "countKey\"M\202\323\344\223\0020\022./v1/{name=projects/*/s" - + "erviceAccounts/*/keys/*}\332A\024name,public_k" - + "ey_type\022\325\001\n\027CreateServiceAccountKey\0223.go" - + "ogle.iam.admin.v1.CreateServiceAccountKe" - + "yRequest\032&.google.iam.admin.v1.ServiceAc" - + "countKey\"]\202\323\344\223\0021\",/v1/{name=projects/*/s" - + "erviceAccounts/*}/keys:\001*\332A#name,private" - + "_key_type,key_algorithm\022\266\001\n\027UploadServic" - + "eAccountKey\0223.google.iam.admin.v1.Upload" - + "ServiceAccountKeyRequest\032&.google.iam.ad" - + "min.v1.ServiceAccountKey\">\202\323\344\223\0028\"3/v1/{n" - + "ame=projects/*/serviceAccounts/*}/keys:u" - + "pload:\001*\022\245\001\n\027DeleteServiceAccountKey\0223.g" - + "oogle.iam.admin.v1.DeleteServiceAccountK" - + "eyRequest\032\026.google.protobuf.Empty\"=\202\323\344\223\002" - + "0*./v1/{name=projects/*/serviceAccounts/" - + "*/keys/*}\332A\004name\022\254\001\n\010SignBlob\022$.google.i" - + "am.admin.v1.SignBlobRequest\032%.google.iam" - + ".admin.v1.SignBlobResponse\"S\210\002\001\202\323\344\223\0025\"0/" - + "v1/{name=projects/*/serviceAccounts/*}:s" - + "ignBlob:\001*\332A\022name,bytes_to_sign\022\242\001\n\007Sign" - + "Jwt\022#.google.iam.admin.v1.SignJwtRequest" - + "\032$.google.iam.admin.v1.SignJwtResponse\"L" - + "\210\002\001\202\323\344\223\0024\"//v1/{name=projects/*/serviceA" - + "ccounts/*}:signJwt:\001*\332A\014name,payload\022\226\001\n" - + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"K\202\323\344\223\002:" - + "\"8/v1/{resource=projects/*/serviceAccoun" - + "ts/*}:getIamPolicy\332A\010resource\022\240\001\n\014SetIam" - + "Policy\022\".google.iam.v1.SetIamPolicyReque" - + "st\032\025.google.iam.v1.Policy\"U\202\323\344\223\002=\"8/v1/{" - + "resource=projects/*/serviceAccounts/*}:s" - + "etIamPolicy:\001*\332A\017resource,policy\022\313\001\n\022Tes" - + "tIamPermissions\022(.google.iam.v1.TestIamP" - + "ermissionsRequest\032).google.iam.v1.TestIa" - + "mPermissionsResponse\"`\202\323\344\223\002C\">/v1/{resou" - + "rce=projects/*/serviceAccounts/*}:testIa" - + "mPermissions:\001*\332A\024resource,permissions\022\267" - + "\001\n\023QueryGrantableRoles\022/.google.iam.admi" - + "n.v1.QueryGrantableRolesRequest\0320.google" - + ".iam.admin.v1.QueryGrantableRolesRespons" - + "e\"=\202\323\344\223\002\"\"\035/v1/roles:queryGrantableRoles" - + ":\001*\332A\022full_resource_name\022\264\001\n\tListRoles\022%" - + ".google.iam.admin.v1.ListRolesRequest\032&." - + "google.iam.admin.v1.ListRolesResponse\"X\202" - + "\323\344\223\002R\022\t/v1/rolesZ$\022\"/v1/{parent=organiza" - + "tions/*}/rolesZ\037\022\035/v1/{parent=projects/*" - + "}/roles\022\254\001\n\007GetRole\022#.google.iam.admin.v" - + "1.GetRoleRequest\032\031.google.iam.admin.v1.R" - + "ole\"a\202\323\344\223\002[\022\022/v1/{name=roles/*}Z$\022\"/v1/{" - + "name=organizations/*/roles/*}Z\037\022\035/v1/{na" - + "me=projects/*/roles/*}\022\242\001\n\nCreateRole\022&." - + "google.iam.admin.v1.CreateRoleRequest\032\031." - + "google.iam.admin.v1.Role\"Q\202\323\344\223\002K\"\"/v1/{p" - + "arent=organizations/*}/roles:\001*Z\"\"\035/v1/{" - + "parent=projects/*}/roles:\001*\022\250\001\n\nUpdateRo" - + "le\022&.google.iam.admin.v1.UpdateRoleReque" - + "st\032\031.google.iam.admin.v1.Role\"W\202\323\344\223\002Q2\"/" - + "v1/{name=organizations/*/roles/*}:\004roleZ" - + "%2\035/v1/{name=projects/*/roles/*}:\004role\022\234" - + "\001\n\nDeleteRole\022&.google.iam.admin.v1.Dele" - + "teRoleRequest\032\031.google.iam.admin.v1.Role" - + "\"K\202\323\344\223\002E*\"/v1/{name=organizations/*/role" - + "s/*}Z\037*\035/v1/{name=projects/*/roles/*}\022\270\001" - + "\n\014UndeleteRole\022(.google.iam.admin.v1.Und" - + "eleteRoleRequest\032\031.google.iam.admin.v1.R" - + "ole\"c\202\323\344\223\002]\"+/v1/{name=organizations/*/r" - + "oles/*}:undelete:\001*Z+\"&/v1/{name=project" - + "s/*/roles/*}:undelete:\001*\022\274\001\n\030QueryTestab" - + "lePermissions\0224.google.iam.admin.v1.Quer" - + "yTestablePermissionsRequest\0325.google.iam" - + ".admin.v1.QueryTestablePermissionsRespon" - + "se\"3\202\323\344\223\002-\"(/v1/permissions:queryTestabl" - + "ePermissions:\001*\022\264\001\n\026QueryAuditableServic" - + "es\0222.google.iam.admin.v1.QueryAuditableS" - + "ervicesRequest\0323.google.iam.admin.v1.Que" - + "ryAuditableServicesResponse\"1\202\323\344\223\002+\"&/v1" - + "/iamPolicies:queryAuditableServices:\001*\022\204" - + "\001\n\nLintPolicy\022&.google.iam.admin.v1.Lint" - + "PolicyRequest\032\'.google.iam.admin.v1.Lint" - + "PolicyResponse\"%\202\323\344\223\002\037\"\032/v1/iamPolicies:" - + "lintPolicy:\001*\032F\312A\022iam.googleapis.com\322A.h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\232\001\n\027com.google.iam.admin.v1B\010IamPr" - + "otoP\001Z8google.golang.org/genproto/google" - + "apis/iam/admin/v1;admin\370\001\001\252\002\031Google.Clou" - + "d.Iam.Admin.V1\312\002\031Google\\Cloud\\Iam\\Admin\\" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.ExprProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_iam_admin_v1_ServiceAccount_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_admin_v1_ServiceAccount_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ServiceAccount_descriptor, - new java.lang.String[] { - "Name", - "ProjectId", - "UniqueId", - "Email", - "DisplayName", - "Etag", - "Description", - "Oauth2ClientId", - "Disabled", - }); - internal_static_google_iam_admin_v1_CreateServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_admin_v1_CreateServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_CreateServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", "AccountId", "ServiceAccount", - }); - internal_static_google_iam_admin_v1_ListServiceAccountsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_admin_v1_ListServiceAccountsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListServiceAccountsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_iam_admin_v1_ListServiceAccountsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_admin_v1_ListServiceAccountsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListServiceAccountsResponse_descriptor, - new java.lang.String[] { - "Accounts", "NextPageToken", - }); - internal_static_google_iam_admin_v1_GetServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_iam_admin_v1_GetServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_GetServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_DeleteServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_iam_admin_v1_DeleteServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_DeleteServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_PatchServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_iam_admin_v1_PatchServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_PatchServiceAccountRequest_descriptor, - new java.lang.String[] { - "ServiceAccount", "UpdateMask", - }); - internal_static_google_iam_admin_v1_UndeleteServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_iam_admin_v1_UndeleteServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_UndeleteServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_UndeleteServiceAccountResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_iam_admin_v1_UndeleteServiceAccountResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_UndeleteServiceAccountResponse_descriptor, - new java.lang.String[] { - "RestoredAccount", - }); - internal_static_google_iam_admin_v1_EnableServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_iam_admin_v1_EnableServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_EnableServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_DisableServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_iam_admin_v1_DisableServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_DisableServiceAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_ListServiceAccountKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_iam_admin_v1_ListServiceAccountKeysRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListServiceAccountKeysRequest_descriptor, - new java.lang.String[] { - "Name", "KeyTypes", - }); - internal_static_google_iam_admin_v1_ListServiceAccountKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_iam_admin_v1_ListServiceAccountKeysResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListServiceAccountKeysResponse_descriptor, - new java.lang.String[] { - "Keys", - }); - internal_static_google_iam_admin_v1_GetServiceAccountKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_iam_admin_v1_GetServiceAccountKeyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_GetServiceAccountKeyRequest_descriptor, - new java.lang.String[] { - "Name", "PublicKeyType", - }); - internal_static_google_iam_admin_v1_ServiceAccountKey_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_iam_admin_v1_ServiceAccountKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ServiceAccountKey_descriptor, - new java.lang.String[] { - "Name", - "PrivateKeyType", - "KeyAlgorithm", - "PrivateKeyData", - "PublicKeyData", - "ValidAfterTime", - "ValidBeforeTime", - "KeyOrigin", - "KeyType", - }); - internal_static_google_iam_admin_v1_CreateServiceAccountKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_iam_admin_v1_CreateServiceAccountKeyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_CreateServiceAccountKeyRequest_descriptor, - new java.lang.String[] { - "Name", "PrivateKeyType", "KeyAlgorithm", - }); - internal_static_google_iam_admin_v1_UploadServiceAccountKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_iam_admin_v1_UploadServiceAccountKeyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_UploadServiceAccountKeyRequest_descriptor, - new java.lang.String[] { - "Name", "PublicKeyData", - }); - internal_static_google_iam_admin_v1_DeleteServiceAccountKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_iam_admin_v1_DeleteServiceAccountKeyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_DeleteServiceAccountKeyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_SignBlobRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_iam_admin_v1_SignBlobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_SignBlobRequest_descriptor, - new java.lang.String[] { - "Name", "BytesToSign", - }); - internal_static_google_iam_admin_v1_SignBlobResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_iam_admin_v1_SignBlobResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_SignBlobResponse_descriptor, - new java.lang.String[] { - "KeyId", "Signature", - }); - internal_static_google_iam_admin_v1_SignJwtRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_iam_admin_v1_SignJwtRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_SignJwtRequest_descriptor, - new java.lang.String[] { - "Name", "Payload", - }); - internal_static_google_iam_admin_v1_SignJwtResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_iam_admin_v1_SignJwtResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_SignJwtResponse_descriptor, - new java.lang.String[] { - "KeyId", "SignedJwt", - }); - internal_static_google_iam_admin_v1_Role_descriptor = getDescriptor().getMessageTypes().get(22); - internal_static_google_iam_admin_v1_Role_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_Role_descriptor, - new java.lang.String[] { - "Name", "Title", "Description", "IncludedPermissions", "Stage", "Etag", "Deleted", - }); - internal_static_google_iam_admin_v1_QueryGrantableRolesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_iam_admin_v1_QueryGrantableRolesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryGrantableRolesRequest_descriptor, - new java.lang.String[] { - "FullResourceName", "View", "PageSize", "PageToken", - }); - internal_static_google_iam_admin_v1_QueryGrantableRolesResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_iam_admin_v1_QueryGrantableRolesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryGrantableRolesResponse_descriptor, - new java.lang.String[] { - "Roles", "NextPageToken", - }); - internal_static_google_iam_admin_v1_ListRolesRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_iam_admin_v1_ListRolesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListRolesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "ShowDeleted", - }); - internal_static_google_iam_admin_v1_ListRolesResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_iam_admin_v1_ListRolesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_ListRolesResponse_descriptor, - new java.lang.String[] { - "Roles", "NextPageToken", - }); - internal_static_google_iam_admin_v1_GetRoleRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_iam_admin_v1_GetRoleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_GetRoleRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_CreateRoleRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_iam_admin_v1_CreateRoleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_CreateRoleRequest_descriptor, - new java.lang.String[] { - "Parent", "RoleId", "Role", - }); - internal_static_google_iam_admin_v1_UpdateRoleRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_iam_admin_v1_UpdateRoleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_UpdateRoleRequest_descriptor, - new java.lang.String[] { - "Name", "Role", "UpdateMask", - }); - internal_static_google_iam_admin_v1_DeleteRoleRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_iam_admin_v1_DeleteRoleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_DeleteRoleRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_iam_admin_v1_UndeleteRoleRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_iam_admin_v1_UndeleteRoleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_UndeleteRoleRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_iam_admin_v1_Permission_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_iam_admin_v1_Permission_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_Permission_descriptor, - new java.lang.String[] { - "Name", - "Title", - "Description", - "OnlyInPredefinedRoles", - "Stage", - "CustomRolesSupportLevel", - "ApiDisabled", - "PrimaryPermission", - }); - internal_static_google_iam_admin_v1_QueryTestablePermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_iam_admin_v1_QueryTestablePermissionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryTestablePermissionsRequest_descriptor, - new java.lang.String[] { - "FullResourceName", "PageSize", "PageToken", - }); - internal_static_google_iam_admin_v1_QueryTestablePermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_iam_admin_v1_QueryTestablePermissionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryTestablePermissionsResponse_descriptor, - new java.lang.String[] { - "Permissions", "NextPageToken", - }); - internal_static_google_iam_admin_v1_QueryAuditableServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_iam_admin_v1_QueryAuditableServicesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryAuditableServicesRequest_descriptor, - new java.lang.String[] { - "FullResourceName", - }); - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_descriptor, - new java.lang.String[] { - "Services", - }); - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_AuditableService_descriptor = - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_AuditableService_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_QueryAuditableServicesResponse_AuditableService_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_admin_v1_LintPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_iam_admin_v1_LintPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_LintPolicyRequest_descriptor, - new java.lang.String[] { - "FullResourceName", "Condition", "LintObject", - }); - internal_static_google_iam_admin_v1_LintResult_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_iam_admin_v1_LintResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_LintResult_descriptor, - new java.lang.String[] { - "Level", - "ValidationUnitName", - "Severity", - "FieldName", - "LocationOffset", - "DebugMessage", - }); - internal_static_google_iam_admin_v1_LintPolicyResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_iam_admin_v1_LintPolicyResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_admin_v1_LintPolicyResponse_descriptor, - new java.lang.String[] { - "LintResults", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.ExprProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/ITNotebookServiceClientTest.java b/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/ITNotebookServiceClientTest.java index a394b48791e8..5f56091c9e93 100644 --- a/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/ITNotebookServiceClientTest.java +++ b/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/ITNotebookServiceClientTest.java @@ -53,9 +53,8 @@ public class ITNotebookServiceClientTest { private static final String PARENT = "projects/" + PROJECT_ID + "/locations/" + LOCATION; private static NotebookServiceClient client; private static final String ID = UUID.randomUUID().toString().substring(0, 8); - private static final String NOTEBOOK_PREFIX = "it-test-notebook"; - private static final String NOTEBOOK_INSTANCE_ID = NOTEBOOK_PREFIX + "-instance-id-" + ID; - private static final String ENVIRONMENT_ID = NOTEBOOK_PREFIX + "-environment-id-" + ID; + private static final String NOTEBOOK_INSTANCE_ID = "test-notebook-instance-id-" + ID; + private static final String ENVIRONMENT_ID = "test-environment-id-" + ID; private static final String INSTANCE_NAME = PARENT + "/instances/" + NOTEBOOK_INSTANCE_ID; private static final String ENVIRONMENT_NAME = PARENT + "/environments/" + ENVIRONMENT_ID; private static Instance expectedNotebookInstance; @@ -67,8 +66,6 @@ public class ITNotebookServiceClientTest { public static void setUp() throws IOException, ExecutionException, InterruptedException { // Create Test Notebook Instance client = NotebookServiceClient.create(); - Util.cleanUpNotebookInstances(client, PARENT, NOTEBOOK_PREFIX); - ContainerImage containerImage = ContainerImage.newBuilder().setRepository(FieldBehavior.OPTIONAL.name()).build(); diff --git a/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/Util.java b/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/Util.java deleted file mode 100644 index 8ad349fa6985..000000000000 --- a/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/Util.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.google.cloud.notebooks.v1beta1.it; - -import com.google.cloud.notebooks.v1beta1.DeleteInstanceRequest; -import com.google.cloud.notebooks.v1beta1.Instance; -import com.google.cloud.notebooks.v1beta1.ListInstancesRequest; -import com.google.cloud.notebooks.v1beta1.NotebookServiceClient; -import com.google.cloud.notebooks.v1beta1.NotebookServiceClient.ListInstancesPagedResponse; -import com.google.protobuf.util.Timestamps; -import java.time.Instant; -import java.time.temporal.ChronoUnit; - -public class Util { - - // Cleans existing test resources if any. - private static final int DELETION_THRESHOLD_TIME_HOURS = 24; - - /** Bring down any instances that are older than 24 hours */ - public static void cleanUpNotebookInstances( - NotebookServiceClient client, String parent, String prefix) { - ListInstancesPagedResponse listInstancesPagedResponse = - client.listInstances(ListInstancesRequest.newBuilder().setParent(parent).build()); - for (Instance instance : listInstancesPagedResponse.iterateAll()) { - if (isCreatedBeforeThresholdTime( - Instant.ofEpochMilli(Timestamps.toMillis(instance.getCreateTime()))) - && instance.getName().startsWith(prefix)) { - client.deleteInstanceAsync( - DeleteInstanceRequest.newBuilder().setName(instance.getName()).build()); - } - } - } - - private static boolean isCreatedBeforeThresholdTime(Instant instant) { - return instant.isBefore(Instant.now().minus(DELETION_THRESHOLD_TIME_HOURS, ChronoUnit.HOURS)); - } -} diff --git a/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java b/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java index 35837ecf52a6..517fc799a122 100644 --- a/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java +++ b/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java @@ -99,8 +99,8 @@ public class ITSystemTest { private static final String ID = UUID.randomUUID().toString().substring(0, 8); // GraalVM native-image test uses the project root as working directory, not google-cloud-vision private static final String RESOURCES = - Files.exists(Paths.get("java-vision", "google-cloud-vision", "src", "test", "resources")) - ? "java-vision/google-cloud-vision/src/test/resources/" + Files.exists(Paths.get("google-cloud-vision", "src", "test", "resources")) + ? "google-cloud-vision/src/test/resources/" : "src/test/resources/"; private static final String GCS_BUCKET_ENV_VAR = "GOOGLE_CLOUD_TESTS_VISION_BUCKET"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java index d5f0a74e3dc4..2da866534134 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java @@ -379,7 +379,7 @@ public float getScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Override @@ -1562,7 +1562,7 @@ public Builder clearScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Override @@ -1584,7 +1584,7 @@ public float getConfidence() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @param value The confidence to set. * @return This builder for chaining. */ @@ -1609,7 +1609,7 @@ public Builder setConfidence(float value) { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java index 3508678dbb03..1344ad02b81c 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java @@ -131,7 +131,7 @@ public interface EntityAnnotationOrBuilder * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Deprecated diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientHttpJsonTest.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientHttpJsonTest.java index 88fea02227ca..d678fbff1797 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientHttpJsonTest.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientHttpJsonTest.java @@ -95,6 +95,7 @@ public void createScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockService.addResponse(expectedResponse); @@ -201,6 +202,7 @@ public void getScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockService.addResponse(expectedResponse); @@ -319,6 +321,7 @@ public void updateScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockService.addResponse(expectedResponse); @@ -335,6 +338,7 @@ public void updateScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -378,6 +382,7 @@ public void updateScanConfigExceptionTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -702,6 +707,7 @@ public void getFindingTest() throws Exception { .setVulnerableHeaders(VulnerableHeaders.newBuilder().build()) .setVulnerableParameters(VulnerableParameters.newBuilder().build()) .setXss(Xss.newBuilder().build()) + .setXxe(Xxe.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientTest.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientTest.java index e70a9522cdf9..c97774ef7ee5 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientTest.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClientTest.java @@ -98,6 +98,7 @@ public void createScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockWebSecurityScanner.addResponse(expectedResponse); @@ -189,6 +190,7 @@ public void getScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockWebSecurityScanner.addResponse(expectedResponse); @@ -292,6 +294,7 @@ public void updateScanConfigTest() throws Exception { .setSchedule(ScanConfig.Schedule.newBuilder().build()) .setManagedScan(true) .setStaticIpScan(true) + .setIgnoreHttpStatusErrors(true) .build(); mockWebSecurityScanner.addResponse(expectedResponse); @@ -604,6 +607,7 @@ public void getFindingTest() throws Exception { .setVulnerableHeaders(VulnerableHeaders.newBuilder().build()) .setVulnerableParameters(VulnerableParameters.newBuilder().build()) .setXss(Xss.newBuilder().build()) + .setXxe(Xxe.newBuilder().build()) .build(); mockWebSecurityScanner.addResponse(expectedResponse); diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/Finding.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/Finding.java index 958b1bc523d2..3895572d1933 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/Finding.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/Finding.java @@ -256,6 +256,22 @@ private Finding( int rawValue = input.readEnum(); severity_ = rawValue; + break; + } + case 146: + { + com.google.cloud.websecurityscanner.v1.Xxe.Builder subBuilder = null; + if (xxe_ != null) { + subBuilder = xxe_.toBuilder(); + } + xxe_ = + input.readMessage( + com.google.cloud.websecurityscanner.v1.Xxe.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(xxe_); + xxe_ = subBuilder.buildPartial(); + } + break; } default: @@ -1345,6 +1361,58 @@ public com.google.cloud.websecurityscanner.v1.XssOrBuilder getXssOrBuilder() { return getXss(); } + public static final int XXE_FIELD_NUMBER = 18; + private com.google.cloud.websecurityscanner.v1.Xxe xxe_; + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the xxe field is set. + */ + @java.lang.Override + public boolean hasXxe() { + return xxe_ != null; + } + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The xxe. + */ + @java.lang.Override + public com.google.cloud.websecurityscanner.v1.Xxe getXxe() { + return xxe_ == null ? com.google.cloud.websecurityscanner.v1.Xxe.getDefaultInstance() : xxe_; + } + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.websecurityscanner.v1.XxeOrBuilder getXxeOrBuilder() { + return getXxe(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1412,6 +1480,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(17, severity_); } + if (xxe_ != null) { + output.writeMessage(18, getXxe()); + } unknownFields.writeTo(output); } @@ -1475,6 +1546,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, severity_); } + if (xxe_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getXxe()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1526,6 +1600,10 @@ public boolean equals(final java.lang.Object obj) { if (hasXss()) { if (!getXss().equals(other.getXss())) return false; } + if (hasXxe() != other.hasXxe()) return false; + if (hasXxe()) { + if (!getXxe().equals(other.getXxe())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1583,6 +1661,10 @@ public int hashCode() { hash = (37 * hash) + XSS_FIELD_NUMBER; hash = (53 * hash) + getXss().hashCode(); } + if (hasXxe()) { + hash = (37 * hash) + XXE_FIELD_NUMBER; + hash = (53 * hash) + getXxe().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1787,6 +1869,12 @@ public Builder clear() { xss_ = null; xssBuilder_ = null; } + if (xxeBuilder_ == null) { + xxe_ = null; + } else { + xxe_ = null; + xxeBuilder_ = null; + } return this; } @@ -1855,6 +1943,11 @@ public com.google.cloud.websecurityscanner.v1.Finding buildPartial() { } else { result.xss_ = xssBuilder_.build(); } + if (xxeBuilder_ == null) { + result.xxe_ = xxe_; + } else { + result.xxe_ = xxeBuilder_.build(); + } onBuilt(); return result; } @@ -1965,6 +2058,9 @@ public Builder mergeFrom(com.google.cloud.websecurityscanner.v1.Finding other) { if (other.hasXss()) { mergeXss(other.getXss()); } + if (other.hasXxe()) { + mergeXxe(other.getXxe()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4371,6 +4467,209 @@ public com.google.cloud.websecurityscanner.v1.XssOrBuilder getXssOrBuilder() { return xssBuilder_; } + private com.google.cloud.websecurityscanner.v1.Xxe xxe_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.websecurityscanner.v1.Xxe, + com.google.cloud.websecurityscanner.v1.Xxe.Builder, + com.google.cloud.websecurityscanner.v1.XxeOrBuilder> + xxeBuilder_; + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the xxe field is set. + */ + public boolean hasXxe() { + return xxeBuilder_ != null || xxe_ != null; + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The xxe. + */ + public com.google.cloud.websecurityscanner.v1.Xxe getXxe() { + if (xxeBuilder_ == null) { + return xxe_ == null + ? com.google.cloud.websecurityscanner.v1.Xxe.getDefaultInstance() + : xxe_; + } else { + return xxeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setXxe(com.google.cloud.websecurityscanner.v1.Xxe value) { + if (xxeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + xxe_ = value; + onChanged(); + } else { + xxeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setXxe(com.google.cloud.websecurityscanner.v1.Xxe.Builder builderForValue) { + if (xxeBuilder_ == null) { + xxe_ = builderForValue.build(); + onChanged(); + } else { + xxeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeXxe(com.google.cloud.websecurityscanner.v1.Xxe value) { + if (xxeBuilder_ == null) { + if (xxe_ != null) { + xxe_ = + com.google.cloud.websecurityscanner.v1.Xxe.newBuilder(xxe_) + .mergeFrom(value) + .buildPartial(); + } else { + xxe_ = value; + } + onChanged(); + } else { + xxeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearXxe() { + if (xxeBuilder_ == null) { + xxe_ = null; + onChanged(); + } else { + xxe_ = null; + xxeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.websecurityscanner.v1.Xxe.Builder getXxeBuilder() { + + onChanged(); + return getXxeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.websecurityscanner.v1.XxeOrBuilder getXxeOrBuilder() { + if (xxeBuilder_ != null) { + return xxeBuilder_.getMessageOrBuilder(); + } else { + return xxe_ == null + ? com.google.cloud.websecurityscanner.v1.Xxe.getDefaultInstance() + : xxe_; + } + } + /** + * + * + *
+     * Output only. An addon containing information reported for an XXE, if any.
+     * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.websecurityscanner.v1.Xxe, + com.google.cloud.websecurityscanner.v1.Xxe.Builder, + com.google.cloud.websecurityscanner.v1.XxeOrBuilder> + getXxeFieldBuilder() { + if (xxeBuilder_ == null) { + xxeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.websecurityscanner.v1.Xxe, + com.google.cloud.websecurityscanner.v1.Xxe.Builder, + com.google.cloud.websecurityscanner.v1.XxeOrBuilder>( + getXxe(), getParentForChildren(), isClean()); + xxe_ = null; + } + return xxeBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingOrBuilder.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingOrBuilder.java index 338bf2e814ac..74d9762b6c22 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingOrBuilder.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingOrBuilder.java @@ -542,4 +542,45 @@ public interface FindingOrBuilder * .google.cloud.websecurityscanner.v1.Xss xss = 14; */ com.google.cloud.websecurityscanner.v1.XssOrBuilder getXssOrBuilder(); + + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the xxe field is set. + */ + boolean hasXxe(); + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The xxe. + */ + com.google.cloud.websecurityscanner.v1.Xxe getXxe(); + /** + * + * + *
+   * Output only. An addon containing information reported for an XXE, if any.
+   * 
+ * + * + * .google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.websecurityscanner.v1.XxeOrBuilder getXxeOrBuilder(); } diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java index a94ab1ebcdfb..3a8e619aa553 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java @@ -45,7 +45,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ner.v1\032\037google/api/field_behavior.proto\032" + "\031google/api/resource.proto\0326google/cloud" + "/websecurityscanner/v1/finding_addon.pro" - + "to\"\261\007\n\007Finding\022\014\n\004name\030\001 \001(\t\022\024\n\014finding_" + + "to\"\354\007\n\007Finding\022\014\n\004name\030\001 \001(\t\022\024\n\014finding_" + "type\030\002 \001(\t\022K\n\010severity\030\021 \001(\01624.google.cl" + "oud.websecurityscanner.v1.Finding.Severi" + "tyB\003\340A\003\022\023\n\013http_method\030\003 \001(\t\022\022\n\nfuzzed_u" @@ -63,19 +63,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ble_parameters\030\r \001(\01328.google.cloud.webs" + "ecurityscanner.v1.VulnerableParameters\0224" + "\n\003xss\030\016 \001(\0132\'.google.cloud.websecuritysc" - + "anner.v1.Xss\"Q\n\010Severity\022\030\n\024SEVERITY_UNS" - + "PECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\010\n\004HIGH\020\002\022\n\n\006ME" - + "DIUM\020\003\022\007\n\003LOW\020\004:\204\001\352A\200\001\n)websecurityscann" - + "er.googleapis.com/Finding\022Sprojects/{pro" - + "ject}/scanConfigs/{scan_config}/scanRuns" - + "/{scan_run}/findings/{finding}B\200\002\n&com.g" - + "oogle.cloud.websecurityscanner.v1B\014Findi" - + "ngProtoP\001ZTgoogle.golang.org/genproto/go" - + "ogleapis/cloud/websecurityscanner/v1;web" - + "securityscanner\252\002\"Google.Cloud.WebSecuri" - + "tyScanner.V1\312\002\"Google\\Cloud\\WebSecurityS" - + "canner\\V1\352\002%Google::Cloud::WebSecuritySc" - + "anner::V1b\006proto3" + + "anner.v1.Xss\0229\n\003xxe\030\022 \001(\0132\'.google.cloud" + + ".websecurityscanner.v1.XxeB\003\340A\003\"Q\n\010Sever" + + "ity\022\030\n\024SEVERITY_UNSPECIFIED\020\000\022\014\n\010CRITICA" + + "L\020\001\022\010\n\004HIGH\020\002\022\n\n\006MEDIUM\020\003\022\007\n\003LOW\020\004:\204\001\352A\200" + + "\001\n)websecurityscanner.googleapis.com/Fin" + + "ding\022Sprojects/{project}/scanConfigs/{sc" + + "an_config}/scanRuns/{scan_run}/findings/" + + "{finding}B\200\002\n&com.google.cloud.websecuri" + + "tyscanner.v1B\014FindingProtoP\001ZTgoogle.gol" + + "ang.org/genproto/googleapis/cloud/websec" + + "urityscanner/v1;websecurityscanner\252\002\"Goo" + + "gle.Cloud.WebSecurityScanner.V1\312\002\"Google" + + "\\Cloud\\WebSecurityScanner\\V1\352\002%Google::C" + + "loud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -108,6 +109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VulnerableHeaders", "VulnerableParameters", "Xss", + "Xxe", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfig.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfig.java index a7d9a82a6fc0..272736693db4 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfig.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfig.java @@ -182,6 +182,11 @@ private ScanConfig( staticIpScan_ = input.readBool(); break; } + case 120: + { + ignoreHttpStatusErrors_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -743,11 +748,14 @@ public interface AuthenticationOrBuilder *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return Whether the googleAccount field is set. */ + @java.lang.Deprecated boolean hasGoogleAccount(); /** * @@ -757,11 +765,14 @@ public interface AuthenticationOrBuilder *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return The googleAccount. */ + @java.lang.Deprecated com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount getGoogleAccount(); /** @@ -772,9 +783,10 @@ public interface AuthenticationOrBuilder *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder(); @@ -1034,6 +1046,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.Builder.class); } + @java.lang.Deprecated public interface GoogleAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount) @@ -1101,6 +1114,7 @@ public interface GoogleAccountOrBuilder * Protobuf type {@code * google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount} */ + @java.lang.Deprecated public static final class GoogleAccount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount) @@ -4835,6 +4849,7 @@ public enum AuthenticationCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { + @java.lang.Deprecated GOOGLE_ACCOUNT(1), CUSTOM_ACCOUNT(2), IAP_CREDENTIAL(4), @@ -4887,12 +4902,15 @@ public AuthenticationCase getAuthenticationCase() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return Whether the googleAccount field is set. */ @java.lang.Override + @java.lang.Deprecated public boolean hasGoogleAccount() { return authenticationCase_ == 1; } @@ -4904,12 +4922,15 @@ public boolean hasGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return The googleAccount. */ @java.lang.Override + @java.lang.Deprecated public com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount getGoogleAccount() { if (authenticationCase_ == 1) { @@ -4927,10 +4948,11 @@ public boolean hasGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ @java.lang.Override + @java.lang.Deprecated public com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder() { if (authenticationCase_ == 1) { @@ -5525,12 +5547,15 @@ public Builder clearAuthentication() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return Whether the googleAccount field is set. */ @java.lang.Override + @java.lang.Deprecated public boolean hasGoogleAccount() { return authenticationCase_ == 1; } @@ -5542,12 +5567,15 @@ public boolean hasGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * * + * @deprecated google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is + * deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80 * @return The googleAccount. */ @java.lang.Override + @java.lang.Deprecated public com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount getGoogleAccount() { if (googleAccountBuilder_ == null) { @@ -5573,9 +5601,10 @@ public boolean hasGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated public Builder setGoogleAccount( com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount value) { if (googleAccountBuilder_ == null) { @@ -5598,9 +5627,10 @@ public Builder setGoogleAccount( *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated public Builder setGoogleAccount( com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount.Builder builderForValue) { @@ -5621,9 +5651,10 @@ public Builder setGoogleAccount( *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated public Builder mergeGoogleAccount( com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount value) { if (googleAccountBuilder_ == null) { @@ -5661,9 +5692,10 @@ public Builder mergeGoogleAccount( *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated public Builder clearGoogleAccount() { if (googleAccountBuilder_ == null) { if (authenticationCase_ == 1) { @@ -5688,9 +5720,10 @@ public Builder clearGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ + @java.lang.Deprecated public com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder() { return getGoogleAccountFieldBuilder().getBuilder(); @@ -5703,10 +5736,11 @@ public Builder clearGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ @java.lang.Override + @java.lang.Deprecated public com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder() { if ((authenticationCase_ == 1) && (googleAccountBuilder_ != null)) { @@ -5728,7 +5762,7 @@ public Builder clearGoogleAccount() { *
* * - * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1; + * .google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -7747,6 +7781,24 @@ public boolean getStaticIpScan() { return staticIpScan_; } + public static final int IGNORE_HTTP_STATUS_ERRORS_FIELD_NUMBER = 15; + private boolean ignoreHttpStatusErrors_; + /** + * + * + *
+   * Whether to keep scanning even if most requests return HTTP error codes.
+   * 
+ * + * bool ignore_http_status_errors = 15; + * + * @return The ignoreHttpStatusErrors. + */ + @java.lang.Override + public boolean getIgnoreHttpStatusErrors() { + return ignoreHttpStatusErrors_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -7804,6 +7856,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (staticIpScan_ != false) { output.writeBool(14, staticIpScan_); } + if (ignoreHttpStatusErrors_ != false) { + output.writeBool(15, ignoreHttpStatusErrors_); + } unknownFields.writeTo(output); } @@ -7867,6 +7922,9 @@ public int getSerializedSize() { if (staticIpScan_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, staticIpScan_); } + if (ignoreHttpStatusErrors_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, ignoreHttpStatusErrors_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -7901,6 +7959,7 @@ public boolean equals(final java.lang.Object obj) { if (riskLevel_ != other.riskLevel_) return false; if (getManagedScan() != other.getManagedScan()) return false; if (getStaticIpScan() != other.getStaticIpScan()) return false; + if (getIgnoreHttpStatusErrors() != other.getIgnoreHttpStatusErrors()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7944,6 +8003,8 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManagedScan()); hash = (37 * hash) + STATIC_IP_SCAN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStaticIpScan()); + hash = (37 * hash) + IGNORE_HTTP_STATUS_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreHttpStatusErrors()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -8121,6 +8182,8 @@ public Builder clear() { staticIpScan_ = false; + ignoreHttpStatusErrors_ = false; + return this; } @@ -8177,6 +8240,7 @@ public com.google.cloud.websecurityscanner.v1.ScanConfig buildPartial() { result.riskLevel_ = riskLevel_; result.managedScan_ = managedScan_; result.staticIpScan_ = staticIpScan_; + result.ignoreHttpStatusErrors_ = ignoreHttpStatusErrors_; onBuilt(); return result; } @@ -8279,6 +8343,9 @@ public Builder mergeFrom(com.google.cloud.websecurityscanner.v1.ScanConfig other if (other.getStaticIpScan() != false) { setStaticIpScan(other.getStaticIpScan()); } + if (other.getIgnoreHttpStatusErrors() != false) { + setIgnoreHttpStatusErrors(other.getIgnoreHttpStatusErrors()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -9743,6 +9810,58 @@ public Builder clearStaticIpScan() { return this; } + private boolean ignoreHttpStatusErrors_; + /** + * + * + *
+     * Whether to keep scanning even if most requests return HTTP error codes.
+     * 
+ * + * bool ignore_http_status_errors = 15; + * + * @return The ignoreHttpStatusErrors. + */ + @java.lang.Override + public boolean getIgnoreHttpStatusErrors() { + return ignoreHttpStatusErrors_; + } + /** + * + * + *
+     * Whether to keep scanning even if most requests return HTTP error codes.
+     * 
+ * + * bool ignore_http_status_errors = 15; + * + * @param value The ignoreHttpStatusErrors to set. + * @return This builder for chaining. + */ + public Builder setIgnoreHttpStatusErrors(boolean value) { + + ignoreHttpStatusErrors_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Whether to keep scanning even if most requests return HTTP error codes.
+     * 
+ * + * bool ignore_http_status_errors = 15; + * + * @return This builder for chaining. + */ + public Builder clearIgnoreHttpStatusErrors() { + + ignoreHttpStatusErrors_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigOrBuilder.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigOrBuilder.java index 32718b4f9334..f088843794b4 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigOrBuilder.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigOrBuilder.java @@ -382,4 +382,17 @@ public interface ScanConfigOrBuilder * @return The staticIpScan. */ boolean getStaticIpScan(); + + /** + * + * + *
+   * Whether to keep scanning even if most requests return HTTP error codes.
+   * 
+ * + * bool ignore_http_status_errors = 15; + * + * @return The ignoreHttpStatusErrors. + */ + boolean getIgnoreHttpStatusErrors(); } diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java index 8849902c2a33..d68805f2fd0e 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java @@ -67,7 +67,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n4google/cloud/websecurityscanner/v1/sca" + "n_config.proto\022\"google.cloud.websecurity" + "scanner.v1\032\037google/api/field_behavior.pr" - + "oto\032\037google/protobuf/timestamp.proto\"\231\r\n" + + "oto\032\037google/protobuf/timestamp.proto\"\304\r\n" + "\nScanConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" + "e\030\002 \001(\t\022\017\n\007max_qps\030\003 \001(\005\022\025\n\rstarting_url" + "s\030\004 \003(\t\022U\n\016authentication\030\005 \001(\0132=.google" @@ -83,40 +83,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "risk_level\030\014 \001(\01628.google.cloud.websecur" + "ityscanner.v1.ScanConfig.RiskLevel\022\024\n\014ma" + "naged_scan\030\r \001(\010\022\026\n\016static_ip_scan\030\016 \001(\010" - + "\032\317\005\n\016Authentication\022e\n\016google_account\030\001 " - + "\001(\0132K.google.cloud.websecurityscanner.v1" - + ".ScanConfig.Authentication.GoogleAccount" - + "H\000\022e\n\016custom_account\030\002 \001(\0132K.google.clou" - + "d.websecurityscanner.v1.ScanConfig.Authe" - + "ntication.CustomAccountH\000\022e\n\016iap_credent" - + "ial\030\004 \001(\0132K.google.cloud.websecurityscan" - + "ner.v1.ScanConfig.Authentication.IapCred" - + "entialH\000\0323\n\rGoogleAccount\022\020\n\010username\030\001 " - + "\001(\t\022\020\n\010password\030\002 \001(\t\032F\n\rCustomAccount\022\020" - + "\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022\021\n\tlo" - + "gin_url\030\003 \001(\t\032\370\001\n\rIapCredential\022\216\001\n\035iap_" - + "test_service_account_info\030\001 \001(\0132e.google" - + ".cloud.websecurityscanner.v1.ScanConfig." - + "Authentication.IapCredential.IapTestServ" - + "iceAccountInfoH\000\032C\n\031IapTestServiceAccoun" - + "tInfo\022&\n\031target_audience_client_id\030\001 \001(\t" - + "B\003\340A\002B\021\n\017iap_credentialsB\020\n\016authenticati" - + "on\032]\n\010Schedule\0221\n\rschedule_time\030\001 \001(\0132\032." - + "google.protobuf.Timestamp\022\036\n\026interval_du" - + "ration_days\030\002 \001(\005\"`\n\tUserAgent\022\032\n\026USER_A" - + "GENT_UNSPECIFIED\020\000\022\020\n\014CHROME_LINUX\020\001\022\022\n\016" - + "CHROME_ANDROID\020\002\022\021\n\rSAFARI_IPHONE\020\003\"<\n\tR" - + "iskLevel\022\032\n\026RISK_LEVEL_UNSPECIFIED\020\000\022\n\n\006" - + "NORMAL\020\001\022\007\n\003LOW\020\002\"m\n\035ExportToSecurityCom" - + "mandCenter\0221\n-EXPORT_TO_SECURITY_COMMAND" - + "_CENTER_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" - + "SABLED\020\002B\203\002\n&com.google.cloud.websecurit" - + "yscanner.v1B\017ScanConfigProtoP\001ZTgoogle.g" - + "olang.org/genproto/googleapis/cloud/webs" - + "ecurityscanner/v1;websecurityscanner\252\002\"G" - + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" - + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" - + ":Cloud::WebSecurityScanner::V1b\006proto3" + + "\022!\n\031ignore_http_status_errors\030\017 \001(\010\032\327\005\n\016" + + "Authentication\022i\n\016google_account\030\001 \001(\0132K" + + ".google.cloud.websecurityscanner.v1.Scan" + + "Config.Authentication.GoogleAccountB\002\030\001H" + + "\000\022e\n\016custom_account\030\002 \001(\0132K.google.cloud" + + ".websecurityscanner.v1.ScanConfig.Authen" + + "tication.CustomAccountH\000\022e\n\016iap_credenti" + + "al\030\004 \001(\0132K.google.cloud.websecurityscann" + + "er.v1.ScanConfig.Authentication.IapCrede" + + "ntialH\000\0327\n\rGoogleAccount\022\020\n\010username\030\001 \001" + + "(\t\022\020\n\010password\030\002 \001(\t:\002\030\001\032F\n\rCustomAccoun" + + "t\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022\021\n" + + "\tlogin_url\030\003 \001(\t\032\370\001\n\rIapCredential\022\216\001\n\035i" + + "ap_test_service_account_info\030\001 \001(\0132e.goo" + + "gle.cloud.websecurityscanner.v1.ScanConf" + + "ig.Authentication.IapCredential.IapTestS" + + "erviceAccountInfoH\000\032C\n\031IapTestServiceAcc" + + "ountInfo\022&\n\031target_audience_client_id\030\001 " + + "\001(\tB\003\340A\002B\021\n\017iap_credentialsB\020\n\016authentic" + + "ation\032]\n\010Schedule\0221\n\rschedule_time\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp\022\036\n\026interval" + + "_duration_days\030\002 \001(\005\"`\n\tUserAgent\022\032\n\026USE" + + "R_AGENT_UNSPECIFIED\020\000\022\020\n\014CHROME_LINUX\020\001\022" + + "\022\n\016CHROME_ANDROID\020\002\022\021\n\rSAFARI_IPHONE\020\003\"<" + + "\n\tRiskLevel\022\032\n\026RISK_LEVEL_UNSPECIFIED\020\000\022" + + "\n\n\006NORMAL\020\001\022\007\n\003LOW\020\002\"m\n\035ExportToSecurity" + + "CommandCenter\0221\n-EXPORT_TO_SECURITY_COMM" + + "AND_CENTER_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n" + + "\010DISABLED\020\002B\203\002\n&com.google.cloud.websecu" + + "rityscanner.v1B\017ScanConfigProtoP\001ZTgoogl" + + "e.golang.org/genproto/googleapis/cloud/w" + + "ebsecurityscanner/v1;websecurityscanner\252" + + "\002\"Google.Cloud.WebSecurityScanner.V1\312\002\"G" + + "oogle\\Cloud\\WebSecurityScanner\\V1\352\002%Goog" + + "le::Cloud::WebSecurityScanner::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -143,6 +145,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RiskLevel", "ManagedScan", "StaticIpScan", + "IgnoreHttpStatusErrors", }); internal_static_google_cloud_websecurityscanner_v1_ScanConfig_Authentication_descriptor = internal_static_google_cloud_websecurityscanner_v1_ScanConfig_descriptor diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTrace.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTrace.java index 9635019bedae..a84acd617d09 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTrace.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTrace.java @@ -142,7 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Output only.
    * Defines an error reason code.
-   * Next id: 7
+   * Next id: 8
    * 
* * Protobuf enum {@code google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code} diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTrace.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTrace.java index fd04b91e686b..1deb877a4f4d 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTrace.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTrace.java @@ -182,6 +182,16 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * BLOCKED_BY_IAP = 4; */ BLOCKED_BY_IAP(4), + /** + * + * + *
+     * Indicates that no seeds is found for a scan
+     * 
+ * + * NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = 5; + */ + NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN(5), UNRECOGNIZED(-1), ; @@ -240,6 +250,16 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * BLOCKED_BY_IAP = 4; */ public static final int BLOCKED_BY_IAP_VALUE = 4; + /** + * + * + *
+     * Indicates that no seeds is found for a scan
+     * 
+ * + * NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = 5; + */ + public static final int NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -275,6 +295,8 @@ public static Code forNumber(int value) { return TOO_MANY_FUZZ_TASKS; case 4: return BLOCKED_BY_IAP; + case 5: + return NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN; default: return null; } diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java index 76b7bee4d4e8..800c51ab8dff 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java @@ -42,20 +42,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n?google/cloud/websecurityscanner/v1/sca" + "n_run_warning_trace.proto\022\"google.cloud." - + "websecurityscanner.v1\"\351\001\n\023ScanRunWarning" + + "websecurityscanner.v1\"\225\002\n\023ScanRunWarning" + "Trace\022J\n\004code\030\001 \001(\0162<.google.cloud.webse" + "curityscanner.v1.ScanRunWarningTrace.Cod" - + "e\"\205\001\n\004Code\022\024\n\020CODE_UNSPECIFIED\020\000\022\036\n\032INSU" + + "e\"\261\001\n\004Code\022\024\n\020CODE_UNSPECIFIED\020\000\022\036\n\032INSU" + "FFICIENT_CRAWL_RESULTS\020\001\022\032\n\026TOO_MANY_CRA" + "WL_RESULTS\020\002\022\027\n\023TOO_MANY_FUZZ_TASKS\020\003\022\022\n" - + "\016BLOCKED_BY_IAP\020\004B\214\002\n&com.google.cloud.w" - + "ebsecurityscanner.v1B\030ScanRunWarningTrac" - + "eProtoP\001ZTgoogle.golang.org/genproto/goo" - + "gleapis/cloud/websecurityscanner/v1;webs" - + "ecurityscanner\252\002\"Google.Cloud.WebSecurit" - + "yScanner.V1\312\002\"Google\\Cloud\\WebSecuritySc" - + "anner\\V1\352\002%Google::Cloud::WebSecuritySca" - + "nner::V1b\006proto3" + + "\016BLOCKED_BY_IAP\020\004\022*\n&NO_STARTING_URL_FOU" + + "ND_FOR_MANAGED_SCAN\020\005B\214\002\n&com.google.clo" + + "ud.websecurityscanner.v1B\030ScanRunWarning" + + "TraceProtoP\001ZTgoogle.golang.org/genproto" + + "/googleapis/cloud/websecurityscanner/v1;" + + "websecurityscanner\252\002\"Google.Cloud.WebSec" + + "urityScanner.V1\312\002\"Google\\Cloud\\WebSecuri" + + "tyScanner\\V1\352\002%Google::Cloud::WebSecurit" + + "yScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java index 0b5500643084..2c501a3268e3 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java @@ -111,16 +111,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n=google/cloud/websecurityscanner/v1/web" + "_security_scanner.proto\022\"google.cloud.we" + "bsecurityscanner.v1\032\034google/api/annotati" - + "ons.proto\0324google/cloud/websecurityscann" - + "er/v1/crawled_url.proto\0320google/cloud/we" - + "bsecurityscanner/v1/finding.proto\032;googl" - + "e/cloud/websecurityscanner/v1/finding_ty" - + "pe_stats.proto\0324google/cloud/websecurity" - + "scanner/v1/scan_config.proto\0321google/clo" - + "ud/websecurityscanner/v1/scan_run.proto\032" - + "\033google/protobuf/empty.proto\032 google/pro" - + "tobuf/field_mask.proto\032\027google/api/clien" - + "t.proto\"n\n\027CreateScanConfigRequest\022\016\n\006pa" + + "ons.proto\032\027google/api/client.proto\0324goog" + + "le/cloud/websecurityscanner/v1/crawled_u" + + "rl.proto\0320google/cloud/websecurityscanne" + + "r/v1/finding.proto\032;google/cloud/websecu" + + "rityscanner/v1/finding_type_stats.proto\032" + + "4google/cloud/websecurityscanner/v1/scan" + + "_config.proto\0321google/cloud/websecuritys" + + "canner/v1/scan_run.proto\032\033google/protobu" + + "f/empty.proto\032 google/protobuf/field_mas" + + "k.proto\"n\n\027CreateScanConfigRequest\022\016\n\006pa" + "rent\030\001 \001(\t\022C\n\013scan_config\030\002 \001(\0132..google" + ".cloud.websecurityscanner.v1.ScanConfig\"" + "\'\n\027DeleteScanConfigRequest\022\014\n\004name\030\001 \001(\t" @@ -233,6 +233,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), com.google.cloud.websecurityscanner.v1.CrawledUrlProto.getDescriptor(), com.google.cloud.websecurityscanner.v1.FindingProto.getDescriptor(), com.google.cloud.websecurityscanner.v1.FindingTypeStatsProto.getDescriptor(), @@ -240,7 +241,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.websecurityscanner.v1.ScanRunProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_cloud_websecurityscanner_v1_CreateScanConfigRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -394,6 +394,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); com.google.cloud.websecurityscanner.v1.CrawledUrlProto.getDescriptor(); com.google.cloud.websecurityscanner.v1.FindingProto.getDescriptor(); com.google.cloud.websecurityscanner.v1.FindingTypeStatsProto.getDescriptor(); @@ -401,7 +402,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.websecurityscanner.v1.ScanRunProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope)