Class ConversationDatasetsSettings.Builder (4.12.0)

See more code actions.
public static class ConversationDatasetsSettings.Builder extends ClientSettings.Builder<ConversationDatasetsSettings,ConversationDatasetsSettings.Builder>

Builder for ConversationDatasetsSettings.

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

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

createConversationDatasetSettings()

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

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

Returns

deleteConversationDatasetOperationSettings()

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

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

Returns

deleteConversationDatasetSettings()

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

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

Returns

getConversationDatasetSettings()

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

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

Returns

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

importConversationDataOperationSettings()

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

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

Returns

importConversationDataSettings()

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

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

Returns

listConversationDatasetsSettings()

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

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

Returns

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>