Class ProfilerServiceSettings.Builder (2.51.0)

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

Builder for ProfilerServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProfilerServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProfilerServiceSettings settings)

protected Builder(ProfilerServiceSettings settings)
Parameter
Name Description
settings ProfilerServiceSettings

Builder(ProfilerServiceStubSettings.Builder stubSettings)

protected Builder(ProfilerServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ProfilerServiceStubSettings.Builder

Methods

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

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

build()

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

createOfflineProfileSettings()

public UnaryCallSettings.Builder<CreateOfflineProfileRequest,Profile> createOfflineProfileSettings()

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

Returns
Type Description
Builder<CreateOfflineProfileRequest,Profile>

createProfileSettings()

public UnaryCallSettings.Builder<CreateProfileRequest,Profile> createProfileSettings()

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

Returns
Type Description
Builder<CreateProfileRequest,Profile>

getStubSettingsBuilder()

public ProfilerServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ProfilerServiceStubSettings.Builder

updateProfileSettings()

public UnaryCallSettings.Builder<UpdateProfileRequest,Profile> updateProfileSettings()

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

Returns
Type Description
Builder<UpdateProfileRequest,Profile>