@Generated(value="by gapic-generator-java") @BetaApi 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,
ClientContext clientContext)
Constructs an instance of HttpJsonCompanyServiceStub, using the given settings.
|
protected |
HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCompanyServiceStub, using the given settings.
|
protected HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonCompanyServiceStub(CompanyServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonCompanyServiceStub create(CompanyServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonCompanyServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonCompanyServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<CreateCompanyRequest,Company> createCompanyCallable()
createCompanyCallable
in class CompanyServiceStub
public UnaryCallable<GetCompanyRequest,Company> getCompanyCallable()
getCompanyCallable
in class CompanyServiceStub
public UnaryCallable<UpdateCompanyRequest,Company> updateCompanyCallable()
updateCompanyCallable
in class CompanyServiceStub
public UnaryCallable<DeleteCompanyRequest,Empty> deleteCompanyCallable()
deleteCompanyCallable
in class CompanyServiceStub
public UnaryCallable<ListCompaniesRequest,ListCompaniesResponse> listCompaniesCallable()
listCompaniesCallable
in class CompanyServiceStub
public UnaryCallable<ListCompaniesRequest,CompanyServiceClient.ListCompaniesPagedResponse> listCompaniesPagedCallable()
listCompaniesPagedCallable
in class CompanyServiceStub
public final void close()
close
in interface AutoCloseable
close
in class CompanyServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.