Skip to content

Commit

Permalink
fix(deps): [Many APIs] Update the Java code generator (gapic-generato…
Browse files Browse the repository at this point in the history
…r-java) to 2.32.0 (#10249)

* fix(deps): Update the Java code generator (gapic-generator-java) to 2.32.0

PiperOrigin-RevId: 599914188

Source-Link: googleapis/googleapis@17e6661

Source-Link: googleapis/googleapis-gen@d86ba5b
Copy-Tag: eyJwIjoiamF2YS1iYXJlLW1ldGFsLXNvbHV0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1iZXlvbmRjb3JwLWFwcGNvbm5lY3Rpb25zLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1iZXlvbmRjb3JwLWFwcGNvbm5lY3RvcnMvLk93bEJvdC55YW1sIiwiaCI6ImQ4NmJhNWJlNTM3ZTQ4OTQzNTEwNWNhODU1NjZjYzQxMDMzMDFhYmEifQ==
Copy-Tag: eyJwIjoiamF2YS1iZXlvbmRjb3JwLWFwcGdhdGV3YXlzLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1iZXlvbmRjb3JwLWNsaWVudGNvbm5lY3RvcnNlcnZpY2VzLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1iZXlvbmRjb3JwLWNsaWVud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aW5nLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1iaWxsaW5nYnVkZ2V0cy8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1iaW5hcnktYXV0aG9yaXphdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1jZXJ0aWZpY2F0ZS1tYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1jaGFubmVsLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=
Copy-Tag: eyJwIjoiamF2YS1jbG91ZGJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN2U0ODk0MzUxMDVjYTg1NTY2Y2M0MTAzMzAxYWJhIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jan 22, 2024
1 parent daff511 commit 6bb0888
Show file tree
Hide file tree
Showing 86 changed files with 2,641 additions and 2,057 deletions.
2 changes: 1 addition & 1 deletion java-bare-metal-solution/README.md
Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.32.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.33.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -1229,6 +1229,15 @@ public BareMetalSolutionStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

/** Returns the default service name. */
@Override
public String getServiceName() {
Expand Down Expand Up @@ -1802,7 +1811,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand All @@ -1815,7 +1823,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand Down Expand Up @@ -2859,6 +2866,15 @@ public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettin
return getLocationSettings;
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

@Override
public BareMetalSolutionStubSettings build() throws IOException {
return new BareMetalSolutionStubSettings(this);
Expand Down
Expand Up @@ -68,155 +68,156 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* <table>
* <caption>Methods</caption>
* <tr>
* <th>Method</th>
* <th>Description</th>
* <th>Method Variants</th>
* </tr>
* <tr>
* <td>CreateJob</td>
* <td><p> CreateJob</td>
* <td><p> Create a Job.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>createJob(CreateJobRequest request)
* <li><p> createJob(CreateJobRequest request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>createJob(LocationName parent, Job job, String jobId)
* <li>createJob(String parent, Job job, String jobId)
* <li><p> createJob(LocationName parent, Job job, String jobId)
* <li><p> createJob(String parent, Job job, String jobId)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>createJobCallable()
* <li><p> createJobCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetJob</td>
* <td><p> GetJob</td>
* <td><p> Get a Job specified by its resource name.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getJob(GetJobRequest request)
* <li><p> getJob(GetJobRequest request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>getJob(JobName name)
* <li>getJob(String name)
* <li><p> getJob(JobName name)
* <li><p> getJob(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getJobCallable()
* <li><p> getJobCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>DeleteJob</td>
* <td><p> DeleteJob</td>
* <td><p> Delete a Job.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>deleteJobAsync(DeleteJobRequest request)
* <li><p> deleteJobAsync(DeleteJobRequest request)
* </ul>
* <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
* <ul>
* <li>deleteJobAsync(String name)
* <li><p> deleteJobAsync(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>deleteJobOperationCallable()
* <li>deleteJobCallable()
* <li><p> deleteJobOperationCallable()
* <li><p> deleteJobCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListJobs</td>
* <td><p> ListJobs</td>
* <td><p> List all Jobs for a project within a region.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listJobs(ListJobsRequest request)
* <li><p> listJobs(ListJobsRequest request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>listJobs(String parent)
* <li><p> listJobs(String parent)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>listJobsPagedCallable()
* <li>listJobsCallable()
* <li><p> listJobsPagedCallable()
* <li><p> listJobsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetTask</td>
* <td><p> GetTask</td>
* <td><p> Return a single Task.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getTask(GetTaskRequest request)
* <li><p> getTask(GetTaskRequest request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>getTask(TaskName name)
* <li>getTask(String name)
* <li><p> getTask(TaskName name)
* <li><p> getTask(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getTaskCallable()
* <li><p> getTaskCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListTasks</td>
* <td><p> ListTasks</td>
* <td><p> List Tasks associated with a job.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listTasks(ListTasksRequest request)
* <li><p> listTasks(ListTasksRequest request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>listTasks(TaskGroupName parent)
* <li>listTasks(String parent)
* <li><p> listTasks(TaskGroupName parent)
* <li><p> listTasks(String parent)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>listTasksPagedCallable()
* <li>listTasksCallable()
* <li><p> listTasksPagedCallable()
* <li><p> listTasksCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListLocations</td>
* <td><p> ListLocations</td>
* <td><p> Lists information about the supported locations for this service.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listLocations(ListLocationsRequest request)
* <li><p> listLocations(ListLocationsRequest request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>listLocationsPagedCallable()
* <li>listLocationsCallable()
* <li><p> listLocationsPagedCallable()
* <li><p> listLocationsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetLocation</td>
* <td><p> GetLocation</td>
* <td><p> Gets information about a location.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getLocation(GetLocationRequest request)
* <li><p> getLocation(GetLocationRequest request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getLocationCallable()
* <li><p> getLocationCallable()
* </ul>
* </td>
* </tr>
* </tr>
* </table>
*
* <p>See the individual methods for example code.
Expand Down
Expand Up @@ -356,6 +356,15 @@ public BatchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

/** Returns the default service name. */
@Override
public String getServiceName() {
Expand Down Expand Up @@ -587,7 +596,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand All @@ -600,7 +608,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand Down Expand Up @@ -741,6 +748,15 @@ public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettin
return getLocationSettings;
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

@Override
public BatchServiceStubSettings build() throws IOException {
return new BatchServiceStubSettings(this);
Expand Down

0 comments on commit 6bb0888

Please sign in to comment.