Class CertificateAuthorityServiceSettings.Builder

public static class CertificateAuthorityServiceSettings.Builder extends ClientSettings.Builder<CertificateAuthorityServiceSettings,CertificateAuthorityServiceSettings.Builder>

Builder for CertificateAuthorityServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CertificateAuthorityServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CertificateAuthorityServiceSettings settings)

protected Builder(CertificateAuthorityServiceSettings settings)
Parameter
NameDescription
settingsCertificateAuthorityServiceSettings

Builder(CertificateAuthorityServiceStubSettings.Builder stubSettings)

protected Builder(CertificateAuthorityServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCertificateAuthorityServiceStubSettings.Builder

Methods

activateCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<ActivateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> activateCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to activateCertificateAuthority.

Returns
TypeDescription
Builder<ActivateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

activateCertificateAuthoritySettings()

public UnaryCallSettings.Builder<ActivateCertificateAuthorityRequest,Operation> activateCertificateAuthoritySettings()

Returns the builder for the settings used for calls to activateCertificateAuthority.

Returns
TypeDescription
Builder<ActivateCertificateAuthorityRequest,Operation>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public CertificateAuthorityServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CertificateAuthorityServiceSettings.Builder

build()

public CertificateAuthorityServiceSettings build()
Returns
TypeDescription
CertificateAuthorityServiceSettings
Overrides Exceptions
TypeDescription
IOException

createCaPoolOperationSettings()

public OperationCallSettings.Builder<CreateCaPoolRequest,CaPool,OperationMetadata> createCaPoolOperationSettings()

Returns the builder for the settings used for calls to createCaPool.

Returns
TypeDescription
Builder<CreateCaPoolRequest,CaPool,OperationMetadata>

createCaPoolSettings()

public UnaryCallSettings.Builder<CreateCaPoolRequest,Operation> createCaPoolSettings()

Returns the builder for the settings used for calls to createCaPool.

Returns
TypeDescription
Builder<CreateCaPoolRequest,Operation>

createCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<CreateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> createCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to createCertificateAuthority.

Returns
TypeDescription
Builder<CreateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

createCertificateAuthoritySettings()

public UnaryCallSettings.Builder<CreateCertificateAuthorityRequest,Operation> createCertificateAuthoritySettings()

Returns the builder for the settings used for calls to createCertificateAuthority.

Returns
TypeDescription
Builder<CreateCertificateAuthorityRequest,Operation>

createCertificateSettings()

public UnaryCallSettings.Builder<CreateCertificateRequest,Certificate> createCertificateSettings()

Returns the builder for the settings used for calls to createCertificate.

Returns
TypeDescription
Builder<CreateCertificateRequest,Certificate>

createCertificateTemplateOperationSettings()

public OperationCallSettings.Builder<CreateCertificateTemplateRequest,CertificateTemplate,OperationMetadata> createCertificateTemplateOperationSettings()

Returns the builder for the settings used for calls to createCertificateTemplate.

Returns
TypeDescription
Builder<CreateCertificateTemplateRequest,CertificateTemplate,OperationMetadata>

createCertificateTemplateSettings()

public UnaryCallSettings.Builder<CreateCertificateTemplateRequest,Operation> createCertificateTemplateSettings()

Returns the builder for the settings used for calls to createCertificateTemplate.

Returns
TypeDescription
Builder<CreateCertificateTemplateRequest,Operation>

deleteCaPoolOperationSettings()

public OperationCallSettings.Builder<DeleteCaPoolRequest,Empty,OperationMetadata> deleteCaPoolOperationSettings()

Returns the builder for the settings used for calls to deleteCaPool.

Returns
TypeDescription
Builder<DeleteCaPoolRequest,Empty,OperationMetadata>

deleteCaPoolSettings()

public UnaryCallSettings.Builder<DeleteCaPoolRequest,Operation> deleteCaPoolSettings()

Returns the builder for the settings used for calls to deleteCaPool.

Returns
TypeDescription
Builder<DeleteCaPoolRequest,Operation>

deleteCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<DeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> deleteCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to deleteCertificateAuthority.

Returns
TypeDescription
Builder<DeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

deleteCertificateAuthoritySettings()

public UnaryCallSettings.Builder<DeleteCertificateAuthorityRequest,Operation> deleteCertificateAuthoritySettings()

Returns the builder for the settings used for calls to deleteCertificateAuthority.

Returns
TypeDescription
Builder<DeleteCertificateAuthorityRequest,Operation>

deleteCertificateTemplateOperationSettings()

public OperationCallSettings.Builder<DeleteCertificateTemplateRequest,Empty,OperationMetadata> deleteCertificateTemplateOperationSettings()

Returns the builder for the settings used for calls to deleteCertificateTemplate.

Returns
TypeDescription
Builder<DeleteCertificateTemplateRequest,Empty,OperationMetadata>

deleteCertificateTemplateSettings()

public UnaryCallSettings.Builder<DeleteCertificateTemplateRequest,Operation> deleteCertificateTemplateSettings()

Returns the builder for the settings used for calls to deleteCertificateTemplate.

Returns
TypeDescription
Builder<DeleteCertificateTemplateRequest,Operation>

disableCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<DisableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> disableCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to disableCertificateAuthority.

Returns
TypeDescription
Builder<DisableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

disableCertificateAuthoritySettings()

public UnaryCallSettings.Builder<DisableCertificateAuthorityRequest,Operation> disableCertificateAuthoritySettings()

Returns the builder for the settings used for calls to disableCertificateAuthority.

Returns
TypeDescription
Builder<DisableCertificateAuthorityRequest,Operation>

enableCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<EnableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> enableCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to enableCertificateAuthority.

Returns
TypeDescription
Builder<EnableCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

enableCertificateAuthoritySettings()

public UnaryCallSettings.Builder<EnableCertificateAuthorityRequest,Operation> enableCertificateAuthoritySettings()

Returns the builder for the settings used for calls to enableCertificateAuthority.

Returns
TypeDescription
Builder<EnableCertificateAuthorityRequest,Operation>

fetchCaCertsSettings()

public UnaryCallSettings.Builder<FetchCaCertsRequest,FetchCaCertsResponse> fetchCaCertsSettings()

Returns the builder for the settings used for calls to fetchCaCerts.

Returns
TypeDescription
Builder<FetchCaCertsRequest,FetchCaCertsResponse>

fetchCertificateAuthorityCsrSettings()

public UnaryCallSettings.Builder<FetchCertificateAuthorityCsrRequest,FetchCertificateAuthorityCsrResponse> fetchCertificateAuthorityCsrSettings()

Returns the builder for the settings used for calls to fetchCertificateAuthorityCsr.

Returns
TypeDescription
Builder<FetchCertificateAuthorityCsrRequest,FetchCertificateAuthorityCsrResponse>

getCaPoolSettings()

public UnaryCallSettings.Builder<GetCaPoolRequest,CaPool> getCaPoolSettings()

Returns the builder for the settings used for calls to getCaPool.

Returns
TypeDescription
Builder<GetCaPoolRequest,CaPool>

getCertificateAuthoritySettings()

public UnaryCallSettings.Builder<GetCertificateAuthorityRequest,CertificateAuthority> getCertificateAuthoritySettings()

Returns the builder for the settings used for calls to getCertificateAuthority.

Returns
TypeDescription
Builder<GetCertificateAuthorityRequest,CertificateAuthority>

getCertificateRevocationListSettings()

public UnaryCallSettings.Builder<GetCertificateRevocationListRequest,CertificateRevocationList> getCertificateRevocationListSettings()

Returns the builder for the settings used for calls to getCertificateRevocationList.

Returns
TypeDescription
Builder<GetCertificateRevocationListRequest,CertificateRevocationList>

getCertificateSettings()

public UnaryCallSettings.Builder<GetCertificateRequest,Certificate> getCertificateSettings()

Returns the builder for the settings used for calls to getCertificate.

Returns
TypeDescription
Builder<GetCertificateRequest,Certificate>

getCertificateTemplateSettings()

public UnaryCallSettings.Builder<GetCertificateTemplateRequest,CertificateTemplate> getCertificateTemplateSettings()

Returns the builder for the settings used for calls to getCertificateTemplate.

Returns
TypeDescription
Builder<GetCertificateTemplateRequest,CertificateTemplate>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public CertificateAuthorityServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
CertificateAuthorityServiceStubSettings.Builder

listCaPoolsSettings()

public PagedCallSettings.Builder<ListCaPoolsRequest,ListCaPoolsResponse,CertificateAuthorityServiceClient.ListCaPoolsPagedResponse> listCaPoolsSettings()

Returns the builder for the settings used for calls to listCaPools.

Returns
TypeDescription
Builder<ListCaPoolsRequest,ListCaPoolsResponse,ListCaPoolsPagedResponse>

listCertificateAuthoritiesSettings()

public PagedCallSettings.Builder<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesResponse,CertificateAuthorityServiceClient.ListCertificateAuthoritiesPagedResponse> listCertificateAuthoritiesSettings()

Returns the builder for the settings used for calls to listCertificateAuthorities.

Returns
TypeDescription
Builder<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesResponse,ListCertificateAuthoritiesPagedResponse>

listCertificateRevocationListsSettings()

public PagedCallSettings.Builder<ListCertificateRevocationListsRequest,ListCertificateRevocationListsResponse,CertificateAuthorityServiceClient.ListCertificateRevocationListsPagedResponse> listCertificateRevocationListsSettings()

Returns the builder for the settings used for calls to listCertificateRevocationLists.

Returns
TypeDescription
Builder<ListCertificateRevocationListsRequest,ListCertificateRevocationListsResponse,ListCertificateRevocationListsPagedResponse>

listCertificateTemplatesSettings()

public PagedCallSettings.Builder<ListCertificateTemplatesRequest,ListCertificateTemplatesResponse,CertificateAuthorityServiceClient.ListCertificateTemplatesPagedResponse> listCertificateTemplatesSettings()

Returns the builder for the settings used for calls to listCertificateTemplates.

Returns
TypeDescription
Builder<ListCertificateTemplatesRequest,ListCertificateTemplatesResponse,ListCertificateTemplatesPagedResponse>

listCertificatesSettings()

public PagedCallSettings.Builder<ListCertificatesRequest,ListCertificatesResponse,CertificateAuthorityServiceClient.ListCertificatesPagedResponse> listCertificatesSettings()

Returns the builder for the settings used for calls to listCertificates.

Returns
TypeDescription
Builder<ListCertificatesRequest,ListCertificatesResponse,ListCertificatesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CertificateAuthorityServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

revokeCertificateSettings()

public UnaryCallSettings.Builder<RevokeCertificateRequest,Certificate> revokeCertificateSettings()

Returns the builder for the settings used for calls to revokeCertificate.

Returns
TypeDescription
Builder<RevokeCertificateRequest,Certificate>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

undeleteCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<UndeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> undeleteCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to undeleteCertificateAuthority.

Returns
TypeDescription
Builder<UndeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

undeleteCertificateAuthoritySettings()

public UnaryCallSettings.Builder<UndeleteCertificateAuthorityRequest,Operation> undeleteCertificateAuthoritySettings()

Returns the builder for the settings used for calls to undeleteCertificateAuthority.

Returns
TypeDescription
Builder<UndeleteCertificateAuthorityRequest,Operation>

updateCaPoolOperationSettings()

public OperationCallSettings.Builder<UpdateCaPoolRequest,CaPool,OperationMetadata> updateCaPoolOperationSettings()

Returns the builder for the settings used for calls to updateCaPool.

Returns
TypeDescription
Builder<UpdateCaPoolRequest,CaPool,OperationMetadata>

updateCaPoolSettings()

public UnaryCallSettings.Builder<UpdateCaPoolRequest,Operation> updateCaPoolSettings()

Returns the builder for the settings used for calls to updateCaPool.

Returns
TypeDescription
Builder<UpdateCaPoolRequest,Operation>

updateCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<UpdateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> updateCertificateAuthorityOperationSettings()

Returns the builder for the settings used for calls to updateCertificateAuthority.

Returns
TypeDescription
Builder<UpdateCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

updateCertificateAuthoritySettings()

public UnaryCallSettings.Builder<UpdateCertificateAuthorityRequest,Operation> updateCertificateAuthoritySettings()

Returns the builder for the settings used for calls to updateCertificateAuthority.

Returns
TypeDescription
Builder<UpdateCertificateAuthorityRequest,Operation>

updateCertificateRevocationListOperationSettings()

public OperationCallSettings.Builder<UpdateCertificateRevocationListRequest,CertificateRevocationList,OperationMetadata> updateCertificateRevocationListOperationSettings()

Returns the builder for the settings used for calls to updateCertificateRevocationList.

Returns
TypeDescription
Builder<UpdateCertificateRevocationListRequest,CertificateRevocationList,OperationMetadata>

updateCertificateRevocationListSettings()

public UnaryCallSettings.Builder<UpdateCertificateRevocationListRequest,Operation> updateCertificateRevocationListSettings()

Returns the builder for the settings used for calls to updateCertificateRevocationList.

Returns
TypeDescription
Builder<UpdateCertificateRevocationListRequest,Operation>

updateCertificateSettings()

public UnaryCallSettings.Builder<UpdateCertificateRequest,Certificate> updateCertificateSettings()

Returns the builder for the settings used for calls to updateCertificate.

Returns
TypeDescription
Builder<UpdateCertificateRequest,Certificate>

updateCertificateTemplateOperationSettings()

public OperationCallSettings.Builder<UpdateCertificateTemplateRequest,CertificateTemplate,OperationMetadata> updateCertificateTemplateOperationSettings()

Returns the builder for the settings used for calls to updateCertificateTemplate.

Returns
TypeDescription
Builder<UpdateCertificateTemplateRequest,CertificateTemplate,OperationMetadata>

updateCertificateTemplateSettings()

public UnaryCallSettings.Builder<UpdateCertificateTemplateRequest,Operation> updateCertificateTemplateSettings()

Returns the builder for the settings used for calls to updateCertificateTemplate.

Returns
TypeDescription
Builder<UpdateCertificateTemplateRequest,Operation>