<PackageReference Include="Google.Protobuf" Version="3.35.1" />

Google.Protobuf.Reflection.FieldDescriptor

namespace Google.Protobuf.Reflection { public sealed class OneofDescriptor : DescriptorBase { public MessageDescriptor ContainingType { get; } public IList<FieldDescriptor> Fields { get; } public bool IsSynthetic { get; } public OneofAccessor Accessor { get; } public CustomOptions CustomOptions { get; } public OneofDescriptorProto ToProto(); public OneofOptions GetOptions(); public T GetOption<T>(Extension<OneofOptions, T> extension); public RepeatedField<T> GetOption<T>(RepeatedExtension<OneofOptions, T> extension); } }