class PageStreamingDescriptor (View source)

Holds the description information used for page streaming.

Methods

__construct(array $descriptor)

No description

createFromFields(array $fields)

No description

string
getRequestPageTokenGetMethod()

No description

string
getRequestPageSizeGetMethod()

No description

bool
requestHasPageSizeField()

No description

string
string
getResourcesGetMethod()

No description

string
getRequestPageTokenSetMethod()

No description

string
getRequestPageSizeSetMethod()

No description

Details

__construct(array $descriptor)

No description

Parameters

array $descriptor

{ Required. @type string $requestPageTokenGetMethod the get method for the page token in the request object. @type string $requestPageTokenSetMethod the set method for the page token in the request object. @type string $responsePageTokenGetMethod the get method for the page token in the response object. @type string resourcesGetMethod the get method for the resources in the response object.

Optional.
@type string $requestPageSizeGetMethod the get method for the page size in the request object.

}

static PageStreamingDescriptor createFromFields(array $fields)

No description

Parameters

array $fields

{ Required.

@type string $requestPageTokenField the page token field in the request object.
@type string $responsePageTokenField the page token field in the response object.
@type string $resourceField the resource field in the response object.

Optional.
@type string $requestPageSizeField the page size field in the request object.

}

Return Value

PageStreamingDescriptor

string getRequestPageTokenGetMethod()

No description

Return Value

string

The page token get method on the request object

string getRequestPageSizeGetMethod()

No description

Return Value

string

The page size get method on the request object

bool requestHasPageSizeField()

No description

Return Value

bool

True if the request object has a page size field

string getResponsePageTokenGetMethod()

No description

Return Value

string

The page token get method on the response object

string getResourcesGetMethod()

No description

Return Value

string

The resources get method on the response object

string getRequestPageTokenSetMethod()

No description

Return Value

string

The page token set method on the request object

string getRequestPageSizeSetMethod()

No description

Return Value

string

The page size set method on the request object