Class AuthorizedCertificatesStubSettings.Builder (2.41.0)

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

Builder for AuthorizedCertificatesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AuthorizedCertificatesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AuthorizedCertificatesStubSettings settings)

protected Builder(AuthorizedCertificatesStubSettings settings)
Parameter
Name Description
settings AuthorizedCertificatesStubSettings

Methods

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

public AuthorizedCertificatesStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>

build()

public AuthorizedCertificatesStubSettings build()
Returns
Type Description
AuthorizedCertificatesStubSettings
Overrides
Exceptions
Type Description
IOException

createAuthorizedCertificateSettings()

public UnaryCallSettings.Builder<CreateAuthorizedCertificateRequest,AuthorizedCertificate> createAuthorizedCertificateSettings()

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

deleteAuthorizedCertificateSettings()

public UnaryCallSettings.Builder<DeleteAuthorizedCertificateRequest,Empty> deleteAuthorizedCertificateSettings()

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

getAuthorizedCertificateSettings()

public UnaryCallSettings.Builder<GetAuthorizedCertificateRequest,AuthorizedCertificate> getAuthorizedCertificateSettings()

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

getEndpoint()

public String getEndpoint()

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

Returns
Type Description
String
Overrides

listAuthorizedCertificatesSettings()

public PagedCallSettings.Builder<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesResponse,AuthorizedCertificatesClient.ListAuthorizedCertificatesPagedResponse> listAuthorizedCertificatesSettings()

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

unaryMethodSettingsBuilders()

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

updateAuthorizedCertificateSettings()

public UnaryCallSettings.Builder<UpdateAuthorizedCertificateRequest,AuthorizedCertificate> updateAuthorizedCertificateSettings()

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