Class: Method

ProtoBuf.Reflect.Service. Method

new Method(buildernon-null, svcnon-null, name, optionsopt)

Abstract service method.

Parameters:
Name Type Attributes Description
builder ProtoBuf.Builder

Builder reference

svc ProtoBuf.Reflect.Service

Service

name string

Method name

options Object.<string, *> <optional>

Options

Source:

Extends

Members

(non-null) builder :ProtoBuf.Builder

Builder reference.

Type:
Inherited From:
Source:

className

Source:

name :string

Object name in namespace.

Type:
  • string
Inherited From:
Source:

options :Object.<string, *>

Options.

Type:
  • Object.<string, *>
Source:

(nullable) parent :ProtoBuf.Reflect.T

Parent object.

Type:
Inherited From:
Source:

Methods

build()

Builds this type.

Inherited From:
Source:
Throws:
If this type cannot be built directly
Type
Error

buildOpt() → {Object.<string, *>}

Builds the method's '$options' property.

Source:
Returns:
Type
Object.<string, *>

fqn() → {string}

Returns the fully qualified name of this object.

Inherited From:
Source:
Returns:

Fully qualified name as of ".PATH.TO.THIS"

Type
string

toString(includeClassopt)

Returns a string representation of this Reflect object (its fully qualified name).

Parameters:
Name Type Attributes Description
includeClass boolean <optional>

Set to true to include the class name. Defaults to false.

Inherited From:
Source:
Returns:

String representation