diff --git a/src/Google/Protobuf/Internal/Message.php b/src/Google/Protobuf/Internal/Message.php index 017362a..7d10391 100644 --- a/src/Google/Protobuf/Internal/Message.php +++ b/src/Google/Protobuf/Internal/Message.php @@ -1597,7 +1597,7 @@ private function existField($field) $values = $this->$getter(); - if (($field->getName() === 'incrementality' || $field->getName() === 'direction_id' || $field->getName() === 'route_id' || ($field->getName() === 'delay' && $field->getNumber() === 1)) && $values !== null) { + if (($field->getName() === 'incrementality' || ($field->getName() === 'delay' && $field->getNumber() === 1)) && $values !== null) { return true; }