Class SessionEntityTypesSettings.Builder (4.7.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
NameDescription
clientContextClientContext

Builder(SessionEntityTypesSettings settings)

protected Builder(SessionEntityTypesSettings settings)
Parameter
NameDescription
settingsSessionEntityTypesSettings

Builder(SessionEntityTypesStubSettings.Builder stubSettings)

protected Builder(SessionEntityTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSessionEntityTypesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SessionEntityTypesSettings.Builder

build()

public SessionEntityTypesSettings build()
Returns
TypeDescription
SessionEntityTypesSettings
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>

getStubSettingsBuilder()

public SessionEntityTypesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SessionEntityTypesStubSettings.Builder

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>

updateSessionEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<UpdateSessionEntityTypeRequest,SessionEntityType>