Class SessionEntityTypesSettings.Builder (0.57.0)

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

Builder for SessionEntityTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SessionEntityTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SessionEntityTypesSettings settings)

protected Builder(SessionEntityTypesSettings settings)
Parameter
Name Description
settings SessionEntityTypesSettings

Builder(SessionEntityTypesStubSettings.Builder stubSettings)

protected Builder(SessionEntityTypesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SessionEntityTypesStubSettings.Builder

Methods

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

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

build()

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

createSessionEntityTypeSettings()

public UnaryCallSettings.Builder<CreateSessionEntityTypeRequest,SessionEntityType> createSessionEntityTypeSettings()

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

Returns
Type Description
Builder<CreateSessionEntityTypeRequest,SessionEntityType>

deleteSessionEntityTypeSettings()

public UnaryCallSettings.Builder<DeleteSessionEntityTypeRequest,Empty> deleteSessionEntityTypeSettings()

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

Returns
Type Description
Builder<DeleteSessionEntityTypeRequest,Empty>

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>

getSessionEntityTypeSettings()

public UnaryCallSettings.Builder<GetSessionEntityTypeRequest,SessionEntityType> getSessionEntityTypeSettings()

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

Returns
Type Description
Builder<GetSessionEntityTypeRequest,SessionEntityType>

getStubSettingsBuilder()

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

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,SessionEntityTypesClient.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>

listSessionEntityTypesSettings()

public PagedCallSettings.Builder<ListSessionEntityTypesRequest,ListSessionEntityTypesResponse,SessionEntityTypesClient.ListSessionEntityTypesPagedResponse> listSessionEntityTypesSettings()

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

Returns
Type Description
Builder<ListSessionEntityTypesRequest,ListSessionEntityTypesResponse,ListSessionEntityTypesPagedResponse>

updateSessionEntityTypeSettings()

public UnaryCallSettings.Builder<UpdateSessionEntityTypeRequest,SessionEntityType> updateSessionEntityTypeSettings()

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

Returns
Type Description
Builder<UpdateSessionEntityTypeRequest,SessionEntityType>