@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcCompanyServiceStub extends CompanyServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcCompanyServiceStub(CompanyServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcCompanyServiceStub, using the given settings.
|
protected |
GrpcCompanyServiceStub(CompanyServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCompanyServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcCompanyServiceStub |
create(ClientContext clientContext) |
static GrpcCompanyServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcCompanyServiceStub |
create(CompanyServiceStubSettings settings) |
UnaryCallable<com.google.cloud.talent.v4beta1.CreateCompanyRequest,com.google.cloud.talent.v4beta1.Company> |
createCompanyCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.DeleteCompanyRequest,Empty> |
deleteCompanyCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.GetCompanyRequest,com.google.cloud.talent.v4beta1.Company> |
getCompanyCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListCompaniesRequest,com.google.cloud.talent.v4beta1.ListCompaniesResponse> |
listCompaniesCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListCompaniesRequest,CompanyServiceClient.ListCompaniesPagedResponse> |
listCompaniesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.talent.v4beta1.UpdateCompanyRequest,com.google.cloud.talent.v4beta1.Company> |
updateCompanyCallable() |
protected GrpcCompanyServiceStub(CompanyServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcCompanyServiceStub(CompanyServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCompanyServiceStub create(CompanyServiceStubSettings settings) throws IOException
IOException
public static final GrpcCompanyServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcCompanyServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.talent.v4beta1.CreateCompanyRequest,com.google.cloud.talent.v4beta1.Company> createCompanyCallable()
createCompanyCallable
in class CompanyServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.GetCompanyRequest,com.google.cloud.talent.v4beta1.Company> getCompanyCallable()
getCompanyCallable
in class CompanyServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.UpdateCompanyRequest,com.google.cloud.talent.v4beta1.Company> updateCompanyCallable()
updateCompanyCallable
in class CompanyServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.DeleteCompanyRequest,Empty> deleteCompanyCallable()
deleteCompanyCallable
in class CompanyServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.ListCompaniesRequest,CompanyServiceClient.ListCompaniesPagedResponse> listCompaniesPagedCallable()
listCompaniesPagedCallable
in class CompanyServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.ListCompaniesRequest,com.google.cloud.talent.v4beta1.ListCompaniesResponse> listCompaniesCallable()
listCompaniesCallable
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 © 2019 Google LLC. All rights reserved.