public final class

PropertyParcel.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.appsearch.safeparcel.PropertyParcel.Builder

Overview

Builder for PropertyParcel.

Summary

Constructors
publicBuilder(java.lang.String propertyName)

Methods
public PropertyParcelbuild()

Builds a PropertyParcel.

public PropertyParcel.BuildersetBooleanValues(boolean[] booleanValues[])

Sets boolean values.

public PropertyParcel.BuildersetBytesValues(byte[][] bytesValues[][])

Sets a two dimension byte array.

public PropertyParcel.BuildersetDocumentValues(GenericDocumentParcel documentValues[])

Sets document values.

public PropertyParcel.BuildersetDoubleValues(double[] doubleValues[])

Sets double values.

public PropertyParcel.BuildersetEmbeddingValues(EmbeddingVector embeddingValues[])

Sets embedding values.

public PropertyParcel.BuildersetLongValues(long[] longValues[])

Sets long values.

public PropertyParcel.BuildersetStringValues(java.lang.String stringValues[])

Sets String values.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.lang.String propertyName)

Methods

public PropertyParcel.Builder setStringValues(java.lang.String stringValues[])

Sets String values.

public PropertyParcel.Builder setLongValues(long[] longValues[])

Sets long values.

public PropertyParcel.Builder setDoubleValues(double[] doubleValues[])

Sets double values.

public PropertyParcel.Builder setBooleanValues(boolean[] booleanValues[])

Sets boolean values.

public PropertyParcel.Builder setBytesValues(byte[][] bytesValues[][])

Sets a two dimension byte array.

public PropertyParcel.Builder setDocumentValues(GenericDocumentParcel documentValues[])

Sets document values.

public PropertyParcel.Builder setEmbeddingValues(EmbeddingVector embeddingValues[])

Sets embedding values.

public PropertyParcel build()

Builds a PropertyParcel.