Class GrpcCertificateAuthorityServiceStub (2.53.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcCertificateAuthorityServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCertificateAuthorityServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcCertificateAuthorityServiceStub
Exceptions
Type Description
IOException

create(CertificateAuthorityServiceStubSettings settings)

public static final GrpcCertificateAuthorityServiceStub create(CertificateAuthorityServiceStubSettings settings)
Parameter
Name Description
settings CertificateAuthorityServiceStubSettings
Returns
Type Description
GrpcCertificateAuthorityServiceStub
Exceptions
Type Description
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
Name Description
settings CertificateAuthorityServiceStubSettings
clientContext ClientContext

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
Name Description
settings CertificateAuthorityServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

activateCertificateAuthorityCallable()

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

activateCertificateAuthorityOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createCaPoolCallable()

public UnaryCallable<CreateCaPoolRequest,Operation> createCaPoolCallable()
Returns
Type Description
UnaryCallable<CreateCaPoolRequest,Operation>
Overrides

createCaPoolOperationCallable()

public OperationCallable<CreateCaPoolRequest,CaPool,OperationMetadata> createCaPoolOperationCallable()
Returns
Type Description
OperationCallable<CreateCaPoolRequest,CaPool,OperationMetadata>
Overrides

createCertificateAuthorityCallable()

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

createCertificateAuthorityOperationCallable()

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

createCertificateCallable()

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

createCertificateTemplateCallable()

public UnaryCallable<CreateCertificateTemplateRequest,Operation> createCertificateTemplateCallable()
Returns
Type Description
UnaryCallable<CreateCertificateTemplateRequest,Operation>
Overrides

createCertificateTemplateOperationCallable()

public OperationCallable<CreateCertificateTemplateRequest,CertificateTemplate,OperationMetadata> createCertificateTemplateOperationCallable()
Returns
Type Description
OperationCallable<CreateCertificateTemplateRequest,CertificateTemplate,OperationMetadata>
Overrides

deleteCaPoolCallable()

public UnaryCallable<DeleteCaPoolRequest,Operation> deleteCaPoolCallable()
Returns
Type Description
UnaryCallable<DeleteCaPoolRequest,Operation>
Overrides

deleteCaPoolOperationCallable()

public OperationCallable<DeleteCaPoolRequest,Empty,OperationMetadata> deleteCaPoolOperationCallable()
Returns
Type Description
OperationCallable<DeleteCaPoolRequest,Empty,OperationMetadata>
Overrides

deleteCertificateAuthorityCallable()

public UnaryCallable<DeleteCertificateAuthorityRequest,Operation> deleteCertificateAuthorityCallable()
Returns
Type Description
UnaryCallable<DeleteCertificateAuthorityRequest,Operation>
Overrides

deleteCertificateAuthorityOperationCallable()

public OperationCallable<DeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> deleteCertificateAuthorityOperationCallable()
Returns
Type Description
OperationCallable<DeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

deleteCertificateTemplateCallable()

public UnaryCallable<DeleteCertificateTemplateRequest,Operation> deleteCertificateTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteCertificateTemplateRequest,Operation>
Overrides

deleteCertificateTemplateOperationCallable()

public OperationCallable<DeleteCertificateTemplateRequest,Empty,OperationMetadata> deleteCertificateTemplateOperationCallable()
Returns
Type Description
OperationCallable<DeleteCertificateTemplateRequest,Empty,OperationMetadata>
Overrides

disableCertificateAuthorityCallable()

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

disableCertificateAuthorityOperationCallable()

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

enableCertificateAuthorityCallable()

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

enableCertificateAuthorityOperationCallable()

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

fetchCaCertsCallable()

public UnaryCallable<FetchCaCertsRequest,FetchCaCertsResponse> fetchCaCertsCallable()
Returns
Type Description
UnaryCallable<FetchCaCertsRequest,FetchCaCertsResponse>
Overrides

fetchCertificateAuthorityCsrCallable()

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

getCaPoolCallable()

public UnaryCallable<GetCaPoolRequest,CaPool> getCaPoolCallable()
Returns
Type Description
UnaryCallable<GetCaPoolRequest,CaPool>
Overrides

getCertificateAuthorityCallable()

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

getCertificateCallable()

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

getCertificateRevocationListCallable()

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

getCertificateTemplateCallable()

public UnaryCallable<GetCertificateTemplateRequest,CertificateTemplate> getCertificateTemplateCallable()
Returns
Type Description
UnaryCallable<GetCertificateTemplateRequest,CertificateTemplate>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCaPoolsCallable()

public UnaryCallable<ListCaPoolsRequest,ListCaPoolsResponse> listCaPoolsCallable()
Returns
Type Description
UnaryCallable<ListCaPoolsRequest,ListCaPoolsResponse>
Overrides

listCaPoolsPagedCallable()

public UnaryCallable<ListCaPoolsRequest,CertificateAuthorityServiceClient.ListCaPoolsPagedResponse> listCaPoolsPagedCallable()
Returns
Type Description
UnaryCallable<ListCaPoolsRequest,ListCaPoolsPagedResponse>
Overrides

listCertificateAuthoritiesCallable()

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

listCertificateAuthoritiesPagedCallable()

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

listCertificateRevocationListsCallable()

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

listCertificateRevocationListsPagedCallable()

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

listCertificateTemplatesCallable()

public UnaryCallable<ListCertificateTemplatesRequest,ListCertificateTemplatesResponse> listCertificateTemplatesCallable()
Returns
Type Description
UnaryCallable<ListCertificateTemplatesRequest,ListCertificateTemplatesResponse>
Overrides

listCertificateTemplatesPagedCallable()

public UnaryCallable<ListCertificateTemplatesRequest,CertificateAuthorityServiceClient.ListCertificateTemplatesPagedResponse> listCertificateTemplatesPagedCallable()
Returns
Type Description
UnaryCallable<ListCertificateTemplatesRequest,ListCertificateTemplatesPagedResponse>
Overrides

listCertificatesCallable()

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

listCertificatesPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,CertificateAuthorityServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

revokeCertificateCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeleteCertificateAuthorityCallable()

public UnaryCallable<UndeleteCertificateAuthorityRequest,Operation> undeleteCertificateAuthorityCallable()
Returns
Type Description
UnaryCallable<UndeleteCertificateAuthorityRequest,Operation>
Overrides

undeleteCertificateAuthorityOperationCallable()

public OperationCallable<UndeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> undeleteCertificateAuthorityOperationCallable()
Returns
Type Description
OperationCallable<UndeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>
Overrides

updateCaPoolCallable()

public UnaryCallable<UpdateCaPoolRequest,Operation> updateCaPoolCallable()
Returns
Type Description
UnaryCallable<UpdateCaPoolRequest,Operation>
Overrides

updateCaPoolOperationCallable()

public OperationCallable<UpdateCaPoolRequest,CaPool,OperationMetadata> updateCaPoolOperationCallable()
Returns
Type Description
OperationCallable<UpdateCaPoolRequest,CaPool,OperationMetadata>
Overrides

updateCertificateAuthorityCallable()

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

updateCertificateAuthorityOperationCallable()

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

updateCertificateCallable()

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

updateCertificateRevocationListCallable()

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

updateCertificateRevocationListOperationCallable()

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

updateCertificateTemplateCallable()

public UnaryCallable<UpdateCertificateTemplateRequest,Operation> updateCertificateTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateCertificateTemplateRequest,Operation>
Overrides

updateCertificateTemplateOperationCallable()

public OperationCallable<UpdateCertificateTemplateRequest,CertificateTemplate,OperationMetadata> updateCertificateTemplateOperationCallable()
Returns
Type Description
OperationCallable<UpdateCertificateTemplateRequest,CertificateTemplate,OperationMetadata>
Overrides