proto library Client - Class JSType (v5.36.2)

Reference documentation and code samples for the proto library Client class JSType.

Protobuf type google.protobuf.FieldOptions.JSType

Namespace

Google \ Protobuf \ Internal \ FieldOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

JS_NORMAL

Value: 0

Use the default type.

Generated from protobuf enum JS_NORMAL = 0;

JS_STRING

Value: 1

Use JavaScript strings.

Generated from protobuf enum JS_STRING = 1;

JS_NUMBER

Value: 2

Use JavaScript numbers.

Generated from protobuf enum JS_NUMBER = 2;