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 com.google.api.gax.rpc.ClientSettings.Builder<EssentialContactsServiceSettings,EssentialContactsServiceSettings.Builder>
Builder for EssentialContactsServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EssentialContactsServiceSettings settings)
protected
Builder(EssentialContactsServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EssentialContactsServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.EssentialContactsServiceSettings
build()
com.google.api.gax.rpc.PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse,EssentialContactsServiceClient.ComputeContactsPagedResponse>
computeContactsSettings()
Returns the builder for the settings used for calls to computeContacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateContactRequest,Contact>
createContactSettings()
Returns the builder for the settings used for calls to createContact.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteContactRequest,com.google.protobuf.Empty>
deleteContactSettings()
Returns the builder for the settings used for calls to deleteContact.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetContactRequest,Contact>
getContactSettings()
Returns the builder for the settings used for calls to getContact.EssentialContactsServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse,EssentialContactsServiceClient.ListContactsPagedResponse>
listContactsSettings()
Returns the builder for the settings used for calls to listContacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<SendTestMessageRequest,com.google.protobuf.Empty>
sendTestMessageSettings()
Returns the builder for the settings used for calls to sendTestMessage.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateContactRequest,Contact>
updateContactSettings()
Returns the builder for the settings used for calls to updateContact.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EssentialContactsServiceSettings settings)
-
Builder
protected Builder(EssentialContactsServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EssentialContactsServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public EssentialContactsServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateContactRequest,Contact> createContactSettings()
Returns the builder for the settings used for calls to createContact.
-
updateContactSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateContactRequest,Contact> updateContactSettings()
Returns the builder for the settings used for calls to updateContact.
-
listContactsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse,EssentialContactsServiceClient.ListContactsPagedResponse> listContactsSettings()
Returns the builder for the settings used for calls to listContacts.
-
getContactSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetContactRequest,Contact> getContactSettings()
Returns the builder for the settings used for calls to getContact.
-
deleteContactSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteContactRequest,com.google.protobuf.Empty> deleteContactSettings()
Returns the builder for the settings used for calls to deleteContact.
-
computeContactsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse,EssentialContactsServiceClient.ComputeContactsPagedResponse> computeContactsSettings()
Returns the builder for the settings used for calls to computeContacts.
-
sendTestMessageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SendTestMessageRequest,com.google.protobuf.Empty> sendTestMessageSettings()
Returns the builder for the settings used for calls to sendTestMessage.
-
build
public EssentialContactsServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<EssentialContactsServiceSettings,EssentialContactsServiceSettings.Builder>
- Throws:
IOException
-
-