Indexable.Builder
Stay organized with collections
Save and categorize content based on your preferences.
The builder for Indexable
.
Convenience methods to construct indexables for common data types are available via
Indexables
.
Note that the following limitations are automatically applied:
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public Builder (String type)
Parameters
type |
The Schema.org type best describing this indexable unit (refer to schema.org for a list of standard types).
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
[null,null,["Last updated 2021-02-11 UTC."],[],[],null,["public static class **Indexable.Builder** extends [IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder)\\\u003c[Indexable.Builder](/docs/reference/android/com/google/firebase/appindexing/Indexable.Builder)\\\u003e \nThe builder for [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable).\n\nConvenience methods to construct indexables for common data types are available via\n[Indexables](/docs/reference/android/com/google/firebase/appindexing/builders/Indexables).\n\nNote that the following limitations are automatically applied:\n\n- The name field must be set for the root [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable). Refer to the [IndexableBuilder.setName(String)](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder#setName(java.lang.String)) method.\n- The number of characters in a string value is limited to [Indexable.MAX_STRING_LENGTH](/docs/reference/android).\n- The number of values for a single field is limited to [Indexable.MAX_REPEATED_SIZE](/docs/reference/android).\n- The depth of nested values is limited to [Indexable.MAX_NESTING_DEPTH](/docs/reference/android).\n- The number of set fields on an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable) is limited to [Indexable.MAX_NUMBER_OF_FIELDS](/docs/reference/android).\n- The total byte size of an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable) is limited to [Indexable.MAX_BYTE_SIZE](/docs/reference/android). \n\nPublic Constructor Summary\n\nInherited Method Summary \nFrom class [com.google.firebase.appindexing.builders.IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder) \n\nFrom class java.lang.Object \n\nPublic Constructors \n\npublic **Builder** () \nThe constructor. \n\npublic **Builder** ([String](//developer.android.com/reference/java/lang/String.html) type) \nThe constructor. \n\nParameters"]]