Class ApplicationServiceStubSettings.Builder (2.2.9)

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

Builder for ApplicationServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ApplicationServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ApplicationServiceStubSettings settings)

protected Builder(ApplicationServiceStubSettings settings)
Parameter
NameDescription
settingsApplicationServiceStubSettings

Methods

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

public ApplicationServiceStubSettings.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
ApplicationServiceStubSettings.Builder

build()

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

createApplicationSettings()

public UnaryCallSettings.Builder<CreateApplicationRequest,Application> createApplicationSettings()

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

Returns
TypeDescription
Builder<CreateApplicationRequest,Application>

deleteApplicationSettings()

public UnaryCallSettings.Builder<DeleteApplicationRequest,Empty> deleteApplicationSettings()

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

Returns
TypeDescription
Builder<DeleteApplicationRequest,Empty>

getApplicationSettings()

public UnaryCallSettings.Builder<GetApplicationRequest,Application> getApplicationSettings()

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

Returns
TypeDescription
Builder<GetApplicationRequest,Application>

listApplicationsSettings()

public PagedCallSettings.Builder<ListApplicationsRequest,ListApplicationsResponse,ApplicationServiceClient.ListApplicationsPagedResponse> listApplicationsSettings()

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

Returns
TypeDescription
Builder<ListApplicationsRequest,ListApplicationsResponse,ListApplicationsPagedResponse>

unaryMethodSettingsBuilders()

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

updateApplicationSettings()

public UnaryCallSettings.Builder<UpdateApplicationRequest,Application> updateApplicationSettings()

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

Returns
TypeDescription
Builder<UpdateApplicationRequest,Application>