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

Builder()

Public methods

addTrainingExampleRecord

fun addTrainingExampleRecord(value: TrainingExampleRecord): TrainingExamplesOutput.Builder
Parameters
value TrainingExampleRecord: This value cannot be null.
Return
TrainingExamplesOutput.Builder This value cannot be null.

build

fun build(): TrainingExamplesOutput

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

Return
TrainingExamplesOutput This value cannot be null.

setTrainingExampleRecords

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.