Class HttpJsonDataprocMetastoreFederationStub (2.37.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDataprocMetastoreFederationStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDataprocMetastoreFederationStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDataprocMetastoreFederationStub
Exceptions
TypeDescription
IOException

create(DataprocMetastoreFederationStubSettings settings)

public static final HttpJsonDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreFederationStubSettings
Returns
TypeDescription
HttpJsonDataprocMetastoreFederationStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsDataprocMetastoreFederationStubSettings
clientContextClientContext

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
NameDescription
settingsDataprocMetastoreFederationStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createFederationCallable()

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

createFederationOperationCallable()

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

deleteFederationCallable()

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

deleteFederationOperationCallable()

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

getFederationCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listFederationsCallable()

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

listFederationsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateFederationCallable()

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

updateFederationOperationCallable()

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