Class EssentialContactsServiceSettings.Builder (2.47.0)

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

Builder for EssentialContactsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EssentialContactsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EssentialContactsServiceSettings settings)

protected Builder(EssentialContactsServiceSettings settings)
Parameter
Name Description
settings EssentialContactsServiceSettings

Builder(EssentialContactsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

computeContactsSettings()

public PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse,EssentialContactsServiceClient.ComputeContactsPagedResponse> computeContactsSettings()

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

Returns
Type Description
Builder<ComputeContactsRequest,ComputeContactsResponse,ComputeContactsPagedResponse>

createContactSettings()

public UnaryCallSettings.Builder<CreateContactRequest,Contact> createContactSettings()

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

Returns
Type Description
Builder<CreateContactRequest,Contact>

deleteContactSettings()

public UnaryCallSettings.Builder<DeleteContactRequest,Empty> deleteContactSettings()

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

Returns
Type Description
Builder<DeleteContactRequest,Empty>

getContactSettings()

public UnaryCallSettings.Builder<GetContactRequest,Contact> getContactSettings()

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

Returns
Type Description
Builder<GetContactRequest,Contact>

getStubSettingsBuilder()

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

listContactsSettings()

public PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse,EssentialContactsServiceClient.ListContactsPagedResponse> listContactsSettings()

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

Returns
Type Description
Builder<ListContactsRequest,ListContactsResponse,ListContactsPagedResponse>

sendTestMessageSettings()

public UnaryCallSettings.Builder<SendTestMessageRequest,Empty> sendTestMessageSettings()

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

Returns
Type Description
Builder<SendTestMessageRequest,Empty>

updateContactSettings()

public UnaryCallSettings.Builder<UpdateContactRequest,Contact> updateContactSettings()

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

Returns
Type Description
Builder<UpdateContactRequest,Contact>