Class SessionEntityTypesStubSettings.Builder (4.8.5)

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
NameDescription
clientContextClientContext

Builder(SessionEntityTypesStubSettings settings)

protected Builder(SessionEntityTypesStubSettings settings)
Parameter
NameDescription
settingsSessionEntityTypesStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SessionEntityTypesStubSettings.Builder

build()

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

createSessionEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<CreateSessionEntityTypeRequest,SessionEntityType>

deleteSessionEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<DeleteSessionEntityTypeRequest,Empty>

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>

getSessionEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<GetSessionEntityTypeRequest,SessionEntityType>

listLocationsSettings()

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

listSessionEntityTypesSettings()

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

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

Returns
TypeDescription
Builder<ListSessionEntityTypesRequest,ListSessionEntityTypesResponse,ListSessionEntityTypesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateSessionEntityTypeRequest,SessionEntityType>