proto library Client - Class GPBUtil (v5.36.2)

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

static::formatTimestamp

Parameter
Name Description
value mixed

static::parseDuration

Parameter
Name Description
value mixed

static::formatDuration

Parameter
Name Description
value mixed

static::parseFieldMask

Parameter
Name Description
paths_string mixed

static::formatFieldMask

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

Value: 1000000

NANOS_PER_MICROSECOND

Value: 1000

TYPE_URL_PREFIX

Value: 'type.googleapis.com/'