Class AuthorizedCertificatesStubSettings.Builder (2.34.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
NameDescription
clientContextClientContext

Builder(AuthorizedCertificatesStubSettings settings)

protected Builder(AuthorizedCertificatesStubSettings settings)
Parameter
NameDescription
settingsAuthorizedCertificatesStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>

build()

public AuthorizedCertificatesStubSettings build()
Overrides
Exceptions
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateAuthorizedCertificateSettings()

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

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