Constructor
new MethodDescriptorProto(propertiesopt)
Constructs a new MethodDescriptorProto.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.protobuf.IMethodDescriptorProto |
<optional> |
Properties to set |
- Implements:
-
- IMethodDescriptorProto
Members
clientStreaming :boolean
MethodDescriptorProto clientStreaming.
clientStreaming :boolean
MethodDescriptorProto clientStreaming.
clientStreaming :boolean
MethodDescriptorProto clientStreaming.
inputType :string
MethodDescriptorProto inputType.
inputType :string
MethodDescriptorProto inputType.
inputType :string
MethodDescriptorProto inputType.
name :string
MethodDescriptorProto name.
name :string
MethodDescriptorProto name.
name :string
MethodDescriptorProto name.
options :google.protobuf.IMethodOptions|null|undefined
MethodDescriptorProto options.
options :google.protobuf.IMethodOptions|null|undefined
MethodDescriptorProto options.
options :google.protobuf.IMethodOptions|null|undefined
MethodDescriptorProto options.
outputType :string
MethodDescriptorProto outputType.
outputType :string
MethodDescriptorProto outputType.
outputType :string
MethodDescriptorProto outputType.
serverStreaming :boolean
MethodDescriptorProto serverStreaming.
serverStreaming :boolean
MethodDescriptorProto serverStreaming.
serverStreaming :boolean
MethodDescriptorProto serverStreaming.
Methods
(static) fromObject(object) → {google.protobuf.MethodDescriptorProto}
Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.MethodDescriptorProto}
Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.MethodDescriptorProto}
Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.