Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
🦉 Updates from OwlBot
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 16, 2021
1 parent 3618bcb commit 0aabc52
Show file tree
Hide file tree
Showing 272 changed files with 55,480 additions and 33,780 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dataproc-metastore</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies

```Groovy
compile 'com.google.cloud:google-cloud-dataproc-metastore:2.0.0'
compile 'com.google.cloud:google-cloud-dataproc-metastore:2.0.1'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.0.0"
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.0.1"
```

## Authentication
Expand Down
Expand Up @@ -50,11 +50,11 @@
* <p>The Dataproc Metastore API defines the following resource model:
*
* <ul>
* <li> The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;` (a
* location must refer to a Google Cloud `region`)
* <li> Each location has a collection of services, named: `/services/&#42;`
* <li> Dataproc Metastore services are resources with names of the form:
* <li>The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;` (a location
* must refer to a Google Cloud `region`)
* <li>Each location has a collection of services, named: `/services/&#42;`
* <li>Dataproc Metastore services are resources with names of the form:
* </ul>
*
* <p>`/projects/{project_number}/locations/{location_id}/services/{service_id}`.
Expand All @@ -77,13 +77,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -2167,7 +2167,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListServicesPagedResponse
extends AbstractPagedListResponse<
ListServicesRequest, ListServicesResponse, Service, ListServicesPage,
ListServicesRequest,
ListServicesResponse,
Service,
ListServicesPage,
ListServicesFixedSizeCollection> {

public static ApiFuture<ListServicesPagedResponse> createAsync(
Expand Down Expand Up @@ -2216,7 +2219,10 @@ public ApiFuture<ListServicesPage> createPageAsync(

public static class ListServicesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListServicesRequest, ListServicesResponse, Service, ListServicesPage,
ListServicesRequest,
ListServicesResponse,
Service,
ListServicesPage,
ListServicesFixedSizeCollection> {

private ListServicesFixedSizeCollection(List<ListServicesPage> pages, int collectionSize) {
Expand All @@ -2236,8 +2242,11 @@ protected ListServicesFixedSizeCollection createCollection(

public static class ListMetadataImportsPagedResponse
extends AbstractPagedListResponse<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsPage, ListMetadataImportsFixedSizeCollection> {
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage,
ListMetadataImportsFixedSizeCollection> {

public static ApiFuture<ListMetadataImportsPagedResponse> createAsync(
PageContext<ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport>
Expand All @@ -2258,7 +2267,9 @@ private ListMetadataImportsPagedResponse(ListMetadataImportsPage page) {

public static class ListMetadataImportsPage
extends AbstractPage<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage> {

private ListMetadataImportsPage(
Expand Down Expand Up @@ -2291,8 +2302,11 @@ public ApiFuture<ListMetadataImportsPage> createPageAsync(

public static class ListMetadataImportsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsPage, ListMetadataImportsFixedSizeCollection> {
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage,
ListMetadataImportsFixedSizeCollection> {

private ListMetadataImportsFixedSizeCollection(
List<ListMetadataImportsPage> pages, int collectionSize) {
Expand All @@ -2312,7 +2326,10 @@ protected ListMetadataImportsFixedSizeCollection createCollection(

public static class ListBackupsPagedResponse
extends AbstractPagedListResponse<
ListBackupsRequest, ListBackupsResponse, Backup, ListBackupsPage,
ListBackupsRequest,
ListBackupsResponse,
Backup,
ListBackupsPage,
ListBackupsFixedSizeCollection> {

public static ApiFuture<ListBackupsPagedResponse> createAsync(
Expand Down Expand Up @@ -2359,7 +2376,10 @@ public ApiFuture<ListBackupsPage> createPageAsync(

public static class ListBackupsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListBackupsRequest, ListBackupsResponse, Backup, ListBackupsPage,
ListBackupsRequest,
ListBackupsResponse,
Backup,
ListBackupsPage,
ListBackupsFixedSizeCollection> {

private ListBackupsFixedSizeCollection(List<ListBackupsPage> pages, int collectionSize) {
Expand Down
Expand Up @@ -30,7 +30,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.metastore.v1.stub.DataprocMetastoreStubSettings;
Expand All @@ -47,9 +46,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (metastore.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (metastore.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -354,7 +353,8 @@ public UnaryCallSettings.Builder<DeleteServiceRequest, Operation> deleteServiceS

/** Returns the builder for the settings used for calls to listMetadataImports. */
public PagedCallSettings.Builder<
ListMetadataImportsRequest, ListMetadataImportsResponse,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
ListMetadataImportsPagedResponse>
listMetadataImportsSettings() {
return getStubSettingsBuilder().listMetadataImportsSettings();
Expand Down
Expand Up @@ -28,11 +28,11 @@
* <p>The Dataproc Metastore API defines the following resource model:
*
* <ul>
* <li> The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;` (a
* location must refer to a Google Cloud `region`)
* <li> Each location has a collection of services, named: `/services/&#42;`
* <li> Dataproc Metastore services are resources with names of the form:
* <li>The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;` (a location
* must refer to a Google Cloud `region`)
* <li>Each location has a collection of services, named: `/services/&#42;`
* <li>Dataproc Metastore services are resources with names of the form:
* </ul>
*
* <p>`/projects/{project_number}/locations/{location_id}/services/{service_id}`.
Expand Down
Expand Up @@ -88,9 +88,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (metastore.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (metastore.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -297,7 +297,8 @@ public ApiFuture<ListServicesPagedResponse> getFuturePagedResponse(
ListMetadataImportsRequest, ListMetadataImportsResponse, ListMetadataImportsPagedResponse>
LIST_METADATA_IMPORTS_PAGE_STR_FACT =
new PagedListResponseFactory<
ListMetadataImportsRequest, ListMetadataImportsResponse,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
ListMetadataImportsPagedResponse>() {
@Override
public ApiFuture<ListMetadataImportsPagedResponse> getFuturePagedResponse(
Expand Down Expand Up @@ -582,7 +583,8 @@ public static class Builder extends StubSettings.Builder<DataprocMetastoreStubSe
private final OperationCallSettings.Builder<DeleteServiceRequest, Empty, OperationMetadata>
deleteServiceOperationSettings;
private final PagedCallSettings.Builder<
ListMetadataImportsRequest, ListMetadataImportsResponse,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
ListMetadataImportsPagedResponse>
listMetadataImportsSettings;
private final UnaryCallSettings.Builder<GetMetadataImportRequest, MetadataImport>
Expand Down Expand Up @@ -1135,7 +1137,8 @@ public UnaryCallSettings.Builder<DeleteServiceRequest, Operation> deleteServiceS

/** Returns the builder for the settings used for calls to listMetadataImports. */
public PagedCallSettings.Builder<
ListMetadataImportsRequest, ListMetadataImportsResponse,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
ListMetadataImportsPagedResponse>
listMetadataImportsSettings() {
return listMetadataImportsSettings;
Expand Down
Expand Up @@ -58,7 +58,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Expand Up @@ -50,11 +50,11 @@
* <p>The Dataproc Metastore API defines the following resource model:
*
* <ul>
* <li> The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;` (a
* location must refer to a Google Cloud `region`)
* <li> Each location has a collection of services, named: `/services/&#42;`
* <li> Dataproc Metastore services are resources with names of the form:
* <li>The service works with a collection of Google Cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;` (a location
* must refer to a Google Cloud `region`)
* <li>Each location has a collection of services, named: `/services/&#42;`
* <li>Dataproc Metastore services are resources with names of the form:
* </ul>
*
* <p>`/projects/{project_number}/locations/{location_id}/services/{service_id}`.
Expand All @@ -77,13 +77,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -2168,7 +2168,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListServicesPagedResponse
extends AbstractPagedListResponse<
ListServicesRequest, ListServicesResponse, Service, ListServicesPage,
ListServicesRequest,
ListServicesResponse,
Service,
ListServicesPage,
ListServicesFixedSizeCollection> {

public static ApiFuture<ListServicesPagedResponse> createAsync(
Expand Down Expand Up @@ -2217,7 +2220,10 @@ public ApiFuture<ListServicesPage> createPageAsync(

public static class ListServicesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListServicesRequest, ListServicesResponse, Service, ListServicesPage,
ListServicesRequest,
ListServicesResponse,
Service,
ListServicesPage,
ListServicesFixedSizeCollection> {

private ListServicesFixedSizeCollection(List<ListServicesPage> pages, int collectionSize) {
Expand All @@ -2237,8 +2243,11 @@ protected ListServicesFixedSizeCollection createCollection(

public static class ListMetadataImportsPagedResponse
extends AbstractPagedListResponse<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsPage, ListMetadataImportsFixedSizeCollection> {
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage,
ListMetadataImportsFixedSizeCollection> {

public static ApiFuture<ListMetadataImportsPagedResponse> createAsync(
PageContext<ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport>
Expand All @@ -2259,7 +2268,9 @@ private ListMetadataImportsPagedResponse(ListMetadataImportsPage page) {

public static class ListMetadataImportsPage
extends AbstractPage<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage> {

private ListMetadataImportsPage(
Expand Down Expand Up @@ -2292,8 +2303,11 @@ public ApiFuture<ListMetadataImportsPage> createPageAsync(

public static class ListMetadataImportsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListMetadataImportsRequest, ListMetadataImportsResponse, MetadataImport,
ListMetadataImportsPage, ListMetadataImportsFixedSizeCollection> {
ListMetadataImportsRequest,
ListMetadataImportsResponse,
MetadataImport,
ListMetadataImportsPage,
ListMetadataImportsFixedSizeCollection> {

private ListMetadataImportsFixedSizeCollection(
List<ListMetadataImportsPage> pages, int collectionSize) {
Expand All @@ -2313,7 +2327,10 @@ protected ListMetadataImportsFixedSizeCollection createCollection(

public static class ListBackupsPagedResponse
extends AbstractPagedListResponse<
ListBackupsRequest, ListBackupsResponse, Backup, ListBackupsPage,
ListBackupsRequest,
ListBackupsResponse,
Backup,
ListBackupsPage,
ListBackupsFixedSizeCollection> {

public static ApiFuture<ListBackupsPagedResponse> createAsync(
Expand Down Expand Up @@ -2360,7 +2377,10 @@ public ApiFuture<ListBackupsPage> createPageAsync(

public static class ListBackupsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListBackupsRequest, ListBackupsResponse, Backup, ListBackupsPage,
ListBackupsRequest,
ListBackupsResponse,
Backup,
ListBackupsPage,
ListBackupsFixedSizeCollection> {

private ListBackupsFixedSizeCollection(List<ListBackupsPage> pages, int collectionSize) {
Expand Down
Expand Up @@ -30,7 +30,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.metastore.v1alpha.stub.DataprocMetastoreStubSettings;
Expand All @@ -47,9 +46,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (metastore.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (metastore.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -355,7 +354,8 @@ public UnaryCallSettings.Builder<DeleteServiceRequest, Operation> deleteServiceS

/** Returns the builder for the settings used for calls to listMetadataImports. */
public PagedCallSettings.Builder<
ListMetadataImportsRequest, ListMetadataImportsResponse,
ListMetadataImportsRequest,
ListMetadataImportsResponse,
ListMetadataImportsPagedResponse>
listMetadataImportsSettings() {
return getStubSettingsBuilder().listMetadataImportsSettings();
Expand Down

0 comments on commit 0aabc52

Please sign in to comment.