Class HttpJsonCertificateAuthorityServiceStub (2.8.0)

public class HttpJsonCertificateAuthorityServiceStub extends CertificateAuthorityServiceStub

REST stub implementation for the CertificateAuthorityService service API.

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

Inheritance

java.lang.Object > CertificateAuthorityServiceStub > HttpJsonCertificateAuthorityServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCertificateAuthorityServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCertificateAuthorityServiceStub
Exceptions
TypeDescription
IOException

create(CertificateAuthorityServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCertificateAuthorityServiceStub, 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

HttpJsonCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCertificateAuthorityServiceStub(CertificateAuthorityServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCertificateAuthorityServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

createCaPoolCallable()

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

createCaPoolOperationCallable()

public OperationCallable<CreateCaPoolRequest,CaPool,OperationMetadata> createCaPoolOperationCallable()
Returns
TypeDescription
OperationCallable<CreateCaPoolRequest,CaPool,OperationMetadata>
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

createCertificateTemplateCallable()

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

createCertificateTemplateOperationCallable()

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

deleteCaPoolCallable()

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

deleteCaPoolOperationCallable()

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

deleteCertificateAuthorityCallable()

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

deleteCertificateAuthorityOperationCallable()

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

deleteCertificateTemplateCallable()

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

deleteCertificateTemplateOperationCallable()

public OperationCallable<DeleteCertificateTemplateRequest,Empty,OperationMetadata> deleteCertificateTemplateOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteCertificateTemplateRequest,Empty,OperationMetadata>
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

fetchCaCertsCallable()

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

fetchCertificateAuthorityCsrCallable()

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

getCaPoolCallable()

public UnaryCallable<GetCaPoolRequest,CaPool> getCaPoolCallable()
Returns
TypeDescription
UnaryCallable<GetCaPoolRequest,CaPool>
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

getCertificateTemplateCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCaPoolsCallable()

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

listCaPoolsPagedCallable()

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

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

listCertificateTemplatesCallable()

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

listCertificateTemplatesPagedCallable()

public UnaryCallable<ListCertificateTemplatesRequest,CertificateAuthorityServiceClient.ListCertificateTemplatesPagedResponse> listCertificateTemplatesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCertificateTemplatesRequest,ListCertificateTemplatesPagedResponse>
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

listLocationsCallable()

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

listLocationsPagedCallable()

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

revokeCertificateCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeleteCertificateAuthorityCallable()

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

undeleteCertificateAuthorityOperationCallable()

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

updateCaPoolCallable()

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

updateCaPoolOperationCallable()

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

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

updateCertificateTemplateCallable()

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

updateCertificateTemplateOperationCallable()

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