public static class ConversationModelsStubSettings.Builder extends StubSettings.Builder<ConversationModelsStubSettings,ConversationModelsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConversationModelsStubSettings 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(ConversationModelsStubSettings settings)
public ConversationModelsStubSettings.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<CreateConversationModelRequest,Operation> createConversationModelSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata> createConversationModelOperationSettings()
public UnaryCallSettings.Builder<GetConversationModelRequest,ConversationModel> getConversationModelSettings()
public PagedCallSettings.Builder<ListConversationModelsRequest,ListConversationModelsResponse,ConversationModelsClient.ListConversationModelsPagedResponse> listConversationModelsSettings()
public UnaryCallSettings.Builder<DeleteConversationModelRequest,Operation> deleteConversationModelSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata> deleteConversationModelOperationSettings()
public UnaryCallSettings.Builder<DeployConversationModelRequest,Operation> deployConversationModelSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata> deployConversationModelOperationSettings()
public UnaryCallSettings.Builder<UndeployConversationModelRequest,Operation> undeployConversationModelSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata> undeployConversationModelOperationSettings()
public UnaryCallSettings.Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation> getConversationModelEvaluationSettings()
public PagedCallSettings.Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse> listConversationModelEvaluationsSettings()
public UnaryCallSettings.Builder<CreateConversationModelEvaluationRequest,Operation> createConversationModelEvaluationSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata> createConversationModelEvaluationOperationSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationModelsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ConversationModelsStubSettings build() throws IOException
build
in class StubSettings.Builder<ConversationModelsStubSettings,ConversationModelsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.