Class CustomFieldServiceSettings.Builder (0.8.0)

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

Builder for CustomFieldServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CustomFieldServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomFieldServiceSettings settings)

protected Builder(CustomFieldServiceSettings settings)
Parameter
Name Description
settings CustomFieldServiceSettings

Builder(CustomFieldServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>