Google.Protobuf.WellKnownTypes.Enum

Enum type definition.

Summary

Inheritance

Inherits from: pb::IMessage< Enum >

Constructors and Destructors

Enum()
Enum(Enum other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Enumvalue
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.EnumValue >
Enum value definitions.
Name
string
Enum type name.
Options
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option >
Protocol buffer options.
Parser
pb::MessageParser< Enum >
SourceContext
global::Google.Protobuf.WellKnownTypes.SourceContext
The source context.
Syntax
global::Google.Protobuf.WellKnownTypes.Syntax
The source syntax.

Public attributes

EnumvalueFieldNumber = 2
const int
Field number for the "enumvalue" field.
NameFieldNumber = 1
const int
Field number for the "name" field.
OptionsFieldNumber = 3
const int
Field number for the "options" field.
SourceContextFieldNumber = 4
const int
Field number for the "source_context" field.
SyntaxFieldNumber = 5
const int
Field number for the "syntax" field.

Public functions

CalculateSize()
int
Clone()
Enum
Equals(object other)
override bool
Equals(Enum other)
bool
GetHashCode()
override int
MergeFrom(Enum 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

Enumvalue

pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.EnumValue > Enumvalue

Enum value definitions.

Name

string Name

Enum type name.

Options

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

Protocol buffer options.

Parser

pb::MessageParser< Enum > Parser

SourceContext

global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext

The source context.

Syntax

global::Google.Protobuf.WellKnownTypes.Syntax Syntax

The source syntax.

Public attributes

EnumvalueFieldNumber

const int EnumvalueFieldNumber = 2

Field number for the "enumvalue" field.

NameFieldNumber

const int NameFieldNumber = 1

Field number for the "name" field.

OptionsFieldNumber

const int OptionsFieldNumber = 3

Field number for the "options" field.

SourceContextFieldNumber

const int SourceContextFieldNumber = 4

Field number for the "source_context" field.

SyntaxFieldNumber

const int SyntaxFieldNumber = 5

Field number for the "syntax" field.

Public functions

CalculateSize

int CalculateSize()

Clone

Enum Clone()

Enum

 Enum()

Enum

 Enum(
  Enum other
)

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  Enum other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  Enum other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)