diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java index ab59dafeec61..0823ea0c2932 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java @@ -135,10 +135,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ReservationServiceSettings reservationServiceSettings = - * ReservationServiceSettings.newBuilder() - * .setTransportChannelProvider( - * ReservationServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * ReservationServiceSettings.newHttpJsonBuilder().build(); * ReservationServiceClient reservationServiceClient = * ReservationServiceClient.create(reservationServiceSettings); * }