Class ConversationDatasetsStubSettings.Builder (4.7.4)

public static class ConversationDatasetsStubSettings.Builder extends StubSettings.Builder<ConversationDatasetsStubSettings,ConversationDatasetsStubSettings.Builder>

Builder for ConversationDatasetsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConversationDatasetsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConversationDatasetsStubSettings settings)

protected Builder(ConversationDatasetsStubSettings settings)
Parameter
NameDescription
settingsConversationDatasetsStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ConversationDatasetsStubSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConversationDatasetsStubSettings.Builder

build()

public ConversationDatasetsStubSettings build()
Returns
TypeDescription
ConversationDatasetsStubSettings
Overrides Exceptions
TypeDescription
IOException

createConversationDatasetOperationSettings()

public OperationCallSettings.Builder<CreateConversationDatasetRequest,ConversationDataset,CreateConversationDatasetOperationMetadata> createConversationDatasetOperationSettings()

Returns the builder for the settings used for calls to createConversationDataset.

Returns
TypeDescription
Builder<CreateConversationDatasetRequest,ConversationDataset,CreateConversationDatasetOperationMetadata>

createConversationDatasetSettings()

public UnaryCallSettings.Builder<CreateConversationDatasetRequest,Operation> createConversationDatasetSettings()

Returns the builder for the settings used for calls to createConversationDataset.

Returns
TypeDescription
Builder<CreateConversationDatasetRequest,Operation>

deleteConversationDatasetOperationSettings()

public OperationCallSettings.Builder<DeleteConversationDatasetRequest,Empty,DeleteConversationDatasetOperationMetadata> deleteConversationDatasetOperationSettings()

Returns the builder for the settings used for calls to deleteConversationDataset.

Returns
TypeDescription
Builder<DeleteConversationDatasetRequest,Empty,DeleteConversationDatasetOperationMetadata>

deleteConversationDatasetSettings()

public UnaryCallSettings.Builder<DeleteConversationDatasetRequest,Operation> deleteConversationDatasetSettings()

Returns the builder for the settings used for calls to deleteConversationDataset.

Returns
TypeDescription
Builder<DeleteConversationDatasetRequest,Operation>

getConversationDatasetSettings()

public UnaryCallSettings.Builder<GetConversationDatasetRequest,ConversationDataset> getConversationDatasetSettings()

Returns the builder for the settings used for calls to getConversationDataset.

Returns
TypeDescription
Builder<GetConversationDatasetRequest,ConversationDataset>

importConversationDataOperationSettings()

public OperationCallSettings.Builder<ImportConversationDataRequest,ImportConversationDataOperationResponse,ImportConversationDataOperationMetadata> importConversationDataOperationSettings()

Returns the builder for the settings used for calls to importConversationData.

Returns
TypeDescription
Builder<ImportConversationDataRequest,ImportConversationDataOperationResponse,ImportConversationDataOperationMetadata>

importConversationDataSettings()

public UnaryCallSettings.Builder<ImportConversationDataRequest,Operation> importConversationDataSettings()

Returns the builder for the settings used for calls to importConversationData.

Returns
TypeDescription
Builder<ImportConversationDataRequest,Operation>

listConversationDatasetsSettings()

public PagedCallSettings.Builder<ListConversationDatasetsRequest,ListConversationDatasetsResponse,ConversationDatasetsClient.ListConversationDatasetsPagedResponse> listConversationDatasetsSettings()

Returns the builder for the settings used for calls to listConversationDatasets.

Returns
TypeDescription
Builder<ListConversationDatasetsRequest,ListConversationDatasetsResponse,ListConversationDatasetsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>