# Profile

# Profile

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/social/datamodel/Profile "View this page in Kotlin")\|Java  

<br />

```
public final class Profile
```

<br />

*** ** * ** ***

An object representing a user profile on social media.

## Summary

|                                                                                                                          ### Nested types                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[Profile.Builder](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile.Builder) Builder class for[Profile](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile). |

|                                             ### Public fields                                             |
|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
| `final `[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image) | [avatar](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#avatar()) |
| `final `[String](https://developer.android.com/reference/java/lang/String.html)                           | [name](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#name())     |

|                                                                                        ### Public methods                                                                                        |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>` | [getAdditionalImage](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#getAdditionalImage())`()` Returns the additional image associated with the profile.              |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                           | [getAdditionalText](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#getAdditionalText())`()` Returns the additional metadata associated with the profile. e.g. handle |
| [Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)                                                                                                | [getAvatar](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#getAvatar())`()` Returns the avatar image associated with the profile.                                    |
| [String](https://developer.android.com/reference/java/lang/String.html)                                                                                                                          | [getName](https://developer.android.com/reference/com/google/android/engage/social/datamodel/Profile#getName())`()` Returns the name associated with the profile.                                                |

## Public fields

### avatar

```
public final Image avatar
```  

### name

```
public final String name
```  

## Public methods

### getAdditionalImage

```
public Optional<Image> getAdditionalImage()
```

Returns the additional image associated with the profile.  

### getAdditionalText

```
public Optional<String> getAdditionalText()
```

Returns the additional metadata associated with the profile. e.g. handle  

### getAvatar

```
public Image getAvatar()
```

Returns the avatar image associated with the profile.  

### getName

```
public String getName()
```

Returns the name associated with the profile.