Class HttpJsonDataprocMetastoreFederationStub
- java.lang.Object
-
- com.google.cloud.metastore.v1beta.stub.DataprocMetastoreFederationStub
-
- com.google.cloud.metastore.v1beta.stub.HttpJsonDataprocMetastoreFederationStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class HttpJsonDataprocMetastoreFederationStub extends DataprocMetastoreFederationStub
REST stub implementation for the DataprocMetastoreFederation service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonDataprocMetastoreFederationStub, using the given settings.protectedHttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonDataprocMetastoreFederationStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonDataprocMetastoreFederationStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonDataprocMetastoreFederationStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonDataprocMetastoreFederationStubcreate(DataprocMetastoreFederationStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateFederationRequest,com.google.longrunning.Operation>createFederationCallable()com.google.api.gax.rpc.OperationCallable<CreateFederationRequest,Federation,OperationMetadata>createFederationOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteFederationRequest,com.google.longrunning.Operation>deleteFederationCallable()com.google.api.gax.rpc.OperationCallable<DeleteFederationRequest,com.google.protobuf.Empty,OperationMetadata>deleteFederationOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetFederationRequest,Federation>getFederationCallable()com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStubgetHttpJsonOperationsStub()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,ListFederationsResponse>listFederationsCallable()com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse>listFederationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateFederationRequest,com.google.longrunning.Operation>updateFederationCallable()com.google.api.gax.rpc.OperationCallable<UpdateFederationRequest,Federation,OperationMetadata>updateFederationOperationCallable()-
Methods inherited from class com.google.cloud.metastore.v1beta.stub.DataprocMetastoreFederationStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonDataprocMetastoreFederationStub
protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonDataprocMetastoreFederationStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonDataprocMetastoreFederationStub
protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonDataprocMetastoreFederationStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataprocMetastoreFederationStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataprocMetastoreFederationStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classDataprocMetastoreFederationStub
-
listFederationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,ListFederationsResponse> listFederationsCallable()
- Overrides:
listFederationsCallablein classDataprocMetastoreFederationStub
-
listFederationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()
- Overrides:
listFederationsPagedCallablein classDataprocMetastoreFederationStub
-
getFederationCallable
public com.google.api.gax.rpc.UnaryCallable<GetFederationRequest,Federation> getFederationCallable()
- Overrides:
getFederationCallablein classDataprocMetastoreFederationStub
-
createFederationCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFederationRequest,com.google.longrunning.Operation> createFederationCallable()
- Overrides:
createFederationCallablein classDataprocMetastoreFederationStub
-
createFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationCallable()
- Overrides:
createFederationOperationCallablein classDataprocMetastoreFederationStub
-
updateFederationCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFederationRequest,com.google.longrunning.Operation> updateFederationCallable()
- Overrides:
updateFederationCallablein classDataprocMetastoreFederationStub
-
updateFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationCallable()
- Overrides:
updateFederationOperationCallablein classDataprocMetastoreFederationStub
-
deleteFederationCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFederationRequest,com.google.longrunning.Operation> deleteFederationCallable()
- Overrides:
deleteFederationCallablein classDataprocMetastoreFederationStub
-
deleteFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteFederationRequest,com.google.protobuf.Empty,OperationMetadata> deleteFederationOperationCallable()
- Overrides:
deleteFederationOperationCallablein classDataprocMetastoreFederationStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classDataprocMetastoreFederationStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classDataprocMetastoreFederationStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classDataprocMetastoreFederationStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classDataprocMetastoreFederationStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classDataprocMetastoreFederationStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classDataprocMetastoreFederationStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataprocMetastoreFederationStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-