Added in API level 35

Builder


class Builder
kotlin.Any
   ↳ android.adservices.ondevicepersonalization.TrainingExamplesOutput.Builder

A builder for TrainingExamplesOutput

Summary

Public constructors

Public methods
TrainingExamplesOutput.Builder

TrainingExamplesOutput

Builds the instance.

TrainingExamplesOutput.Builder

The list of training example byte arrays.

Public constructors

Builder

Added in API level 35
Builder()

Public methods

addTrainingExampleRecord

Added in API level 35
fun addTrainingExampleRecord(value: TrainingExampleRecord): TrainingExamplesOutput.Builder
Parameters
value TrainingExampleRecord: This value cannot be null.
Return
TrainingExamplesOutput.Builder This value cannot be null.

build

Added in API level 35
fun build(): TrainingExamplesOutput

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

Return
TrainingExamplesOutput This value cannot be null.

setTrainingExampleRecords

Added in API level 35
fun setTrainingExampleRecords(value: MutableList<TrainingExampleRecord!>): TrainingExamplesOutput.Builder

The list of training example byte arrays. The format is a binary serialized tensorflow.Example proto. The maximum allowed example size is 50KB.

Parameters
value MutableList<TrainingExampleRecord!>: This value cannot be null.
Return
TrainingExamplesOutput.Builder This value cannot be null.