@Generated(value="by gapic-generator-java") public class GrpcServicesStub extends ServicesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcServicesStub(ServicesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcServicesStub, using the given settings.
|
protected |
GrpcServicesStub(ServicesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServicesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcServicesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcServicesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcServicesStub |
create(ServicesStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateServiceRequest,com.google.longrunning.Operation> |
createServiceCallable() |
com.google.api.gax.rpc.OperationCallable<CreateServiceRequest,Service,Service> |
createServiceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation> |
deleteServiceCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,Service,Service> |
deleteServiceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service> |
getServiceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> |
listServicesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServicesClient.ListServicesPagedResponse> |
listServicesPagedCallable() |
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<UpdateServiceRequest,com.google.longrunning.Operation> |
updateServiceCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateServiceRequest,Service,Service> |
updateServiceOperationCallable() |
getHttpJsonOperationsStubprotected GrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcServicesStub create(ServicesStubSettings settings) throws IOException
IOExceptionpublic static final GrpcServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcServicesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<CreateServiceRequest,com.google.longrunning.Operation> createServiceCallable()
createServiceCallable in class ServicesStubpublic com.google.api.gax.rpc.OperationCallable<CreateServiceRequest,Service,Service> createServiceOperationCallable()
createServiceOperationCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service> getServiceCallable()
getServiceCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
listServicesCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServicesClient.ListServicesPagedResponse> listServicesPagedCallable()
listServicesPagedCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateServiceRequest,com.google.longrunning.Operation> updateServiceCallable()
updateServiceCallable in class ServicesStubpublic com.google.api.gax.rpc.OperationCallable<UpdateServiceRequest,Service,Service> updateServiceOperationCallable()
updateServiceOperationCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceCallable()
deleteServiceCallable in class ServicesStubpublic com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,Service,Service> deleteServiceOperationCallable()
deleteServiceOperationCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class ServicesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class ServicesStubpublic final void close()
close in interface AutoCloseableclose in class ServicesStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.