ParametersBuilder

public final classParametersBuilder


Helper class used to enable fluent syntax inlogEvent.

Summary

Public constructors

Public methods

final void
param(@NonNullString key, @NonNull Bundle[] value)

Add parameter namedkey withvalue to the logged event.

final void

Add parameter namedkey withvalue to the logged event.

final void
param(@NonNullString key, double value)

Add parameter namedkey withvalue to the logged event.

final void
param(@NonNullString key, long value)

Add parameter namedkey withvalue to the logged event.

final void

Add parameter namedkey withvalue to the logged event.

Public constructors

ParametersBuilder

public ParametersBuilder()

Public methods

param

public final void param(@NonNullString key, @NonNull Bundle[] value)

Add parameter namedkey withvalue to the logged event.

param

public final void param(@NonNullString key, @NonNullBundle value)

Add parameter namedkey withvalue to the logged event.

param

public final void param(@NonNullString key, double value)

Add parameter namedkey withvalue to the logged event.

param

public final void param(@NonNullString key, long value)

Add parameter namedkey withvalue to the logged event.

param

public final void param(@NonNullString key, @NonNullString value)

Add parameter namedkey withvalue to the logged event.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.