class URLFetchResponse extends ProtocolMessage (View source)

Methods

string
serializeToString()

Serializes the message and return it as a string.

string
serializePartialToString()

Serializes a protocol buffer that might not have all of the required fields set.

parseFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string.

parsePartialFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

mergeFromString(string $s)

Like parseFromString, fills the message with a protocol buffer parsed from the given input string.

mergePartialFromString(string $s)

Like parsePartialFromString, fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

copyFrom(mixed $pb)

Copies data from another protocol buffer into this protocol buffer.

bool
isInitialized()

Checks if this protocol message has all of the requried fields initialized.

checkInitialized()

No description

tryMerge($d)

No description

outputPartial($out)

No description

byteSizePartial()

No description

clear()

No description

mergeFrom($x)

No description

equals($x)

No description

shortDebugString($prefix = "")

No description

static 
debugFormatString($value)

Format protocol buffer as a text string for debugging.

static 
debugFormatDouble($value)

No description

static 
lengthVarUint64($value)

No description

static 
lengthVarInt64($value)

No description

static 
lengthVarInt32($value)

No description

static 
lengthString($len)

No description

static 
debugFormatBool($b)

No description

static 
debugFormatFloat($value)

No description

static 
debugFormatFixed32($value)

No description

static 
debugFormatFixed64($value)

No description

static 
debugFormatInt32($value)

No description

static 
debugFormatInt64($value)

No description

checkProtoArray($arr)

No description

static bool
integerEquals(int $a, int $b)

Checks if two integers are equal.

getContent()

No description

setContent($val)

No description

clearContent()

No description

hasContent()

No description

getStatuscode()

No description

setStatuscode($val)

No description

clearStatuscode()

No description

hasStatuscode()

No description

getHeaderSize()

No description

getHeaderList()

No description

mutableHeader($idx)

No description

getHeader($idx)

No description

addHeader()

No description

clearHeader()

No description

getContentwastruncated()

No description

setContentwastruncated($val)

No description

clearContentwastruncated()

No description

hasContentwastruncated()

No description

getExternalbytessent()

No description

setExternalbytessent($val)

No description

clearExternalbytessent()

No description

hasExternalbytessent()

No description

getExternalbytesreceived()

No description

setExternalbytesreceived($val)

No description

clearExternalbytesreceived()

No description

hasExternalbytesreceived()

No description

getFinalurl()

No description

setFinalurl($val)

No description

clearFinalurl()

No description

hasFinalurl()

No description

getApicpumilliseconds()

No description

setApicpumilliseconds($val)

No description

clearApicpumilliseconds()

No description

hasApicpumilliseconds()

No description

getApibytessent()

No description

setApibytessent($val)

No description

clearApibytessent()

No description

hasApibytessent()

No description

getApibytesreceived()

No description

setApibytesreceived($val)

No description

clearApibytesreceived()

No description

hasApibytesreceived()

No description

Details

string serializeToString()

Serializes the message and return it as a string.

Return Value

string The serialized protocol buffer.

Exceptions

ProtocolBufferEncodeError If the protocol buffer is not initialized.

string serializePartialToString()

Serializes a protocol buffer that might not have all of the required fields set.

Return Value

string The serialized protocol buffer.

parseFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string.

Parameters

string $s The string containing a serialized protocol buffer.

Exceptions

ProtocolBufferDecodeError If the result message is not correctly initialized.

parsePartialFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

Parameters

string $s The string containing a serialized protocol buffer.

mergeFromString(string $s)

Like parseFromString, fills the message with a protocol buffer parsed from the given input string.

Parameters

string $s The string containing a serialized protocol buffer.

Exceptions

ProtocolBufferDecodeError If the result message is not correctly initialized.

mergePartialFromString(string $s)

Like parsePartialFromString, fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

Parameters

string $s The string containing a serialized protocol buffer.

copyFrom(mixed $pb)

Copies data from another protocol buffer into this protocol buffer.

Parameters

mixed $pb The protocol buffer to copy from.

bool isInitialized()

Checks if this protocol message has all of the requried fields initialized.

Return Value

bool true if all fields are initialized, false otherwise.

checkInitialized()

tryMerge($d)

Parameters

$d

outputPartial($out)

Parameters

$out

byteSizePartial()

clear()

mergeFrom($x)

Parameters

$x

equals($x)

Parameters

$x

shortDebugString($prefix = "")

Parameters

$prefix

static protected debugFormatString($value)

Format protocol buffer as a text string for debugging.

Parameters

$value

static protected debugFormatDouble($value)

Parameters

$value

static protected lengthVarUint64($value)

Parameters

$value

static protected lengthVarInt64($value)

Parameters

$value

static protected lengthVarInt32($value)

Parameters

$value

static protected lengthString($len)

Parameters

$len

static protected debugFormatBool($b)

Parameters

$b

static protected debugFormatFloat($value)

Parameters

$value

static protected debugFormatFixed32($value)

Parameters

$value

static protected debugFormatFixed64($value)

Parameters

$value

static protected debugFormatInt32($value)

Parameters

$value

static protected debugFormatInt64($value)

Parameters

$value

protected checkProtoArray($arr)

Parameters

$arr

static protected bool integerEquals(int $a, int $b)

Checks if two integers are equal.

Parameters

int $a The first integer to compare.
int $b The second integer to compare.

Return Value

bool True if the intergers are equal, false otherwise.

getContent()

setContent($val)

Parameters

$val

clearContent()

hasContent()

getStatuscode()

setStatuscode($val)

Parameters

$val

clearStatuscode()

hasStatuscode()

getHeaderSize()

getHeaderList()

mutableHeader($idx)

Parameters

$idx

getHeader($idx)

Parameters

$idx

addHeader()

clearHeader()

getContentwastruncated()

setContentwastruncated($val)

Parameters

$val

clearContentwastruncated()

hasContentwastruncated()

getExternalbytessent()

setExternalbytessent($val)

Parameters

$val

clearExternalbytessent()

hasExternalbytessent()

getExternalbytesreceived()

setExternalbytesreceived($val)

Parameters

$val

clearExternalbytesreceived()

hasExternalbytesreceived()

getFinalurl()

setFinalurl($val)

Parameters

$val

clearFinalurl()

hasFinalurl()

getApicpumilliseconds()

setApicpumilliseconds($val)

Parameters

$val

clearApicpumilliseconds()

hasApicpumilliseconds()

getApibytessent()

setApibytessent($val)

Parameters

$val

clearApibytessent()

hasApibytessent()

getApibytesreceived()

setApibytesreceived($val)

Parameters

$val

clearApibytesreceived()

hasApibytesreceived()