Class AuthorizedCertificatesStubSettings.Builder (2.40.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>
Returns
TypeDescription
AuthorizedCertificatesStubSettings.Builder

build()

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

createAuthorizedCertificateSettings()

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

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

Returns
TypeDescription
Builder<CreateAuthorizedCertificateRequest,AuthorizedCertificate>

deleteAuthorizedCertificateSettings()

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

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

Returns
TypeDescription
Builder<DeleteAuthorizedCertificateRequest,Empty>

getAuthorizedCertificateSettings()

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

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

Returns
TypeDescription
Builder<GetAuthorizedCertificateRequest,AuthorizedCertificate>

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.

Returns
TypeDescription
Builder<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesResponse,ListAuthorizedCertificatesPagedResponse>

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.

Returns
TypeDescription
Builder<UpdateAuthorizedCertificateRequest,AuthorizedCertificate>