Class SessionEntityTypesStubSettings.Builder (0.17.0)

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

Builder for SessionEntityTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SessionEntityTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SessionEntityTypesStubSettings settings)

protected Builder(SessionEntityTypesStubSettings settings)
Parameter
Name Description
settings SessionEntityTypesStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateSessionEntityTypeSettings()

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

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

Returns
Type Description
Builder<UpdateSessionEntityTypeRequest,SessionEntityType>