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

Google.Protobuf.Reflection.CustomOptions

public sealed class CustomOptions
Container for a set of custom options specified within a message, field etc.
namespace Google.Protobuf.Reflection { public sealed class CustomOptions { public bool TryGetBool(int field, out bool value); public bool TryGetInt32(int field, out int value); public bool TryGetInt64(int field, out long value); public bool TryGetFixed32(int field, out uint value); public bool TryGetFixed64(int field, out ulong value); public bool TryGetSFixed32(int field, out int value); public bool TryGetSFixed64(int field, out long value); public bool TryGetSInt32(int field, out int value); public bool TryGetSInt64(int field, out long value); public bool TryGetUInt32(int field, out uint value); public bool TryGetUInt64(int field, out ulong value); public bool TryGetFloat(int field, out float value); public bool TryGetDouble(int field, out double value); public bool TryGetString(int field, out string value); public bool TryGetBytes(int field, out ByteString value); public bool TryGetMessage<T>(int field, out T value) where T : class, IMessage, new; } }