Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcExtensionRegistryServiceStub extends ExtensionRegistryServiceStub
gRPC stub implementation for the ExtensionRegistryService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcExtensionRegistryServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcExtensionRegistryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcExtensionRegistryServiceStub create(ExtensionRegistryServiceStubSettings settings)
Constructors
GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext)
protected GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcExtensionRegistryServiceStub, 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.
GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcExtensionRegistryServiceStub, 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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<DeleteExtensionRequest,Operation> deleteExtensionCallable()
Overrides
public OperationCallable<DeleteExtensionRequest,Empty,DeleteOperationMetadata> deleteExtensionOperationCallable()
Overrides
getExtensionCallable()
public UnaryCallable<GetExtensionRequest,Extension> getExtensionCallable()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
importExtensionCallable()
public UnaryCallable<ImportExtensionRequest,Operation> importExtensionCallable()
Overrides
importExtensionOperationCallable()
public OperationCallable<ImportExtensionRequest,Extension,ImportExtensionOperationMetadata> importExtensionOperationCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
listExtensionsCallable()
public UnaryCallable<ListExtensionsRequest,ListExtensionsResponse> listExtensionsCallable()
Overrides
listExtensionsPagedCallable()
public UnaryCallable<ListExtensionsRequest,ExtensionRegistryServiceClient.ListExtensionsPagedResponse> listExtensionsPagedCallable()
Overrides
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ExtensionRegistryServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
public UnaryCallable<UpdateExtensionRequest,Extension> updateExtensionCallable()
Overrides