Class HttpJsonDataprocMetastoreFederationStub
- java.lang.Object
-
- com.google.cloud.metastore.v1alpha.stub.DataprocMetastoreFederationStub
-
- com.google.cloud.metastore.v1alpha.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 protected
HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonDataprocMetastoreFederationStub, using the given settings.protected
HttpJsonDataprocMetastoreFederationStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonDataprocMetastoreFederationStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonDataprocMetastoreFederationStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonDataprocMetastoreFederationStub
create(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.HttpJsonOperationsStub
getHttpJsonOperationsStub()
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()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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.v1alpha.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:
getHttpJsonOperationsStub
in classDataprocMetastoreFederationStub
-
listFederationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,ListFederationsResponse> listFederationsCallable()
- Overrides:
listFederationsCallable
in classDataprocMetastoreFederationStub
-
listFederationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()
- Overrides:
listFederationsPagedCallable
in classDataprocMetastoreFederationStub
-
getFederationCallable
public com.google.api.gax.rpc.UnaryCallable<GetFederationRequest,Federation> getFederationCallable()
- Overrides:
getFederationCallable
in classDataprocMetastoreFederationStub
-
createFederationCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFederationRequest,com.google.longrunning.Operation> createFederationCallable()
- Overrides:
createFederationCallable
in classDataprocMetastoreFederationStub
-
createFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationCallable()
- Overrides:
createFederationOperationCallable
in classDataprocMetastoreFederationStub
-
updateFederationCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFederationRequest,com.google.longrunning.Operation> updateFederationCallable()
- Overrides:
updateFederationCallable
in classDataprocMetastoreFederationStub
-
updateFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationCallable()
- Overrides:
updateFederationOperationCallable
in classDataprocMetastoreFederationStub
-
deleteFederationCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFederationRequest,com.google.longrunning.Operation> deleteFederationCallable()
- Overrides:
deleteFederationCallable
in classDataprocMetastoreFederationStub
-
deleteFederationOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteFederationRequest,com.google.protobuf.Empty,OperationMetadata> deleteFederationOperationCallable()
- Overrides:
deleteFederationOperationCallable
in classDataprocMetastoreFederationStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classDataprocMetastoreFederationStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classDataprocMetastoreFederationStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classDataprocMetastoreFederationStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classDataprocMetastoreFederationStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classDataprocMetastoreFederationStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classDataprocMetastoreFederationStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-