Class CertificateAuthorityServiceStubSettings.Builder (2.38.0)

public static class CertificateAuthorityServiceStubSettings.Builder extends StubSettings.Builder<CertificateAuthorityServiceStubSettings,CertificateAuthorityServiceStubSettings.Builder>

Builder for CertificateAuthorityServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CertificateAuthorityServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CertificateAuthorityServiceStubSettings settings)

protected Builder(CertificateAuthorityServiceStubSettings settings)
Parameter
NameDescription
settingsCertificateAuthorityServiceStubSettings

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 CertificateAuthorityServiceStubSettings.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
CertificateAuthorityServiceStubSettings.Builder

build()

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

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>

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>

fetchCertificateAuthorityCsrSettings()

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

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

Returns
TypeDescription
Builder<FetchCertificateAuthorityCsrRequest,FetchCertificateAuthorityCsrResponse>

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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getReusableConfigSettings()

public UnaryCallSettings.Builder<GetReusableConfigRequest,ReusableConfig> getReusableConfigSettings()

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

Returns
TypeDescription
Builder<GetReusableConfigRequest,ReusableConfig>

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>

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>

listReusableConfigsSettings()

public PagedCallSettings.Builder<ListReusableConfigsRequest,ListReusableConfigsResponse,CertificateAuthorityServiceClient.ListReusableConfigsPagedResponse> listReusableConfigsSettings()

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

Returns
TypeDescription
Builder<ListReusableConfigsRequest,ListReusableConfigsResponse,ListReusableConfigsPagedResponse>

restoreCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<RestoreCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> restoreCertificateAuthorityOperationSettings()

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

Returns
TypeDescription
Builder<RestoreCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

restoreCertificateAuthoritySettings()

public UnaryCallSettings.Builder<RestoreCertificateAuthorityRequest,Operation> restoreCertificateAuthoritySettings()

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

Returns
TypeDescription
Builder<RestoreCertificateAuthorityRequest,Operation>

revokeCertificateSettings()

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

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

Returns
TypeDescription
Builder<RevokeCertificateRequest,Certificate>

scheduleDeleteCertificateAuthorityOperationSettings()

public OperationCallSettings.Builder<ScheduleDeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata> scheduleDeleteCertificateAuthorityOperationSettings()

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

Returns
TypeDescription
Builder<ScheduleDeleteCertificateAuthorityRequest,CertificateAuthority,OperationMetadata>

scheduleDeleteCertificateAuthoritySettings()

public UnaryCallSettings.Builder<ScheduleDeleteCertificateAuthorityRequest,Operation> scheduleDeleteCertificateAuthoritySettings()

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

Returns
TypeDescription
Builder<ScheduleDeleteCertificateAuthorityRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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>