Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions java-dataproc-metastore/README.md
Original file line number Diff line number Diff line change
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.7.0</version>
<version>2.8.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.7.0'
implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.8.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.7.0"
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.8.0"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,53 @@ public UnaryCallSettings<DeleteBackupRequest, Operation> deleteBackupSettings()
return ((DataprocMetastoreStubSettings) getStubSettings()).deleteBackupOperationSettings();
}

/** Returns the object with the settings used for calls to removeIamPolicy. */
public UnaryCallSettings<RemoveIamPolicyRequest, RemoveIamPolicyResponse>
removeIamPolicySettings() {
return ((DataprocMetastoreStubSettings) getStubSettings()).removeIamPolicySettings();
}

/** Returns the object with the settings used for calls to queryMetadata. */
public UnaryCallSettings<QueryMetadataRequest, Operation> queryMetadataSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings()).queryMetadataSettings();
}

/** Returns the object with the settings used for calls to queryMetadata. */
public OperationCallSettings<QueryMetadataRequest, QueryMetadataResponse, OperationMetadata>
queryMetadataOperationSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings()).queryMetadataOperationSettings();
}

/** Returns the object with the settings used for calls to moveTableToDatabase. */
public UnaryCallSettings<MoveTableToDatabaseRequest, Operation> moveTableToDatabaseSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings()).moveTableToDatabaseSettings();
}

/** Returns the object with the settings used for calls to moveTableToDatabase. */
public OperationCallSettings<
MoveTableToDatabaseRequest, MoveTableToDatabaseResponse, OperationMetadata>
moveTableToDatabaseOperationSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings())
.moveTableToDatabaseOperationSettings();
}

/** Returns the object with the settings used for calls to alterMetadataResourceLocation. */
public UnaryCallSettings<AlterMetadataResourceLocationRequest, Operation>
alterMetadataResourceLocationSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings())
.alterMetadataResourceLocationSettings();
}

/** Returns the object with the settings used for calls to alterMetadataResourceLocation. */
public OperationCallSettings<
AlterMetadataResourceLocationRequest,
AlterMetadataResourceLocationResponse,
OperationMetadata>
alterMetadataResourceLocationOperationSettings() {
return ((DataprocMetastoreStubSettings) getStubSettings())
.alterMetadataResourceLocationOperationSettings();
}

public static final DataprocMetastoreSettings create(DataprocMetastoreStubSettings stub)
throws IOException {
return new DataprocMetastoreSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -470,6 +517,52 @@ public UnaryCallSettings.Builder<DeleteBackupRequest, Operation> deleteBackupSet
return getStubSettingsBuilder().deleteBackupOperationSettings();
}

/** Returns the builder for the settings used for calls to removeIamPolicy. */
public UnaryCallSettings.Builder<RemoveIamPolicyRequest, RemoveIamPolicyResponse>
removeIamPolicySettings() {
return getStubSettingsBuilder().removeIamPolicySettings();
}

/** Returns the builder for the settings used for calls to queryMetadata. */
public UnaryCallSettings.Builder<QueryMetadataRequest, Operation> queryMetadataSettings() {
return getStubSettingsBuilder().queryMetadataSettings();
}

/** Returns the builder for the settings used for calls to queryMetadata. */
public OperationCallSettings.Builder<
QueryMetadataRequest, QueryMetadataResponse, OperationMetadata>
queryMetadataOperationSettings() {
return getStubSettingsBuilder().queryMetadataOperationSettings();
}

/** Returns the builder for the settings used for calls to moveTableToDatabase. */
public UnaryCallSettings.Builder<MoveTableToDatabaseRequest, Operation>
moveTableToDatabaseSettings() {
return getStubSettingsBuilder().moveTableToDatabaseSettings();
}

/** Returns the builder for the settings used for calls to moveTableToDatabase. */
public OperationCallSettings.Builder<
MoveTableToDatabaseRequest, MoveTableToDatabaseResponse, OperationMetadata>
moveTableToDatabaseOperationSettings() {
return getStubSettingsBuilder().moveTableToDatabaseOperationSettings();
}

/** Returns the builder for the settings used for calls to alterMetadataResourceLocation. */
public UnaryCallSettings.Builder<AlterMetadataResourceLocationRequest, Operation>
alterMetadataResourceLocationSettings() {
return getStubSettingsBuilder().alterMetadataResourceLocationSettings();
}

/** Returns the builder for the settings used for calls to alterMetadataResourceLocation. */
public OperationCallSettings.Builder<
AlterMetadataResourceLocationRequest,
AlterMetadataResourceLocationResponse,
OperationMetadata>
alterMetadataResourceLocationOperationSettings() {
return getStubSettingsBuilder().alterMetadataResourceLocationOperationSettings();
}

@Override
public DataprocMetastoreSettings build() throws IOException {
return new DataprocMetastoreSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"grpc": {
"libraryClient": "DataprocMetastoreClient",
"rpcs": {
"AlterMetadataResourceLocation": {
"methods": ["alterMetadataResourceLocationAsync", "alterMetadataResourceLocationOperationCallable", "alterMetadataResourceLocationCallable"]
},
"CreateBackup": {
"methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"]
},
Expand Down Expand Up @@ -46,6 +49,15 @@
"ListServices": {
"methods": ["listServices", "listServices", "listServices", "listServicesPagedCallable", "listServicesCallable"]
},
"MoveTableToDatabase": {
"methods": ["moveTableToDatabaseAsync", "moveTableToDatabaseOperationCallable", "moveTableToDatabaseCallable"]
},
"QueryMetadata": {
"methods": ["queryMetadataAsync", "queryMetadataOperationCallable", "queryMetadataCallable"]
},
"RemoveIamPolicy": {
"methods": ["removeIamPolicy", "removeIamPolicyCallable"]
},
"RestoreService": {
"methods": ["restoreServiceAsync", "restoreServiceAsync", "restoreServiceAsync", "restoreServiceAsync", "restoreServiceAsync", "restoreServiceOperationCallable", "restoreServiceCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.metastore.v1alpha.AlterMetadataResourceLocationRequest;
import com.google.cloud.metastore.v1alpha.AlterMetadataResourceLocationResponse;
import com.google.cloud.metastore.v1alpha.Backup;
import com.google.cloud.metastore.v1alpha.CreateBackupRequest;
import com.google.cloud.metastore.v1alpha.CreateMetadataImportRequest;
Expand All @@ -42,7 +44,13 @@
import com.google.cloud.metastore.v1alpha.ListServicesResponse;
import com.google.cloud.metastore.v1alpha.MetadataExport;
import com.google.cloud.metastore.v1alpha.MetadataImport;
import com.google.cloud.metastore.v1alpha.MoveTableToDatabaseRequest;
import com.google.cloud.metastore.v1alpha.MoveTableToDatabaseResponse;
import com.google.cloud.metastore.v1alpha.OperationMetadata;
import com.google.cloud.metastore.v1alpha.QueryMetadataRequest;
import com.google.cloud.metastore.v1alpha.QueryMetadataResponse;
import com.google.cloud.metastore.v1alpha.RemoveIamPolicyRequest;
import com.google.cloud.metastore.v1alpha.RemoveIamPolicyResponse;
import com.google.cloud.metastore.v1alpha.Restore;
import com.google.cloud.metastore.v1alpha.RestoreServiceRequest;
import com.google.cloud.metastore.v1alpha.Service;
Expand Down Expand Up @@ -192,6 +200,45 @@ public UnaryCallable<DeleteBackupRequest, Operation> deleteBackupCallable() {
throw new UnsupportedOperationException("Not implemented: deleteBackupCallable()");
}

public UnaryCallable<RemoveIamPolicyRequest, RemoveIamPolicyResponse> removeIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: removeIamPolicyCallable()");
}

public OperationCallable<QueryMetadataRequest, QueryMetadataResponse, OperationMetadata>
queryMetadataOperationCallable() {
throw new UnsupportedOperationException("Not implemented: queryMetadataOperationCallable()");
}

public UnaryCallable<QueryMetadataRequest, Operation> queryMetadataCallable() {
throw new UnsupportedOperationException("Not implemented: queryMetadataCallable()");
}

public OperationCallable<
MoveTableToDatabaseRequest, MoveTableToDatabaseResponse, OperationMetadata>
moveTableToDatabaseOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: moveTableToDatabaseOperationCallable()");
}

public UnaryCallable<MoveTableToDatabaseRequest, Operation> moveTableToDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: moveTableToDatabaseCallable()");
}

public OperationCallable<
AlterMetadataResourceLocationRequest,
AlterMetadataResourceLocationResponse,
OperationMetadata>
alterMetadataResourceLocationOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: alterMetadataResourceLocationOperationCallable()");
}

public UnaryCallable<AlterMetadataResourceLocationRequest, Operation>
alterMetadataResourceLocationCallable() {
throw new UnsupportedOperationException(
"Not implemented: alterMetadataResourceLocationCallable()");
}

@Override
public abstract void close();
}
Loading