Skip to content

Commit

Permalink
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
Browse files Browse the repository at this point in the history
….32.0 (#1511)

* 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: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9

* 🦉 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 25, 2024
1 parent 9ef4d90 commit e2f574c
Show file tree
Hide file tree
Showing 162 changed files with 426 additions and 375 deletions.

Large diffs are not rendered by default.

Expand Up @@ -77,114 +77,114 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* <table>
* <caption>Methods</caption>
* <caption>Methods</caption>
* <tr>
* <th>Method</th>
* <th>Description</th>
* <th>Method Variants</th>
* </tr>
* <tr>
* <td>DeleteLog</td>
* <td><p> DeleteLog</td>
* <td><p> Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>deleteLog(DeleteLogRequest request)
* <li><p> deleteLog(DeleteLogRequest 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>deleteLog(LogName logName)
* <li>deleteLog(String logName)
* <li><p> deleteLog(LogName logName)
* <li><p> deleteLog(String logName)
* </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>deleteLogCallable()
* <li><p> deleteLogCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>WriteLogEntries</td>
* <td><p> WriteLogEntries</td>
* <td><p> Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resources (projects, organizations, billing accounts or folders)</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>writeLogEntries(WriteLogEntriesRequest request)
* <li><p> writeLogEntries(WriteLogEntriesRequest 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>writeLogEntries(LogName logName, MonitoredResource resource, Map&lt;String, String&gt; labels, List&lt;LogEntry&gt; entries)
* <li>writeLogEntries(String logName, MonitoredResource resource, Map&lt;String, String&gt; labels, List&lt;LogEntry&gt; entries)
* <li><p> writeLogEntries(LogName logName, MonitoredResource resource, Map&lt;String, String&gt; labels, List&lt;LogEntry&gt; entries)
* <li><p> writeLogEntries(String logName, MonitoredResource resource, Map&lt;String, String&gt; labels, List&lt;LogEntry&gt; entries)
* </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>writeLogEntriesCallable()
* <li><p> writeLogEntriesCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListLogEntries</td>
* <td><p> ListLogEntries</td>
* <td><p> Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listLogEntries(ListLogEntriesRequest request)
* <li><p> listLogEntries(ListLogEntriesRequest 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>listLogEntries(List&lt;String&gt; resourceNames, String filter, String orderBy)
* <li><p> listLogEntries(List&lt;String&gt; resourceNames, String filter, String orderBy)
* </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>listLogEntriesPagedCallable()
* <li>listLogEntriesCallable()
* <li><p> listLogEntriesPagedCallable()
* <li><p> listLogEntriesCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListMonitoredResourceDescriptors</td>
* <td><p> ListMonitoredResourceDescriptors</td>
* <td><p> Lists the descriptors for monitored resource types used by Logging.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
* <li><p> listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest 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>listMonitoredResourceDescriptorsPagedCallable()
* <li>listMonitoredResourceDescriptorsCallable()
* <li><p> listMonitoredResourceDescriptorsPagedCallable()
* <li><p> listMonitoredResourceDescriptorsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ListLogs</td>
* <td><p> ListLogs</td>
* <td><p> Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listLogs(ListLogsRequest request)
* <li><p> listLogs(ListLogsRequest 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>listLogs(BillingAccountName parent)
* <li>listLogs(FolderName parent)
* <li>listLogs(OrganizationName parent)
* <li>listLogs(ProjectName parent)
* <li>listLogs(String parent)
* <li><p> listLogs(BillingAccountName parent)
* <li><p> listLogs(FolderName parent)
* <li><p> listLogs(OrganizationName parent)
* <li><p> listLogs(ProjectName parent)
* <li><p> listLogs(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>listLogsPagedCallable()
* <li>listLogsCallable()
* <li><p> listLogsPagedCallable()
* <li><p> listLogsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>TailLogEntries</td>
* <td><p> TailLogEntries</td>
* <td><p> Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.</td>
* <td>
* <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>tailLogEntriesCallable()
* <li><p> tailLogEntriesCallable()
* </ul>
* </td>
* </tr>
Expand Down
Expand Up @@ -65,105 +65,105 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* <table>
* <caption>Methods</caption>
* <caption>Methods</caption>
* <tr>
* <th>Method</th>
* <th>Description</th>
* <th>Method Variants</th>
* </tr>
* <tr>
* <td>ListLogMetrics</td>
* <td><p> ListLogMetrics</td>
* <td><p> Lists logs-based metrics.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listLogMetrics(ListLogMetricsRequest request)
* <li><p> listLogMetrics(ListLogMetricsRequest 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>listLogMetrics(ProjectName parent)
* <li>listLogMetrics(String parent)
* <li><p> listLogMetrics(ProjectName parent)
* <li><p> listLogMetrics(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>listLogMetricsPagedCallable()
* <li>listLogMetricsCallable()
* <li><p> listLogMetricsPagedCallable()
* <li><p> listLogMetricsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetLogMetric</td>
* <td><p> GetLogMetric</td>
* <td><p> Gets a logs-based metric.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getLogMetric(GetLogMetricRequest request)
* <li><p> getLogMetric(GetLogMetricRequest 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>getLogMetric(LogMetricName metricName)
* <li>getLogMetric(String metricName)
* <li><p> getLogMetric(LogMetricName metricName)
* <li><p> getLogMetric(String metricName)
* </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>getLogMetricCallable()
* <li><p> getLogMetricCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>CreateLogMetric</td>
* <td><p> CreateLogMetric</td>
* <td><p> Creates a logs-based metric.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>createLogMetric(CreateLogMetricRequest request)
* <li><p> createLogMetric(CreateLogMetricRequest 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>createLogMetric(ProjectName parent, LogMetric metric)
* <li>createLogMetric(String parent, LogMetric metric)
* <li><p> createLogMetric(ProjectName parent, LogMetric metric)
* <li><p> createLogMetric(String parent, LogMetric metric)
* </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>createLogMetricCallable()
* <li><p> createLogMetricCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>UpdateLogMetric</td>
* <td><p> UpdateLogMetric</td>
* <td><p> Creates or updates a logs-based metric.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>updateLogMetric(UpdateLogMetricRequest request)
* <li><p> updateLogMetric(UpdateLogMetricRequest 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>updateLogMetric(LogMetricName metricName, LogMetric metric)
* <li>updateLogMetric(String metricName, LogMetric metric)
* <li><p> updateLogMetric(LogMetricName metricName, LogMetric metric)
* <li><p> updateLogMetric(String metricName, LogMetric metric)
* </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>updateLogMetricCallable()
* <li><p> updateLogMetricCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>DeleteLogMetric</td>
* <td><p> DeleteLogMetric</td>
* <td><p> Deletes a logs-based metric.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>deleteLogMetric(DeleteLogMetricRequest request)
* <li><p> deleteLogMetric(DeleteLogMetricRequest 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>deleteLogMetric(LogMetricName metricName)
* <li>deleteLogMetric(String metricName)
* <li><p> deleteLogMetric(LogMetricName metricName)
* <li><p> deleteLogMetric(String metricName)
* </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>deleteLogMetricCallable()
* <li><p> deleteLogMetricCallable()
* </ul>
* </td>
* </tr>
Expand Down
Expand Up @@ -679,6 +679,15 @@ public ConfigServiceV2Stub 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 @@ -1066,7 +1075,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 Down Expand Up @@ -1581,6 +1589,15 @@ public UnaryCallSettings.Builder<CopyLogEntriesRequest, Operation> copyLogEntrie
return copyLogEntriesOperationSettings;
}

/** 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 ConfigServiceV2StubSettings build() throws IOException {
return new ConfigServiceV2StubSettings(this);
Expand Down
Expand Up @@ -438,6 +438,15 @@ public LoggingServiceV2Stub 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 @@ -642,7 +651,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 Down Expand Up @@ -748,6 +756,15 @@ public UnaryCallSettings.Builder<DeleteLogRequest, Empty> deleteLogSettings() {
return tailLogEntriesSettings;
}

/** 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 LoggingServiceV2StubSettings build() throws IOException {
return new LoggingServiceV2StubSettings(this);
Expand Down
Expand Up @@ -206,6 +206,15 @@ public MetricsServiceV2Stub 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 @@ -387,7 +396,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 Down Expand Up @@ -465,6 +473,15 @@ public UnaryCallSettings.Builder<DeleteLogMetricRequest, Empty> deleteLogMetricS
return deleteLogMetricSettings;
}

/** 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 MetricsServiceV2StubSettings build() throws IOException {
return new MetricsServiceV2StubSettings(this);
Expand Down

0 comments on commit e2f574c

Please sign in to comment.