Class ConversationDatasetsSettings.Builder (4.58.0)

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
Name Description
clientContext ClientContext

Builder(ConversationDatasetsSettings settings)

protected Builder(ConversationDatasetsSettings settings)
Parameter
Name Description
settings ConversationDatasetsSettings

Builder(ConversationDatasetsStubSettings.Builder stubSettings)

protected Builder(ConversationDatasetsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ConversationDatasetsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ConversationDatasetsSettings.Builder

build()

public ConversationDatasetsSettings build()
Returns
Type Description
ConversationDatasetsSettings
Overrides
Exceptions
Type Description
IOException

createConversationDatasetOperationSettings()

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

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

Returns
Type Description
Builder<CreateConversationDatasetRequest,ConversationDataset,CreateConversationDatasetOperationMetadata>

createConversationDatasetSettings()

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

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

Returns
Type Description
Builder<CreateConversationDatasetRequest,Operation>

deleteConversationDatasetOperationSettings()

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

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

Returns
Type Description
Builder<DeleteConversationDatasetRequest,Empty,DeleteConversationDatasetOperationMetadata>

deleteConversationDatasetSettings()

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

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

Returns
Type Description
Builder<DeleteConversationDatasetRequest,Operation>

getConversationDatasetSettings()

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

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

Returns
Type Description
Builder<GetConversationDatasetRequest,ConversationDataset>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public ConversationDatasetsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ConversationDatasetsStubSettings.Builder

importConversationDataOperationSettings()

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

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

Returns
Type Description
Builder<ImportConversationDataRequest,ImportConversationDataOperationResponse,ImportConversationDataOperationMetadata>

importConversationDataSettings()

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

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

Returns
Type Description
Builder<ImportConversationDataRequest,Operation>

listConversationDatasetsSettings()

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

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

Returns
Type Description
Builder<ListConversationDatasetsRequest,ListConversationDatasetsResponse,ListConversationDatasetsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConversationDatasetsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>