Class SessionEntityTypesStubSettings.Builder (4.4.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
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>

getSessionEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<GetSessionEntityTypeRequest,SessionEntityType>

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>