proto library Client - Class GPBUtil (v5.36.2)
Stay organized with collections
Save and categorize content based on your preferences.
Namespace
Google \ Protobuf \ Internal
Methods
static::divideInt64ToInt32
| Parameters |
| Name |
Description |
value |
mixed
|
high |
mixed
|
low |
mixed
|
trim |
mixed
|
static::checkString
| Parameters |
| Name |
Description |
var |
mixed
|
check_utf8 |
mixed
|
static::checkEnum
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkInt32
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkUint32
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkInt64
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkUint64
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkFloat
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkDouble
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkBool
| Parameter |
| Name |
Description |
var |
mixed
|
static::checkMessage
| Parameters |
| Name |
Description |
var |
mixed
|
klass |
mixed
|
newClass |
mixed
|
static::checkRepeatedField
| Parameters |
| Name |
Description |
var |
mixed
|
type |
mixed
|
klass |
mixed
|
static::checkMapField
| Parameters |
| Name |
Description |
var |
mixed
|
key_type |
mixed
|
value_type |
mixed
|
klass |
mixed
|
static::Int64
| Parameter |
| Name |
Description |
value |
mixed
|
static::Uint64
| Parameter |
| Name |
Description |
value |
mixed
|
static::getClassNamePrefix
| Parameters |
| Name |
Description |
classname |
mixed
|
file_proto |
mixed
|
static::getLegacyClassNameWithoutPackage
| Parameters |
| Name |
Description |
name |
mixed
|
file_proto |
mixed
|
static::getClassNameWithoutPackage
| Parameters |
| Name |
Description |
name |
mixed
|
file_proto |
mixed
|
static::getFullClassName
| Parameters |
| Name |
Description |
proto |
mixed
|
containing |
mixed
|
file_proto |
mixed
|
message_name_without_package |
mixed
|
classname |
mixed
|
legacy_classname |
mixed
|
fullname |
mixed
|
previous_classname |
mixed
|
static::combineInt32ToInt64
| Parameters |
| Name |
Description |
high |
mixed
|
low |
mixed
|
static::parseTimestamp
| Parameter |
| Name |
Description |
timestamp |
mixed
|
| Parameter |
| Name |
Description |
value |
mixed
|
static::parseDuration
| Parameter |
| Name |
Description |
value |
mixed
|
| Parameter |
| Name |
Description |
value |
mixed
|
static::parseFieldMask
| Parameter |
| Name |
Description |
paths_string |
mixed
|
| Parameter |
| Name |
Description |
field_mask |
mixed
|
static::getNanosecondsForTimestamp
| Parameter |
| Name |
Description |
nanoseconds |
mixed
|
static::hasSpecialJsonMapping
| Parameter |
| Name |
Description |
msg |
mixed
|
static::hasJsonValue
| Parameter |
| Name |
Description |
msg |
mixed
|
static::compatibleInt64
| Parameters |
| Name |
Description |
int64 |
mixed
|
stringInt64 |
mixed
|
Constants
NANOS_PER_MILLISECOND
NANOS_PER_MICROSECOND
TYPE_URL_PREFIX
Value: 'type.googleapis.com/'
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-01 UTC.
[null,null,["Last updated 2026-10-01 UTC."],[],[]]