Class HttpJsonDataprocMetastoreFederationStub (2.43.0)

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.

Inheritance

java.lang.Object > DataprocMetastoreFederationStub > HttpJsonDataprocMetastoreFederationStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDataprocMetastoreFederationStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonDataprocMetastoreFederationStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDataprocMetastoreFederationStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonDataprocMetastoreFederationStub
Exceptions
Type Description
IOException

create(DataprocMetastoreFederationStubSettings settings)

public static final HttpJsonDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings)
Parameter
Name Description
settings DataprocMetastoreFederationStubSettings
Returns
Type Description
HttpJsonDataprocMetastoreFederationStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)

protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings DataprocMetastoreFederationStubSettings
clientContext ClientContext

HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings DataprocMetastoreFederationStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createFederationCallable()

public UnaryCallable<CreateFederationRequest,Operation> createFederationCallable()
Returns
Type Description
UnaryCallable<CreateFederationRequest,Operation>
Overrides

createFederationOperationCallable()

public OperationCallable<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationCallable()
Returns
Type Description
OperationCallable<CreateFederationRequest,Federation,OperationMetadata>
Overrides

deleteFederationCallable()

public UnaryCallable<DeleteFederationRequest,Operation> deleteFederationCallable()
Returns
Type Description
UnaryCallable<DeleteFederationRequest,Operation>
Overrides

deleteFederationOperationCallable()

public OperationCallable<DeleteFederationRequest,Empty,OperationMetadata> deleteFederationOperationCallable()
Returns
Type Description
OperationCallable<DeleteFederationRequest,Empty,OperationMetadata>
Overrides

getFederationCallable()

public UnaryCallable<GetFederationRequest,Federation> getFederationCallable()
Returns
Type Description
UnaryCallable<GetFederationRequest,Federation>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFederationsCallable()

public UnaryCallable<ListFederationsRequest,ListFederationsResponse> listFederationsCallable()
Returns
Type Description
UnaryCallable<ListFederationsRequest,ListFederationsResponse>
Overrides

listFederationsPagedCallable()

public UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()
Returns
Type Description
UnaryCallable<ListFederationsRequest,ListFederationsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateFederationCallable()

public UnaryCallable<UpdateFederationRequest,Operation> updateFederationCallable()
Returns
Type Description
UnaryCallable<UpdateFederationRequest,Operation>
Overrides

updateFederationOperationCallable()

public OperationCallable<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationCallable()
Returns
Type Description
OperationCallable<UpdateFederationRequest,Federation,OperationMetadata>
Overrides