Class EssentialContactsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<EssentialContactsServiceSettings,EssentialContactsServiceSettings.Builder>
com.google.cloud.essentialcontacts.v1.EssentialContactsServiceSettings.Builder
- Enclosing class:
- EssentialContactsServiceSettings
public static class EssentialContactsServiceSettings.Builder
extends ClientSettings.Builder<EssentialContactsServiceSettings,EssentialContactsServiceSettings.Builder>
Builder for EssentialContactsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(EssentialContactsServiceSettings settings) protectedBuilder(EssentialContactsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse, EssentialContactsServiceClient.ComputeContactsPagedResponse> Returns the builder for the settings used for calls to computeContacts.Returns the builder for the settings used for calls to createContact.UnaryCallSettings.Builder<DeleteContactRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteContact.Returns the builder for the settings used for calls to getContact.PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse, EssentialContactsServiceClient.ListContactsPagedResponse> Returns the builder for the settings used for calls to listContacts.UnaryCallSettings.Builder<SendTestMessageRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to sendTestMessage.Returns the builder for the settings used for calls to updateContact.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
createContactSettings
Returns the builder for the settings used for calls to createContact. -
updateContactSettings
Returns the builder for the settings used for calls to updateContact. -
listContactsSettings
public PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse, listContactsSettings()EssentialContactsServiceClient.ListContactsPagedResponse> Returns the builder for the settings used for calls to listContacts. -
getContactSettings
Returns the builder for the settings used for calls to getContact. -
deleteContactSettings
public UnaryCallSettings.Builder<DeleteContactRequest,com.google.protobuf.Empty> deleteContactSettings()Returns the builder for the settings used for calls to deleteContact. -
computeContactsSettings
public PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse, computeContactsSettings()EssentialContactsServiceClient.ComputeContactsPagedResponse> Returns the builder for the settings used for calls to computeContacts. -
sendTestMessageSettings
public UnaryCallSettings.Builder<SendTestMessageRequest,com.google.protobuf.Empty> sendTestMessageSettings()Returns the builder for the settings used for calls to sendTestMessage. -
build
- Specified by:
buildin classClientSettings.Builder<EssentialContactsServiceSettings,EssentialContactsServiceSettings.Builder> - Throws:
IOException
-