class MethodDescriptorProto extends Message

Properties

string $name
string $input_type
string $output_type
MethodOptions $options
boolean $client_streaming
boolean $server_streaming

Methods

static 
descriptor()

No description

boolean
hasName()

Check if has a value

string
getName()

Get value

setName(string $value)

Set value

boolean
hasInputType()

Check if has a value

string
getInputType()

Get value

setInputType(string $value)

Set value

boolean
hasOutputType()

Check if has a value

string
getOutputType()

Get value

setOutputType(string $value)

Set value

boolean
hasOptions()

Check if has a value

boolean
hasClientStreaming()

Check if has a value

boolean
getClientStreaming()

Get value

setClientStreaming(boolean $value)

Set value

boolean
hasServerStreaming()

Check if has a value

boolean
getServerStreaming()

Get value

setServerStreaming(boolean $value)

Set value

Details

at line line 2961
static descriptor()

at line line 3028
boolean hasName()

Check if has a value

Return Value

boolean

at line line 3037
MethodDescriptorProto clearName()

Clear value

Return Value

MethodDescriptorProto

at line line 3046
string getName()

Get value

Return Value

string

at line line 3056
MethodDescriptorProto setName(string $value)

Set value

Parameters

string $value

Return Value

MethodDescriptorProto

at line line 3065
boolean hasInputType()

Check if has a value

Return Value

boolean

at line line 3074
MethodDescriptorProto clearInputType()

Clear value

Return Value

MethodDescriptorProto

at line line 3083
string getInputType()

Get value

Return Value

string

at line line 3093
MethodDescriptorProto setInputType(string $value)

Set value

Parameters

string $value

Return Value

MethodDescriptorProto

at line line 3102
boolean hasOutputType()

Check if has a value

Return Value

boolean

at line line 3111
MethodDescriptorProto clearOutputType()

Clear value

Return Value

MethodDescriptorProto

at line line 3120
string getOutputType()

Get value

Return Value

string

at line line 3130
MethodDescriptorProto setOutputType(string $value)

Set value

Parameters

string $value

Return Value

MethodDescriptorProto

at line line 3139
boolean hasOptions()

Check if has a value

Return Value

boolean

at line line 3148
MethodDescriptorProto clearOptions()

Clear value

Return Value

MethodDescriptorProto

at line line 3157
MethodOptions getOptions()

Get value

Return Value

MethodOptions

at line line 3167
MethodDescriptorProto setOptions(MethodOptions $value)

Set value

Parameters

MethodOptions $value

Return Value

MethodDescriptorProto

at line line 3176
boolean hasClientStreaming()

Check if has a value

Return Value

boolean

at line line 3185
MethodDescriptorProto clearClientStreaming()

Clear value

Return Value

MethodDescriptorProto

at line line 3194
boolean getClientStreaming()

Get value

Return Value

boolean

at line line 3204
MethodDescriptorProto setClientStreaming(boolean $value)

Set value

Parameters

boolean $value

Return Value

MethodDescriptorProto

at line line 3213
boolean hasServerStreaming()

Check if has a value

Return Value

boolean

at line line 3222
MethodDescriptorProto clearServerStreaming()

Clear value

Return Value

MethodDescriptorProto

at line line 3231
boolean getServerStreaming()

Get value

Return Value

boolean

at line line 3241
MethodDescriptorProto setServerStreaming(boolean $value)

Set value

Parameters

boolean $value

Return Value

MethodDescriptorProto