diff --git a/README.md b/README.md index 75e306775..0a6655bc2 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.0') +implementation platform('com.google.cloud:libraries-bom:26.1.1') implementation 'com.google.cloud:google-cloud-aiplatform' ``` diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java index fd783be91..7e47af0d7 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java @@ -56,8 +56,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * Dataset response = datasetServiceClient.getDataset(name); @@ -93,8 +96,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DatasetServiceSettings datasetServiceSettings = * DatasetServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -105,8 +111,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DatasetServiceSettings datasetServiceSettings = * DatasetServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * DatasetServiceClient datasetServiceClient = DatasetServiceClient.create(datasetServiceSettings); @@ -182,8 +191,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Dataset dataset = Dataset.newBuilder().build(); @@ -213,8 +225,11 @@ public final OperationFuturecreateData * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Dataset dataset = Dataset.newBuilder().build(); @@ -241,8 +256,11 @@ public final OperationFuturecreateData * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * CreateDatasetRequest request = * CreateDatasetRequest.newBuilder() @@ -268,8 +286,11 @@ public final OperationFuturecreateData * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * CreateDatasetRequest request = * CreateDatasetRequest.newBuilder() @@ -295,8 +316,11 @@ public final OperationFuturecreateData * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * CreateDatasetRequest request = * CreateDatasetRequest.newBuilder() @@ -321,8 +345,11 @@ public final UnaryCallablecreateDatasetCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * Dataset response = datasetServiceClient.getDataset(name); @@ -345,8 +372,11 @@ public final Dataset getDataset(DatasetName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * Dataset response = datasetServiceClient.getDataset(name); @@ -368,8 +398,11 @@ public final Dataset getDataset(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetDatasetRequest request = * GetDatasetRequest.newBuilder() @@ -394,8 +427,11 @@ public final Dataset getDataset(GetDatasetRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetDatasetRequest request = * GetDatasetRequest.newBuilder() @@ -419,8 +455,11 @@ public final UnaryCallablegetDatasetCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * Dataset dataset = Dataset.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -447,8 +486,11 @@ public final Dataset updateDataset(Dataset dataset, FieldMask updateMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * UpdateDatasetRequest request = * UpdateDatasetRequest.newBuilder() @@ -473,8 +515,11 @@ public final Dataset updateDataset(UpdateDatasetRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * UpdateDatasetRequest request = * UpdateDatasetRequest.newBuilder() @@ -498,8 +543,11 @@ public final UnaryCallableupdateDatasetCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (Dataset element : datasetServiceClient.listDatasets(parent).iterateAll()) { @@ -527,8 +575,11 @@ public final ListDatasetsPagedResponse listDatasets(LocationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (Dataset element : datasetServiceClient.listDatasets(parent).iterateAll()) { @@ -553,8 +604,11 @@ public final ListDatasetsPagedResponse listDatasets(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDatasetsRequest request = * ListDatasetsRequest.newBuilder() @@ -585,8 +639,11 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDatasetsRequest request = * ListDatasetsRequest.newBuilder() @@ -618,8 +675,11 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDatasetsRequest request = * ListDatasetsRequest.newBuilder() @@ -656,8 +716,11 @@ public final UnaryCallablelistDatase * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * datasetServiceClient.deleteDatasetAsync(name).get(); @@ -682,8 +745,11 @@ public final OperationFuturedeleteDatasetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * datasetServiceClient.deleteDatasetAsync(name).get(); @@ -706,8 +772,11 @@ public final OperationFuturedeleteDatasetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DeleteDatasetRequest request = * DeleteDatasetRequest.newBuilder() @@ -732,8 +801,11 @@ public final OperationFuturedeleteDatasetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DeleteDatasetRequest request = * DeleteDatasetRequest.newBuilder() @@ -758,8 +830,11 @@ public final OperationFuturedeleteDatasetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DeleteDatasetRequest request = * DeleteDatasetRequest.newBuilder() @@ -783,8 +858,11 @@ public final UnaryCallabledeleteDatasetCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * ListimportConfigs = new ArrayList<>(); @@ -815,8 +893,11 @@ public final OperationFuture im * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * ListimportConfigs = new ArrayList<>(); @@ -844,8 +925,11 @@ public final OperationFuture im * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ImportDataRequest request = * ImportDataRequest.newBuilder() @@ -871,8 +955,11 @@ public final OperationFutureim * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ImportDataRequest request = * ImportDataRequest.newBuilder() @@ -898,8 +985,11 @@ public final OperationFutureim * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ImportDataRequest request = * ImportDataRequest.newBuilder() @@ -923,8 +1013,11 @@ public final UnaryCallableimportDataCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * ExportDataConfig exportConfig = ExportDataConfig.newBuilder().build(); @@ -954,8 +1047,11 @@ public final OperationFutureex * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * ExportDataConfig exportConfig = ExportDataConfig.newBuilder().build(); @@ -982,8 +1078,11 @@ public final OperationFutureex * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ExportDataRequest request = * ExportDataRequest.newBuilder() @@ -1009,8 +1108,11 @@ public final OperationFutureex * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ExportDataRequest request = * ExportDataRequest.newBuilder() @@ -1036,8 +1138,11 @@ public final OperationFutureex * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ExportDataRequest request = * ExportDataRequest.newBuilder() @@ -1061,8 +1166,11 @@ public final UnaryCallableexportDataCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * for (DataItem element : datasetServiceClient.listDataItems(parent).iterateAll()) { @@ -1090,8 +1198,11 @@ public final ListDataItemsPagedResponse listDataItems(DatasetName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * for (DataItem element : datasetServiceClient.listDataItems(parent).iterateAll()) { @@ -1116,8 +1227,11 @@ public final ListDataItemsPagedResponse listDataItems(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDataItemsRequest request = * ListDataItemsRequest.newBuilder() @@ -1148,8 +1262,11 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDataItemsRequest request = * ListDataItemsRequest.newBuilder() @@ -1181,8 +1298,11 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListDataItemsRequest request = * ListDataItemsRequest.newBuilder() @@ -1219,8 +1339,11 @@ public final UnaryCallablelistData * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DatasetName parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * for (SavedQuery element : datasetServiceClient.listSavedQueries(parent).iterateAll()) { @@ -1248,8 +1371,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(DatasetName parent) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString(); * for (SavedQuery element : datasetServiceClient.listSavedQueries(parent).iterateAll()) { @@ -1275,8 +1401,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListSavedQueriesRequest request = * ListSavedQueriesRequest.newBuilder() @@ -1307,8 +1436,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListSavedQueriesRequest request = * ListSavedQueriesRequest.newBuilder() @@ -1340,8 +1472,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListSavedQueriesRequest request = * ListSavedQueriesRequest.newBuilder() @@ -1380,8 +1515,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * AnnotationSpecName name = * AnnotationSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]"); @@ -1408,8 +1546,11 @@ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String name = * AnnotationSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]") @@ -1434,8 +1575,11 @@ public final AnnotationSpec getAnnotationSpec(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetAnnotationSpecRequest request = * GetAnnotationSpecRequest.newBuilder() @@ -1462,8 +1606,11 @@ public final AnnotationSpec getAnnotationSpec(GetAnnotationSpecRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetAnnotationSpecRequest request = * GetAnnotationSpecRequest.newBuilder() @@ -1490,8 +1637,11 @@ public final UnaryCallablegetAnnotati * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * DataItemName parent = DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]"); * for (Annotation element : datasetServiceClient.listAnnotations(parent).iterateAll()) { @@ -1519,8 +1669,11 @@ public final ListAnnotationsPagedResponse listAnnotations(DataItemName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * String parent = * DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString(); @@ -1546,8 +1699,11 @@ public final ListAnnotationsPagedResponse listAnnotations(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListAnnotationsRequest request = * ListAnnotationsRequest.newBuilder() @@ -1579,8 +1735,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListAnnotationsRequest request = * ListAnnotationsRequest.newBuilder() @@ -1613,8 +1772,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListAnnotationsRequest request = * ListAnnotationsRequest.newBuilder() @@ -1654,8 +1816,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1684,8 +1849,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1715,8 +1883,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1751,8 +1922,11 @@ public final UnaryCallablelistLoca * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * Location response = datasetServiceClient.getLocation(request); @@ -1773,8 +1947,11 @@ public final Location getLocation(GetLocationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * ApiFuturefuture = datasetServiceClient.getLocationCallable().futureCall(request); @@ -1796,8 +1973,11 @@ public final UnaryCallable getLocationCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1827,8 +2007,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1856,8 +2039,11 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1885,8 +2071,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1917,8 +2106,11 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -1950,8 +2142,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java index d24353a30..0d1d1b6d3 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java @@ -68,17 +68,17 @@ *For example, to set the total timeout of getDataset to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DatasetServiceSettings.Builder datasetServiceSettingsBuilder = * DatasetServiceSettings.newBuilder(); * datasetServiceSettingsBuilder * .getDatasetSettings() * .setRetrySettings( - * datasetServiceSettingsBuilder - * .getDatasetSettings() - * .getRetrySettings() - * .toBuilder() + * datasetServiceSettingsBuilder.getDatasetSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * DatasetServiceSettings datasetServiceSettings = datasetServiceSettingsBuilder.build(); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java index 28ba86eed..e6d5e0591 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java @@ -56,8 +56,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]"); * Endpoint response = endpointServiceClient.getEndpoint(name); @@ -94,8 +97,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * EndpointServiceSettings endpointServiceSettings = * EndpointServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -107,8 +113,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * EndpointServiceSettings endpointServiceSettings = * EndpointServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * EndpointServiceClient endpointServiceClient = @@ -185,8 +194,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Endpoint endpoint = Endpoint.newBuilder().build(); @@ -216,8 +228,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Endpoint endpoint = Endpoint.newBuilder().build(); @@ -244,8 +259,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Endpoint endpoint = Endpoint.newBuilder().build(); @@ -285,8 +303,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Endpoint endpoint = Endpoint.newBuilder().build(); @@ -326,8 +347,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * CreateEndpointRequest request = * CreateEndpointRequest.newBuilder() @@ -354,8 +378,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * CreateEndpointRequest request = * CreateEndpointRequest.newBuilder() @@ -382,8 +409,11 @@ public final OperationFuturecreateEn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * CreateEndpointRequest request = * CreateEndpointRequest.newBuilder() @@ -409,8 +439,11 @@ public final UnaryCallablecreateEndpointCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]"); * Endpoint response = endpointServiceClient.getEndpoint(name); @@ -434,8 +467,11 @@ public final Endpoint getEndpoint(EndpointName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString(); * Endpoint response = endpointServiceClient.getEndpoint(name); @@ -458,8 +494,11 @@ public final Endpoint getEndpoint(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetEndpointRequest request = * GetEndpointRequest.newBuilder() @@ -483,8 +522,11 @@ public final Endpoint getEndpoint(GetEndpointRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetEndpointRequest request = * GetEndpointRequest.newBuilder() @@ -507,8 +549,11 @@ public final UnaryCallablegetEndpointCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (Endpoint element : endpointServiceClient.listEndpoints(parent).iterateAll()) { @@ -536,8 +581,11 @@ public final ListEndpointsPagedResponse listEndpoints(LocationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (Endpoint element : endpointServiceClient.listEndpoints(parent).iterateAll()) { @@ -562,8 +610,11 @@ public final ListEndpointsPagedResponse listEndpoints(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListEndpointsRequest request = * ListEndpointsRequest.newBuilder() @@ -594,8 +645,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListEndpointsRequest request = * ListEndpointsRequest.newBuilder() @@ -627,8 +681,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListEndpointsRequest request = * ListEndpointsRequest.newBuilder() @@ -666,8 +723,11 @@ public final UnaryCallablelistEndp * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * Endpoint endpoint = Endpoint.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -693,8 +753,11 @@ public final Endpoint updateEndpoint(Endpoint endpoint, FieldMask updateMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * UpdateEndpointRequest request = * UpdateEndpointRequest.newBuilder() @@ -719,8 +782,11 @@ public final Endpoint updateEndpoint(UpdateEndpointRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * UpdateEndpointRequest request = * UpdateEndpointRequest.newBuilder() @@ -745,8 +811,11 @@ public final UnaryCallableupdateEndpointCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]"); * endpointServiceClient.deleteEndpointAsync(name).get(); @@ -771,8 +840,11 @@ public final OperationFuturedeleteEndpointAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString(); * endpointServiceClient.deleteEndpointAsync(name).get(); @@ -795,8 +867,11 @@ public final OperationFuturedeleteEndpointAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeleteEndpointRequest request = * DeleteEndpointRequest.newBuilder() @@ -821,8 +896,11 @@ public final OperationFuturedeleteEndpointAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeleteEndpointRequest request = * DeleteEndpointRequest.newBuilder() @@ -847,8 +925,11 @@ public final OperationFuturedeleteEndpointAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeleteEndpointRequest request = * DeleteEndpointRequest.newBuilder() @@ -872,8 +953,11 @@ public final UnaryCallabledeleteEndpointCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]"); * DeployedModel deployedModel = DeployedModel.newBuilder().build(); @@ -918,8 +1002,11 @@ public final OperationFuture* Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString(); * DeployedModel deployedModel = DeployedModel.newBuilder().build(); @@ -964,8 +1051,11 @@ public final OperationFuture* Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeployModelRequest request = * DeployModelRequest.newBuilder() @@ -992,8 +1082,11 @@ public final OperationFuture* Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeployModelRequest request = * DeployModelRequest.newBuilder() @@ -1021,8 +1114,11 @@ public final OperationFuture* Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * DeployModelRequest request = * DeployModelRequest.newBuilder() @@ -1048,8 +1144,11 @@ public final UnaryCallabledeployModelCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]"); * String deployedModelId = "deployedModelId-1817547906"; @@ -1091,8 +1190,11 @@ public final UnaryCallabledeployModelCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString(); * String deployedModelId = "deployedModelId-1817547906"; @@ -1134,8 +1236,11 @@ public final UnaryCallabledeployModelCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * UndeployModelRequest request = * UndeployModelRequest.newBuilder() @@ -1163,8 +1268,11 @@ public final UnaryCallabledeployModelCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * UndeployModelRequest request = * UndeployModelRequest.newBuilder() @@ -1193,8 +1301,11 @@ public final UnaryCallabledeployModelCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * UndeployModelRequest request = * UndeployModelRequest.newBuilder() @@ -1220,8 +1331,11 @@ public final UnaryCallableundeployModelCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1250,8 +1364,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1281,8 +1398,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1318,8 +1438,11 @@ public final UnaryCallablelistLoca * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * Location response = endpointServiceClient.getLocation(request); @@ -1340,8 +1463,11 @@ public final Location getLocation(GetLocationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * ApiFuturefuture = endpointServiceClient.getLocationCallable().futureCall(request); @@ -1363,8 +1489,11 @@ public final UnaryCallable getLocationCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1394,8 +1523,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1423,8 +1555,11 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1452,8 +1587,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1484,8 +1622,11 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -1517,8 +1658,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java index 3862dc143..f1d6f87e1 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java @@ -65,17 +65,17 @@ *For example, to set the total timeout of getEndpoint to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * EndpointServiceSettings.Builder endpointServiceSettingsBuilder = * EndpointServiceSettings.newBuilder(); * endpointServiceSettingsBuilder * .getEndpointSettings() * .setRetrySettings( - * endpointServiceSettingsBuilder - * .getEndpointSettings() - * .getRetrySettings() - * .toBuilder() + * endpointServiceSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * EndpointServiceSettings endpointServiceSettings = endpointServiceSettingsBuilder.build(); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java index 2084dcd03..e83729b4c 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java @@ -50,8 +50,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * EntityTypeName entityType = @@ -91,8 +94,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FeaturestoreOnlineServingServiceSettings featurestoreOnlineServingServiceSettings = * FeaturestoreOnlineServingServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -104,8 +110,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FeaturestoreOnlineServingServiceSettings featurestoreOnlineServingServiceSettings = * FeaturestoreOnlineServingServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = @@ -177,8 +186,11 @@ public FeaturestoreOnlineServingServiceStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * EntityTypeName entityType = @@ -211,8 +223,11 @@ public final ReadFeatureValuesResponse readFeatureValues(EntityTypeName entityTy *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * String entityType = @@ -244,8 +259,11 @@ public final ReadFeatureValuesResponse readFeatureValues(String entityType) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * ReadFeatureValuesRequest request = @@ -276,8 +294,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * ReadFeatureValuesRequest request = @@ -308,8 +329,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * StreamingReadFeatureValuesRequest request = @@ -340,8 +364,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * ListLocationsRequest request = @@ -372,8 +399,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * ListLocationsRequest request = @@ -404,8 +434,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * ListLocationsRequest request = @@ -442,8 +475,11 @@ public final UnaryCallablelistLoca * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); @@ -465,8 +501,11 @@ public final Location getLocation(GetLocationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); @@ -490,8 +529,11 @@ public final UnaryCallablegetLocationCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * SetIamPolicyRequest request = @@ -522,8 +564,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * SetIamPolicyRequest request = @@ -553,8 +598,11 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * GetIamPolicyRequest request = @@ -583,8 +631,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * GetIamPolicyRequest request = @@ -617,8 +668,11 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * TestIamPermissionsRequest request = @@ -652,8 +706,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = * FeaturestoreOnlineServingServiceClient.create()) { * TestIamPermissionsRequest request = diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceSettings.java index 5b481fb4d..200e75739 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceSettings.java @@ -62,8 +62,11 @@ *For example, to set the total timeout of readFeatureValues to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FeaturestoreOnlineServingServiceSettings.Builder * featurestoreOnlineServingServiceSettingsBuilder = * FeaturestoreOnlineServingServiceSettings.newBuilder(); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java index d542ddc6c..6b8ae9970 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java @@ -55,8 +55,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * Featurestore response = featurestoreServiceClient.getFeaturestore(name); @@ -93,8 +96,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FeaturestoreServiceSettings featurestoreServiceSettings = * FeaturestoreServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -106,8 +112,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FeaturestoreServiceSettings featurestoreServiceSettings = * FeaturestoreServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * FeaturestoreServiceClient featurestoreServiceClient = @@ -184,8 +193,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Featurestore featurestore = Featurestore.newBuilder().build(); @@ -216,8 +228,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Featurestore featurestore = Featurestore.newBuilder().build(); @@ -248,8 +263,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Featurestore featurestore = Featurestore.newBuilder().build(); @@ -290,8 +308,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Featurestore featurestore = Featurestore.newBuilder().build(); @@ -331,8 +352,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateFeaturestoreRequest request = * CreateFeaturestoreRequest.newBuilder() @@ -359,8 +383,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateFeaturestoreRequest request = * CreateFeaturestoreRequest.newBuilder() @@ -388,8 +415,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateFeaturestoreRequest request = * CreateFeaturestoreRequest.newBuilder() @@ -415,8 +445,11 @@ public final UnaryCallablecreateFeaturest * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * Featurestore response = featurestoreServiceClient.getFeaturestore(name); @@ -439,8 +472,11 @@ public final Featurestore getFeaturestore(FeaturestoreName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString(); * Featurestore response = featurestoreServiceClient.getFeaturestore(name); @@ -462,8 +498,11 @@ public final Featurestore getFeaturestore(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * GetFeaturestoreRequest request = * GetFeaturestoreRequest.newBuilder() @@ -487,8 +526,11 @@ public final Featurestore getFeaturestore(GetFeaturestoreRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * GetFeaturestoreRequest request = * GetFeaturestoreRequest.newBuilder() @@ -512,8 +554,11 @@ public final UnaryCallablegetFeaturestore * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (Featurestore element : @@ -542,8 +587,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(LocationName paren *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (Featurestore element : @@ -570,8 +618,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * ListFeaturestoresRequest request = * ListFeaturestoresRequest.newBuilder() @@ -603,8 +654,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * ListFeaturestoresRequest request = * ListFeaturestoresRequest.newBuilder() @@ -636,8 +690,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * ListFeaturestoresRequest request = * ListFeaturestoresRequest.newBuilder() @@ -676,8 +733,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * Featurestore featurestore = Featurestore.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -716,8 +776,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * UpdateFeaturestoreRequest request = * UpdateFeaturestoreRequest.newBuilder() @@ -743,8 +806,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * UpdateFeaturestoreRequest request = * UpdateFeaturestoreRequest.newBuilder() @@ -771,8 +837,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * UpdateFeaturestoreRequest request = * UpdateFeaturestoreRequest.newBuilder() @@ -798,8 +867,11 @@ public final UnaryCallableupdateFeaturest * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * featurestoreServiceClient.deleteFeaturestoreAsync(name).get(); @@ -827,8 +899,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString(); * featurestoreServiceClient.deleteFeaturestoreAsync(name).get(); @@ -854,8 +929,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * boolean force = true; @@ -887,8 +965,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString(); * boolean force = true; @@ -917,8 +998,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * DeleteFeaturestoreRequest request = * DeleteFeaturestoreRequest.newBuilder() @@ -945,8 +1029,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * DeleteFeaturestoreRequest request = * DeleteFeaturestoreRequest.newBuilder() @@ -973,8 +1060,11 @@ public final OperationFuturedeleteFeaturestoreA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * DeleteFeaturestoreRequest request = * DeleteFeaturestoreRequest.newBuilder() @@ -999,8 +1089,11 @@ public final UnaryCallabledeleteFeaturest * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * EntityType entityType = EntityType.newBuilder().build(); @@ -1031,8 +1124,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString(); * EntityType entityType = EntityType.newBuilder().build(); @@ -1060,8 +1156,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"); * EntityType entityType = EntityType.newBuilder().build(); @@ -1099,8 +1198,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString(); * EntityType entityType = EntityType.newBuilder().build(); @@ -1138,8 +1240,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateEntityTypeRequest request = * CreateEntityTypeRequest.newBuilder() @@ -1167,8 +1272,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateEntityTypeRequest request = * CreateEntityTypeRequest.newBuilder() @@ -1197,8 +1305,11 @@ public final OperationFuturecrea * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) { * CreateEntityTypeRequest request = * CreateEntityTypeRequest.newBuilder() @@ -1225,8 +1336,11 @@ public final UnaryCallablecreateEntityTypeC *