Class ApplicationsStubSettings.Builder (2.41.0)

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
Name Description
clientContext ClientContext

Builder(ApplicationsStubSettings settings)

protected Builder(ApplicationsStubSettings settings)
Parameter
Name Description
settings ApplicationsStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ApplicationsStubSettings.Builder

build()

public ApplicationsStubSettings build()
Returns
Type Description
ApplicationsStubSettings
Overrides
Exceptions
Type Description
IOException

createApplicationOperationSettings()

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

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

Returns
Type Description
Builder<CreateApplicationRequest,Application,OperationMetadataV1>

createApplicationSettings()

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

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

Returns
Type Description
Builder<CreateApplicationRequest,Operation>

getApplicationSettings()

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

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

Returns
Type Description
Builder<GetApplicationRequest,Application>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
Type Description
String
Overrides

repairApplicationOperationSettings()

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

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

Returns
Type Description
Builder<RepairApplicationRequest,Application,OperationMetadataV1>

repairApplicationSettings()

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

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

Returns
Type Description
Builder<RepairApplicationRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<UpdateApplicationRequest,Application,OperationMetadataV1>

updateApplicationSettings()

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

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

Returns
Type Description
Builder<UpdateApplicationRequest,Operation>