Class IntentsStubSettings.Builder (0.52.0)

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

Builder for IntentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > IntentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IntentsStubSettings settings)

protected Builder(IntentsStubSettings settings)
Parameter
NameDescription
settingsIntentsStubSettings

Methods

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

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

build()

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

createIntentSettings()

public UnaryCallSettings.Builder<CreateIntentRequest,Intent> createIntentSettings()

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

Returns
TypeDescription
Builder<CreateIntentRequest,Intent>

deleteIntentSettings()

public UnaryCallSettings.Builder<DeleteIntentRequest,Empty> deleteIntentSettings()

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

Returns
TypeDescription
Builder<DeleteIntentRequest,Empty>

exportIntentsOperationSettings()

public OperationCallSettings.Builder<ExportIntentsRequest,ExportIntentsResponse,ExportIntentsMetadata> exportIntentsOperationSettings()

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

Returns
TypeDescription
Builder<ExportIntentsRequest,ExportIntentsResponse,ExportIntentsMetadata>

exportIntentsSettings()

public UnaryCallSettings.Builder<ExportIntentsRequest,Operation> exportIntentsSettings()

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

Returns
TypeDescription
Builder<ExportIntentsRequest,Operation>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getIntentSettings()

public UnaryCallSettings.Builder<GetIntentRequest,Intent> getIntentSettings()

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

Returns
TypeDescription
Builder<GetIntentRequest,Intent>

getLocationSettings()

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

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

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

importIntentsOperationSettings()

public OperationCallSettings.Builder<ImportIntentsRequest,ImportIntentsResponse,ImportIntentsMetadata> importIntentsOperationSettings()

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

Returns
TypeDescription
Builder<ImportIntentsRequest,ImportIntentsResponse,ImportIntentsMetadata>

importIntentsSettings()

public UnaryCallSettings.Builder<ImportIntentsRequest,Operation> importIntentsSettings()

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

Returns
TypeDescription
Builder<ImportIntentsRequest,Operation>

listIntentsSettings()

public PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()

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

Returns
TypeDescription
Builder<ListIntentsRequest,ListIntentsResponse,ListIntentsPagedResponse>

listLocationsSettings()

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

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

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

unaryMethodSettingsBuilders()

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

updateIntentSettings()

public UnaryCallSettings.Builder<UpdateIntentRequest,Intent> updateIntentSettings()

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

Returns
TypeDescription
Builder<UpdateIntentRequest,Intent>