Class EssentialContactsServiceStubSettings.Builder (2.52.0)

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

Builder for EssentialContactsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EssentialContactsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EssentialContactsServiceStubSettings settings)

protected Builder(EssentialContactsServiceStubSettings settings)
Parameter
Name Description
settings EssentialContactsServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateContactSettings()

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

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

Returns
Type Description
Builder<UpdateContactRequest,Contact>