Class ProfilerServiceSettings.Builder (2.41.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
NameDescription
clientContextClientContext

Builder(ProfilerServiceSettings settings)

protected Builder(ProfilerServiceSettings settings)
Parameter
NameDescription
settingsProfilerServiceSettings

Builder(ProfilerServiceStubSettings.Builder stubSettings)

protected Builder(ProfilerServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsProfilerServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ProfilerServiceSettings.Builder

build()

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

createOfflineProfileSettings()

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

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

Returns
TypeDescription
Builder<CreateOfflineProfileRequest,Profile>

createProfileSettings()

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

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

Returns
TypeDescription
Builder<CreateProfileRequest,Profile>

getStubSettingsBuilder()

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

updateProfileSettings()

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

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

Returns
TypeDescription
Builder<UpdateProfileRequest,Profile>