Class ConversationDatasetsSettings.Builder (4.7.5)

public static class ConversationDatasetsSettings.Builder extends ClientSettings.Builder<ConversationDatasetsSettings,ConversationDatasetsSettings.Builder>

Builder for ConversationDatasetsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConversationDatasetsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConversationDatasetsSettings settings)

protected Builder(ConversationDatasetsSettings settings)
Parameter
NameDescription
settingsConversationDatasetsSettings

Builder(ConversationDatasetsStubSettings.Builder stubSettings)

protected Builder(ConversationDatasetsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConversationDatasetsStubSettings.Builder

Methods

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

public ConversationDatasetsSettings.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
ConversationDatasetsSettings.Builder

build()

public ConversationDatasetsSettings build()
Returns
TypeDescription
ConversationDatasetsSettings
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>

getStubSettingsBuilder()

public ConversationDatasetsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ConversationDatasetsStubSettings.Builder

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>