Google.Protobuf.WellKnownTypes.Method

Method represents a method of an api.

Summary

Inheritance

Inherits from: pb::IMessage< Method >

Constructors and Destructors

Method()
Method(Method other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Name
string
The simple name of this method.
Options
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option >
Any metadata attached to the method.
Parser
pb::MessageParser< Method >
RequestStreaming
bool
If true, the request is streamed.
RequestTypeUrl
string
A URL of the input message type.
ResponseStreaming
bool
If true, the response is streamed.
ResponseTypeUrl
string
The URL of the output message type.
Syntax
global::Google.Protobuf.WellKnownTypes.Syntax
The source syntax of this method.

Public attributes

NameFieldNumber = 1
const int
Field number for the "name" field.
OptionsFieldNumber = 6
const int
Field number for the "options" field.
RequestStreamingFieldNumber = 3
const int
Field number for the "request_streaming" field.
RequestTypeUrlFieldNumber = 2
const int
Field number for the "request_type_url" field.
ResponseStreamingFieldNumber = 5
const int
Field number for the "response_streaming" field.
ResponseTypeUrlFieldNumber = 4
const int
Field number for the "response_type_url" field.
SyntaxFieldNumber = 7
const int
Field number for the "syntax" field.

Public functions

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

The simple name of this method.

Options

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

Any metadata attached to the method.

Parser

pb::MessageParser< Method > Parser

RequestStreaming

bool RequestStreaming

If true, the request is streamed.

RequestTypeUrl

string RequestTypeUrl

A URL of the input message type.

ResponseStreaming

bool ResponseStreaming

If true, the response is streamed.

ResponseTypeUrl

string ResponseTypeUrl

The URL of the output message type.

Syntax

global::Google.Protobuf.WellKnownTypes.Syntax Syntax

The source syntax of this method.

Public attributes

NameFieldNumber

const int NameFieldNumber = 1

Field number for the "name" field.

OptionsFieldNumber

const int OptionsFieldNumber = 6

Field number for the "options" field.

RequestStreamingFieldNumber

const int RequestStreamingFieldNumber = 3

Field number for the "request_streaming" field.

RequestTypeUrlFieldNumber

const int RequestTypeUrlFieldNumber = 2

Field number for the "request_type_url" field.

ResponseStreamingFieldNumber

const int ResponseStreamingFieldNumber = 5

Field number for the "response_streaming" field.

ResponseTypeUrlFieldNumber

const int ResponseTypeUrlFieldNumber = 4

Field number for the "response_type_url" field.

SyntaxFieldNumber

const int SyntaxFieldNumber = 7

Field number for the "syntax" field.

Public functions

CalculateSize

int CalculateSize()

Clone

Method Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  Method other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  Method other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

Method

 Method()

Method

 Method(
  Method other
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)