Class ProfilerServiceStubSettings.Builder (2.51.0)

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

Builder for ProfilerServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProfilerServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProfilerServiceStubSettings settings)

protected Builder(ProfilerServiceStubSettings settings)
Parameter
Name Description
settings ProfilerServiceStubSettings

Methods

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

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

build()

public ProfilerServiceStubSettings build()
Returns
Type Description
ProfilerServiceStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<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>