Validate non-optional parameters and return new instance.
554061
public function build(): BeginFrameRequest
	{
		$instance = new BeginFrameRequest();
		$instance->frameTimeTicks = $this->frameTimeTicks;
		$instance->interval = $this->interval;
		$instance->noDisplayUpdates = $this->noDisplayUpdates;
		$instance->screenshot = $this->screenshot;
		return $instance;
	}
582765
public function build(): SetNodeValueRequest
	{
		$instance = new SetNodeValueRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		if ($this->value === null) {
			throw new BuilderException('Property [value] is required.');
		}
		$instance->value = $this->value;
		return $instance;
	}
726114
public function build(): SetTouchEmulationEnabledRequest
	{
		$instance = new SetTouchEmulationEnabledRequest();
		if ($this->enabled === null) {
			throw new BuilderException('Property [enabled] is required.');
		}
		$instance->enabled = $this->enabled;
		$instance->configuration = $this->configuration;
		return $instance;
	}
247199
public function build(): CloseTargetRequest
	{
		$instance = new CloseTargetRequest();
		if ($this->targetId === null) {
			throw new BuilderException('Property [targetId] is required.');
		}
		$instance->targetId = $this->targetId;
		return $instance;
	}
314318
public function build(): CreateTargetRequest
	{
		$instance = new CreateTargetRequest();
		if ($this->url === null) {
			throw new BuilderException('Property [url] is required.');
		}
		$instance->url = $this->url;
		$instance->width = $this->width;
		$instance->height = $this->height;
		$instance->browserContextId = $this->browserContextId;
		$instance->enableBeginFrameControl = $this->enableBeginFrameControl;
		return $instance;
	}
256586
public function build(): SetInspectedNodeRequest
	{
		$instance = new SetInspectedNodeRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		return $instance;
	}
302435
public function build(): GetCurrentTimeRequest
	{
		$instance = new GetCurrentTimeRequest();
		if ($this->id === null) {
			throw new BuilderException('Property [id] is required.');
		}
		$instance->id = $this->id;
		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;
	}
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;
	}
243148
public function build(): MakeSnapshotRequest
	{
		$instance = new MakeSnapshotRequest();
		if ($this->layerId === null) {
			throw new BuilderException('Property [layerId] is required.');
		}
		$instance->layerId = $this->layerId;
		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;
	}
973797
public function build(): SetWindowBoundsRequest
	{
		$instance = new SetWindowBoundsRequest();
		if ($this->windowId === null) {
			throw new BuilderException('Property [windowId] is required.');
		}
		$instance->windowId = $this->windowId;
		if ($this->bounds === null) {
			throw new BuilderException('Property [bounds] is required.');
		}
		$instance->bounds = $this->bounds;
		return $instance;
	}
293509
public function build(): SetSamplingIntervalRequest
	{
		$instance = new SetSamplingIntervalRequest();
		if ($this->interval === null) {
			throw new BuilderException('Property [interval] is required.');
		}
		$instance->interval = $this->interval;
		return $instance;
	}
225852
public function build(): SearchInResponseBodyRequest
	{
		$instance = new SearchInResponseBodyRequest();
		if ($this->requestId === null) {
			throw new BuilderException('Property [requestId] is required.');
		}
		$instance->requestId = $this->requestId;
		if ($this->query === null) {
			throw new BuilderException('Property [query] is required.');
		}
		$instance->query = $this->query;
		$instance->caseSensitive = $this->caseSensitive;
		$instance->isRegex = $this->isRegex;
		return $instance;
	}
1020955
public function build(): StartViolationsReportRequest
	{
		$instance = new StartViolationsReportRequest();
		if ($this->config === null) {
			throw new BuilderException('Property [config] is required.');
		}
		$instance->config = $this->config;
		return $instance;
	}
1225617
public function build(): GetStackTraceRequest
	{
		$instance = new GetStackTraceRequest();
		if ($this->stackTraceId === null) {
			throw new BuilderException('Property [stackTraceId] is required.');
		}
		$instance->stackTraceId = $this->stackTraceId;
		return $instance;
	}
73623
public function build(): ForcePseudoStateRequest
	{
		$instance = new ForcePseudoStateRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		if ($this->forcedPseudoClasses === null) {
			throw new BuilderException('Property [forcedPseudoClasses] is required.');
		}
		$instance->forcedPseudoClasses = $this->forcedPseudoClasses;
		return $instance;
	}