public static class EssentialContactsServiceStubSettings.Builder extends StubSettings.Builder<EssentialContactsServiceStubSettings,EssentialContactsServiceStubSettings.Builder>
Builder for EssentialContactsServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(EssentialContactsServiceStubSettings settings)
Methods
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.
public EssentialContactsServiceStubSettings build()
Overrides
public PagedCallSettings.Builder<ComputeContactsRequest,ComputeContactsResponse,EssentialContactsServiceClient.ComputeContactsPagedResponse> computeContactsSettings()
Returns the builder for the settings used for calls to computeContacts.
public UnaryCallSettings.Builder<CreateContactRequest,Contact> createContactSettings()
Returns the builder for the settings used for calls to createContact.
public UnaryCallSettings.Builder<DeleteContactRequest,Empty> deleteContactSettings()
Returns the builder for the settings used for calls to deleteContact.
public UnaryCallSettings.Builder<GetContactRequest,Contact> getContactSettings()
Returns the builder for the settings used for calls to getContact.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public PagedCallSettings.Builder<ListContactsRequest,ListContactsResponse,EssentialContactsServiceClient.ListContactsPagedResponse> listContactsSettings()
Returns the builder for the settings used for calls to listContacts.
public UnaryCallSettings.Builder<SendTestMessageRequest,Empty> sendTestMessageSettings()
Returns the builder for the settings used for calls to sendTestMessage.
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
public UnaryCallSettings.Builder<UpdateContactRequest,Contact> updateContactSettings()
Returns the builder for the settings used for calls to updateContact.