Reference documentation and code samples for the proto library Client class JSType.
Protobuf type google.protobuf.FieldOptions.JSType
Namespace
Google \ Protobuf \ Internal \ FieldOptionsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
JS_NORMAL
Value: 0Use the default type.
Generated from protobuf enum JS_NORMAL = 0;
JS_STRING
Value: 1Use JavaScript strings.
Generated from protobuf enum JS_STRING = 1;
JS_NUMBER
Value: 2Use JavaScript numbers.
Generated from protobuf enum JS_NUMBER = 2;