Class ApplicationsStubSettings.Builder (2.3.3)

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

Builder for ApplicationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ApplicationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ApplicationsStubSettings settings)

protected Builder(ApplicationsStubSettings settings)
Parameter
NameDescription
settingsApplicationsStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

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>