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
MethodDescriptorProto clientStreaming.
clientStreaming
MethodDescriptorProto clientStreaming.
clientStreaming
MethodDescriptorProto clientStreaming.
inputType
MethodDescriptorProto inputType.
inputType
MethodDescriptorProto inputType.
inputType
MethodDescriptorProto inputType.
name
MethodDescriptorProto name.
name
MethodDescriptorProto name.
name
MethodDescriptorProto name.
options
MethodDescriptorProto options.
options
MethodDescriptorProto options.
options
MethodDescriptorProto options.
outputType
MethodDescriptorProto outputType.
outputType
MethodDescriptorProto outputType.
outputType
MethodDescriptorProto outputType.
serverStreaming
MethodDescriptorProto serverStreaming.
serverStreaming
MethodDescriptorProto serverStreaming.
serverStreaming
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 |
Returns:
Type | Description |
---|---|
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
(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 |
Returns:
Type | Description |
---|---|
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
(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 |
Returns:
Type | Description |
---|---|
google.protobuf.MethodDescriptorProto |
MethodDescriptorProto |
(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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this MethodDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |