# ClusterMetadata

# ClusterMetadata

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/service/ClusterMetadata "View this page in Java")  

<br />

```
class ClusterMetadata : Parcelable
```

<br />

*** ** * ** ***

For internal use only. Wrapper around a list of[ClusterType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/ClusterType).

## Summary

|                                                                                                            ### Constants                                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)`<`[ClusterMetadata](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata)`!>!` | [CREATOR](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata#CREATOR()) Converts[Parcel](https://developer.android.com/reference/android/os/Parcel.html)to[ClusterMetadata](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata). |

|                             ### Public functions                             |
|------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [describeContents](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata#describeContents())`()`                                                                                                                                                                                    |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [writeToParcel](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata#writeToParcel(android.os.Parcel,int))`(parcel: `[Parcel](https://developer.android.com/reference/android/os/Parcel.html)`!, i: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` |

|                                                                                  ### Public properties                                                                                   |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!>!` | [clusterTypes](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata#clusterTypes()) |

|                                                                                                                                                                                                                                                                                                                                                                                         ### Inherited Constants                                                                                                                                                                                                                                                                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------| | `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CONTENTS_FILE_DESCRIPTOR](https://developer.android.com/reference/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR())` = 1`           | | `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PARCELABLE_WRITE_RETURN_VALUE](https://developer.android.com/reference/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE())` = 1` | |

## Constants

### CREATOR

```
const val CREATOR: Parcelable.Creator<ClusterMetadata!>!
```

Converts[Parcel](https://developer.android.com/reference/android/os/Parcel.html)to[ClusterMetadata](https://developer.android.com/reference/kotlin/com/google/android/engage/service/ClusterMetadata).  

## Public functions

### describeContents

```
fun describeContents(): Int
```  

### writeToParcel

```
fun writeToParcel(parcel: Parcel!, i: Int): Unit
```  

## Public properties

### clusterTypes

```
val clusterTypes: ImmutableList<Int!>!
```