Class EntityTypesSettings.Builder (0.12.1)

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

Builder for EntityTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EntityTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EntityTypesSettings settings)

protected Builder(EntityTypesSettings settings)
Parameter
Name Description
settings EntityTypesSettings

Builder(EntityTypesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createEntityTypeSettings()

public UnaryCallSettings.Builder<CreateEntityTypeRequest,EntityType> createEntityTypeSettings()

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

Returns
Type Description
Builder<CreateEntityTypeRequest,EntityType>

deleteEntityTypeSettings()

public UnaryCallSettings.Builder<DeleteEntityTypeRequest,Empty> deleteEntityTypeSettings()

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

Returns
Type Description
Builder<DeleteEntityTypeRequest,Empty>

getEntityTypeSettings()

public UnaryCallSettings.Builder<GetEntityTypeRequest,EntityType> getEntityTypeSettings()

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

Returns
Type Description
Builder<GetEntityTypeRequest,EntityType>

getStubSettingsBuilder()

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

listEntityTypesSettings()

public PagedCallSettings.Builder<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesSettings()

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

Returns
Type Description
Builder<ListEntityTypesRequest,ListEntityTypesResponse,ListEntityTypesPagedResponse>

updateEntityTypeSettings()

public UnaryCallSettings.Builder<UpdateEntityTypeRequest,EntityType> updateEntityTypeSettings()

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

Returns
Type Description
Builder<UpdateEntityTypeRequest,EntityType>