Class ApplicationsSettings.Builder (2.17.0)

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

Builder for ApplicationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ApplicationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ApplicationsSettings settings)

protected Builder(ApplicationsSettings settings)
Parameter
NameDescription
settingsApplicationsSettings

Builder(ApplicationsStubSettings.Builder stubSettings)

protected Builder(ApplicationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsApplicationsStubSettings.Builder

Methods

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

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

build()

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

createApplicationOperationSettings()

public OperationCallSettings.Builder<CreateApplicationRequest,Application,OperationMetadataV1> createApplicationOperationSettings()

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

Returns
TypeDescription
Builder<CreateApplicationRequest,Application,OperationMetadataV1>

createApplicationSettings()

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

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

Returns
TypeDescription
Builder<CreateApplicationRequest,Operation>

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 ApplicationsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ApplicationsStubSettings.Builder

repairApplicationOperationSettings()

public OperationCallSettings.Builder<RepairApplicationRequest,Application,OperationMetadataV1> repairApplicationOperationSettings()

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

Returns
TypeDescription
Builder<RepairApplicationRequest,Application,OperationMetadataV1>

repairApplicationSettings()

public UnaryCallSettings.Builder<RepairApplicationRequest,Operation> repairApplicationSettings()

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

Returns
TypeDescription
Builder<RepairApplicationRequest,Operation>

updateApplicationOperationSettings()

public OperationCallSettings.Builder<UpdateApplicationRequest,Application,OperationMetadataV1> updateApplicationOperationSettings()

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

Returns
TypeDescription
Builder<UpdateApplicationRequest,Application,OperationMetadataV1>

updateApplicationSettings()

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

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

Returns
TypeDescription
Builder<UpdateApplicationRequest,Operation>