# GenerateSerializerAttribute.GenerateFieldIds

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.generateserializerattribute/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.generateserializerattribute/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.Abstractions/Annotations.cs)

```csharp
public GenerateFieldIds GenerateFieldIds
```

Get or sets when Orleans should auto-assign field ids. The default behavior is to not auto-assign field ids.
