Class EssentialContactsServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<EssentialContactsServiceStubSettings,EssentialContactsServiceStubSettings.Builder>
com.google.cloud.essentialcontacts.v1.stub.EssentialContactsServiceStubSettings.Builder
- Enclosing class:
- EssentialContactsServiceStubSettings
public static class EssentialContactsServiceStubSettings.Builder
extends StubSettings.Builder<EssentialContactsServiceStubSettings,EssentialContactsServiceStubSettings.Builder>
Builder for EssentialContactsServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(EssentialContactsServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateContact.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<EssentialContactsServiceStubSettings,EssentialContactsServiceStubSettings.Builder> - Throws:
IOException
-