Class GrpcCertificateAuthorityServiceStub (2.25.0)

public class GrpcCertificateAuthorityServiceStub extends CertificateAuthorityServiceStub

gRPC stub implementation for the CertificateAuthorityService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CertificateAuthorityServiceStub > GrpcCertificateAuthorityServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcCertificateAuthorityServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcCertificateAuthorityServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCertificateAuthorityServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCertificateAuthorityServiceStub
Exceptions
TypeDescription
IOException

create(CertificateAuthorityServiceStubSettings settings)

public static final GrpcCertificateAuthorityServiceStub create(CertificateAuthorityServiceStubSettings settings)
Parameter
NameDescription
settingsCertificateAuthorityServiceStubSettings
Returns
TypeDescription
GrpcCertificateAuthorityServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext)

protected GrpcCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCertificateAuthorityServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsCertificateAuthorityServiceStubSettings
clientContextClientContext

GrpcCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCertificateAuthorityServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsCertificateAuthorityServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

activateCertificateAuthorityCallable()

public UnaryCallable<ActivateCertificateAuthorityRequest,Operation> activateCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<ActivateCertificateAuthorityRequest,Operation>
Overrides

activateCertificateAuthorityOperationCallable()

public OperationCallable<ActivateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> activateCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<ActivateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createCertificateAuthorityCallable()

public UnaryCallable<CreateCertificateAuthorityRequest,Operation> createCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<CreateCertificateAuthorityRequest,Operation>
Overrides

createCertificateAuthorityOperationCallable()

public OperationCallable<CreateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> createCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<CreateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

createCertificateCallable()

public UnaryCallable<CreateCertificateRequest,Certificate> createCertificateCallable()
Returns
TypeDescription
UnaryCallable<CreateCertificateRequest,Certificate>
Overrides

disableCertificateAuthorityCallable()

public UnaryCallable<DisableCertificateAuthorityRequest,Operation> disableCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<DisableCertificateAuthorityRequest,Operation>
Overrides

disableCertificateAuthorityOperationCallable()

public OperationCallable<DisableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> disableCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<DisableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

enableCertificateAuthorityCallable()

public UnaryCallable<EnableCertificateAuthorityRequest,Operation> enableCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<EnableCertificateAuthorityRequest,Operation>
Overrides

enableCertificateAuthorityOperationCallable()

public OperationCallable<EnableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> enableCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<EnableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

fetchCertificateAuthorityCsrCallable()

public UnaryCallable<FetchCertificateAuthorityCsrRequest,FetchCertificateAuthorityCsrResponse> fetchCertificateAuthorityCsrCallable()
Returns
TypeDescription
UnaryCallable<FetchCertificateAuthorityCsrRequest,FetchCertificateAuthorityCsrResponse>
Overrides

getCertificateAuthorityCallable()

public UnaryCallable<GetCertificateAuthorityRequest,CertificateAuthority> getCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<GetCertificateAuthorityRequest,CertificateAuthority>
Overrides

getCertificateCallable()

public UnaryCallable<GetCertificateRequest,Certificate> getCertificateCallable()
Returns
TypeDescription
UnaryCallable<GetCertificateRequest,Certificate>
Overrides

getCertificateRevocationListCallable()

public UnaryCallable<GetCertificateRevocationListRequest,CertificateRevocationList> getCertificateRevocationListCallable()
Returns
TypeDescription
UnaryCallable<GetCertificateRevocationListRequest,CertificateRevocationList>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getReusableConfigCallable()

public UnaryCallable<GetReusableConfigRequest,ReusableConfig> getReusableConfigCallable()
Returns
TypeDescription
UnaryCallable<GetReusableConfigRequest,ReusableConfig>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCertificateAuthoritiesCallable()

public UnaryCallable<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesResponse> listCertificateAuthoritiesCallable()
Returns
TypeDescription
UnaryCallable<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesResponse>
Overrides

listCertificateAuthoritiesPagedCallable()

public UnaryCallable<ListCertificateAuthoritiesRequest,CertificateAuthorityServiceClient.ListCertificateAuthoritiesPagedResponse> listCertificateAuthoritiesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesPagedResponse>
Overrides

listCertificateRevocationListsCallable()

public UnaryCallable<ListCertificateRevocationListsRequest,ListCertificateRevocationListsResponse> listCertificateRevocationListsCallable()
Returns
TypeDescription
UnaryCallable<ListCertificateRevocationListsRequest,ListCertificateRevocationListsResponse>
Overrides

listCertificateRevocationListsPagedCallable()

public UnaryCallable<ListCertificateRevocationListsRequest,CertificateAuthorityServiceClient.ListCertificateRevocationListsPagedResponse> listCertificateRevocationListsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCertificateRevocationListsRequest,ListCertificateRevocationListsPagedResponse>
Overrides

listCertificatesCallable()

public UnaryCallable<ListCertificatesRequest,ListCertificatesResponse> listCertificatesCallable()
Returns
TypeDescription
UnaryCallable<ListCertificatesRequest,ListCertificatesResponse>
Overrides

listCertificatesPagedCallable()

public UnaryCallable<ListCertificatesRequest,CertificateAuthorityServiceClient.ListCertificatesPagedResponse> listCertificatesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCertificatesRequest,ListCertificatesPagedResponse>
Overrides

listReusableConfigsCallable()

public UnaryCallable<ListReusableConfigsRequest,ListReusableConfigsResponse> listReusableConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListReusableConfigsRequest,ListReusableConfigsResponse>
Overrides

listReusableConfigsPagedCallable()

public UnaryCallable<ListReusableConfigsRequest,CertificateAuthorityServiceClient.ListReusableConfigsPagedResponse> listReusableConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListReusableConfigsRequest,ListReusableConfigsPagedResponse>
Overrides

restoreCertificateAuthorityCallable()

public UnaryCallable<RestoreCertificateAuthorityRequest,Operation> restoreCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<RestoreCertificateAuthorityRequest,Operation>
Overrides

restoreCertificateAuthorityOperationCallable()

public OperationCallable<RestoreCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> restoreCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<RestoreCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

revokeCertificateCallable()

public UnaryCallable<RevokeCertificateRequest,Certificate> revokeCertificateCallable()
Returns
TypeDescription
UnaryCallable<RevokeCertificateRequest,Certificate>
Overrides

scheduleDeleteCertificateAuthorityCallable()

public UnaryCallable<ScheduleDeleteCertificateAuthorityRequest,Operation> scheduleDeleteCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<ScheduleDeleteCertificateAuthorityRequest,Operation>
Overrides

scheduleDeleteCertificateAuthorityOperationCallable()

public OperationCallable<ScheduleDeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> scheduleDeleteCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<ScheduleDeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCertificateAuthorityCallable()

public UnaryCallable<UpdateCertificateAuthorityRequest,Operation> updateCertificateAuthorityCallable()
Returns
TypeDescription
UnaryCallable<UpdateCertificateAuthorityRequest,Operation>
Overrides

updateCertificateAuthorityOperationCallable()

public OperationCallable<UpdateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> updateCertificateAuthorityOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

updateCertificateCallable()

public UnaryCallable<UpdateCertificateRequest,Certificate> updateCertificateCallable()
Returns
TypeDescription
UnaryCallable<UpdateCertificateRequest,Certificate>
Overrides

updateCertificateRevocationListCallable()

public UnaryCallable<UpdateCertificateRevocationListRequest,Operation> updateCertificateRevocationListCallable()
Returns
TypeDescription
UnaryCallable<UpdateCertificateRevocationListRequest,Operation>
Overrides

updateCertificateRevocationListOperationCallable()

public OperationCallable<UpdateCertificateRevocationListRequest,CertificateRevocationList,OperationMetadata> updateCertificateRevocationListOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateCertificateRevocationListRequest,CertificateRevocationList,OperationMetadata>
Overrides