Google.Protobuf.WellKnownTypes.EnumValue

Enum value definition.

Summary

Inheritance

Inherits from: pb::IMessage< EnumValue >

Constructors and Destructors

EnumValue()
EnumValue(EnumValue other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Name
string
Enum value name.
Number
int
Enum value number.
Options
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option >
Protocol buffer options.
Parser
pb::MessageParser< EnumValue >

Public attributes

NameFieldNumber = 1
const int
Field number for the "name" field.
NumberFieldNumber = 2
const int
Field number for the "number" field.
OptionsFieldNumber = 3
const int
Field number for the "options" field.

Public functions

CalculateSize()
int
Clone()
EnumValue
Equals(object other)
override bool
Equals(EnumValue other)
bool
GetHashCode()
override int
MergeFrom(EnumValue other)
void
MergeFrom(pb::CodedInputStream input)
void
ToString()
override string
WriteTo(pb::CodedOutputStream output)
void

Properties

Descriptor

pbr::MessageDescriptor Descriptor

Descriptor

pbr::MessageDescriptor pb::IMessage. Descriptor

Name

string Name

Enum value name.

Number

int Number

Enum value number.

Options

pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option > Options

Protocol buffer options.

Parser

pb::MessageParser< EnumValue > Parser

Public attributes

NameFieldNumber

const int NameFieldNumber = 1

Field number for the "name" field.

NumberFieldNumber

const int NumberFieldNumber = 2

Field number for the "number" field.

OptionsFieldNumber

const int OptionsFieldNumber = 3

Field number for the "options" field.

Public functions

CalculateSize

int CalculateSize()

Clone

EnumValue Clone()

EnumValue

 EnumValue()

EnumValue

 EnumValue(
  EnumValue other
)

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  EnumValue other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  EnumValue other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)