Google API Core Client - Class Call (1.36.0)

Reference documentation and code samples for the Google API Core Client class Call.

Contains information necessary to manage a network request.

Namespace

Google \ ApiCore

Methods

__construct

Parameters
Name Description
method string
decodeType string
message mixed|Google\Protobuf\Internal\Message
descriptor array|null
callType int

getMethod

Returns
Type Description
string

getCallType

Returns
Type Description
int

getDecodeType

Returns
Type Description
string

getMessage

Returns
Type Description
mixed|Google\Protobuf\Internal\Message

getDescriptor

Returns
Type Description
array|null

withMessage

Parameter
Name Description
message mixed|Google\Protobuf\Internal\Message
Returns
Type Description
Call

Constants

UNARY_CALL

Value: 0

BIDI_STREAMING_CALL

Value: 1

CLIENT_STREAMING_CALL

Value: 2

SERVER_STREAMING_CALL

Value: 3

LONGRUNNING_CALL

Value: 4

PAGINATED_CALL

Value: 5