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

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; } } namespace Google.Protobuf.Reflection { public sealed class ServiceOptions : IExtendableMessage<ServiceOptions>, IMessage<ServiceOptions>, IMessage, IEquatable<ServiceOptions>, IDeepCloneable<ServiceOptions>, IBufferMessage { public const int FeaturesFieldNumber = 34; public const int DeprecatedFieldNumber = 33; public const int UninterpretedOptionFieldNumber = 999; public static MessageParser<ServiceOptions> Parser { get; } public static MessageDescriptor Descriptor { get; } public FeatureSet Features { get; set; } public bool Deprecated { get; set; } public bool HasDeprecated { get; } public RepeatedField<UninterpretedOption> UninterpretedOption { get; } public ServiceOptions(); public ServiceOptions(ServiceOptions other); public ServiceOptions Clone(); public void ClearDeprecated(); public bool Equals(ServiceOptions other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(ServiceOptions other); public void MergeFrom(CodedInputStream input); public TValue GetExtension<TValue>(Extension<ServiceOptions, TValue> extension); public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<ServiceOptions, TValue> extension); public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<ServiceOptions, TValue> extension); public void SetExtension<TValue>(Extension<ServiceOptions, TValue> extension, TValue value); public bool HasExtension<TValue>(Extension<ServiceOptions, TValue> extension); public void ClearExtension<TValue>(Extension<ServiceOptions, TValue> extension); public void ClearExtension<TValue>(RepeatedExtension<ServiceOptions, TValue> extension); } }