Validate non-optional parameters and return new instance.
778739
public function build(): ReadRequest
	{
		$instance = new ReadRequest();
		if ($this->handle === null) {
			throw new BuilderException('Property [handle] is required.');
		}
		$instance->handle = $this->handle;
		$instance->offset = $this->offset;
		$instance->size = $this->size;
		return $instance;
	}
1063127
public function build(): GetResourceContentRequest
	{
		$instance = new GetResourceContentRequest();
		if ($this->frameId === null) {
			throw new BuilderException('Property [frameId] is required.');
		}
		$instance->frameId = $this->frameId;
		if ($this->url === null) {
			throw new BuilderException('Property [url] is required.');
		}
		$instance->url = $this->url;
		return $instance;
	}
211693
public function build(): SetCookiesRequest
	{
		$instance = new SetCookiesRequest();
		if ($this->cookies === null) {
			throw new BuilderException('Property [cookies] is required.');
		}
		$instance->cookies = $this->cookies;
		return $instance;
	}
467727
public function build(): SetWebLifecycleStateRequest
	{
		$instance = new SetWebLifecycleStateRequest();
		if ($this->state === null) {
			throw new BuilderException('Property [state] is required.');
		}
		$instance->state = $this->state;
		return $instance;
	}
860933
public function build(): SetExtraHTTPHeadersRequest
	{
		$instance = new SetExtraHTTPHeadersRequest();
		if ($this->headers === null) {
			throw new BuilderException('Property [headers] is required.');
		}
		$instance->headers = $this->headers;
		return $instance;
	}
1042643
public function build(): SetDownloadBehaviorRequest
	{
		$instance = new SetDownloadBehaviorRequest();
		if ($this->behavior === null) {
			throw new BuilderException('Property [behavior] is required.');
		}
		$instance->behavior = $this->behavior;
		$instance->downloadPath = $this->downloadPath;
		return $instance;
	}
1224584
public function build(): DispatchSyncEventRequest
	{
		$instance = new DispatchSyncEventRequest();
		if ($this->origin === null) {
			throw new BuilderException('Property [origin] is required.');
		}
		$instance->origin = $this->origin;
		if ($this->registrationId === null) {
			throw new BuilderException('Property [registrationId] is required.');
		}
		$instance->registrationId = $this->registrationId;
		if ($this->tag === null) {
			throw new BuilderException('Property [tag] is required.');
		}
		$instance->tag = $this->tag;
		if ($this->lastChance === null) {
			throw new BuilderException('Property [lastChance] is required.');
		}
		$instance->lastChance = $this->lastChance;
		return $instance;
	}
667837
public function build(): RestartFrameRequest
	{
		$instance = new RestartFrameRequest();
		if ($this->callFrameId === null) {
			throw new BuilderException('Property [callFrameId] is required.');
		}
		$instance->callFrameId = $this->callFrameId;
		return $instance;
	}
248829
public function build(): GetWindowBoundsRequest
	{
		$instance = new GetWindowBoundsRequest();
		if ($this->windowId === null) {
			throw new BuilderException('Property [windowId] is required.');
		}
		$instance->windowId = $this->windowId;
		return $instance;
	}
878785
public function build(): StartWorkerRequest
	{
		$instance = new StartWorkerRequest();
		if ($this->scopeURL === null) {
			throw new BuilderException('Property [scopeURL] is required.');
		}
		$instance->scopeURL = $this->scopeURL;
		return $instance;
	}
805902
public function build(): RequestEntriesRequest
	{
		$instance = new RequestEntriesRequest();
		if ($this->cacheId === null) {
			throw new BuilderException('Property [cacheId] is required.');
		}
		$instance->cacheId = $this->cacheId;
		if ($this->skipCount === null) {
			throw new BuilderException('Property [skipCount] is required.');
		}
		$instance->skipCount = $this->skipCount;
		if ($this->pageSize === null) {
			throw new BuilderException('Property [pageSize] is required.');
		}
		$instance->pageSize = $this->pageSize;
		$instance->pathFilter = $this->pathFilter;
		return $instance;
	}
1228637
public function build(): SetMaxCallStackSizeToCaptureRequest
	{
		$instance = new SetMaxCallStackSizeToCaptureRequest();
		if ($this->size === null) {
			throw new BuilderException('Property [size] is required.');
		}
		$instance->size = $this->size;
		return $instance;
	}
1183926
public function build(): AddCompilationCacheRequest
	{
		$instance = new AddCompilationCacheRequest();
		if ($this->url === null) {
			throw new BuilderException('Property [url] is required.');
		}
		$instance->url = $this->url;
		if ($this->data === null) {
			throw new BuilderException('Property [data] is required.');
		}
		$instance->data = $this->data;
		return $instance;
	}
567296
public function build(): ContinueToLocationRequest
	{
		$instance = new ContinueToLocationRequest();
		if ($this->location === null) {
			throw new BuilderException('Property [location] is required.');
		}
		$instance->location = $this->location;
		$instance->targetCallFrames = $this->targetCallFrames;
		return $instance;
	}
1017626
public function build(): GetUsageAndQuotaRequest
	{
		$instance = new GetUsageAndQuotaRequest();
		if ($this->origin === null) {
			throw new BuilderException('Property [origin] is required.');
		}
		$instance->origin = $this->origin;
		return $instance;
	}
644620
public function build(): RequestDataRequest
	{
		$instance = new RequestDataRequest();
		if ($this->securityOrigin === null) {
			throw new BuilderException('Property [securityOrigin] is required.');
		}
		$instance->securityOrigin = $this->securityOrigin;
		if ($this->databaseName === null) {
			throw new BuilderException('Property [databaseName] is required.');
		}
		$instance->databaseName = $this->databaseName;
		if ($this->objectStoreName === null) {
			throw new BuilderException('Property [objectStoreName] is required.');
		}
		$instance->objectStoreName = $this->objectStoreName;
		if ($this->indexName === null) {
			throw new BuilderException('Property [indexName] is required.');
		}
		$instance->indexName = $this->indexName;
		if ($this->skipCount === null) {
			throw new BuilderException('Property [skipCount] is required.');
		}
		$instance->skipCount = $this->skipCount;
		if ($this->pageSize === null) {
			throw new BuilderException('Property [pageSize] is required.');
		}
		$instance->pageSize = $this->pageSize;
		$instance->keyRange = $this->keyRange;
		return $instance;
	}
1166051
public function build(): SynthesizeTapGestureRequest
	{
		$instance = new SynthesizeTapGestureRequest();
		if ($this->x === null) {
			throw new BuilderException('Property [x] is required.');
		}
		$instance->x = $this->x;
		if ($this->y === null) {
			throw new BuilderException('Property [y] is required.');
		}
		$instance->y = $this->y;
		$instance->duration = $this->duration;
		$instance->tapCount = $this->tapCount;
		$instance->gestureSourceType = $this->gestureSourceType;
		return $instance;
	}