Class CustomFieldServiceStubSettings.Builder (0.5.0)

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

Builder for CustomFieldServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CustomFieldServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomFieldServiceStubSettings settings)

protected Builder(CustomFieldServiceStubSettings settings)
Parameter
Name Description
settings CustomFieldServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getCustomFieldSettings()

public UnaryCallSettings.Builder<GetCustomFieldRequest,CustomField> getCustomFieldSettings()

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

Returns
Type Description
Builder<GetCustomFieldRequest,CustomField>

listCustomFieldsSettings()

public PagedCallSettings.Builder<ListCustomFieldsRequest,ListCustomFieldsResponse,CustomFieldServiceClient.ListCustomFieldsPagedResponse> listCustomFieldsSettings()

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

Returns
Type Description
Builder<ListCustomFieldsRequest,ListCustomFieldsResponse,ListCustomFieldsPagedResponse>

unaryMethodSettingsBuilders()

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