Google.Protobuf.WellKnownTypes.Type

A protocol buffer message type.

Summary

Inheritance

Inherits from: pb::IMessage< Type >

Constructors and Destructors

Type()
Type(Type other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Fields
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Field >
The list of fields.
Name
string
The fully qualified message name.
Oneofs
pbc::RepeatedField< string >
The list of types appearing in oneof definitions in this type.
Options
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option >
The protocol buffer options.
Parser
pb::MessageParser< Type >
SourceContext
global::Google.Protobuf.WellKnownTypes.SourceContext
The source context.
Syntax
global::Google.Protobuf.WellKnownTypes.Syntax
The source syntax.

Public attributes

FieldsFieldNumber = 2
const int
Field number for the "fields" field.
NameFieldNumber = 1
const int
Field number for the "name" field.
OneofsFieldNumber = 3
const int
Field number for the "oneofs" field.
OptionsFieldNumber = 4
const int
Field number for the "options" field.
SourceContextFieldNumber = 5
const int
Field number for the "source_context" field.
SyntaxFieldNumber = 6
const int
Field number for the "syntax" field.

Public functions

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

Fields

pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Field > Fields

The list of fields.

Name

string Name

The fully qualified message name.

Oneofs

pbc::RepeatedField< string > Oneofs

The list of types appearing in oneof definitions in this type.

Options

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

The protocol buffer options.

Parser

pb::MessageParser< Type > Parser

SourceContext

global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext

The source context.

Syntax

global::Google.Protobuf.WellKnownTypes.Syntax Syntax

The source syntax.

Public attributes

FieldsFieldNumber

const int FieldsFieldNumber = 2

Field number for the "fields" field.

NameFieldNumber

const int NameFieldNumber = 1

Field number for the "name" field.

OneofsFieldNumber

const int OneofsFieldNumber = 3

Field number for the "oneofs" field.

OptionsFieldNumber

const int OptionsFieldNumber = 4

Field number for the "options" field.

SourceContextFieldNumber

const int SourceContextFieldNumber = 5

Field number for the "source_context" field.

SyntaxFieldNumber

const int SyntaxFieldNumber = 6

Field number for the "syntax" field.

Public functions

CalculateSize

int CalculateSize()

Clone

Type Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  Type other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  Type other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

Type

 Type()

Type

 Type(
  Type other
)

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)