Class ConversationDatasetsStubSettings.Builder (4.42.0)

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

Builder(ConversationDatasetsStubSettings settings)

protected Builder(ConversationDatasetsStubSettings settings)
Parameter
Name Description
settings ConversationDatasetsStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ConversationDatasetsStubSettings.Builder

build()

public ConversationDatasetsStubSettings build()
Returns
Type Description
ConversationDatasetsStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
Type Description
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

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