@Generated(value="by gapic-generator-java") public class HttpJsonServicesStub extends ServicesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonServicesStub(ServicesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonServicesStub, using the given settings.
|
protected |
HttpJsonServicesStub(ServicesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServicesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonServicesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonServicesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonServicesStub |
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.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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() |
getOperationsStubprotected HttpJsonServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonServicesStub create(ServicesStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonServicesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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.