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

Pb.Enumvalue.JsonEnumValueOptions

public const int StringFieldNumber = 1

Field number for the "string" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<JsonEnumValueOptions> Parser { get; }

public bool HasString { get; }

Gets whether the "string" field is set

public string String { get; set; }

Allows user to specify a custom string to use when serializing an enum value to JSON. Sample usage: enum Foo { ... FOO_BAR = 42 [(pb.enumvalue.json).string = "my_custom_name"]; }

public int CalculateSize()

public void ClearString()

Clears the value of the "string" field

public bool Equals(JsonEnumValueOptions other)

public void MergeFrom(JsonEnumValueOptions other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)