Enum Field.Types.Cardinality (3.23.0)

public enum Field.Types.Cardinality

Whether a field is optional, required, or repeated.

Namespace

Google.Protobuf.WellKnownTypes

Assembly

Google.Protobuf.dll

Fields

Name Description
Optional

For optional fields.

Repeated

For repeated fields.

Required

For required fields. Proto2 syntax only.

Unknown

For fields with unknown cardinality.