Class ApplicationServiceSettings.Builder

public static class ApplicationServiceSettings.Builder extends ClientSettings.Builder<ApplicationServiceSettings,ApplicationServiceSettings.Builder>

Builder for ApplicationServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ApplicationServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ApplicationServiceSettings settings)

protected Builder(ApplicationServiceSettings settings)
Parameter
NameDescription
settingsApplicationServiceSettings

Builder(ApplicationServiceStubSettings.Builder stubSettings)

protected Builder(ApplicationServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsApplicationServiceStubSettings.Builder

Methods

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

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

build()

public ApplicationServiceSettings build()
Returns
TypeDescription
ApplicationServiceSettings
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>

getStubSettingsBuilder()

public ApplicationServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ApplicationServiceStubSettings.Builder

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>

updateApplicationSettings()

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

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

Returns
TypeDescription
Builder<UpdateApplicationRequest,Application>