FederatedComputeInput.Builder

public static final class FederatedComputeInput.Builder
extends Object

java.lang.Object
   ↳ android.adservices.ondevicepersonalization.FederatedComputeInput.Builder


A builder for FederatedComputeInput

Summary

Public constructors

Builder()

Public methods

FederatedComputeInput build()

Builds the instance.

FederatedComputeInput.Builder setPopulationName(String value)

Population refers to a collection of devices that specific task groups can run on.

Inherited methods

Public constructors

Public methods

build

public FederatedComputeInput build ()

Builds the instance. This builder should not be touched after calling this!

Returns
FederatedComputeInput This value cannot be null.

setPopulationName

public FederatedComputeInput.Builder setPopulationName (String value)

Population refers to a collection of devices that specific task groups can run on. It should match task plan configured at remote federated computation server.

Parameters
value String: This value cannot be null.

Returns
FederatedComputeInput.Builder This value cannot be null.