Method represents a method of an api.
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()
|
|
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
|
pbr::MessageDescriptor Descriptor
pbr::MessageDescriptor pb::IMessage. Descriptor
string Name
The simple name of this method.
pbc::RepeatedField< global::Google.Protobuf.WellKnownTypes.Option > Options
Any metadata attached to the method.
pb::MessageParser< Method > Parser
bool RequestStreaming
If true, the request is streamed.
string RequestTypeUrl
A URL of the input message type.
bool ResponseStreaming
If true, the response is streamed.
string ResponseTypeUrl
The URL of the output message type.
global::Google.Protobuf.WellKnownTypes.Syntax Syntax
The source syntax of this method.
const int RequestStreamingFieldNumber = 3
Field number for the "request_streaming" field.
const int RequestTypeUrlFieldNumber = 2
Field number for the "request_type_url" field.
const int ResponseStreamingFieldNumber = 5
Field number for the "response_streaming" field.
const int ResponseTypeUrlFieldNumber = 4
Field number for the "response_type_url" field.
int CalculateSize()
Method Clone()
override bool Equals( object other )
bool Equals( Method other )
override int GetHashCode()
void MergeFrom( Method other )
void MergeFrom( pb::CodedInputStream input )
Method()
Method( Method other )
override string ToString()
void WriteTo( pb::CodedOutputStream output )