@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonCompanyServiceStub extends CompanyServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonCompanyServiceStub, using the given settings.
|
protected |
HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCompanyServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonCompanyServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonCompanyServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonCompanyServiceStub |
create(CompanyServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateCompanyRequest,Company> |
createCompanyCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteCompanyRequest,com.google.protobuf.Empty> |
deleteCompanyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetCompanyRequest,Company> |
getCompanyCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListCompaniesRequest,ListCompaniesResponse> |
listCompaniesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListCompaniesRequest,CompanyServiceClient.ListCompaniesPagedResponse> |
listCompaniesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateCompanyRequest,Company> |
updateCompanyCallable() |
protected HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonCompanyServiceStub create(CompanyServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonCompanyServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonCompanyServiceStub 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.rpc.UnaryCallable<CreateCompanyRequest,Company> createCompanyCallable()
createCompanyCallable in class CompanyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetCompanyRequest,Company> getCompanyCallable()
getCompanyCallable in class CompanyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateCompanyRequest,Company> updateCompanyCallable()
updateCompanyCallable in class CompanyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCompanyRequest,com.google.protobuf.Empty> deleteCompanyCallable()
deleteCompanyCallable in class CompanyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCompaniesRequest,ListCompaniesResponse> listCompaniesCallable()
listCompaniesCallable in class CompanyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCompaniesRequest,CompanyServiceClient.ListCompaniesPagedResponse> listCompaniesPagedCallable()
listCompaniesPagedCallable in class CompanyServiceStubpublic final void close()
close in interface AutoCloseableclose in class CompanyServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.