Enum Field.Types.Cardinality (3.15.8)

public enum Cardinality : int

Whether a field is optional, required, or repeated.

Namespace

Google.Protobuf.WellKnownTypes

Assembly

Google.Protobuf.dll

Fields

NameDescription
Optional

For optional fields.

Repeated

For repeated fields.

Required

For required fields. Proto2 syntax only.

Unknown

For fields with unknown cardinality.