public static class ParticipantsStubSettings.Builder extends StubSettings.Builder<ParticipantsStubSettings,ParticipantsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ParticipantsStubSettings settings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ParticipantsStubSettings settings)
public ParticipantsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<CreateParticipantRequest,Participant> createParticipantSettings()
public UnaryCallSettings.Builder<GetParticipantRequest,Participant> getParticipantSettings()
public PagedCallSettings.Builder<ListParticipantsRequest,ListParticipantsResponse,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsSettings()
public UnaryCallSettings.Builder<UpdateParticipantRequest,Participant> updateParticipantSettings()
public UnaryCallSettings.Builder<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentSettings()
public StreamingCallSettings.Builder<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentSettings()
public UnaryCallSettings.Builder<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesSettings()
public UnaryCallSettings.Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersSettings()
public UnaryCallSettings.Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesSettings()
@Deprecated public PagedCallSettings.Builder<ListSuggestionsRequest,ListSuggestionsResponse,ParticipantsClient.ListSuggestionsPagedResponse> listSuggestionsSettings()
@Deprecated public UnaryCallSettings.Builder<CompileSuggestionRequest,CompileSuggestionResponse> compileSuggestionSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ParticipantsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ParticipantsStubSettings build() throws IOException
build
in class StubSettings.Builder<ParticipantsStubSettings,ParticipantsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.