.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
*/
protected $requested_ordered_by = 0;
/**
- * The actual order that was used for this vehicle. Normally this
- * will match the 'order_by' field from the request; however, in certain
- * circumstances such as an internal server error, a different method
- * may be used (such as `PICKUP_POINT_STRAIGHT_DISTANCE`).
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `requested_ordered_by`.
*
* Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
*/
@@ -165,12 +164,11 @@ class VehicleMatch extends \Google\Protobuf\Internal\Message
* @type int $vehicle_match_type
* Type of the vehicle match.
* @type int $requested_ordered_by
- * The order requested for sorting vehicle matches.
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `ordered_by`.
* @type int $ordered_by
- * The actual order that was used for this vehicle. Normally this
- * will match the 'order_by' field from the request; however, in certain
- * circumstances such as an internal server error, a different method
- * may be used (such as `PICKUP_POINT_STRAIGHT_DISTANCE`).
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `requested_ordered_by`.
* }
*/
public function __construct($data = NULL) {
@@ -636,7 +634,8 @@ public function setVehicleMatchType($var)
}
/**
- * The order requested for sorting vehicle matches.
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `ordered_by`.
*
* Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
* @return int
@@ -647,7 +646,8 @@ public function getRequestedOrderedBy()
}
/**
- * The order requested for sorting vehicle matches.
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `ordered_by`.
*
* Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
* @param int $var
@@ -662,10 +662,8 @@ public function setRequestedOrderedBy($var)
}
/**
- * The actual order that was used for this vehicle. Normally this
- * will match the 'order_by' field from the request; however, in certain
- * circumstances such as an internal server error, a different method
- * may be used (such as `PICKUP_POINT_STRAIGHT_DISTANCE`).
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `requested_ordered_by`.
*
* Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
* @return int
@@ -676,10 +674,8 @@ public function getOrderedBy()
}
/**
- * The actual order that was used for this vehicle. Normally this
- * will match the 'order_by' field from the request; however, in certain
- * circumstances such as an internal server error, a different method
- * may be used (such as `PICKUP_POINT_STRAIGHT_DISTANCE`).
+ * The order requested for sorting vehicle matches. Equivalent to
+ * `requested_ordered_by`.
*
* Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
* @param int $var
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Fleetengine.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Fleetengine.php
deleted file mode 100644
index 11ab219baf22..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Fleetengine.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Header.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Header.php
deleted file mode 100644
index 52f1053ac43c..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Header.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Traffic.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Traffic.php
deleted file mode 100644
index 7331280b6139..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Traffic.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/TripApi.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/TripApi.php
deleted file mode 100644
index 3f22c6d8e70f..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/TripApi.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Trips.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Trips.php
deleted file mode 100644
index 2fa51c46dc0e..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Trips.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/VehicleApi.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/VehicleApi.php
deleted file mode 100644
index 90c099862bed..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/VehicleApi.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Vehicles.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Vehicles.php
deleted file mode 100644
index e3dd430a3bf4..000000000000
Binary files a/owl-bot-staging/MapsFleetEngine/v1/proto/src/GPBMetadata/Google/Maps/Fleetengine/V1/Vehicles.php and /dev/null differ
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryInfo.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryInfo.php
deleted file mode 100644
index ae3acb5ba812..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryInfo.php
+++ /dev/null
@@ -1,135 +0,0 @@
-maps.fleetengine.v1.BatteryInfo
- */
-class BatteryInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Status of the battery, whether full or charging etc.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryStatus battery_status = 1;
- */
- protected $battery_status = 0;
- /**
- * Status of battery power source.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PowerSource power_source = 2;
- */
- protected $power_source = 0;
- /**
- * Current battery percentage [0-100].
- *
- * Generated from protobuf field float battery_percentage = 3;
- */
- protected $battery_percentage = 0.0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $battery_status
- * Status of the battery, whether full or charging etc.
- * @type int $power_source
- * Status of battery power source.
- * @type float $battery_percentage
- * Current battery percentage [0-100].
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Status of the battery, whether full or charging etc.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryStatus battery_status = 1;
- * @return int
- */
- public function getBatteryStatus()
- {
- return $this->battery_status;
- }
-
- /**
- * Status of the battery, whether full or charging etc.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryStatus battery_status = 1;
- * @param int $var
- * @return $this
- */
- public function setBatteryStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\BatteryStatus::class);
- $this->battery_status = $var;
-
- return $this;
- }
-
- /**
- * Status of battery power source.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PowerSource power_source = 2;
- * @return int
- */
- public function getPowerSource()
- {
- return $this->power_source;
- }
-
- /**
- * Status of battery power source.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PowerSource power_source = 2;
- * @param int $var
- * @return $this
- */
- public function setPowerSource($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\PowerSource::class);
- $this->power_source = $var;
-
- return $this;
- }
-
- /**
- * Current battery percentage [0-100].
- *
- * Generated from protobuf field float battery_percentage = 3;
- * @return float
- */
- public function getBatteryPercentage()
- {
- return $this->battery_percentage;
- }
-
- /**
- * Current battery percentage [0-100].
- *
- * Generated from protobuf field float battery_percentage = 3;
- * @param float $var
- * @return $this
- */
- public function setBatteryPercentage($var)
- {
- GPBUtil::checkFloat($var);
- $this->battery_percentage = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryStatus.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryStatus.php
deleted file mode 100644
index 618208d92d46..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BatteryStatus.php
+++ /dev/null
@@ -1,82 +0,0 @@
-maps.fleetengine.v1.BatteryStatus
- */
-class BatteryStatus
-{
- /**
- * Battery status unknown.
- *
- * Generated from protobuf enum UNKNOWN_BATTERY_STATUS = 0;
- */
- const UNKNOWN_BATTERY_STATUS = 0;
- /**
- * Battery is being charged.
- *
- * Generated from protobuf enum BATTERY_STATUS_CHARGING = 1;
- */
- const BATTERY_STATUS_CHARGING = 1;
- /**
- * Battery is discharging.
- *
- * Generated from protobuf enum BATTERY_STATUS_DISCHARGING = 2;
- */
- const BATTERY_STATUS_DISCHARGING = 2;
- /**
- * Battery is full.
- *
- * Generated from protobuf enum BATTERY_STATUS_FULL = 3;
- */
- const BATTERY_STATUS_FULL = 3;
- /**
- * Battery is not charging.
- *
- * Generated from protobuf enum BATTERY_STATUS_NOT_CHARGING = 4;
- */
- const BATTERY_STATUS_NOT_CHARGING = 4;
- /**
- * Battery is low on power.
- *
- * Generated from protobuf enum BATTERY_STATUS_POWER_LOW = 5;
- */
- const BATTERY_STATUS_POWER_LOW = 5;
-
- private static $valueToName = [
- self::UNKNOWN_BATTERY_STATUS => 'UNKNOWN_BATTERY_STATUS',
- self::BATTERY_STATUS_CHARGING => 'BATTERY_STATUS_CHARGING',
- self::BATTERY_STATUS_DISCHARGING => 'BATTERY_STATUS_DISCHARGING',
- self::BATTERY_STATUS_FULL => 'BATTERY_STATUS_FULL',
- self::BATTERY_STATUS_NOT_CHARGING => 'BATTERY_STATUS_NOT_CHARGING',
- self::BATTERY_STATUS_POWER_LOW => 'BATTERY_STATUS_POWER_LOW',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BillingPlatformIdentifier.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BillingPlatformIdentifier.php
deleted file mode 100644
index 6b3b7e454bdd..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/BillingPlatformIdentifier.php
+++ /dev/null
@@ -1,82 +0,0 @@
-maps.fleetengine.v1.BillingPlatformIdentifier
- */
-class BillingPlatformIdentifier
-{
- /**
- * Default. Used for unspecified platforms.
- *
- * Generated from protobuf enum BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED = 0;
- */
- const BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED = 0;
- /**
- * The platform is a client server.
- *
- * Generated from protobuf enum SERVER = 1;
- */
- const SERVER = 1;
- /**
- * The platform is a web browser.
- *
- * Generated from protobuf enum WEB = 2;
- */
- const WEB = 2;
- /**
- * The platform is an Android mobile device.
- *
- * Generated from protobuf enum ANDROID = 3;
- */
- const ANDROID = 3;
- /**
- * The platform is an IOS mobile device.
- *
- * Generated from protobuf enum IOS = 4;
- */
- const IOS = 4;
- /**
- * Other platforms that are not listed in this enumeration.
- *
- * Generated from protobuf enum OTHERS = 5;
- */
- const OTHERS = 5;
-
- private static $valueToName = [
- self::BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED => 'BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED',
- self::SERVER => 'SERVER',
- self::WEB => 'WEB',
- self::ANDROID => 'ANDROID',
- self::IOS => 'IOS',
- self::OTHERS => 'OTHERS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ConsumableTrafficPolyline.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ConsumableTrafficPolyline.php
deleted file mode 100644
index e9320fa4cdb4..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ConsumableTrafficPolyline.php
+++ /dev/null
@@ -1,117 +0,0 @@
-maps.fleetengine.v1.ConsumableTrafficPolyline
- */
-class ConsumableTrafficPolyline extends \Google\Protobuf\Internal\Message
-{
- /**
- * Traffic speed along the path from the previous waypoint to the current
- * waypoint.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.SpeedReadingInterval speed_reading_interval = 1;
- */
- private $speed_reading_interval;
- /**
- * The path the driver is taking from the previous waypoint to the current
- * waypoint. This path has landmarks in it so clients can show traffic markers
- * along the path (see `speed_reading_interval`). Decoding is not yet
- * supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 2;
- */
- protected $encoded_path_to_waypoint = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\SpeedReadingInterval>|\Google\Protobuf\Internal\RepeatedField $speed_reading_interval
- * Traffic speed along the path from the previous waypoint to the current
- * waypoint.
- * @type string $encoded_path_to_waypoint
- * The path the driver is taking from the previous waypoint to the current
- * waypoint. This path has landmarks in it so clients can show traffic markers
- * along the path (see `speed_reading_interval`). Decoding is not yet
- * supported.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Traffic::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Traffic speed along the path from the previous waypoint to the current
- * waypoint.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.SpeedReadingInterval speed_reading_interval = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSpeedReadingInterval()
- {
- return $this->speed_reading_interval;
- }
-
- /**
- * Traffic speed along the path from the previous waypoint to the current
- * waypoint.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.SpeedReadingInterval speed_reading_interval = 1;
- * @param array<\Google\Maps\FleetEngine\V1\SpeedReadingInterval>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSpeedReadingInterval($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\SpeedReadingInterval::class);
- $this->speed_reading_interval = $arr;
-
- return $this;
- }
-
- /**
- * The path the driver is taking from the previous waypoint to the current
- * waypoint. This path has landmarks in it so clients can show traffic markers
- * along the path (see `speed_reading_interval`). Decoding is not yet
- * supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 2;
- * @return string
- */
- public function getEncodedPathToWaypoint()
- {
- return $this->encoded_path_to_waypoint;
- }
-
- /**
- * The path the driver is taking from the previous waypoint to the current
- * waypoint. This path has landmarks in it so clients can show traffic markers
- * along the path (see `speed_reading_interval`). Decoding is not yet
- * supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 2;
- * @param string $var
- * @return $this
- */
- public function setEncodedPathToWaypoint($var)
- {
- GPBUtil::checkString($var, True);
- $this->encoded_path_to_waypoint = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateTripRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateTripRequest.php
deleted file mode 100644
index d98b71603eaf..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateTripRequest.php
+++ /dev/null
@@ -1,329 +0,0 @@
-maps.fleetengine.v1.CreateTripRequest
- */
-class CreateTripRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. Unique Trip ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string trip_id = 5 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $trip_id = '';
- /**
- * Required. Trip entity to create.
- * When creating a Trip, the following fields are required:
- * * `trip_type`
- * * `pickup_point`
- * The following fields are used if you provide them:
- * * `number_of_passengers`
- * * `vehicle_id`
- * * `dropoff_point`
- * * `intermediate_destinations`
- * * `vehicle_waypoints`
- * All other Trip fields are ignored. For example, all trips start with a
- * `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in
- * the creation request.
- * Only `EXCLUSIVE` trips support `intermediate_destinations`.
- * When `vehicle_id` is set for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints for the vehicle, otherwise the waypoint order will be
- * undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $trip = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $parent
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type string $trip_id
- * Required. Unique Trip ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- * @type \Google\Maps\FleetEngine\V1\Trip $trip
- * Required. Trip entity to create.
- * When creating a Trip, the following fields are required:
- * * `trip_type`
- * * `pickup_point`
- * The following fields are used if you provide them:
- * * `number_of_passengers`
- * * `vehicle_id`
- * * `dropoff_point`
- * * `intermediate_destinations`
- * * `vehicle_waypoints`
- * All other Trip fields are ignored. For example, all trips start with a
- * `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in
- * the creation request.
- * Only `EXCLUSIVE` trips support `intermediate_destinations`.
- * When `vehicle_id` is set for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints for the vehicle, otherwise the waypoint order will be
- * undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\TripApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. Unique Trip ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string trip_id = 5 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getTripId()
- {
- return $this->trip_id;
- }
-
- /**
- * Required. Unique Trip ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string trip_id = 5 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setTripId($var)
- {
- GPBUtil::checkString($var, True);
- $this->trip_id = $var;
-
- return $this;
- }
-
- /**
- * Required. Trip entity to create.
- * When creating a Trip, the following fields are required:
- * * `trip_type`
- * * `pickup_point`
- * The following fields are used if you provide them:
- * * `number_of_passengers`
- * * `vehicle_id`
- * * `dropoff_point`
- * * `intermediate_destinations`
- * * `vehicle_waypoints`
- * All other Trip fields are ignored. For example, all trips start with a
- * `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in
- * the creation request.
- * Only `EXCLUSIVE` trips support `intermediate_destinations`.
- * When `vehicle_id` is set for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints for the vehicle, otherwise the waypoint order will be
- * undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Trip|null
- */
- public function getTrip()
- {
- return $this->trip;
- }
-
- public function hasTrip()
- {
- return isset($this->trip);
- }
-
- public function clearTrip()
- {
- unset($this->trip);
- }
-
- /**
- * Required. Trip entity to create.
- * When creating a Trip, the following fields are required:
- * * `trip_type`
- * * `pickup_point`
- * The following fields are used if you provide them:
- * * `number_of_passengers`
- * * `vehicle_id`
- * * `dropoff_point`
- * * `intermediate_destinations`
- * * `vehicle_waypoints`
- * All other Trip fields are ignored. For example, all trips start with a
- * `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in
- * the creation request.
- * Only `EXCLUSIVE` trips support `intermediate_destinations`.
- * When `vehicle_id` is set for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints for the vehicle, otherwise the waypoint order will be
- * undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Trip $var
- * @return $this
- */
- public function setTrip($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Trip::class);
- $this->trip = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateVehicleRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateVehicleRequest.php
deleted file mode 100644
index 5cb20e991a11..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/CreateVehicleRequest.php
+++ /dev/null
@@ -1,313 +0,0 @@
-maps.fleetengine.v1.CreateVehicleRequest
- */
-class CreateVehicleRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $parent = '';
- /**
- * Required. Unique Vehicle ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string vehicle_id = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle_id = '';
- /**
- * Required. The Vehicle entity to create. When creating a Vehicle, the
- * following fields are required:
- * * `vehicleState`
- * * `supportedTripTypes`
- * * `maximumCapacity`
- * * `vehicleType`
- * When creating a Vehicle, the following fields are ignored:
- * * `name`
- * * `currentTrips`
- * * `availableCapacity`
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_version`
- * * `current_route_segment_traffic`
- * * `route`
- * * `waypoints`
- * * `waypoints_version`
- * * `remaining_distance_meters`
- * * `remaining_time_seconds`
- * * `eta_to_next_waypoint`
- * * `navigation_status`
- * All other fields are optional and used if provided.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 5 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $parent
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type string $vehicle_id
- * Required. Unique Vehicle ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- * @type \Google\Maps\FleetEngine\V1\Vehicle $vehicle
- * Required. The Vehicle entity to create. When creating a Vehicle, the
- * following fields are required:
- * * `vehicleState`
- * * `supportedTripTypes`
- * * `maximumCapacity`
- * * `vehicleType`
- * When creating a Vehicle, the following fields are ignored:
- * * `name`
- * * `currentTrips`
- * * `availableCapacity`
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_version`
- * * `current_route_segment_traffic`
- * * `route`
- * * `waypoints`
- * * `waypoints_version`
- * * `remaining_distance_meters`
- * * `remaining_time_seconds`
- * * `eta_to_next_waypoint`
- * * `navigation_status`
- * All other fields are optional and used if provided.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. Unique Vehicle ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string vehicle_id = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getVehicleId()
- {
- return $this->vehicle_id;
- }
-
- /**
- * Required. Unique Vehicle ID.
- * Subject to the following restrictions:
- * * Must be a valid Unicode string.
- * * Limited to a maximum length of 64 characters.
- * * Normalized according to [Unicode Normalization Form C]
- * (http://www.unicode.org/reports/tr15/).
- * * May not contain any of the following ASCII characters: '/', ':', '?',
- * ',', or '#'.
- *
- * Generated from protobuf field string vehicle_id = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setVehicleId($var)
- {
- GPBUtil::checkString($var, True);
- $this->vehicle_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The Vehicle entity to create. When creating a Vehicle, the
- * following fields are required:
- * * `vehicleState`
- * * `supportedTripTypes`
- * * `maximumCapacity`
- * * `vehicleType`
- * When creating a Vehicle, the following fields are ignored:
- * * `name`
- * * `currentTrips`
- * * `availableCapacity`
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_version`
- * * `current_route_segment_traffic`
- * * `route`
- * * `waypoints`
- * * `waypoints_version`
- * * `remaining_distance_meters`
- * * `remaining_time_seconds`
- * * `eta_to_next_waypoint`
- * * `navigation_status`
- * All other fields are optional and used if provided.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 5 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Vehicle|null
- */
- public function getVehicle()
- {
- return $this->vehicle;
- }
-
- public function hasVehicle()
- {
- return isset($this->vehicle);
- }
-
- public function clearVehicle()
- {
- unset($this->vehicle);
- }
-
- /**
- * Required. The Vehicle entity to create. When creating a Vehicle, the
- * following fields are required:
- * * `vehicleState`
- * * `supportedTripTypes`
- * * `maximumCapacity`
- * * `vehicleType`
- * When creating a Vehicle, the following fields are ignored:
- * * `name`
- * * `currentTrips`
- * * `availableCapacity`
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_version`
- * * `current_route_segment_traffic`
- * * `route`
- * * `waypoints`
- * * `waypoints_version`
- * * `remaining_distance_meters`
- * * `remaining_time_seconds`
- * * `eta_to_next_waypoint`
- * * `navigation_status`
- * All other fields are optional and used if provided.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 5 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Vehicle $var
- * @return $this
- */
- public function setVehicle($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Vehicle::class);
- $this->vehicle = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/DeviceSettings.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/DeviceSettings.php
deleted file mode 100644
index 7cd163b718f0..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/DeviceSettings.php
+++ /dev/null
@@ -1,183 +0,0 @@
-maps.fleetengine.v1.DeviceSettings
- */
-class DeviceSettings extends \Google\Protobuf\Internal\Message
-{
- /**
- * How location features are set to behave on the device when battery saver is
- * on.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationPowerSaveMode location_power_save_mode = 1;
- */
- protected $location_power_save_mode = 0;
- /**
- * Whether the device is currently in power save mode.
- *
- * Generated from protobuf field bool is_power_save_mode = 2;
- */
- protected $is_power_save_mode = false;
- /**
- * Whether the device is in an interactive state.
- *
- * Generated from protobuf field bool is_interactive = 3;
- */
- protected $is_interactive = false;
- /**
- * Information about the battery state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryInfo battery_info = 4;
- */
- protected $battery_info = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $location_power_save_mode
- * How location features are set to behave on the device when battery saver is
- * on.
- * @type bool $is_power_save_mode
- * Whether the device is currently in power save mode.
- * @type bool $is_interactive
- * Whether the device is in an interactive state.
- * @type \Google\Maps\FleetEngine\V1\BatteryInfo $battery_info
- * Information about the battery state.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * How location features are set to behave on the device when battery saver is
- * on.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationPowerSaveMode location_power_save_mode = 1;
- * @return int
- */
- public function getLocationPowerSaveMode()
- {
- return $this->location_power_save_mode;
- }
-
- /**
- * How location features are set to behave on the device when battery saver is
- * on.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationPowerSaveMode location_power_save_mode = 1;
- * @param int $var
- * @return $this
- */
- public function setLocationPowerSaveMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\LocationPowerSaveMode::class);
- $this->location_power_save_mode = $var;
-
- return $this;
- }
-
- /**
- * Whether the device is currently in power save mode.
- *
- * Generated from protobuf field bool is_power_save_mode = 2;
- * @return bool
- */
- public function getIsPowerSaveMode()
- {
- return $this->is_power_save_mode;
- }
-
- /**
- * Whether the device is currently in power save mode.
- *
- * Generated from protobuf field bool is_power_save_mode = 2;
- * @param bool $var
- * @return $this
- */
- public function setIsPowerSaveMode($var)
- {
- GPBUtil::checkBool($var);
- $this->is_power_save_mode = $var;
-
- return $this;
- }
-
- /**
- * Whether the device is in an interactive state.
- *
- * Generated from protobuf field bool is_interactive = 3;
- * @return bool
- */
- public function getIsInteractive()
- {
- return $this->is_interactive;
- }
-
- /**
- * Whether the device is in an interactive state.
- *
- * Generated from protobuf field bool is_interactive = 3;
- * @param bool $var
- * @return $this
- */
- public function setIsInteractive($var)
- {
- GPBUtil::checkBool($var);
- $this->is_interactive = $var;
-
- return $this;
- }
-
- /**
- * Information about the battery state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryInfo battery_info = 4;
- * @return \Google\Maps\FleetEngine\V1\BatteryInfo|null
- */
- public function getBatteryInfo()
- {
- return $this->battery_info;
- }
-
- public function hasBatteryInfo()
- {
- return isset($this->battery_info);
- }
-
- public function clearBatteryInfo()
- {
- unset($this->battery_info);
- }
-
- /**
- * Information about the battery state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BatteryInfo battery_info = 4;
- * @param \Google\Maps\FleetEngine\V1\BatteryInfo $var
- * @return $this
- */
- public function setBatteryInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\BatteryInfo::class);
- $this->battery_info = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetTripRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetTripRequest.php
deleted file mode 100644
index 471812e6a653..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetTripRequest.php
+++ /dev/null
@@ -1,439 +0,0 @@
-maps.fleetengine.v1.GetTripRequest
- */
-class GetTripRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}/trips/{trip}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * The subset of Trip fields that should be returned and their interpretation.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 11;
- */
- protected $view = 0;
- /**
- * Indicates the minimum timestamp (exclusive) for which `Trip.route` or
- * `Trip.current_route_segment` data are retrieved. If route data are
- * unchanged since this timestamp, the route field is not set in the response.
- * If a minimum is unspecified, the route data are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 6;
- */
- protected $current_route_segment_version = null;
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints` are retrieved. If they are unchanged since this
- * timestamp, the `remaining_waypoints` are not set in the response. If this
- * field is unspecified, `remaining_waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 7;
- */
- protected $remaining_waypoints_version = null;
- /**
- * The returned current route format, `LAT_LNG_LIST_TYPE` (in `Trip.route`),
- * or `ENCODED_POLYLINE_TYPE` (in `Trip.current_route_segment`). The default
- * is `LAT_LNG_LIST_TYPE`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PolylineFormatType route_format_type = 8;
- */
- protected $route_format_type = 0;
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.current_route_segment_traffic` is retrieved. If traffic data are
- * unchanged since this timestamp, the `current_route_segment_traffic` field
- * is not set in the response. If a minimum is unspecified, the traffic data
- * are always retrieved. Note that traffic is only available for On-Demand
- * Rides and Deliveries Solution customers.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 9;
- */
- protected $current_route_segment_traffic_version = null;
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints.traffic_to_waypoint` and
- * `Trip.remaining_waypoints.path_to_waypoint` data are retrieved. If data are
- * unchanged since this timestamp, the fields above are
- * not set in the response. If `remaining_waypoints_route_version` is
- * unspecified, traffic and path are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 10;
- */
- protected $remaining_waypoints_route_version = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $name
- * Required. Must be in the format `providers/{provider}/trips/{trip}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type int $view
- * The subset of Trip fields that should be returned and their interpretation.
- * @type \Google\Protobuf\Timestamp $current_route_segment_version
- * Indicates the minimum timestamp (exclusive) for which `Trip.route` or
- * `Trip.current_route_segment` data are retrieved. If route data are
- * unchanged since this timestamp, the route field is not set in the response.
- * If a minimum is unspecified, the route data are always retrieved.
- * @type \Google\Protobuf\Timestamp $remaining_waypoints_version
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints` are retrieved. If they are unchanged since this
- * timestamp, the `remaining_waypoints` are not set in the response. If this
- * field is unspecified, `remaining_waypoints` is always retrieved.
- * @type int $route_format_type
- * The returned current route format, `LAT_LNG_LIST_TYPE` (in `Trip.route`),
- * or `ENCODED_POLYLINE_TYPE` (in `Trip.current_route_segment`). The default
- * is `LAT_LNG_LIST_TYPE`.
- * @type \Google\Protobuf\Timestamp $current_route_segment_traffic_version
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.current_route_segment_traffic` is retrieved. If traffic data are
- * unchanged since this timestamp, the `current_route_segment_traffic` field
- * is not set in the response. If a minimum is unspecified, the traffic data
- * are always retrieved. Note that traffic is only available for On-Demand
- * Rides and Deliveries Solution customers.
- * @type \Google\Protobuf\Timestamp $remaining_waypoints_route_version
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints.traffic_to_waypoint` and
- * `Trip.remaining_waypoints.path_to_waypoint` data are retrieved. If data are
- * unchanged since this timestamp, the fields above are
- * not set in the response. If `remaining_waypoints_route_version` is
- * unspecified, traffic and path are always retrieved.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\TripApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}/trips/{trip}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}/trips/{trip}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The subset of Trip fields that should be returned and their interpretation.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 11;
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * The subset of Trip fields that should be returned and their interpretation.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 11;
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\TripView::class);
- $this->view = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which `Trip.route` or
- * `Trip.current_route_segment` data are retrieved. If route data are
- * unchanged since this timestamp, the route field is not set in the response.
- * If a minimum is unspecified, the route data are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentVersion()
- {
- return $this->current_route_segment_version;
- }
-
- public function hasCurrentRouteSegmentVersion()
- {
- return isset($this->current_route_segment_version);
- }
-
- public function clearCurrentRouteSegmentVersion()
- {
- unset($this->current_route_segment_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which `Trip.route` or
- * `Trip.current_route_segment` data are retrieved. If route data are
- * unchanged since this timestamp, the route field is not set in the response.
- * If a minimum is unspecified, the route data are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_version = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints` are retrieved. If they are unchanged since this
- * timestamp, the `remaining_waypoints` are not set in the response. If this
- * field is unspecified, `remaining_waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 7;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRemainingWaypointsVersion()
- {
- return $this->remaining_waypoints_version;
- }
-
- public function hasRemainingWaypointsVersion()
- {
- return isset($this->remaining_waypoints_version);
- }
-
- public function clearRemainingWaypointsVersion()
- {
- unset($this->remaining_waypoints_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints` are retrieved. If they are unchanged since this
- * timestamp, the `remaining_waypoints` are not set in the response. If this
- * field is unspecified, `remaining_waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 7;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRemainingWaypointsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->remaining_waypoints_version = $var;
-
- return $this;
- }
-
- /**
- * The returned current route format, `LAT_LNG_LIST_TYPE` (in `Trip.route`),
- * or `ENCODED_POLYLINE_TYPE` (in `Trip.current_route_segment`). The default
- * is `LAT_LNG_LIST_TYPE`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PolylineFormatType route_format_type = 8;
- * @return int
- */
- public function getRouteFormatType()
- {
- return $this->route_format_type;
- }
-
- /**
- * The returned current route format, `LAT_LNG_LIST_TYPE` (in `Trip.route`),
- * or `ENCODED_POLYLINE_TYPE` (in `Trip.current_route_segment`). The default
- * is `LAT_LNG_LIST_TYPE`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.PolylineFormatType route_format_type = 8;
- * @param int $var
- * @return $this
- */
- public function setRouteFormatType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\PolylineFormatType::class);
- $this->route_format_type = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.current_route_segment_traffic` is retrieved. If traffic data are
- * unchanged since this timestamp, the `current_route_segment_traffic` field
- * is not set in the response. If a minimum is unspecified, the traffic data
- * are always retrieved. Note that traffic is only available for On-Demand
- * Rides and Deliveries Solution customers.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 9;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentTrafficVersion()
- {
- return $this->current_route_segment_traffic_version;
- }
-
- public function hasCurrentRouteSegmentTrafficVersion()
- {
- return isset($this->current_route_segment_traffic_version);
- }
-
- public function clearCurrentRouteSegmentTrafficVersion()
- {
- unset($this->current_route_segment_traffic_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.current_route_segment_traffic` is retrieved. If traffic data are
- * unchanged since this timestamp, the `current_route_segment_traffic` field
- * is not set in the response. If a minimum is unspecified, the traffic data
- * are always retrieved. Note that traffic is only available for On-Demand
- * Rides and Deliveries Solution customers.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 9;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentTrafficVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_traffic_version = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints.traffic_to_waypoint` and
- * `Trip.remaining_waypoints.path_to_waypoint` data are retrieved. If data are
- * unchanged since this timestamp, the fields above are
- * not set in the response. If `remaining_waypoints_route_version` is
- * unspecified, traffic and path are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 10;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRemainingWaypointsRouteVersion()
- {
- return $this->remaining_waypoints_route_version;
- }
-
- public function hasRemainingWaypointsRouteVersion()
- {
- return isset($this->remaining_waypoints_route_version);
- }
-
- public function clearRemainingWaypointsRouteVersion()
- {
- unset($this->remaining_waypoints_route_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Trip.remaining_waypoints.traffic_to_waypoint` and
- * `Trip.remaining_waypoints.path_to_waypoint` data are retrieved. If data are
- * unchanged since this timestamp, the fields above are
- * not set in the response. If `remaining_waypoints_route_version` is
- * unspecified, traffic and path are always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 10;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRemainingWaypointsRouteVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->remaining_waypoints_route_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetVehicleRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetVehicleRequest.php
deleted file mode 100644
index 90b14b5176c4..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/GetVehicleRequest.php
+++ /dev/null
@@ -1,243 +0,0 @@
-maps.fleetengine.v1.GetVehicleRequest
- */
-class GetVehicleRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Vehicle.current_route_segment` is retrieved.
- * If the route is unchanged since this timestamp, the `current_route_segment`
- * field is not set in the response. If a minimum is unspecified, the
- * `current_route_segment` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 4;
- */
- protected $current_route_segment_version = null;
- /**
- * Indicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`
- * data is retrieved. If the waypoints are unchanged since this timestamp, the
- * `vehicle.waypoints` data is not set in the response. If this field is
- * unspecified, `vehicle.waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 5;
- */
- protected $waypoints_version = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $name
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type \Google\Protobuf\Timestamp $current_route_segment_version
- * Indicates the minimum timestamp (exclusive) for which
- * `Vehicle.current_route_segment` is retrieved.
- * If the route is unchanged since this timestamp, the `current_route_segment`
- * field is not set in the response. If a minimum is unspecified, the
- * `current_route_segment` is always retrieved.
- * @type \Google\Protobuf\Timestamp $waypoints_version
- * Indicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`
- * data is retrieved. If the waypoints are unchanged since this timestamp, the
- * `vehicle.waypoints` data is not set in the response. If this field is
- * unspecified, `vehicle.waypoints` is always retrieved.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Vehicle.current_route_segment` is retrieved.
- * If the route is unchanged since this timestamp, the `current_route_segment`
- * field is not set in the response. If a minimum is unspecified, the
- * `current_route_segment` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentVersion()
- {
- return $this->current_route_segment_version;
- }
-
- public function hasCurrentRouteSegmentVersion()
- {
- return isset($this->current_route_segment_version);
- }
-
- public function clearCurrentRouteSegmentVersion()
- {
- unset($this->current_route_segment_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which
- * `Vehicle.current_route_segment` is retrieved.
- * If the route is unchanged since this timestamp, the `current_route_segment`
- * field is not set in the response. If a minimum is unspecified, the
- * `current_route_segment` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_version = $var;
-
- return $this;
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`
- * data is retrieved. If the waypoints are unchanged since this timestamp, the
- * `vehicle.waypoints` data is not set in the response. If this field is
- * unspecified, `vehicle.waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getWaypointsVersion()
- {
- return $this->waypoints_version;
- }
-
- public function hasWaypointsVersion()
- {
- return isset($this->waypoints_version);
- }
-
- public function clearWaypointsVersion()
- {
- unset($this->waypoints_version);
- }
-
- /**
- * Indicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`
- * data is retrieved. If the waypoints are unchanged since this timestamp, the
- * `vehicle.waypoints` data is not set in the response. If this field is
- * unspecified, `vehicle.waypoints` is always retrieved.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setWaypointsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->waypoints_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LicensePlate.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LicensePlate.php
deleted file mode 100644
index 8d2fe48298c7..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LicensePlate.php
+++ /dev/null
@@ -1,123 +0,0 @@
-maps.fleetengine.v1.LicensePlate
- */
-class LicensePlate extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. CLDR Country/Region Code. For example, `US` for United States,
- * or `IN` for India.
- *
- * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $country_code = '';
- /**
- * The last digit of the license plate or "-1" to denote no numeric value
- * is present in the license plate.
- * * "ABC 1234" -> "4"
- * * "AB 123 CD" -> "3"
- * * "ABCDEF" -> "-1"
- *
- * Generated from protobuf field string last_character = 2;
- */
- protected $last_character = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $country_code
- * Required. CLDR Country/Region Code. For example, `US` for United States,
- * or `IN` for India.
- * @type string $last_character
- * The last digit of the license plate or "-1" to denote no numeric value
- * is present in the license plate.
- * * "ABC 1234" -> "4"
- * * "AB 123 CD" -> "3"
- * * "ABCDEF" -> "-1"
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. CLDR Country/Region Code. For example, `US` for United States,
- * or `IN` for India.
- *
- * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * Required. CLDR Country/Region Code. For example, `US` for United States,
- * or `IN` for India.
- *
- * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setCountryCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->country_code = $var;
-
- return $this;
- }
-
- /**
- * The last digit of the license plate or "-1" to denote no numeric value
- * is present in the license plate.
- * * "ABC 1234" -> "4"
- * * "AB 123 CD" -> "3"
- * * "ABCDEF" -> "-1"
- *
- * Generated from protobuf field string last_character = 2;
- * @return string
- */
- public function getLastCharacter()
- {
- return $this->last_character;
- }
-
- /**
- * The last digit of the license plate or "-1" to denote no numeric value
- * is present in the license plate.
- * * "ABC 1234" -> "4"
- * * "AB 123 CD" -> "3"
- * * "ABCDEF" -> "-1"
- *
- * Generated from protobuf field string last_character = 2;
- * @param string $var
- * @return $this
- */
- public function setLastCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->last_character = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesRequest.php
deleted file mode 100644
index e9849fa89a77..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesRequest.php
+++ /dev/null
@@ -1,926 +0,0 @@
-maps.fleetengine.v1.ListVehiclesRequest
- */
-class ListVehiclesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 12;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $parent = '';
- /**
- * The maximum number of vehicles to return.
- * Default value: 100.
- *
- * Generated from protobuf field int32 page_size = 3;
- */
- protected $page_size = 0;
- /**
- * The value of the `next_page_token` provided by a previous call to
- * `ListVehicles` so that you can paginate through groups of vehicles. The
- * value is undefined if the filter criteria of the request is not the same as
- * the filter criteria for the previous call to `ListVehicles`.
- *
- * Generated from protobuf field string page_token = 4;
- */
- protected $page_token = '';
- /**
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- *
- * Generated from protobuf field .google.protobuf.Int32Value minimum_capacity = 6;
- */
- protected $minimum_capacity = null;
- /**
- * Restricts the response to vehicles that support at least one of the
- * specified trip types.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 7;
- */
- private $trip_types;
- /**
- * Restricts the response to vehicles that have sent location updates to Fleet
- * Engine within the specified duration. Stationary vehicles still
- * transmitting their locations are not considered stale. If present, must be
- * a valid positive duration.
- *
- * Generated from protobuf field .google.protobuf.Duration maximum_staleness = 8;
- */
- protected $maximum_staleness = null;
- /**
- * Required. Restricts the response to vehicles with one of the specified type
- * categories. `UNKNOWN` is not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType.Category vehicle_type_categories = 9 [(.google.api.field_behavior) = REQUIRED];
- */
- private $vehicle_type_categories;
- /**
- * Callers can form complex logical operations using any combination of the
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attribute_sets` fields.
- * `required_attributes` is a list; `required_one_of_attributes` uses a
- * message which allows a list of lists. In combination, the two fields allow
- * the composition of this expression:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (required_one_of_attributes[0][0] OR required_one_of_attributes[0][1] OR
- * ...)
- * AND
- * (required_one_of_attributes[1][0] OR required_one_of_attributes[1][1] OR
- * ...)
- * ```
- * Restricts the response to vehicles with the specified attributes. This
- * field is a conjunction/AND operation. A max of 50 required_attributes is
- * allowed. This matches the maximum number of attributes allowed on a
- * vehicle. Each repeated string should be of the format "key:value".
- *
- * Generated from protobuf field repeated string required_attributes = 10;
- */
- private $required_attributes;
- /**
- * Restricts the response to vehicles with at least one of the specified
- * attributes in each `VehicleAttributeList`. Within each list, a vehicle must
- * match at least one of the attributes. This field is an inclusive
- * disjunction/OR operation in each `VehicleAttributeList` and a
- * conjunction/AND operation across the collection of `VehicleAttributeList`.
- * Each repeated string should be of the format
- * "key1:value1|key2:value2|key3:value3".
- *
- * Generated from protobuf field repeated string required_one_of_attributes = 13;
- */
- private $required_one_of_attributes;
- /**
- * `required_one_of_attribute_sets` provides additional functionality.
- * Similar to `required_one_of_attributes`, `required_one_of_attribute_sets`
- * uses a message which allows a list of lists, allowing expressions such as
- * this one:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (
- * (required_one_of_attribute_sets[0][0] AND
- * required_one_of_attribute_sets[0][1] AND
- * ...)
- * OR
- * (required_one_of_attribute_sets[1][0] AND
- * required_one_of_attribute_sets[1][1] AND
- * ...)
- * )
- * ```
- * Restricts the response to vehicles that match all the attributes in a
- * `VehicleAttributeList`. Within each list, a vehicle must match all of the
- * attributes. This field is a conjunction/AND operation in each
- * `VehicleAttributeList` and inclusive disjunction/OR operation across the
- * collection of `VehicleAttributeList`. Each repeated string should be of the
- * format "key1:value1|key2:value2|key3:value3".
- *
- * Generated from protobuf field repeated string required_one_of_attribute_sets = 15;
- */
- private $required_one_of_attribute_sets;
- /**
- * Restricts the response to vehicles that have this vehicle state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleState vehicle_state = 11;
- */
- protected $vehicle_state = 0;
- /**
- * Only return the vehicles with current trip(s).
- *
- * Generated from protobuf field bool on_trip_only = 14;
- */
- protected $on_trip_only = false;
- /**
- * Optional. A filter query to apply when listing vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `vehicle_state` or `on_trip_only`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 16 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $filter = '';
- /**
- * Optional. A filter that limits the vehicles returned to those whose last
- * known location was in the rectangular area defined by the viewport.
- *
- * Generated from protobuf field .google.geo.type.Viewport viewport = 17 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $viewport = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $parent
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type int $page_size
- * The maximum number of vehicles to return.
- * Default value: 100.
- * @type string $page_token
- * The value of the `next_page_token` provided by a previous call to
- * `ListVehicles` so that you can paginate through groups of vehicles. The
- * value is undefined if the filter criteria of the request is not the same as
- * the filter criteria for the previous call to `ListVehicles`.
- * @type \Google\Protobuf\Int32Value $minimum_capacity
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- * @type array.maps.fleetengine.v1.RequestHeader header = 12;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 12;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The maximum number of vehicles to return.
- * Default value: 100.
- *
- * Generated from protobuf field int32 page_size = 3;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * The maximum number of vehicles to return.
- * Default value: 100.
- *
- * Generated from protobuf field int32 page_size = 3;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * The value of the `next_page_token` provided by a previous call to
- * `ListVehicles` so that you can paginate through groups of vehicles. The
- * value is undefined if the filter criteria of the request is not the same as
- * the filter criteria for the previous call to `ListVehicles`.
- *
- * Generated from protobuf field string page_token = 4;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * The value of the `next_page_token` provided by a previous call to
- * `ListVehicles` so that you can paginate through groups of vehicles. The
- * value is undefined if the filter criteria of the request is not the same as
- * the filter criteria for the previous call to `ListVehicles`.
- *
- * Generated from protobuf field string page_token = 4;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- *
- * Generated from protobuf field .google.protobuf.Int32Value minimum_capacity = 6;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getMinimumCapacity()
- {
- return $this->minimum_capacity;
- }
-
- public function hasMinimumCapacity()
- {
- return isset($this->minimum_capacity);
- }
-
- public function clearMinimumCapacity()
- {
- unset($this->minimum_capacity);
- }
-
- /**
- * Returns the unboxed value from getMinimumCapacity()
-
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- *
- * Generated from protobuf field .google.protobuf.Int32Value minimum_capacity = 6;
- * @return int|null
- */
- public function getMinimumCapacityUnwrapped()
- {
- return $this->readWrapperValue("minimum_capacity");
- }
-
- /**
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- *
- * Generated from protobuf field .google.protobuf.Int32Value minimum_capacity = 6;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setMinimumCapacity($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->minimum_capacity = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Specifies the required minimum capacity of the vehicle. All vehicles
- * returned will have a `maximum_capacity` greater than or equal to this
- * value. If set, must be greater or equal to 0.
- *
- * Generated from protobuf field .google.protobuf.Int32Value minimum_capacity = 6;
- * @param int|null $var
- * @return $this
- */
- public function setMinimumCapacityUnwrapped($var)
- {
- $this->writeWrapperValue("minimum_capacity", $var);
- return $this;}
-
- /**
- * Restricts the response to vehicles that support at least one of the
- * specified trip types.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 7;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTripTypes()
- {
- return $this->trip_types;
- }
-
- /**
- * Restricts the response to vehicles that support at least one of the
- * specified trip types.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 7;
- * @param array.google.protobuf.Duration maximum_staleness = 8;
- * @return \Google\Protobuf\Duration|null
- */
- public function getMaximumStaleness()
- {
- return $this->maximum_staleness;
- }
-
- public function hasMaximumStaleness()
- {
- return isset($this->maximum_staleness);
- }
-
- public function clearMaximumStaleness()
- {
- unset($this->maximum_staleness);
- }
-
- /**
- * Restricts the response to vehicles that have sent location updates to Fleet
- * Engine within the specified duration. Stationary vehicles still
- * transmitting their locations are not considered stale. If present, must be
- * a valid positive duration.
- *
- * Generated from protobuf field .google.protobuf.Duration maximum_staleness = 8;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setMaximumStaleness($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->maximum_staleness = $var;
-
- return $this;
- }
-
- /**
- * Required. Restricts the response to vehicles with one of the specified type
- * categories. `UNKNOWN` is not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType.Category vehicle_type_categories = 9 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getVehicleTypeCategories()
- {
- return $this->vehicle_type_categories;
- }
-
- /**
- * Required. Restricts the response to vehicles with one of the specified type
- * categories. `UNKNOWN` is not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType.Category vehicle_type_categories = 9 [(.google.api.field_behavior) = REQUIRED];
- * @param arrayrepeated string required_attributes = 10;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredAttributes()
- {
- return $this->required_attributes;
- }
-
- /**
- * Callers can form complex logical operations using any combination of the
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attribute_sets` fields.
- * `required_attributes` is a list; `required_one_of_attributes` uses a
- * message which allows a list of lists. In combination, the two fields allow
- * the composition of this expression:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (required_one_of_attributes[0][0] OR required_one_of_attributes[0][1] OR
- * ...)
- * AND
- * (required_one_of_attributes[1][0] OR required_one_of_attributes[1][1] OR
- * ...)
- * ```
- * Restricts the response to vehicles with the specified attributes. This
- * field is a conjunction/AND operation. A max of 50 required_attributes is
- * allowed. This matches the maximum number of attributes allowed on a
- * vehicle. Each repeated string should be of the format "key:value".
- *
- * Generated from protobuf field repeated string required_attributes = 10;
- * @param arrayrepeated string required_one_of_attributes = 13;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredOneOfAttributes()
- {
- return $this->required_one_of_attributes;
- }
-
- /**
- * Restricts the response to vehicles with at least one of the specified
- * attributes in each `VehicleAttributeList`. Within each list, a vehicle must
- * match at least one of the attributes. This field is an inclusive
- * disjunction/OR operation in each `VehicleAttributeList` and a
- * conjunction/AND operation across the collection of `VehicleAttributeList`.
- * Each repeated string should be of the format
- * "key1:value1|key2:value2|key3:value3".
- *
- * Generated from protobuf field repeated string required_one_of_attributes = 13;
- * @param arrayrepeated string required_one_of_attribute_sets = 15;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredOneOfAttributeSets()
- {
- return $this->required_one_of_attribute_sets;
- }
-
- /**
- * `required_one_of_attribute_sets` provides additional functionality.
- * Similar to `required_one_of_attributes`, `required_one_of_attribute_sets`
- * uses a message which allows a list of lists, allowing expressions such as
- * this one:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (
- * (required_one_of_attribute_sets[0][0] AND
- * required_one_of_attribute_sets[0][1] AND
- * ...)
- * OR
- * (required_one_of_attribute_sets[1][0] AND
- * required_one_of_attribute_sets[1][1] AND
- * ...)
- * )
- * ```
- * Restricts the response to vehicles that match all the attributes in a
- * `VehicleAttributeList`. Within each list, a vehicle must match all of the
- * attributes. This field is a conjunction/AND operation in each
- * `VehicleAttributeList` and inclusive disjunction/OR operation across the
- * collection of `VehicleAttributeList`. Each repeated string should be of the
- * format "key1:value1|key2:value2|key3:value3".
- *
- * Generated from protobuf field repeated string required_one_of_attribute_sets = 15;
- * @param array.maps.fleetengine.v1.VehicleState vehicle_state = 11;
- * @return int
- */
- public function getVehicleState()
- {
- return $this->vehicle_state;
- }
-
- /**
- * Restricts the response to vehicles that have this vehicle state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleState vehicle_state = 11;
- * @param int $var
- * @return $this
- */
- public function setVehicleState($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\VehicleState::class);
- $this->vehicle_state = $var;
-
- return $this;
- }
-
- /**
- * Only return the vehicles with current trip(s).
- *
- * Generated from protobuf field bool on_trip_only = 14;
- * @return bool
- */
- public function getOnTripOnly()
- {
- return $this->on_trip_only;
- }
-
- /**
- * Only return the vehicles with current trip(s).
- *
- * Generated from protobuf field bool on_trip_only = 14;
- * @param bool $var
- * @return $this
- */
- public function setOnTripOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->on_trip_only = $var;
-
- return $this;
- }
-
- /**
- * Optional. A filter query to apply when listing vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `vehicle_state` or `on_trip_only`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 16 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * Optional. A filter query to apply when listing vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `vehicle_state` or `on_trip_only`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 16 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
- /**
- * Optional. A filter that limits the vehicles returned to those whose last
- * known location was in the rectangular area defined by the viewport.
- *
- * Generated from protobuf field .google.geo.type.Viewport viewport = 17 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Geo\Type\Viewport|null
- */
- public function getViewport()
- {
- return $this->viewport;
- }
-
- public function hasViewport()
- {
- return isset($this->viewport);
- }
-
- public function clearViewport()
- {
- unset($this->viewport);
- }
-
- /**
- * Optional. A filter that limits the vehicles returned to those whose last
- * known location was in the rectangular area defined by the viewport.
- *
- * Generated from protobuf field .google.geo.type.Viewport viewport = 17 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Geo\Type\Viewport $var
- * @return $this
- */
- public function setViewport($var)
- {
- GPBUtil::checkMessage($var, \Google\Geo\Type\Viewport::class);
- $this->viewport = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesResponse.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesResponse.php
deleted file mode 100644
index 2ba9724c211e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ListVehiclesResponse.php
+++ /dev/null
@@ -1,151 +0,0 @@
-maps.fleetengine.v1.ListVehiclesResponse
- */
-class ListVehiclesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Vehicles matching the criteria in the request.
- * The maximum number of vehicles returned is determined by the `page_size`
- * field in the request.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle vehicles = 1;
- */
- private $vehicles;
- /**
- * Token to retrieve the next page of vehicles, or empty if there are no
- * more vehicles that meet the request criteria.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
- /**
- * Required. Total number of vehicles matching the request criteria across all
- * pages.
- *
- * Generated from protobuf field int64 total_size = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $total_size = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\Vehicle>|\Google\Protobuf\Internal\RepeatedField $vehicles
- * Vehicles matching the criteria in the request.
- * The maximum number of vehicles returned is determined by the `page_size`
- * field in the request.
- * @type string $next_page_token
- * Token to retrieve the next page of vehicles, or empty if there are no
- * more vehicles that meet the request criteria.
- * @type int|string $total_size
- * Required. Total number of vehicles matching the request criteria across all
- * pages.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Vehicles matching the criteria in the request.
- * The maximum number of vehicles returned is determined by the `page_size`
- * field in the request.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle vehicles = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getVehicles()
- {
- return $this->vehicles;
- }
-
- /**
- * Vehicles matching the criteria in the request.
- * The maximum number of vehicles returned is determined by the `page_size`
- * field in the request.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle vehicles = 1;
- * @param array<\Google\Maps\FleetEngine\V1\Vehicle>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setVehicles($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\Vehicle::class);
- $this->vehicles = $arr;
-
- return $this;
- }
-
- /**
- * Token to retrieve the next page of vehicles, or empty if there are no
- * more vehicles that meet the request criteria.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Token to retrieve the next page of vehicles, or empty if there are no
- * more vehicles that meet the request criteria.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
- /**
- * Required. Total number of vehicles matching the request criteria across all
- * pages.
- *
- * Generated from protobuf field int64 total_size = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return int|string
- */
- public function getTotalSize()
- {
- return $this->total_size;
- }
-
- /**
- * Required. Total number of vehicles matching the request criteria across all
- * pages.
- *
- * Generated from protobuf field int64 total_size = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param int|string $var
- * @return $this
- */
- public function setTotalSize($var)
- {
- GPBUtil::checkInt64($var);
- $this->total_size = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationPowerSaveMode.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationPowerSaveMode.php
deleted file mode 100644
index 4eb20054c4f9..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationPowerSaveMode.php
+++ /dev/null
@@ -1,89 +0,0 @@
-maps.fleetengine.v1.LocationPowerSaveMode
- */
-class LocationPowerSaveMode
-{
- /**
- * Undefined LocationPowerSaveMode
- *
- * Generated from protobuf enum UNKNOWN_LOCATION_POWER_SAVE_MODE = 0;
- */
- const UNKNOWN_LOCATION_POWER_SAVE_MODE = 0;
- /**
- * Either the location providers shouldn't be affected by battery saver, or
- * battery saver is off.
- *
- * Generated from protobuf enum LOCATION_MODE_NO_CHANGE = 1;
- */
- const LOCATION_MODE_NO_CHANGE = 1;
- /**
- * The GPS based location provider should be disabled when battery saver is on
- * and the device is non-interactive.
- *
- * Generated from protobuf enum LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF = 2;
- */
- const LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF = 2;
- /**
- * All location providers should be disabled when battery saver is on and the
- * device is non-interactive.
- *
- * Generated from protobuf enum LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF = 3;
- */
- const LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF = 3;
- /**
- * All the location providers will be kept available, but location fixes
- * should only be provided to foreground apps.
- *
- * Generated from protobuf enum LOCATION_MODE_FOREGROUND_ONLY = 4;
- */
- const LOCATION_MODE_FOREGROUND_ONLY = 4;
- /**
- * Location will not be turned off, but LocationManager will throttle all
- * requests to providers when the device is non-interactive.
- *
- * Generated from protobuf enum LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF = 5;
- */
- const LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF = 5;
-
- private static $valueToName = [
- self::UNKNOWN_LOCATION_POWER_SAVE_MODE => 'UNKNOWN_LOCATION_POWER_SAVE_MODE',
- self::LOCATION_MODE_NO_CHANGE => 'LOCATION_MODE_NO_CHANGE',
- self::LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF => 'LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF',
- self::LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF => 'LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF',
- self::LOCATION_MODE_FOREGROUND_ONLY => 'LOCATION_MODE_FOREGROUND_ONLY',
- self::LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF => 'LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationSensor.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationSensor.php
deleted file mode 100644
index 63194cc7ea5b..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/LocationSensor.php
+++ /dev/null
@@ -1,110 +0,0 @@
-maps.fleetengine.v1.LocationSensor
- */
-class LocationSensor
-{
- /**
- * The sensor is unspecified or unknown.
- *
- * Generated from protobuf enum UNKNOWN_SENSOR = 0;
- */
- const UNKNOWN_SENSOR = 0;
- /**
- * GPS or Assisted GPS.
- *
- * Generated from protobuf enum GPS = 1;
- */
- const GPS = 1;
- /**
- * Assisted GPS, cell tower ID, or WiFi access point.
- *
- * Generated from protobuf enum NETWORK = 2;
- */
- const NETWORK = 2;
- /**
- * Cell tower ID or WiFi access point.
- *
- * Generated from protobuf enum PASSIVE = 3;
- */
- const PASSIVE = 3;
- /**
- * A location determined by the mobile device to be the most likely
- * road position.
- *
- * Generated from protobuf enum ROAD_SNAPPED_LOCATION_PROVIDER = 4;
- */
- const ROAD_SNAPPED_LOCATION_PROVIDER = 4;
- /**
- * A customer-supplied location from an independent source. Typically, this
- * value is used for a location provided from sources other than the mobile
- * device running Driver SDK. If the original source is described by one of
- * the other enum values, use that value. Locations marked
- * CUSTOMER_SUPPLIED_LOCATION are typically provided via a Vehicle's
- * `last_location.supplemental_location_sensor`.
- *
- * Generated from protobuf enum CUSTOMER_SUPPLIED_LOCATION = 5;
- */
- const CUSTOMER_SUPPLIED_LOCATION = 5;
- /**
- * A location calculated by Fleet Engine based on the signals available to it.
- * Output only. This value will be rejected if it is received in a request.
- *
- * Generated from protobuf enum FLEET_ENGINE_LOCATION = 6;
- */
- const FLEET_ENGINE_LOCATION = 6;
- /**
- * Android's Fused Location Provider.
- *
- * Generated from protobuf enum FUSED_LOCATION_PROVIDER = 100;
- */
- const FUSED_LOCATION_PROVIDER = 100;
- /**
- * The location provider on Apple operating systems.
- *
- * Generated from protobuf enum CORE_LOCATION = 200;
- */
- const CORE_LOCATION = 200;
-
- private static $valueToName = [
- self::UNKNOWN_SENSOR => 'UNKNOWN_SENSOR',
- self::GPS => 'GPS',
- self::NETWORK => 'NETWORK',
- self::PASSIVE => 'PASSIVE',
- self::ROAD_SNAPPED_LOCATION_PROVIDER => 'ROAD_SNAPPED_LOCATION_PROVIDER',
- self::CUSTOMER_SUPPLIED_LOCATION => 'CUSTOMER_SUPPLIED_LOCATION',
- self::FLEET_ENGINE_LOCATION => 'FLEET_ENGINE_LOCATION',
- self::FUSED_LOCATION_PROVIDER => 'FUSED_LOCATION_PROVIDER',
- self::CORE_LOCATION => 'CORE_LOCATION',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/NavigationStatus.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/NavigationStatus.php
deleted file mode 100644
index 40e2a39a9556..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/NavigationStatus.php
+++ /dev/null
@@ -1,76 +0,0 @@
-maps.fleetengine.v1.NavigationStatus
- */
-class NavigationStatus
-{
- /**
- * Unspecified navigation status.
- *
- * Generated from protobuf enum UNKNOWN_NAVIGATION_STATUS = 0;
- */
- const UNKNOWN_NAVIGATION_STATUS = 0;
- /**
- * The Driver app's navigation is in `FREE_NAV` mode.
- *
- * Generated from protobuf enum NO_GUIDANCE = 1;
- */
- const NO_GUIDANCE = 1;
- /**
- * Turn-by-turn navigation is available and the Driver app navigation has
- * entered `GUIDED_NAV` mode.
- *
- * Generated from protobuf enum ENROUTE_TO_DESTINATION = 2;
- */
- const ENROUTE_TO_DESTINATION = 2;
- /**
- * The vehicle has gone off the suggested route.
- *
- * Generated from protobuf enum OFF_ROUTE = 3;
- */
- const OFF_ROUTE = 3;
- /**
- * The vehicle is within approximately 50m of the destination.
- *
- * Generated from protobuf enum ARRIVED_AT_DESTINATION = 4;
- */
- const ARRIVED_AT_DESTINATION = 4;
-
- private static $valueToName = [
- self::UNKNOWN_NAVIGATION_STATUS => 'UNKNOWN_NAVIGATION_STATUS',
- self::NO_GUIDANCE => 'NO_GUIDANCE',
- self::ENROUTE_TO_DESTINATION => 'ENROUTE_TO_DESTINATION',
- self::OFF_ROUTE => 'OFF_ROUTE',
- self::ARRIVED_AT_DESTINATION => 'ARRIVED_AT_DESTINATION',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PolylineFormatType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PolylineFormatType.php
deleted file mode 100644
index 40a6b80a1726..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PolylineFormatType.php
+++ /dev/null
@@ -1,62 +0,0 @@
-maps.fleetengine.v1.PolylineFormatType
- */
-class PolylineFormatType
-{
- /**
- * The format is unspecified or unknown.
- *
- * Generated from protobuf enum UNKNOWN_FORMAT_TYPE = 0;
- */
- const UNKNOWN_FORMAT_TYPE = 0;
- /**
- * A list of `google.type.LatLng`.
- *
- * Generated from protobuf enum LAT_LNG_LIST_TYPE = 1;
- */
- const LAT_LNG_LIST_TYPE = 1;
- /**
- * A polyline encoded with a polyline compression algorithm. Decoding is not
- * yet supported.
- *
- * Generated from protobuf enum ENCODED_POLYLINE_TYPE = 2;
- */
- const ENCODED_POLYLINE_TYPE = 2;
-
- private static $valueToName = [
- self::UNKNOWN_FORMAT_TYPE => 'UNKNOWN_FORMAT_TYPE',
- self::LAT_LNG_LIST_TYPE => 'LAT_LNG_LIST_TYPE',
- self::ENCODED_POLYLINE_TYPE => 'ENCODED_POLYLINE_TYPE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PowerSource.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PowerSource.php
deleted file mode 100644
index 1dd4ecfc1b49..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/PowerSource.php
+++ /dev/null
@@ -1,75 +0,0 @@
-maps.fleetengine.v1.PowerSource
- */
-class PowerSource
-{
- /**
- * Power source unknown.
- *
- * Generated from protobuf enum UNKNOWN_POWER_SOURCE = 0;
- */
- const UNKNOWN_POWER_SOURCE = 0;
- /**
- * Power source is an AC charger.
- *
- * Generated from protobuf enum POWER_SOURCE_AC = 1;
- */
- const POWER_SOURCE_AC = 1;
- /**
- * Power source is a USB port.
- *
- * Generated from protobuf enum POWER_SOURCE_USB = 2;
- */
- const POWER_SOURCE_USB = 2;
- /**
- * Power source is wireless.
- *
- * Generated from protobuf enum POWER_SOURCE_WIRELESS = 3;
- */
- const POWER_SOURCE_WIRELESS = 3;
- /**
- * Battery is unplugged.
- *
- * Generated from protobuf enum POWER_SOURCE_UNPLUGGED = 4;
- */
- const POWER_SOURCE_UNPLUGGED = 4;
-
- private static $valueToName = [
- self::UNKNOWN_POWER_SOURCE => 'UNKNOWN_POWER_SOURCE',
- self::POWER_SOURCE_AC => 'POWER_SOURCE_AC',
- self::POWER_SOURCE_USB => 'POWER_SOURCE_USB',
- self::POWER_SOURCE_WIRELESS => 'POWER_SOURCE_WIRELESS',
- self::POWER_SOURCE_UNPLUGGED => 'POWER_SOURCE_UNPLUGGED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest.php
deleted file mode 100644
index 48d21dc5444e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest.php
+++ /dev/null
@@ -1,239 +0,0 @@
-maps.fleetengine.v1.ReportBillableTripRequest
- */
-class ReportBillableTripRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Must be in the format
- * `providers/{provider}/billableTrips/{billable_trip}`. The
- * provider must be the Project ID (for example, `sample-cloud-project`) of
- * the Google Cloud Project of which the service account making this call is a
- * member.
- *
- * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $name = '';
- /**
- * Required. Two letter country code of the country where the trip takes
- * place. Price is defined according to country code.
- *
- * Generated from protobuf field string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $country_code = '';
- /**
- * The platform upon which the request was issued.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BillingPlatformIdentifier platform = 5;
- */
- protected $platform = 0;
- /**
- * The identifiers that are directly related to the trip being reported. These
- * are usually IDs (for example, session IDs) of pre-booking operations done
- * before the trip ID is available. The number of `related_ids` is
- * limited to 50.
- *
- * Generated from protobuf field repeated string related_ids = 6;
- */
- private $related_ids;
- /**
- * The type of GMP product solution (for example,
- * `ON_DEMAND_RIDESHARING_AND_DELIVERIES`) used for the reported trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ReportBillableTripRequest.SolutionType solution_type = 7;
- */
- protected $solution_type = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. Must be in the format
- * `providers/{provider}/billableTrips/{billable_trip}`. The
- * provider must be the Project ID (for example, `sample-cloud-project`) of
- * the Google Cloud Project of which the service account making this call is a
- * member.
- * @type string $country_code
- * Required. Two letter country code of the country where the trip takes
- * place. Price is defined according to country code.
- * @type int $platform
- * The platform upon which the request was issued.
- * @type arraystring name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/billableTrips/{billable_trip}`. The
- * provider must be the Project ID (for example, `sample-cloud-project`) of
- * the Google Cloud Project of which the service account making this call is a
- * member.
- *
- * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. Two letter country code of the country where the trip takes
- * place. Price is defined according to country code.
- *
- * Generated from protobuf field string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * Required. Two letter country code of the country where the trip takes
- * place. Price is defined according to country code.
- *
- * Generated from protobuf field string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setCountryCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->country_code = $var;
-
- return $this;
- }
-
- /**
- * The platform upon which the request was issued.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BillingPlatformIdentifier platform = 5;
- * @return int
- */
- public function getPlatform()
- {
- return $this->platform;
- }
-
- /**
- * The platform upon which the request was issued.
- *
- * Generated from protobuf field .maps.fleetengine.v1.BillingPlatformIdentifier platform = 5;
- * @param int $var
- * @return $this
- */
- public function setPlatform($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\BillingPlatformIdentifier::class);
- $this->platform = $var;
-
- return $this;
- }
-
- /**
- * The identifiers that are directly related to the trip being reported. These
- * are usually IDs (for example, session IDs) of pre-booking operations done
- * before the trip ID is available. The number of `related_ids` is
- * limited to 50.
- *
- * Generated from protobuf field repeated string related_ids = 6;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRelatedIds()
- {
- return $this->related_ids;
- }
-
- /**
- * The identifiers that are directly related to the trip being reported. These
- * are usually IDs (for example, session IDs) of pre-booking operations done
- * before the trip ID is available. The number of `related_ids` is
- * limited to 50.
- *
- * Generated from protobuf field repeated string related_ids = 6;
- * @param array.maps.fleetengine.v1.ReportBillableTripRequest.SolutionType solution_type = 7;
- * @return int
- */
- public function getSolutionType()
- {
- return $this->solution_type;
- }
-
- /**
- * The type of GMP product solution (for example,
- * `ON_DEMAND_RIDESHARING_AND_DELIVERIES`) used for the reported trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ReportBillableTripRequest.SolutionType solution_type = 7;
- * @param int $var
- * @return $this
- */
- public function setSolutionType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\ReportBillableTripRequest\SolutionType::class);
- $this->solution_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest/SolutionType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest/SolutionType.php
deleted file mode 100644
index c50613c46254..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/ReportBillableTripRequest/SolutionType.php
+++ /dev/null
@@ -1,59 +0,0 @@
-maps.fleetengine.v1.ReportBillableTripRequest.SolutionType
- */
-class SolutionType
-{
- /**
- * The default value. For backwards-compatibility, the API will use
- * `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first
- * supported solution type.
- *
- * Generated from protobuf enum SOLUTION_TYPE_UNSPECIFIED = 0;
- */
- const SOLUTION_TYPE_UNSPECIFIED = 0;
- /**
- * The solution is an on-demand ridesharing and deliveries trip.
- *
- * Generated from protobuf enum ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1;
- */
- const ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1;
-
- private static $valueToName = [
- self::SOLUTION_TYPE_UNSPECIFIED => 'SOLUTION_TYPE_UNSPECIFIED',
- self::ON_DEMAND_RIDESHARING_AND_DELIVERIES => 'ON_DEMAND_RIDESHARING_AND_DELIVERIES',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SolutionType::class, \Google\Maps\FleetEngine\V1\ReportBillableTripRequest_SolutionType::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader.php
deleted file mode 100644
index c892bc38df04..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader.php
+++ /dev/null
@@ -1,493 +0,0 @@
-maps.fleetengine.v1.RequestHeader
- */
-class RequestHeader extends \Google\Protobuf\Internal\Message
-{
- /**
- * The BCP-47 language code, such as en-US or sr-Latn. For more information,
- * see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If none
- * is specified, the response may be in any language, with a preference for
- * English if such a name exists. Field value example: `en-US`.
- *
- * Generated from protobuf field string language_code = 1;
- */
- protected $language_code = '';
- /**
- * Required. CLDR region code of the region where the request originates.
- * Field value example: `US`.
- *
- * Generated from protobuf field string region_code = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $region_code = '';
- /**
- * Version of the calling SDK, if applicable.
- * The version format is "major.minor.patch", example: `1.1.2`.
- *
- * Generated from protobuf field string sdk_version = 3;
- */
- protected $sdk_version = '';
- /**
- * Version of the operating system on which the calling SDK is running.
- * Field value examples: `4.4.1`, `12.1`.
- *
- * Generated from protobuf field string os_version = 4;
- */
- protected $os_version = '';
- /**
- * Model of the device on which the calling SDK is running.
- * Field value examples: `iPhone12,1`, `SM-G920F`.
- *
- * Generated from protobuf field string device_model = 5;
- */
- protected $device_model = '';
- /**
- * The type of SDK sending the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.SdkType sdk_type = 6;
- */
- protected $sdk_type = 0;
- /**
- * Version of the MapSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `5.2.1`.
- *
- * Generated from protobuf field string maps_sdk_version = 7;
- */
- protected $maps_sdk_version = '';
- /**
- * Version of the NavSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `2.1.0`.
- *
- * Generated from protobuf field string nav_sdk_version = 8;
- */
- protected $nav_sdk_version = '';
- /**
- * Platform of the calling SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.Platform platform = 9;
- */
- protected $platform = 0;
- /**
- * Manufacturer of the Android device from the calling SDK, only applicable
- * for the Android SDKs.
- * Field value example: `Samsung`.
- *
- * Generated from protobuf field string manufacturer = 10;
- */
- protected $manufacturer = '';
- /**
- * Android API level of the calling SDK, only applicable for the Android SDKs.
- * Field value example: `23`.
- *
- * Generated from protobuf field int32 android_api_level = 11;
- */
- protected $android_api_level = 0;
- /**
- * Optional ID that can be provided for logging purposes in order to identify
- * the request.
- *
- * Generated from protobuf field string trace_id = 12;
- */
- protected $trace_id = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $language_code
- * The BCP-47 language code, such as en-US or sr-Latn. For more information,
- * see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If none
- * is specified, the response may be in any language, with a preference for
- * English if such a name exists. Field value example: `en-US`.
- * @type string $region_code
- * Required. CLDR region code of the region where the request originates.
- * Field value example: `US`.
- * @type string $sdk_version
- * Version of the calling SDK, if applicable.
- * The version format is "major.minor.patch", example: `1.1.2`.
- * @type string $os_version
- * Version of the operating system on which the calling SDK is running.
- * Field value examples: `4.4.1`, `12.1`.
- * @type string $device_model
- * Model of the device on which the calling SDK is running.
- * Field value examples: `iPhone12,1`, `SM-G920F`.
- * @type int $sdk_type
- * The type of SDK sending the request.
- * @type string $maps_sdk_version
- * Version of the MapSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `5.2.1`.
- * @type string $nav_sdk_version
- * Version of the NavSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `2.1.0`.
- * @type int $platform
- * Platform of the calling SDK.
- * @type string $manufacturer
- * Manufacturer of the Android device from the calling SDK, only applicable
- * for the Android SDKs.
- * Field value example: `Samsung`.
- * @type int $android_api_level
- * Android API level of the calling SDK, only applicable for the Android SDKs.
- * Field value example: `23`.
- * @type string $trace_id
- * Optional ID that can be provided for logging purposes in order to identify
- * the request.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Header::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The BCP-47 language code, such as en-US or sr-Latn. For more information,
- * see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If none
- * is specified, the response may be in any language, with a preference for
- * English if such a name exists. Field value example: `en-US`.
- *
- * Generated from protobuf field string language_code = 1;
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * The BCP-47 language code, such as en-US or sr-Latn. For more information,
- * see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If none
- * is specified, the response may be in any language, with a preference for
- * English if such a name exists. Field value example: `en-US`.
- *
- * Generated from protobuf field string language_code = 1;
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
- /**
- * Required. CLDR region code of the region where the request originates.
- * Field value example: `US`.
- *
- * Generated from protobuf field string region_code = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getRegionCode()
- {
- return $this->region_code;
- }
-
- /**
- * Required. CLDR region code of the region where the request originates.
- * Field value example: `US`.
- *
- * Generated from protobuf field string region_code = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setRegionCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->region_code = $var;
-
- return $this;
- }
-
- /**
- * Version of the calling SDK, if applicable.
- * The version format is "major.minor.patch", example: `1.1.2`.
- *
- * Generated from protobuf field string sdk_version = 3;
- * @return string
- */
- public function getSdkVersion()
- {
- return $this->sdk_version;
- }
-
- /**
- * Version of the calling SDK, if applicable.
- * The version format is "major.minor.patch", example: `1.1.2`.
- *
- * Generated from protobuf field string sdk_version = 3;
- * @param string $var
- * @return $this
- */
- public function setSdkVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->sdk_version = $var;
-
- return $this;
- }
-
- /**
- * Version of the operating system on which the calling SDK is running.
- * Field value examples: `4.4.1`, `12.1`.
- *
- * Generated from protobuf field string os_version = 4;
- * @return string
- */
- public function getOsVersion()
- {
- return $this->os_version;
- }
-
- /**
- * Version of the operating system on which the calling SDK is running.
- * Field value examples: `4.4.1`, `12.1`.
- *
- * Generated from protobuf field string os_version = 4;
- * @param string $var
- * @return $this
- */
- public function setOsVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->os_version = $var;
-
- return $this;
- }
-
- /**
- * Model of the device on which the calling SDK is running.
- * Field value examples: `iPhone12,1`, `SM-G920F`.
- *
- * Generated from protobuf field string device_model = 5;
- * @return string
- */
- public function getDeviceModel()
- {
- return $this->device_model;
- }
-
- /**
- * Model of the device on which the calling SDK is running.
- * Field value examples: `iPhone12,1`, `SM-G920F`.
- *
- * Generated from protobuf field string device_model = 5;
- * @param string $var
- * @return $this
- */
- public function setDeviceModel($var)
- {
- GPBUtil::checkString($var, True);
- $this->device_model = $var;
-
- return $this;
- }
-
- /**
- * The type of SDK sending the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.SdkType sdk_type = 6;
- * @return int
- */
- public function getSdkType()
- {
- return $this->sdk_type;
- }
-
- /**
- * The type of SDK sending the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.SdkType sdk_type = 6;
- * @param int $var
- * @return $this
- */
- public function setSdkType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\RequestHeader\SdkType::class);
- $this->sdk_type = $var;
-
- return $this;
- }
-
- /**
- * Version of the MapSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `5.2.1`.
- *
- * Generated from protobuf field string maps_sdk_version = 7;
- * @return string
- */
- public function getMapsSdkVersion()
- {
- return $this->maps_sdk_version;
- }
-
- /**
- * Version of the MapSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `5.2.1`.
- *
- * Generated from protobuf field string maps_sdk_version = 7;
- * @param string $var
- * @return $this
- */
- public function setMapsSdkVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->maps_sdk_version = $var;
-
- return $this;
- }
-
- /**
- * Version of the NavSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `2.1.0`.
- *
- * Generated from protobuf field string nav_sdk_version = 8;
- * @return string
- */
- public function getNavSdkVersion()
- {
- return $this->nav_sdk_version;
- }
-
- /**
- * Version of the NavSDK which the calling SDK depends on, if applicable.
- * The version format is "major.minor.patch", example: `2.1.0`.
- *
- * Generated from protobuf field string nav_sdk_version = 8;
- * @param string $var
- * @return $this
- */
- public function setNavSdkVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->nav_sdk_version = $var;
-
- return $this;
- }
-
- /**
- * Platform of the calling SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.Platform platform = 9;
- * @return int
- */
- public function getPlatform()
- {
- return $this->platform;
- }
-
- /**
- * Platform of the calling SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader.Platform platform = 9;
- * @param int $var
- * @return $this
- */
- public function setPlatform($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\RequestHeader\Platform::class);
- $this->platform = $var;
-
- return $this;
- }
-
- /**
- * Manufacturer of the Android device from the calling SDK, only applicable
- * for the Android SDKs.
- * Field value example: `Samsung`.
- *
- * Generated from protobuf field string manufacturer = 10;
- * @return string
- */
- public function getManufacturer()
- {
- return $this->manufacturer;
- }
-
- /**
- * Manufacturer of the Android device from the calling SDK, only applicable
- * for the Android SDKs.
- * Field value example: `Samsung`.
- *
- * Generated from protobuf field string manufacturer = 10;
- * @param string $var
- * @return $this
- */
- public function setManufacturer($var)
- {
- GPBUtil::checkString($var, True);
- $this->manufacturer = $var;
-
- return $this;
- }
-
- /**
- * Android API level of the calling SDK, only applicable for the Android SDKs.
- * Field value example: `23`.
- *
- * Generated from protobuf field int32 android_api_level = 11;
- * @return int
- */
- public function getAndroidApiLevel()
- {
- return $this->android_api_level;
- }
-
- /**
- * Android API level of the calling SDK, only applicable for the Android SDKs.
- * Field value example: `23`.
- *
- * Generated from protobuf field int32 android_api_level = 11;
- * @param int $var
- * @return $this
- */
- public function setAndroidApiLevel($var)
- {
- GPBUtil::checkInt32($var);
- $this->android_api_level = $var;
-
- return $this;
- }
-
- /**
- * Optional ID that can be provided for logging purposes in order to identify
- * the request.
- *
- * Generated from protobuf field string trace_id = 12;
- * @return string
- */
- public function getTraceId()
- {
- return $this->trace_id;
- }
-
- /**
- * Optional ID that can be provided for logging purposes in order to identify
- * the request.
- *
- * Generated from protobuf field string trace_id = 12;
- * @param string $var
- * @return $this
- */
- public function setTraceId($var)
- {
- GPBUtil::checkString($var, True);
- $this->trace_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/Platform.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/Platform.php
deleted file mode 100644
index dfe0f5d12542..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/Platform.php
+++ /dev/null
@@ -1,71 +0,0 @@
-maps.fleetengine.v1.RequestHeader.Platform
- */
-class Platform
-{
- /**
- * The default value. This value is used if the platform is omitted.
- *
- * Generated from protobuf enum PLATFORM_UNSPECIFIED = 0;
- */
- const PLATFORM_UNSPECIFIED = 0;
- /**
- * The request is coming from Android.
- *
- * Generated from protobuf enum ANDROID = 1;
- */
- const ANDROID = 1;
- /**
- * The request is coming from iOS.
- *
- * Generated from protobuf enum IOS = 2;
- */
- const IOS = 2;
- /**
- * The request is coming from the web.
- *
- * Generated from protobuf enum WEB = 3;
- */
- const WEB = 3;
-
- private static $valueToName = [
- self::PLATFORM_UNSPECIFIED => 'PLATFORM_UNSPECIFIED',
- self::ANDROID => 'ANDROID',
- self::IOS => 'IOS',
- self::WEB => 'WEB',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Platform::class, \Google\Maps\FleetEngine\V1\RequestHeader_Platform::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/SdkType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/SdkType.php
deleted file mode 100644
index 3061cc50a581..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/RequestHeader/SdkType.php
+++ /dev/null
@@ -1,71 +0,0 @@
-maps.fleetengine.v1.RequestHeader.SdkType
- */
-class SdkType
-{
- /**
- * The default value. This value is used if the `sdk_type` is omitted.
- *
- * Generated from protobuf enum SDK_TYPE_UNSPECIFIED = 0;
- */
- const SDK_TYPE_UNSPECIFIED = 0;
- /**
- * The calling SDK is Consumer.
- *
- * Generated from protobuf enum CONSUMER = 1;
- */
- const CONSUMER = 1;
- /**
- * The calling SDK is Driver.
- *
- * Generated from protobuf enum DRIVER = 2;
- */
- const DRIVER = 2;
- /**
- * The calling SDK is JavaScript.
- *
- * Generated from protobuf enum JAVASCRIPT = 3;
- */
- const JAVASCRIPT = 3;
-
- private static $valueToName = [
- self::SDK_TYPE_UNSPECIFIED => 'SDK_TYPE_UNSPECIFIED',
- self::CONSUMER => 'CONSUMER',
- self::DRIVER => 'DRIVER',
- self::JAVASCRIPT => 'JAVASCRIPT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SdkType::class, \Google\Maps\FleetEngine\V1\RequestHeader_SdkType::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsRequest.php
deleted file mode 100644
index 05455c7754ea..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsRequest.php
+++ /dev/null
@@ -1,335 +0,0 @@
-maps.fleetengine.v1.SearchTripsRequest
- */
-class SearchTripsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $parent = '';
- /**
- * The vehicle associated with the trips in the request. If unspecified, the
- * returned trips do not contain:
- * * `current_route_segment`
- * * `remaining_waypoints`
- * * `remaining_distance_meters`
- * * `eta_to_first_waypoint`
- *
- * Generated from protobuf field string vehicle_id = 4;
- */
- protected $vehicle_id = '';
- /**
- * If set to true, the response includes Trips that influence a driver's
- * route.
- *
- * Generated from protobuf field bool active_trips_only = 5;
- */
- protected $active_trips_only = false;
- /**
- * If not set, the server decides the number of results to return.
- *
- * Generated from protobuf field int32 page_size = 6;
- */
- protected $page_size = 0;
- /**
- * Set this to a value previously returned in the `SearchTripsResponse` to
- * continue from previous results.
- *
- * Generated from protobuf field string page_token = 7;
- */
- protected $page_token = '';
- /**
- * If specified, returns the trips that have not been updated after the time
- * `(current - minimum_staleness)`.
- *
- * Generated from protobuf field .google.protobuf.Duration minimum_staleness = 8;
- */
- protected $minimum_staleness = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $parent
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type string $vehicle_id
- * The vehicle associated with the trips in the request. If unspecified, the
- * returned trips do not contain:
- * * `current_route_segment`
- * * `remaining_waypoints`
- * * `remaining_distance_meters`
- * * `eta_to_first_waypoint`
- * @type bool $active_trips_only
- * If set to true, the response includes Trips that influence a driver's
- * route.
- * @type int $page_size
- * If not set, the server decides the number of results to return.
- * @type string $page_token
- * Set this to a value previously returned in the `SearchTripsResponse` to
- * continue from previous results.
- * @type \Google\Protobuf\Duration $minimum_staleness
- * If specified, returns the trips that have not been updated after the time
- * `(current - minimum_staleness)`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\TripApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The vehicle associated with the trips in the request. If unspecified, the
- * returned trips do not contain:
- * * `current_route_segment`
- * * `remaining_waypoints`
- * * `remaining_distance_meters`
- * * `eta_to_first_waypoint`
- *
- * Generated from protobuf field string vehicle_id = 4;
- * @return string
- */
- public function getVehicleId()
- {
- return $this->vehicle_id;
- }
-
- /**
- * The vehicle associated with the trips in the request. If unspecified, the
- * returned trips do not contain:
- * * `current_route_segment`
- * * `remaining_waypoints`
- * * `remaining_distance_meters`
- * * `eta_to_first_waypoint`
- *
- * Generated from protobuf field string vehicle_id = 4;
- * @param string $var
- * @return $this
- */
- public function setVehicleId($var)
- {
- GPBUtil::checkString($var, True);
- $this->vehicle_id = $var;
-
- return $this;
- }
-
- /**
- * If set to true, the response includes Trips that influence a driver's
- * route.
- *
- * Generated from protobuf field bool active_trips_only = 5;
- * @return bool
- */
- public function getActiveTripsOnly()
- {
- return $this->active_trips_only;
- }
-
- /**
- * If set to true, the response includes Trips that influence a driver's
- * route.
- *
- * Generated from protobuf field bool active_trips_only = 5;
- * @param bool $var
- * @return $this
- */
- public function setActiveTripsOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->active_trips_only = $var;
-
- return $this;
- }
-
- /**
- * If not set, the server decides the number of results to return.
- *
- * Generated from protobuf field int32 page_size = 6;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * If not set, the server decides the number of results to return.
- *
- * Generated from protobuf field int32 page_size = 6;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * Set this to a value previously returned in the `SearchTripsResponse` to
- * continue from previous results.
- *
- * Generated from protobuf field string page_token = 7;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * Set this to a value previously returned in the `SearchTripsResponse` to
- * continue from previous results.
- *
- * Generated from protobuf field string page_token = 7;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * If specified, returns the trips that have not been updated after the time
- * `(current - minimum_staleness)`.
- *
- * Generated from protobuf field .google.protobuf.Duration minimum_staleness = 8;
- * @return \Google\Protobuf\Duration|null
- */
- public function getMinimumStaleness()
- {
- return $this->minimum_staleness;
- }
-
- public function hasMinimumStaleness()
- {
- return isset($this->minimum_staleness);
- }
-
- public function clearMinimumStaleness()
- {
- unset($this->minimum_staleness);
- }
-
- /**
- * If specified, returns the trips that have not been updated after the time
- * `(current - minimum_staleness)`.
- *
- * Generated from protobuf field .google.protobuf.Duration minimum_staleness = 8;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setMinimumStaleness($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->minimum_staleness = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsResponse.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsResponse.php
deleted file mode 100644
index a416a1ded2ab..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchTripsResponse.php
+++ /dev/null
@@ -1,109 +0,0 @@
-maps.fleetengine.v1.SearchTripsResponse
- */
-class SearchTripsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The list of trips for the requested vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Trip trips = 1;
- */
- private $trips;
- /**
- * Pass this token in the SearchTripsRequest to page through list results. The
- * API returns a trip list on each call, and when no more results remain the
- * trip list is empty.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\Trip>|\Google\Protobuf\Internal\RepeatedField $trips
- * The list of trips for the requested vehicle.
- * @type string $next_page_token
- * Pass this token in the SearchTripsRequest to page through list results. The
- * API returns a trip list on each call, and when no more results remain the
- * trip list is empty.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\TripApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The list of trips for the requested vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Trip trips = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTrips()
- {
- return $this->trips;
- }
-
- /**
- * The list of trips for the requested vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Trip trips = 1;
- * @param array<\Google\Maps\FleetEngine\V1\Trip>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setTrips($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\Trip::class);
- $this->trips = $arr;
-
- return $this;
- }
-
- /**
- * Pass this token in the SearchTripsRequest to page through list results. The
- * API returns a trip list on each call, and when no more results remain the
- * trip list is empty.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Pass this token in the SearchTripsRequest to page through list results. The
- * API returns a trip list on each call, and when no more results remain the
- * trip list is empty.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest.php
deleted file mode 100644
index 47e4b07b2d9a..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest.php
+++ /dev/null
@@ -1,1029 +0,0 @@
-maps.fleetengine.v1.SearchVehiclesRequest
- */
-class SearchVehiclesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $parent = '';
- /**
- * Required. The pickup point to search near.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $pickup_point = null;
- /**
- * The customer's intended dropoff location. The field is required if
- * `trip_types` contains `TripType.SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 5;
- */
- protected $dropoff_point = null;
- /**
- * Required. Defines the vehicle search radius around the pickup point. Only
- * vehicles within the search radius will be returned. Value must be between
- * 400 and 10000 meters (inclusive).
- *
- * Generated from protobuf field int32 pickup_radius_meters = 6 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $pickup_radius_meters = 0;
- /**
- * Required. Specifies the maximum number of vehicles to return. The value
- * must be between 1 and 50 (inclusive).
- *
- * Generated from protobuf field int32 count = 7 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $count = 0;
- /**
- * Required. Specifies the number of passengers being considered for a trip.
- * The value must be greater than or equal to one. The driver is not
- * considered in the capacity value.
- *
- * Generated from protobuf field int32 minimum_capacity = 8 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $minimum_capacity = 0;
- /**
- * Required. Represents the type of proposed trip. Must include exactly one
- * type. `UNKNOWN_TRIP_TYPE` is not allowed. Restricts the search to only
- * those vehicles that can support that trip type.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 9 [(.google.api.field_behavior) = REQUIRED];
- */
- private $trip_types;
- /**
- * Restricts the search to only those vehicles that have sent location updates
- * to Fleet Engine within the specified duration. Stationary vehicles still
- * transmitting their locations are not considered stale. If this field is not
- * set, the server uses five minutes as the default value.
- *
- * Generated from protobuf field .google.protobuf.Duration maximum_staleness = 10;
- */
- protected $maximum_staleness = null;
- /**
- * Required. Restricts the search to vehicles with one of the specified types.
- * At least one vehicle type must be specified. VehicleTypes with a category
- * of `UNKNOWN` are not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType vehicle_types = 14 [(.google.api.field_behavior) = REQUIRED];
- */
- private $vehicle_types;
- /**
- * Callers can form complex logical operations using any combination of the
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attribute_sets` fields.
- * `required_attributes` is a list; `required_one_of_attributes` uses a
- * message which allows a list of lists. In combination, the two fields allow
- * the composition of this expression:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (required_one_of_attributes[0][0] OR required_one_of_attributes[0][1] OR
- * ...)
- * AND
- * (required_one_of_attributes[1][0] OR required_one_of_attributes[1][1] OR
- * ...)
- * ```
- * Restricts the search to only those vehicles with the specified attributes.
- * This field is a conjunction/AND operation. A max of 50 required_attributes
- * is allowed. This matches the maximum number of attributes allowed on a
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute required_attributes = 12;
- */
- private $required_attributes;
- /**
- * Restricts the search to only those vehicles with at least one of
- * the specified attributes in each `VehicleAttributeList`. Within each
- * list, a vehicle must match at least one of the attributes. This field is an
- * inclusive disjunction/OR operation in each `VehicleAttributeList` and a
- * conjunction/AND operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attributes = 15;
- */
- private $required_one_of_attributes;
- /**
- * `required_one_of_attribute_sets` provides additional functionality.
- * Similar to `required_one_of_attributes`, `required_one_of_attribute_sets`
- * uses a message which allows a list of lists, allowing expressions such as
- * this one:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (
- * (required_one_of_attribute_sets[0][0] AND
- * required_one_of_attribute_sets[0][1] AND
- * ...)
- * OR
- * (required_one_of_attribute_sets[1][0] AND
- * required_one_of_attribute_sets[1][1] AND
- * ...)
- * )
- * ```
- * Restricts the search to only those vehicles with all the attributes in a
- * `VehicleAttributeList`. Within each list, a
- * vehicle must match all of the attributes. This field is a conjunction/AND
- * operation in each `VehicleAttributeList` and inclusive disjunction/OR
- * operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attribute_sets = 20;
- */
- private $required_one_of_attribute_sets;
- /**
- * Required. Specifies the desired ordering criterion for results.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder order_by = 13 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $order_by = 0;
- /**
- * This indicates if vehicles with a single active trip are eligible for this
- * search. This field is only used when `current_trips_present` is
- * unspecified. When `current_trips_present` is unspecified and this field
- * is `false`, vehicles with assigned trips are excluded from the search
- * results. When `current_trips_present` is unspecified and this field is
- * `true`, search results can include vehicles with one active trip that has a
- * status of `ENROUTE_TO_DROPOFF`. When `current_trips_present` is specified,
- * this field cannot be set to true.
- * The default value is `false`.
- *
- * Generated from protobuf field bool include_back_to_back = 18;
- */
- protected $include_back_to_back = false;
- /**
- * Indicates the trip associated with this `SearchVehicleRequest`.
- *
- * Generated from protobuf field string trip_id = 19;
- */
- protected $trip_id = '';
- /**
- * This indicates if vehicles with active trips are eligible for this search.
- * This must be set to something other than
- * `CURRENT_TRIPS_PRESENT_UNSPECIFIED` if `trip_type` includes `SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent current_trips_present = 21;
- */
- protected $current_trips_present = 0;
- /**
- * Optional. A filter query to apply when searching vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `minimum_capacity` or `vehicle_types`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 22 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $filter = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $parent
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type \Google\Maps\FleetEngine\V1\TerminalLocation $pickup_point
- * Required. The pickup point to search near.
- * @type \Google\Maps\FleetEngine\V1\TerminalLocation $dropoff_point
- * The customer's intended dropoff location. The field is required if
- * `trip_types` contains `TripType.SHARED`.
- * @type int $pickup_radius_meters
- * Required. Defines the vehicle search radius around the pickup point. Only
- * vehicles within the search radius will be returned. Value must be between
- * 400 and 10000 meters (inclusive).
- * @type int $count
- * Required. Specifies the maximum number of vehicles to return. The value
- * must be between 1 and 50 (inclusive).
- * @type int $minimum_capacity
- * Required. Specifies the number of passengers being considered for a trip.
- * The value must be greater than or equal to one. The driver is not
- * considered in the capacity value.
- * @type array.maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The pickup point to search near.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\TerminalLocation|null
- */
- public function getPickupPoint()
- {
- return $this->pickup_point;
- }
-
- public function hasPickupPoint()
- {
- return isset($this->pickup_point);
- }
-
- public function clearPickupPoint()
- {
- unset($this->pickup_point);
- }
-
- /**
- * Required. The pickup point to search near.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\TerminalLocation $var
- * @return $this
- */
- public function setPickupPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->pickup_point = $var;
-
- return $this;
- }
-
- /**
- * The customer's intended dropoff location. The field is required if
- * `trip_types` contains `TripType.SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 5;
- * @return \Google\Maps\FleetEngine\V1\TerminalLocation|null
- */
- public function getDropoffPoint()
- {
- return $this->dropoff_point;
- }
-
- public function hasDropoffPoint()
- {
- return isset($this->dropoff_point);
- }
-
- public function clearDropoffPoint()
- {
- unset($this->dropoff_point);
- }
-
- /**
- * The customer's intended dropoff location. The field is required if
- * `trip_types` contains `TripType.SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 5;
- * @param \Google\Maps\FleetEngine\V1\TerminalLocation $var
- * @return $this
- */
- public function setDropoffPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->dropoff_point = $var;
-
- return $this;
- }
-
- /**
- * Required. Defines the vehicle search radius around the pickup point. Only
- * vehicles within the search radius will be returned. Value must be between
- * 400 and 10000 meters (inclusive).
- *
- * Generated from protobuf field int32 pickup_radius_meters = 6 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getPickupRadiusMeters()
- {
- return $this->pickup_radius_meters;
- }
-
- /**
- * Required. Defines the vehicle search radius around the pickup point. Only
- * vehicles within the search radius will be returned. Value must be between
- * 400 and 10000 meters (inclusive).
- *
- * Generated from protobuf field int32 pickup_radius_meters = 6 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setPickupRadiusMeters($var)
- {
- GPBUtil::checkInt32($var);
- $this->pickup_radius_meters = $var;
-
- return $this;
- }
-
- /**
- * Required. Specifies the maximum number of vehicles to return. The value
- * must be between 1 and 50 (inclusive).
- *
- * Generated from protobuf field int32 count = 7 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getCount()
- {
- return $this->count;
- }
-
- /**
- * Required. Specifies the maximum number of vehicles to return. The value
- * must be between 1 and 50 (inclusive).
- *
- * Generated from protobuf field int32 count = 7 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setCount($var)
- {
- GPBUtil::checkInt32($var);
- $this->count = $var;
-
- return $this;
- }
-
- /**
- * Required. Specifies the number of passengers being considered for a trip.
- * The value must be greater than or equal to one. The driver is not
- * considered in the capacity value.
- *
- * Generated from protobuf field int32 minimum_capacity = 8 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getMinimumCapacity()
- {
- return $this->minimum_capacity;
- }
-
- /**
- * Required. Specifies the number of passengers being considered for a trip.
- * The value must be greater than or equal to one. The driver is not
- * considered in the capacity value.
- *
- * Generated from protobuf field int32 minimum_capacity = 8 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setMinimumCapacity($var)
- {
- GPBUtil::checkInt32($var);
- $this->minimum_capacity = $var;
-
- return $this;
- }
-
- /**
- * Required. Represents the type of proposed trip. Must include exactly one
- * type. `UNKNOWN_TRIP_TYPE` is not allowed. Restricts the search to only
- * those vehicles that can support that trip type.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 9 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTripTypes()
- {
- return $this->trip_types;
- }
-
- /**
- * Required. Represents the type of proposed trip. Must include exactly one
- * type. `UNKNOWN_TRIP_TYPE` is not allowed. Restricts the search to only
- * those vehicles that can support that trip type.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType trip_types = 9 [(.google.api.field_behavior) = REQUIRED];
- * @param array.google.protobuf.Duration maximum_staleness = 10;
- * @return \Google\Protobuf\Duration|null
- */
- public function getMaximumStaleness()
- {
- return $this->maximum_staleness;
- }
-
- public function hasMaximumStaleness()
- {
- return isset($this->maximum_staleness);
- }
-
- public function clearMaximumStaleness()
- {
- unset($this->maximum_staleness);
- }
-
- /**
- * Restricts the search to only those vehicles that have sent location updates
- * to Fleet Engine within the specified duration. Stationary vehicles still
- * transmitting their locations are not considered stale. If this field is not
- * set, the server uses five minutes as the default value.
- *
- * Generated from protobuf field .google.protobuf.Duration maximum_staleness = 10;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setMaximumStaleness($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->maximum_staleness = $var;
-
- return $this;
- }
-
- /**
- * Required. Restricts the search to vehicles with one of the specified types.
- * At least one vehicle type must be specified. VehicleTypes with a category
- * of `UNKNOWN` are not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType vehicle_types = 14 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getVehicleTypes()
- {
- return $this->vehicle_types;
- }
-
- /**
- * Required. Restricts the search to vehicles with one of the specified types.
- * At least one vehicle type must be specified. VehicleTypes with a category
- * of `UNKNOWN` are not allowed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Vehicle.VehicleType vehicle_types = 14 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Maps\FleetEngine\V1\Vehicle\VehicleType>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setVehicleTypes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\Vehicle\VehicleType::class);
- $this->vehicle_types = $arr;
-
- return $this;
- }
-
- /**
- * Callers can form complex logical operations using any combination of the
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attribute_sets` fields.
- * `required_attributes` is a list; `required_one_of_attributes` uses a
- * message which allows a list of lists. In combination, the two fields allow
- * the composition of this expression:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (required_one_of_attributes[0][0] OR required_one_of_attributes[0][1] OR
- * ...)
- * AND
- * (required_one_of_attributes[1][0] OR required_one_of_attributes[1][1] OR
- * ...)
- * ```
- * Restricts the search to only those vehicles with the specified attributes.
- * This field is a conjunction/AND operation. A max of 50 required_attributes
- * is allowed. This matches the maximum number of attributes allowed on a
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute required_attributes = 12;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredAttributes()
- {
- return $this->required_attributes;
- }
-
- /**
- * Callers can form complex logical operations using any combination of the
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attribute_sets` fields.
- * `required_attributes` is a list; `required_one_of_attributes` uses a
- * message which allows a list of lists. In combination, the two fields allow
- * the composition of this expression:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (required_one_of_attributes[0][0] OR required_one_of_attributes[0][1] OR
- * ...)
- * AND
- * (required_one_of_attributes[1][0] OR required_one_of_attributes[1][1] OR
- * ...)
- * ```
- * Restricts the search to only those vehicles with the specified attributes.
- * This field is a conjunction/AND operation. A max of 50 required_attributes
- * is allowed. This matches the maximum number of attributes allowed on a
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute required_attributes = 12;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRequiredAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttribute::class);
- $this->required_attributes = $arr;
-
- return $this;
- }
-
- /**
- * Restricts the search to only those vehicles with at least one of
- * the specified attributes in each `VehicleAttributeList`. Within each
- * list, a vehicle must match at least one of the attributes. This field is an
- * inclusive disjunction/OR operation in each `VehicleAttributeList` and a
- * conjunction/AND operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attributes = 15;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredOneOfAttributes()
- {
- return $this->required_one_of_attributes;
- }
-
- /**
- * Restricts the search to only those vehicles with at least one of
- * the specified attributes in each `VehicleAttributeList`. Within each
- * list, a vehicle must match at least one of the attributes. This field is an
- * inclusive disjunction/OR operation in each `VehicleAttributeList` and a
- * conjunction/AND operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attributes = 15;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttributeList>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRequiredOneOfAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttributeList::class);
- $this->required_one_of_attributes = $arr;
-
- return $this;
- }
-
- /**
- * `required_one_of_attribute_sets` provides additional functionality.
- * Similar to `required_one_of_attributes`, `required_one_of_attribute_sets`
- * uses a message which allows a list of lists, allowing expressions such as
- * this one:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (
- * (required_one_of_attribute_sets[0][0] AND
- * required_one_of_attribute_sets[0][1] AND
- * ...)
- * OR
- * (required_one_of_attribute_sets[1][0] AND
- * required_one_of_attribute_sets[1][1] AND
- * ...)
- * )
- * ```
- * Restricts the search to only those vehicles with all the attributes in a
- * `VehicleAttributeList`. Within each list, a
- * vehicle must match all of the attributes. This field is a conjunction/AND
- * operation in each `VehicleAttributeList` and inclusive disjunction/OR
- * operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attribute_sets = 20;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRequiredOneOfAttributeSets()
- {
- return $this->required_one_of_attribute_sets;
- }
-
- /**
- * `required_one_of_attribute_sets` provides additional functionality.
- * Similar to `required_one_of_attributes`, `required_one_of_attribute_sets`
- * uses a message which allows a list of lists, allowing expressions such as
- * this one:
- * ```
- * (required_attributes[0] AND required_attributes[1] AND ...)
- * AND
- * (
- * (required_one_of_attribute_sets[0][0] AND
- * required_one_of_attribute_sets[0][1] AND
- * ...)
- * OR
- * (required_one_of_attribute_sets[1][0] AND
- * required_one_of_attribute_sets[1][1] AND
- * ...)
- * )
- * ```
- * Restricts the search to only those vehicles with all the attributes in a
- * `VehicleAttributeList`. Within each list, a
- * vehicle must match all of the attributes. This field is a conjunction/AND
- * operation in each `VehicleAttributeList` and inclusive disjunction/OR
- * operation across the collection of `VehicleAttributeList`.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttributeList required_one_of_attribute_sets = 20;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttributeList>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRequiredOneOfAttributeSets($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttributeList::class);
- $this->required_one_of_attribute_sets = $arr;
-
- return $this;
- }
-
- /**
- * Required. Specifies the desired ordering criterion for results.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder order_by = 13 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getOrderBy()
- {
- return $this->order_by;
- }
-
- /**
- * Required. Specifies the desired ordering criterion for results.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder order_by = 13 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setOrderBy($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest\VehicleMatchOrder::class);
- $this->order_by = $var;
-
- return $this;
- }
-
- /**
- * This indicates if vehicles with a single active trip are eligible for this
- * search. This field is only used when `current_trips_present` is
- * unspecified. When `current_trips_present` is unspecified and this field
- * is `false`, vehicles with assigned trips are excluded from the search
- * results. When `current_trips_present` is unspecified and this field is
- * `true`, search results can include vehicles with one active trip that has a
- * status of `ENROUTE_TO_DROPOFF`. When `current_trips_present` is specified,
- * this field cannot be set to true.
- * The default value is `false`.
- *
- * Generated from protobuf field bool include_back_to_back = 18;
- * @return bool
- */
- public function getIncludeBackToBack()
- {
- return $this->include_back_to_back;
- }
-
- /**
- * This indicates if vehicles with a single active trip are eligible for this
- * search. This field is only used when `current_trips_present` is
- * unspecified. When `current_trips_present` is unspecified and this field
- * is `false`, vehicles with assigned trips are excluded from the search
- * results. When `current_trips_present` is unspecified and this field is
- * `true`, search results can include vehicles with one active trip that has a
- * status of `ENROUTE_TO_DROPOFF`. When `current_trips_present` is specified,
- * this field cannot be set to true.
- * The default value is `false`.
- *
- * Generated from protobuf field bool include_back_to_back = 18;
- * @param bool $var
- * @return $this
- */
- public function setIncludeBackToBack($var)
- {
- GPBUtil::checkBool($var);
- $this->include_back_to_back = $var;
-
- return $this;
- }
-
- /**
- * Indicates the trip associated with this `SearchVehicleRequest`.
- *
- * Generated from protobuf field string trip_id = 19;
- * @return string
- */
- public function getTripId()
- {
- return $this->trip_id;
- }
-
- /**
- * Indicates the trip associated with this `SearchVehicleRequest`.
- *
- * Generated from protobuf field string trip_id = 19;
- * @param string $var
- * @return $this
- */
- public function setTripId($var)
- {
- GPBUtil::checkString($var, True);
- $this->trip_id = $var;
-
- return $this;
- }
-
- /**
- * This indicates if vehicles with active trips are eligible for this search.
- * This must be set to something other than
- * `CURRENT_TRIPS_PRESENT_UNSPECIFIED` if `trip_type` includes `SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent current_trips_present = 21;
- * @return int
- */
- public function getCurrentTripsPresent()
- {
- return $this->current_trips_present;
- }
-
- /**
- * This indicates if vehicles with active trips are eligible for this search.
- * This must be set to something other than
- * `CURRENT_TRIPS_PRESENT_UNSPECIFIED` if `trip_type` includes `SHARED`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent current_trips_present = 21;
- * @param int $var
- * @return $this
- */
- public function setCurrentTripsPresent($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest\CurrentTripsPresent::class);
- $this->current_trips_present = $var;
-
- return $this;
- }
-
- /**
- * Optional. A filter query to apply when searching vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `minimum_capacity` or `vehicle_types`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 22 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * Optional. A filter query to apply when searching vehicles. See
- * http://aip.dev/160 for examples of the filter syntax.
- * This field is designed to replace the `required_attributes`,
- * `required_one_of_attributes`, and `required_one_of_attributes_sets` fields.
- * If a non-empty value is specified here, the following fields must be empty:
- * `required_attributes`, `required_one_of_attributes`, and
- * `required_one_of_attributes_sets`.
- * This filter functions as an AND clause with other constraints,
- * such as `minimum_capacity` or `vehicle_types`.
- * Note that the only queries supported are on vehicle attributes (for
- * example, `attributes.string filter = 22 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/CurrentTripsPresent.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/CurrentTripsPresent.php
deleted file mode 100644
index e9d8ed63eb8d..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/CurrentTripsPresent.php
+++ /dev/null
@@ -1,68 +0,0 @@
-maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent
- */
-class CurrentTripsPresent
-{
- /**
- * The availability of vehicles with trips present is governed by the
- * `include_back_to_back` field.
- *
- * Generated from protobuf enum CURRENT_TRIPS_PRESENT_UNSPECIFIED = 0;
- */
- const CURRENT_TRIPS_PRESENT_UNSPECIFIED = 0;
- /**
- * Vehicles without trips can appear in search results. When this value is
- * used, `include_back_to_back` cannot be `true`.
- *
- * Generated from protobuf enum NONE = 1;
- */
- const NONE = 1;
- /**
- * Vehicles with at most 5 current trips and 10 waypoints are included
- * in the search results. When this value is used, `include_back_to_back`
- * cannot be `true`.
- *
- * Generated from protobuf enum ANY = 2;
- */
- const ANY = 2;
-
- private static $valueToName = [
- self::CURRENT_TRIPS_PRESENT_UNSPECIFIED => 'CURRENT_TRIPS_PRESENT_UNSPECIFIED',
- self::NONE => 'NONE',
- self::ANY => 'ANY',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CurrentTripsPresent::class, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest_CurrentTripsPresent::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/VehicleMatchOrder.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/VehicleMatchOrder.php
deleted file mode 100644
index 5abdd153b401..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesRequest/VehicleMatchOrder.php
+++ /dev/null
@@ -1,90 +0,0 @@
-maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder
- */
-class VehicleMatchOrder
-{
- /**
- * Default, used for unspecified or unrecognized vehicle matches order.
- *
- * Generated from protobuf enum UNKNOWN_VEHICLE_MATCH_ORDER = 0;
- */
- const UNKNOWN_VEHICLE_MATCH_ORDER = 0;
- /**
- * Ascending order by vehicle driving time to the pickup point.
- *
- * Generated from protobuf enum PICKUP_POINT_ETA = 1;
- */
- const PICKUP_POINT_ETA = 1;
- /**
- * Ascending order by vehicle driving distance to the pickup point.
- *
- * Generated from protobuf enum PICKUP_POINT_DISTANCE = 2;
- */
- const PICKUP_POINT_DISTANCE = 2;
- /**
- * Ascending order by vehicle driving time to the dropoff point. This order
- * can only be used if the dropoff point is specified in the request.
- *
- * Generated from protobuf enum DROPOFF_POINT_ETA = 3;
- */
- const DROPOFF_POINT_ETA = 3;
- /**
- * Ascending order by straight-line distance from the vehicle's last
- * reported location to the pickup point.
- *
- * Generated from protobuf enum PICKUP_POINT_STRAIGHT_DISTANCE = 4;
- */
- const PICKUP_POINT_STRAIGHT_DISTANCE = 4;
- /**
- * Ascending order by the configured match cost. Match cost is defined as a
- * weighted calculation between straight-line distance and ETA. Weights are
- * set with default values and can be modified per customer. Please contact
- * Google support if these weights need to be modified for your project.
- *
- * Generated from protobuf enum COST = 5;
- */
- const COST = 5;
-
- private static $valueToName = [
- self::UNKNOWN_VEHICLE_MATCH_ORDER => 'UNKNOWN_VEHICLE_MATCH_ORDER',
- self::PICKUP_POINT_ETA => 'PICKUP_POINT_ETA',
- self::PICKUP_POINT_DISTANCE => 'PICKUP_POINT_DISTANCE',
- self::DROPOFF_POINT_ETA => 'DROPOFF_POINT_ETA',
- self::PICKUP_POINT_STRAIGHT_DISTANCE => 'PICKUP_POINT_STRAIGHT_DISTANCE',
- self::COST => 'COST',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(VehicleMatchOrder::class, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest_VehicleMatchOrder::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesResponse.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesResponse.php
deleted file mode 100644
index c521ea8c385e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SearchVehiclesResponse.php
+++ /dev/null
@@ -1,71 +0,0 @@
-maps.fleetengine.v1.SearchVehiclesResponse
- */
-class SearchVehiclesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * List of vehicles that match the `SearchVehiclesRequest` criteria, ordered
- * according to `SearchVehiclesRequest.order_by` field.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleMatch matches = 1;
- */
- private $matches;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\VehicleMatch>|\Google\Protobuf\Internal\RepeatedField $matches
- * List of vehicles that match the `SearchVehiclesRequest` criteria, ordered
- * according to `SearchVehiclesRequest.order_by` field.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * List of vehicles that match the `SearchVehiclesRequest` criteria, ordered
- * according to `SearchVehiclesRequest.order_by` field.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleMatch matches = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getMatches()
- {
- return $this->matches;
- }
-
- /**
- * List of vehicles that match the `SearchVehiclesRequest` criteria, ordered
- * according to `SearchVehiclesRequest.order_by` field.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleMatch matches = 1;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleMatch>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setMatches($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleMatch::class);
- $this->matches = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval.php
deleted file mode 100644
index 53d8e860e1d4..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval.php
+++ /dev/null
@@ -1,145 +0,0 @@
-maps.fleetengine.v1.SpeedReadingInterval
- */
-class SpeedReadingInterval extends \Google\Protobuf\Internal\Message
-{
- /**
- * The starting index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 start_polyline_point_index = 1;
- */
- protected $start_polyline_point_index = 0;
- /**
- * The ending index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 end_polyline_point_index = 2;
- */
- protected $end_polyline_point_index = 0;
- /**
- * Traffic speed in this interval.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SpeedReadingInterval.Speed speed = 3;
- */
- protected $speed = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $start_polyline_point_index
- * The starting index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- * @type int $end_polyline_point_index
- * The ending index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- * @type int $speed
- * Traffic speed in this interval.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Traffic::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The starting index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 start_polyline_point_index = 1;
- * @return int
- */
- public function getStartPolylinePointIndex()
- {
- return $this->start_polyline_point_index;
- }
-
- /**
- * The starting index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 start_polyline_point_index = 1;
- * @param int $var
- * @return $this
- */
- public function setStartPolylinePointIndex($var)
- {
- GPBUtil::checkInt32($var);
- $this->start_polyline_point_index = $var;
-
- return $this;
- }
-
- /**
- * The ending index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 end_polyline_point_index = 2;
- * @return int
- */
- public function getEndPolylinePointIndex()
- {
- return $this->end_polyline_point_index;
- }
-
- /**
- * The ending index of this interval in the path.
- * In JSON, when the index is 0, the field will appear to be unpopulated.
- *
- * Generated from protobuf field int32 end_polyline_point_index = 2;
- * @param int $var
- * @return $this
- */
- public function setEndPolylinePointIndex($var)
- {
- GPBUtil::checkInt32($var);
- $this->end_polyline_point_index = $var;
-
- return $this;
- }
-
- /**
- * Traffic speed in this interval.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SpeedReadingInterval.Speed speed = 3;
- * @return int
- */
- public function getSpeed()
- {
- return $this->speed;
- }
-
- /**
- * Traffic speed in this interval.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SpeedReadingInterval.Speed speed = 3;
- * @param int $var
- * @return $this
- */
- public function setSpeed($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\SpeedReadingInterval\Speed::class);
- $this->speed = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval/Speed.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval/Speed.php
deleted file mode 100644
index 6291e7ebaf55..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/SpeedReadingInterval/Speed.php
+++ /dev/null
@@ -1,71 +0,0 @@
-maps.fleetengine.v1.SpeedReadingInterval.Speed
- */
-class Speed
-{
- /**
- * Default value. This value is unused.
- *
- * Generated from protobuf enum SPEED_UNSPECIFIED = 0;
- */
- const SPEED_UNSPECIFIED = 0;
- /**
- * Normal speed, no slowdown is detected.
- *
- * Generated from protobuf enum NORMAL = 1;
- */
- const NORMAL = 1;
- /**
- * Slowdown detected, but no traffic jam formed.
- *
- * Generated from protobuf enum SLOW = 2;
- */
- const SLOW = 2;
- /**
- * Traffic jam detected.
- *
- * Generated from protobuf enum TRAFFIC_JAM = 3;
- */
- const TRAFFIC_JAM = 3;
-
- private static $valueToName = [
- self::SPEED_UNSPECIFIED => 'SPEED_UNSPECIFIED',
- self::NORMAL => 'NORMAL',
- self::SLOW => 'SLOW',
- self::TRAFFIC_JAM => 'TRAFFIC_JAM',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Speed::class, \Google\Maps\FleetEngine\V1\SpeedReadingInterval_Speed::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/StopLocation.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/StopLocation.php
deleted file mode 100644
index 6a2b230a3673..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/StopLocation.php
+++ /dev/null
@@ -1,172 +0,0 @@
-maps.fleetengine.v1.StopLocation
- */
-class StopLocation extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Denotes the actual location.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $point = null;
- /**
- * Indicates when the stop happened.
- *
- * Generated from protobuf field .google.protobuf.Timestamp timestamp = 2;
- */
- protected $timestamp = null;
- /**
- * Input only. Deprecated. Use the timestamp field.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_time = 3 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @deprecated
- */
- protected $stop_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Type\LatLng $point
- * Required. Denotes the actual location.
- * @type \Google\Protobuf\Timestamp $timestamp
- * Indicates when the stop happened.
- * @type \Google\Protobuf\Timestamp $stop_time
- * Input only. Deprecated. Use the timestamp field.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Trips::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Denotes the actual location.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Type\LatLng|null
- */
- public function getPoint()
- {
- return $this->point;
- }
-
- public function hasPoint()
- {
- return isset($this->point);
- }
-
- public function clearPoint()
- {
- unset($this->point);
- }
-
- /**
- * Required. Denotes the actual location.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->point = $var;
-
- return $this;
- }
-
- /**
- * Indicates when the stop happened.
- *
- * Generated from protobuf field .google.protobuf.Timestamp timestamp = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getTimestamp()
- {
- return $this->timestamp;
- }
-
- public function hasTimestamp()
- {
- return isset($this->timestamp);
- }
-
- public function clearTimestamp()
- {
- unset($this->timestamp);
- }
-
- /**
- * Indicates when the stop happened.
- *
- * Generated from protobuf field .google.protobuf.Timestamp timestamp = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setTimestamp($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->timestamp = $var;
-
- return $this;
- }
-
- /**
- * Input only. Deprecated. Use the timestamp field.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_time = 3 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- * @deprecated
- */
- public function getStopTime()
- {
- @trigger_error('stop_time is deprecated.', E_USER_DEPRECATED);
- return $this->stop_time;
- }
-
- public function hasStopTime()
- {
- @trigger_error('stop_time is deprecated.', E_USER_DEPRECATED);
- return isset($this->stop_time);
- }
-
- public function clearStopTime()
- {
- @trigger_error('stop_time is deprecated.', E_USER_DEPRECATED);
- unset($this->stop_time);
- }
-
- /**
- * Input only. Deprecated. Use the timestamp field.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_time = 3 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- * @deprecated
- */
- public function setStopTime($var)
- {
- @trigger_error('stop_time is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->stop_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalLocation.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalLocation.php
deleted file mode 100644
index aa49ef72b229..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalLocation.php
+++ /dev/null
@@ -1,245 +0,0 @@
-maps.fleetengine.v1.TerminalLocation
- */
-class TerminalLocation extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Denotes the location of a trip waypoint.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $point = null;
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalPointId terminal_point_id = 2 [deprecated = true];
- * @deprecated
- */
- protected $terminal_point_id = null;
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field string access_point_id = 3 [deprecated = true];
- * @deprecated
- */
- protected $access_point_id = '';
- /**
- * Deprecated.
- *
- * Generated from protobuf field string trip_id = 4 [deprecated = true];
- * @deprecated
- */
- protected $trip_id = '';
- /**
- * Deprecated: `Vehicle.waypoint` will have this data.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType terminal_location_type = 5 [deprecated = true];
- * @deprecated
- */
- protected $terminal_location_type = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Type\LatLng $point
- * Required. Denotes the location of a trip waypoint.
- * @type \Google\Maps\FleetEngine\V1\TerminalPointId $terminal_point_id
- * Deprecated: Specify the `point` field instead.
- * @type string $access_point_id
- * Deprecated: Specify the `point` field instead.
- * @type string $trip_id
- * Deprecated.
- * @type int $terminal_location_type
- * Deprecated: `Vehicle.waypoint` will have this data.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Fleetengine::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Denotes the location of a trip waypoint.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Type\LatLng|null
- */
- public function getPoint()
- {
- return $this->point;
- }
-
- public function hasPoint()
- {
- return isset($this->point);
- }
-
- public function clearPoint()
- {
- unset($this->point);
- }
-
- /**
- * Required. Denotes the location of a trip waypoint.
- *
- * Generated from protobuf field .google.type.LatLng point = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->point = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalPointId terminal_point_id = 2 [deprecated = true];
- * @return \Google\Maps\FleetEngine\V1\TerminalPointId|null
- * @deprecated
- */
- public function getTerminalPointId()
- {
- @trigger_error('terminal_point_id is deprecated.', E_USER_DEPRECATED);
- return $this->terminal_point_id;
- }
-
- public function hasTerminalPointId()
- {
- @trigger_error('terminal_point_id is deprecated.', E_USER_DEPRECATED);
- return isset($this->terminal_point_id);
- }
-
- public function clearTerminalPointId()
- {
- @trigger_error('terminal_point_id is deprecated.', E_USER_DEPRECATED);
- unset($this->terminal_point_id);
- }
-
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalPointId terminal_point_id = 2 [deprecated = true];
- * @param \Google\Maps\FleetEngine\V1\TerminalPointId $var
- * @return $this
- * @deprecated
- */
- public function setTerminalPointId($var)
- {
- @trigger_error('terminal_point_id is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalPointId::class);
- $this->terminal_point_id = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field string access_point_id = 3 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getAccessPointId()
- {
- @trigger_error('access_point_id is deprecated.', E_USER_DEPRECATED);
- return $this->access_point_id;
- }
-
- /**
- * Deprecated: Specify the `point` field instead.
- *
- * Generated from protobuf field string access_point_id = 3 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setAccessPointId($var)
- {
- @trigger_error('access_point_id is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->access_point_id = $var;
-
- return $this;
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string trip_id = 4 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getTripId()
- {
- @trigger_error('trip_id is deprecated.', E_USER_DEPRECATED);
- return $this->trip_id;
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string trip_id = 4 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setTripId($var)
- {
- @trigger_error('trip_id is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->trip_id = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: `Vehicle.waypoint` will have this data.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType terminal_location_type = 5 [deprecated = true];
- * @return int
- * @deprecated
- */
- public function getTerminalLocationType()
- {
- @trigger_error('terminal_location_type is deprecated.', E_USER_DEPRECATED);
- return $this->terminal_location_type;
- }
-
- /**
- * Deprecated: `Vehicle.waypoint` will have this data.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType terminal_location_type = 5 [deprecated = true];
- * @param int $var
- * @return $this
- * @deprecated
- */
- public function setTerminalLocationType($var)
- {
- @trigger_error('terminal_location_type is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\WaypointType::class);
- $this->terminal_location_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalPointId.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalPointId.php
deleted file mode 100644
index dbd1ada8ce1c..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TerminalPointId.php
+++ /dev/null
@@ -1,159 +0,0 @@
-maps.fleetengine.v1.TerminalPointId
- */
-class TerminalPointId extends \Google\Protobuf\Internal\Message
-{
- /**
- * Deprecated.
- *
- * Generated from protobuf field string value = 4 [deprecated = true];
- * @deprecated
- */
- protected $value = '';
- protected $Id;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $place_id
- * Deprecated.
- * @type string $generated_id
- * Deprecated.
- * @type string $value
- * Deprecated.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Fleetengine::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string place_id = 2 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getPlaceId()
- {
- @trigger_error('place_id is deprecated.', E_USER_DEPRECATED);
- return $this->readOneof(2);
- }
-
- public function hasPlaceId()
- {
- @trigger_error('place_id is deprecated.', E_USER_DEPRECATED);
- return $this->hasOneof(2);
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string place_id = 2 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setPlaceId($var)
- {
- @trigger_error('place_id is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string generated_id = 3 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getGeneratedId()
- {
- @trigger_error('generated_id is deprecated.', E_USER_DEPRECATED);
- return $this->readOneof(3);
- }
-
- public function hasGeneratedId()
- {
- @trigger_error('generated_id is deprecated.', E_USER_DEPRECATED);
- return $this->hasOneof(3);
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string generated_id = 3 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setGeneratedId($var)
- {
- @trigger_error('generated_id is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string value = 4 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getValue()
- {
- @trigger_error('value is deprecated.', E_USER_DEPRECATED);
- return $this->value;
- }
-
- /**
- * Deprecated.
- *
- * Generated from protobuf field string value = 4 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setValue($var)
- {
- @trigger_error('value is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getId()
- {
- return $this->whichOneof("Id");
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TrafficPolylineData.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TrafficPolylineData.php
deleted file mode 100644
index d40f215739bf..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TrafficPolylineData.php
+++ /dev/null
@@ -1,81 +0,0 @@
-maps.fleetengine.v1.TrafficPolylineData
- */
-class TrafficPolylineData extends \Google\Protobuf\Internal\Message
-{
- /**
- * A polyline rendering of how fast traffic is for all regions along
- * one stretch of a customer ride.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering traffic_rendering = 1;
- */
- protected $traffic_rendering = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering $traffic_rendering
- * A polyline rendering of how fast traffic is for all regions along
- * one stretch of a customer ride.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A polyline rendering of how fast traffic is for all regions along
- * one stretch of a customer ride.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering traffic_rendering = 1;
- * @return \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering|null
- */
- public function getTrafficRendering()
- {
- return $this->traffic_rendering;
- }
-
- public function hasTrafficRendering()
- {
- return isset($this->traffic_rendering);
- }
-
- public function clearTrafficRendering()
- {
- unset($this->traffic_rendering);
- }
-
- /**
- * A polyline rendering of how fast traffic is for all regions along
- * one stretch of a customer ride.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering traffic_rendering = 1;
- * @param \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering $var
- * @return $this
- */
- public function setTrafficRendering($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering::class);
- $this->traffic_rendering = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Trip.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Trip.php
deleted file mode 100644
index 8a5d139fee2e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Trip.php
+++ /dev/null
@@ -1,1614 +0,0 @@
-maps.fleetengine.v1.Trip
- */
-class Trip extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. In the format "providers/{provider}/trips/{trip}"
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $name = '';
- /**
- * ID of the vehicle making this trip.
- *
- * Generated from protobuf field string vehicle_id = 2;
- */
- protected $vehicle_id = '';
- /**
- * Current status of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripStatus trip_status = 3;
- */
- protected $trip_status = 0;
- /**
- * The type of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 4;
- */
- protected $trip_type = 0;
- /**
- * Location where customer indicates they will be picked up.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 5;
- */
- protected $pickup_point = null;
- /**
- * Input only. The actual location when and where customer was picked up.
- * This field is for provider to provide feedback on actual pickup
- * information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_point = 22 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $actual_pickup_point = null;
- /**
- * Input only. The actual time and location of the driver arrival at
- * the pickup point.
- * This field is for provider to provide feedback on actual arrival
- * information at the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_arrival_point = 32 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $actual_pickup_arrival_point = null;
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * picked up, or the actual time when they were picked up.
- *
- * Generated from protobuf field .google.protobuf.Timestamp pickup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $pickup_time = null;
- /**
- * Intermediate stops in order that the trip requests (in addition
- * to pickup and dropoff). Initially this will not be supported for shared
- * trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation intermediate_destinations = 14;
- */
- private $intermediate_destinations;
- /**
- * Indicates the last time the `intermediate_destinations` was modified.
- * Your server should cache this value and pass it in `UpdateTripRequest`
- * when update `intermediate_destination_index` to ensure the
- * `intermediate_destinations` is not changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp intermediate_destinations_version = 25;
- */
- protected $intermediate_destinations_version = null;
- /**
- * When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number
- * between [0..N-1] indicating which intermediate destination the vehicle will
- * cross next. When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a
- * number between [0..N-1] indicating which intermediate destination the
- * vehicle is at. The provider sets this value. If there are no
- * `intermediate_destinations`, this field is ignored.
- *
- * Generated from protobuf field int32 intermediate_destination_index = 15;
- */
- protected $intermediate_destination_index = 0;
- /**
- * Input only. The actual time and location of the driver's arrival at
- * an intermediate destination.
- * This field is for provider to provide feedback on actual arrival
- * information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destination_arrival_points = 33 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- private $actual_intermediate_destination_arrival_points;
- /**
- * Input only. The actual time and location when and where the customer was
- * picked up from an intermediate destination. This field is for provider to
- * provide feedback on actual pickup information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destinations = 34 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- private $actual_intermediate_destinations;
- /**
- * Location where customer indicates they will be dropped off.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 7;
- */
- protected $dropoff_point = null;
- /**
- * Input only. The actual time and location when and where customer was
- * dropped off. This field is for provider to provide feedback on actual
- * dropoff information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_dropoff_point = 23 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $actual_dropoff_point = null;
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * dropped off at the final destination, or the actual time when they were
- * dropped off.
- *
- * Generated from protobuf field .google.protobuf.Timestamp dropoff_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $dropoff_time = null;
- /**
- * Output only. The full path from the current location to the dropoff point,
- * inclusive. This path could include waypoints from other trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint remaining_waypoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $remaining_waypoints;
- /**
- * This field supports manual ordering of the waypoints for the trip. It
- * contains all of the remaining waypoints for the assigned vehicle, as well
- * as the pickup and drop-off waypoints for this trip. If the trip hasn't been
- * assigned to a vehicle, then Fleet Engine ignores this field. For privacy
- * reasons, this field is only populated by the server on `UpdateTrip` and
- * `CreateTrip` calls, NOT on `GetTrip` calls.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint vehicle_waypoints = 20;
- */
- private $vehicle_waypoints;
- /**
- * Output only. Anticipated route for this trip to the first entry in
- * remaining_waypoints. Note that the first waypoint may belong to a different
- * trip.
- *
- * Generated from protobuf field repeated .google.type.LatLng route = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $route;
- /**
- * Output only. An encoded path to the next waypoint.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment = '';
- /**
- * Output only. Indicates the last time the route was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment_version = null;
- /**
- * Output only. Indicates the traffic conditions along the
- * `current_route_segment` when they're available.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline current_route_segment_traffic = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment_traffic = null;
- /**
- * Output only. Indicates the last time the `current_route_segment_traffic`
- * was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment_traffic_version = null;
- /**
- * Output only. The waypoint where `current_route_segment` ends.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment_end_point = null;
- /**
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $remaining_distance_meters = null;
- /**
- * Output only. The ETA to the next waypoint (the first entry in the
- * `remaining_waypoints` field). The value is unspecified if the trip is not
- * assigned to a vehicle, or the trip is inactive (completed or cancelled).
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $eta_to_first_waypoint = null;
- /**
- * Output only. The duration from when the Trip data is returned to the time
- * in `Trip.eta_to_first_waypoint`. The value is unspecified if the trip is
- * not assigned to a vehicle, or the trip is inactive (completed or
- * cancelled).
- *
- * Generated from protobuf field .google.protobuf.Duration remaining_time_to_first_waypoint = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $remaining_time_to_first_waypoint = null;
- /**
- * Output only. Indicates the last time that `remaining_waypoints` was changed
- * (a waypoint was added, removed, or changed).
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $remaining_waypoints_version = null;
- /**
- * Output only. Indicates the last time the
- * `remaining_waypoints.path_to_waypoint` and
- * `remaining_waypoints.traffic_to_waypoint` were modified. Your client app
- * should cache this value and pass it in `GetTripRequest` to ensure the
- * paths and traffic for `remaining_waypoints` are only returned if updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $remaining_waypoints_route_version = null;
- /**
- * Immutable. Indicates the number of passengers on this trip and does not
- * include the driver. A vehicle must have available capacity to be returned
- * in a `SearchVehicles` response.
- *
- * Generated from protobuf field int32 number_of_passengers = 10 [(.google.api.field_behavior) = IMMUTABLE];
- */
- protected $number_of_passengers = 0;
- /**
- * Output only. Indicates the last reported location of the vehicle along the
- * route.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleLocation last_location = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $last_location = null;
- /**
- * Output only. Indicates whether the vehicle's `last_location` can be snapped
- * to the current_route_segment. False if `last_location` or
- * `current_route_segment` doesn't exist.
- * It is computed by Fleet Engine. Any update from clients will be ignored.
- *
- * Generated from protobuf field bool last_location_snappable = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $last_location_snappable = false;
- /**
- * The subset of Trip fields that are populated and how they should be
- * interpreted.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 31;
- */
- protected $view = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Output only. In the format "providers/{provider}/trips/{trip}"
- * @type string $vehicle_id
- * ID of the vehicle making this trip.
- * @type int $trip_status
- * Current status of the trip.
- * @type int $trip_type
- * The type of the trip.
- * @type \Google\Maps\FleetEngine\V1\TerminalLocation $pickup_point
- * Location where customer indicates they will be picked up.
- * @type \Google\Maps\FleetEngine\V1\StopLocation $actual_pickup_point
- * Input only. The actual location when and where customer was picked up.
- * This field is for provider to provide feedback on actual pickup
- * information.
- * @type \Google\Maps\FleetEngine\V1\StopLocation $actual_pickup_arrival_point
- * Input only. The actual time and location of the driver arrival at
- * the pickup point.
- * This field is for provider to provide feedback on actual arrival
- * information at the pickup point.
- * @type \Google\Protobuf\Timestamp $pickup_time
- * Output only. Either the estimated future time when the rider(s) will be
- * picked up, or the actual time when they were picked up.
- * @type array<\Google\Maps\FleetEngine\V1\TerminalLocation>|\Google\Protobuf\Internal\RepeatedField $intermediate_destinations
- * Intermediate stops in order that the trip requests (in addition
- * to pickup and dropoff). Initially this will not be supported for shared
- * trips.
- * @type \Google\Protobuf\Timestamp $intermediate_destinations_version
- * Indicates the last time the `intermediate_destinations` was modified.
- * Your server should cache this value and pass it in `UpdateTripRequest`
- * when update `intermediate_destination_index` to ensure the
- * `intermediate_destinations` is not changed.
- * @type int $intermediate_destination_index
- * When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number
- * between [0..N-1] indicating which intermediate destination the vehicle will
- * cross next. When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a
- * number between [0..N-1] indicating which intermediate destination the
- * vehicle is at. The provider sets this value. If there are no
- * `intermediate_destinations`, this field is ignored.
- * @type array<\Google\Maps\FleetEngine\V1\StopLocation>|\Google\Protobuf\Internal\RepeatedField $actual_intermediate_destination_arrival_points
- * Input only. The actual time and location of the driver's arrival at
- * an intermediate destination.
- * This field is for provider to provide feedback on actual arrival
- * information at intermediate destinations.
- * @type array<\Google\Maps\FleetEngine\V1\StopLocation>|\Google\Protobuf\Internal\RepeatedField $actual_intermediate_destinations
- * Input only. The actual time and location when and where the customer was
- * picked up from an intermediate destination. This field is for provider to
- * provide feedback on actual pickup information at intermediate destinations.
- * @type \Google\Maps\FleetEngine\V1\TerminalLocation $dropoff_point
- * Location where customer indicates they will be dropped off.
- * @type \Google\Maps\FleetEngine\V1\StopLocation $actual_dropoff_point
- * Input only. The actual time and location when and where customer was
- * dropped off. This field is for provider to provide feedback on actual
- * dropoff information.
- * @type \Google\Protobuf\Timestamp $dropoff_time
- * Output only. Either the estimated future time when the rider(s) will be
- * dropped off at the final destination, or the actual time when they were
- * dropped off.
- * @type array<\Google\Maps\FleetEngine\V1\TripWaypoint>|\Google\Protobuf\Internal\RepeatedField $remaining_waypoints
- * Output only. The full path from the current location to the dropoff point,
- * inclusive. This path could include waypoints from other trips.
- * @type array<\Google\Maps\FleetEngine\V1\TripWaypoint>|\Google\Protobuf\Internal\RepeatedField $vehicle_waypoints
- * This field supports manual ordering of the waypoints for the trip. It
- * contains all of the remaining waypoints for the assigned vehicle, as well
- * as the pickup and drop-off waypoints for this trip. If the trip hasn't been
- * assigned to a vehicle, then Fleet Engine ignores this field. For privacy
- * reasons, this field is only populated by the server on `UpdateTrip` and
- * `CreateTrip` calls, NOT on `GetTrip` calls.
- * @type array<\Google\Type\LatLng>|\Google\Protobuf\Internal\RepeatedField $route
- * Output only. Anticipated route for this trip to the first entry in
- * remaining_waypoints. Note that the first waypoint may belong to a different
- * trip.
- * @type string $current_route_segment
- * Output only. An encoded path to the next waypoint.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- * @type \Google\Protobuf\Timestamp $current_route_segment_version
- * Output only. Indicates the last time the route was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- * @type \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline $current_route_segment_traffic
- * Output only. Indicates the traffic conditions along the
- * `current_route_segment` when they're available.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- * @type \Google\Protobuf\Timestamp $current_route_segment_traffic_version
- * Output only. Indicates the last time the `current_route_segment_traffic`
- * was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- * @type \Google\Maps\FleetEngine\V1\TripWaypoint $current_route_segment_end_point
- * Output only. The waypoint where `current_route_segment` ends.
- * @type \Google\Protobuf\Int32Value $remaining_distance_meters
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- * @type \Google\Protobuf\Timestamp $eta_to_first_waypoint
- * Output only. The ETA to the next waypoint (the first entry in the
- * `remaining_waypoints` field). The value is unspecified if the trip is not
- * assigned to a vehicle, or the trip is inactive (completed or cancelled).
- * @type \Google\Protobuf\Duration $remaining_time_to_first_waypoint
- * Output only. The duration from when the Trip data is returned to the time
- * in `Trip.eta_to_first_waypoint`. The value is unspecified if the trip is
- * not assigned to a vehicle, or the trip is inactive (completed or
- * cancelled).
- * @type \Google\Protobuf\Timestamp $remaining_waypoints_version
- * Output only. Indicates the last time that `remaining_waypoints` was changed
- * (a waypoint was added, removed, or changed).
- * @type \Google\Protobuf\Timestamp $remaining_waypoints_route_version
- * Output only. Indicates the last time the
- * `remaining_waypoints.path_to_waypoint` and
- * `remaining_waypoints.traffic_to_waypoint` were modified. Your client app
- * should cache this value and pass it in `GetTripRequest` to ensure the
- * paths and traffic for `remaining_waypoints` are only returned if updated.
- * @type int $number_of_passengers
- * Immutable. Indicates the number of passengers on this trip and does not
- * include the driver. A vehicle must have available capacity to be returned
- * in a `SearchVehicles` response.
- * @type \Google\Maps\FleetEngine\V1\VehicleLocation $last_location
- * Output only. Indicates the last reported location of the vehicle along the
- * route.
- * @type bool $last_location_snappable
- * Output only. Indicates whether the vehicle's `last_location` can be snapped
- * to the current_route_segment. False if `last_location` or
- * `current_route_segment` doesn't exist.
- * It is computed by Fleet Engine. Any update from clients will be ignored.
- * @type int $view
- * The subset of Trip fields that are populated and how they should be
- * interpreted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Trips::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Output only. In the format "providers/{provider}/trips/{trip}"
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Output only. In the format "providers/{provider}/trips/{trip}"
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * ID of the vehicle making this trip.
- *
- * Generated from protobuf field string vehicle_id = 2;
- * @return string
- */
- public function getVehicleId()
- {
- return $this->vehicle_id;
- }
-
- /**
- * ID of the vehicle making this trip.
- *
- * Generated from protobuf field string vehicle_id = 2;
- * @param string $var
- * @return $this
- */
- public function setVehicleId($var)
- {
- GPBUtil::checkString($var, True);
- $this->vehicle_id = $var;
-
- return $this;
- }
-
- /**
- * Current status of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripStatus trip_status = 3;
- * @return int
- */
- public function getTripStatus()
- {
- return $this->trip_status;
- }
-
- /**
- * Current status of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripStatus trip_status = 3;
- * @param int $var
- * @return $this
- */
- public function setTripStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\TripStatus::class);
- $this->trip_status = $var;
-
- return $this;
- }
-
- /**
- * The type of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 4;
- * @return int
- */
- public function getTripType()
- {
- return $this->trip_type;
- }
-
- /**
- * The type of the trip.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 4;
- * @param int $var
- * @return $this
- */
- public function setTripType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\TripType::class);
- $this->trip_type = $var;
-
- return $this;
- }
-
- /**
- * Location where customer indicates they will be picked up.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 5;
- * @return \Google\Maps\FleetEngine\V1\TerminalLocation|null
- */
- public function getPickupPoint()
- {
- return $this->pickup_point;
- }
-
- public function hasPickupPoint()
- {
- return isset($this->pickup_point);
- }
-
- public function clearPickupPoint()
- {
- unset($this->pickup_point);
- }
-
- /**
- * Location where customer indicates they will be picked up.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation pickup_point = 5;
- * @param \Google\Maps\FleetEngine\V1\TerminalLocation $var
- * @return $this
- */
- public function setPickupPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->pickup_point = $var;
-
- return $this;
- }
-
- /**
- * Input only. The actual location when and where customer was picked up.
- * This field is for provider to provide feedback on actual pickup
- * information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_point = 22 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\StopLocation|null
- */
- public function getActualPickupPoint()
- {
- return $this->actual_pickup_point;
- }
-
- public function hasActualPickupPoint()
- {
- return isset($this->actual_pickup_point);
- }
-
- public function clearActualPickupPoint()
- {
- unset($this->actual_pickup_point);
- }
-
- /**
- * Input only. The actual location when and where customer was picked up.
- * This field is for provider to provide feedback on actual pickup
- * information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_point = 22 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\StopLocation $var
- * @return $this
- */
- public function setActualPickupPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\StopLocation::class);
- $this->actual_pickup_point = $var;
-
- return $this;
- }
-
- /**
- * Input only. The actual time and location of the driver arrival at
- * the pickup point.
- * This field is for provider to provide feedback on actual arrival
- * information at the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_arrival_point = 32 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\StopLocation|null
- */
- public function getActualPickupArrivalPoint()
- {
- return $this->actual_pickup_arrival_point;
- }
-
- public function hasActualPickupArrivalPoint()
- {
- return isset($this->actual_pickup_arrival_point);
- }
-
- public function clearActualPickupArrivalPoint()
- {
- unset($this->actual_pickup_arrival_point);
- }
-
- /**
- * Input only. The actual time and location of the driver arrival at
- * the pickup point.
- * This field is for provider to provide feedback on actual arrival
- * information at the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_pickup_arrival_point = 32 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\StopLocation $var
- * @return $this
- */
- public function setActualPickupArrivalPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\StopLocation::class);
- $this->actual_pickup_arrival_point = $var;
-
- return $this;
- }
-
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * picked up, or the actual time when they were picked up.
- *
- * Generated from protobuf field .google.protobuf.Timestamp pickup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getPickupTime()
- {
- return $this->pickup_time;
- }
-
- public function hasPickupTime()
- {
- return isset($this->pickup_time);
- }
-
- public function clearPickupTime()
- {
- unset($this->pickup_time);
- }
-
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * picked up, or the actual time when they were picked up.
- *
- * Generated from protobuf field .google.protobuf.Timestamp pickup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setPickupTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->pickup_time = $var;
-
- return $this;
- }
-
- /**
- * Intermediate stops in order that the trip requests (in addition
- * to pickup and dropoff). Initially this will not be supported for shared
- * trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation intermediate_destinations = 14;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIntermediateDestinations()
- {
- return $this->intermediate_destinations;
- }
-
- /**
- * Intermediate stops in order that the trip requests (in addition
- * to pickup and dropoff). Initially this will not be supported for shared
- * trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation intermediate_destinations = 14;
- * @param array<\Google\Maps\FleetEngine\V1\TerminalLocation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIntermediateDestinations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->intermediate_destinations = $arr;
-
- return $this;
- }
-
- /**
- * Indicates the last time the `intermediate_destinations` was modified.
- * Your server should cache this value and pass it in `UpdateTripRequest`
- * when update `intermediate_destination_index` to ensure the
- * `intermediate_destinations` is not changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp intermediate_destinations_version = 25;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getIntermediateDestinationsVersion()
- {
- return $this->intermediate_destinations_version;
- }
-
- public function hasIntermediateDestinationsVersion()
- {
- return isset($this->intermediate_destinations_version);
- }
-
- public function clearIntermediateDestinationsVersion()
- {
- unset($this->intermediate_destinations_version);
- }
-
- /**
- * Indicates the last time the `intermediate_destinations` was modified.
- * Your server should cache this value and pass it in `UpdateTripRequest`
- * when update `intermediate_destination_index` to ensure the
- * `intermediate_destinations` is not changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp intermediate_destinations_version = 25;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setIntermediateDestinationsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->intermediate_destinations_version = $var;
-
- return $this;
- }
-
- /**
- * When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number
- * between [0..N-1] indicating which intermediate destination the vehicle will
- * cross next. When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a
- * number between [0..N-1] indicating which intermediate destination the
- * vehicle is at. The provider sets this value. If there are no
- * `intermediate_destinations`, this field is ignored.
- *
- * Generated from protobuf field int32 intermediate_destination_index = 15;
- * @return int
- */
- public function getIntermediateDestinationIndex()
- {
- return $this->intermediate_destination_index;
- }
-
- /**
- * When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number
- * between [0..N-1] indicating which intermediate destination the vehicle will
- * cross next. When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a
- * number between [0..N-1] indicating which intermediate destination the
- * vehicle is at. The provider sets this value. If there are no
- * `intermediate_destinations`, this field is ignored.
- *
- * Generated from protobuf field int32 intermediate_destination_index = 15;
- * @param int $var
- * @return $this
- */
- public function setIntermediateDestinationIndex($var)
- {
- GPBUtil::checkInt32($var);
- $this->intermediate_destination_index = $var;
-
- return $this;
- }
-
- /**
- * Input only. The actual time and location of the driver's arrival at
- * an intermediate destination.
- * This field is for provider to provide feedback on actual arrival
- * information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destination_arrival_points = 33 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getActualIntermediateDestinationArrivalPoints()
- {
- return $this->actual_intermediate_destination_arrival_points;
- }
-
- /**
- * Input only. The actual time and location of the driver's arrival at
- * an intermediate destination.
- * This field is for provider to provide feedback on actual arrival
- * information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destination_arrival_points = 33 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param array<\Google\Maps\FleetEngine\V1\StopLocation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setActualIntermediateDestinationArrivalPoints($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\StopLocation::class);
- $this->actual_intermediate_destination_arrival_points = $arr;
-
- return $this;
- }
-
- /**
- * Input only. The actual time and location when and where the customer was
- * picked up from an intermediate destination. This field is for provider to
- * provide feedback on actual pickup information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destinations = 34 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getActualIntermediateDestinations()
- {
- return $this->actual_intermediate_destinations;
- }
-
- /**
- * Input only. The actual time and location when and where the customer was
- * picked up from an intermediate destination. This field is for provider to
- * provide feedback on actual pickup information at intermediate destinations.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.StopLocation actual_intermediate_destinations = 34 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param array<\Google\Maps\FleetEngine\V1\StopLocation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setActualIntermediateDestinations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\StopLocation::class);
- $this->actual_intermediate_destinations = $arr;
-
- return $this;
- }
-
- /**
- * Location where customer indicates they will be dropped off.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 7;
- * @return \Google\Maps\FleetEngine\V1\TerminalLocation|null
- */
- public function getDropoffPoint()
- {
- return $this->dropoff_point;
- }
-
- public function hasDropoffPoint()
- {
- return isset($this->dropoff_point);
- }
-
- public function clearDropoffPoint()
- {
- unset($this->dropoff_point);
- }
-
- /**
- * Location where customer indicates they will be dropped off.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation dropoff_point = 7;
- * @param \Google\Maps\FleetEngine\V1\TerminalLocation $var
- * @return $this
- */
- public function setDropoffPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->dropoff_point = $var;
-
- return $this;
- }
-
- /**
- * Input only. The actual time and location when and where customer was
- * dropped off. This field is for provider to provide feedback on actual
- * dropoff information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_dropoff_point = 23 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\StopLocation|null
- */
- public function getActualDropoffPoint()
- {
- return $this->actual_dropoff_point;
- }
-
- public function hasActualDropoffPoint()
- {
- return isset($this->actual_dropoff_point);
- }
-
- public function clearActualDropoffPoint()
- {
- unset($this->actual_dropoff_point);
- }
-
- /**
- * Input only. The actual time and location when and where customer was
- * dropped off. This field is for provider to provide feedback on actual
- * dropoff information.
- *
- * Generated from protobuf field .maps.fleetengine.v1.StopLocation actual_dropoff_point = 23 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\StopLocation $var
- * @return $this
- */
- public function setActualDropoffPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\StopLocation::class);
- $this->actual_dropoff_point = $var;
-
- return $this;
- }
-
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * dropped off at the final destination, or the actual time when they were
- * dropped off.
- *
- * Generated from protobuf field .google.protobuf.Timestamp dropoff_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getDropoffTime()
- {
- return $this->dropoff_time;
- }
-
- public function hasDropoffTime()
- {
- return isset($this->dropoff_time);
- }
-
- public function clearDropoffTime()
- {
- unset($this->dropoff_time);
- }
-
- /**
- * Output only. Either the estimated future time when the rider(s) will be
- * dropped off at the final destination, or the actual time when they were
- * dropped off.
- *
- * Generated from protobuf field .google.protobuf.Timestamp dropoff_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setDropoffTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->dropoff_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. The full path from the current location to the dropoff point,
- * inclusive. This path could include waypoints from other trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint remaining_waypoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRemainingWaypoints()
- {
- return $this->remaining_waypoints;
- }
-
- /**
- * Output only. The full path from the current location to the dropoff point,
- * inclusive. This path could include waypoints from other trips.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint remaining_waypoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array<\Google\Maps\FleetEngine\V1\TripWaypoint>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRemainingWaypoints($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\TripWaypoint::class);
- $this->remaining_waypoints = $arr;
-
- return $this;
- }
-
- /**
- * This field supports manual ordering of the waypoints for the trip. It
- * contains all of the remaining waypoints for the assigned vehicle, as well
- * as the pickup and drop-off waypoints for this trip. If the trip hasn't been
- * assigned to a vehicle, then Fleet Engine ignores this field. For privacy
- * reasons, this field is only populated by the server on `UpdateTrip` and
- * `CreateTrip` calls, NOT on `GetTrip` calls.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint vehicle_waypoints = 20;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getVehicleWaypoints()
- {
- return $this->vehicle_waypoints;
- }
-
- /**
- * This field supports manual ordering of the waypoints for the trip. It
- * contains all of the remaining waypoints for the assigned vehicle, as well
- * as the pickup and drop-off waypoints for this trip. If the trip hasn't been
- * assigned to a vehicle, then Fleet Engine ignores this field. For privacy
- * reasons, this field is only populated by the server on `UpdateTrip` and
- * `CreateTrip` calls, NOT on `GetTrip` calls.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint vehicle_waypoints = 20;
- * @param array<\Google\Maps\FleetEngine\V1\TripWaypoint>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setVehicleWaypoints($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\TripWaypoint::class);
- $this->vehicle_waypoints = $arr;
-
- return $this;
- }
-
- /**
- * Output only. Anticipated route for this trip to the first entry in
- * remaining_waypoints. Note that the first waypoint may belong to a different
- * trip.
- *
- * Generated from protobuf field repeated .google.type.LatLng route = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRoute()
- {
- return $this->route;
- }
-
- /**
- * Output only. Anticipated route for this trip to the first entry in
- * remaining_waypoints. Note that the first waypoint may belong to a different
- * trip.
- *
- * Generated from protobuf field repeated .google.type.LatLng route = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array<\Google\Type\LatLng>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRoute($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Type\LatLng::class);
- $this->route = $arr;
-
- return $this;
- }
-
- /**
- * Output only. An encoded path to the next waypoint.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getCurrentRouteSegment()
- {
- return $this->current_route_segment;
- }
-
- /**
- * Output only. An encoded path to the next waypoint.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setCurrentRouteSegment($var)
- {
- GPBUtil::checkString($var, True);
- $this->current_route_segment = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the last time the route was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentVersion()
- {
- return $this->current_route_segment_version;
- }
-
- public function hasCurrentRouteSegmentVersion()
- {
- return isset($this->current_route_segment_version);
- }
-
- public function clearCurrentRouteSegmentVersion()
- {
- unset($this->current_route_segment_version);
- }
-
- /**
- * Output only. Indicates the last time the route was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_version = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the traffic conditions along the
- * `current_route_segment` when they're available.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline current_route_segment_traffic = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline|null
- */
- public function getCurrentRouteSegmentTraffic()
- {
- return $this->current_route_segment_traffic;
- }
-
- public function hasCurrentRouteSegmentTraffic()
- {
- return isset($this->current_route_segment_traffic);
- }
-
- public function clearCurrentRouteSegmentTraffic()
- {
- unset($this->current_route_segment_traffic);
- }
-
- /**
- * Output only. Indicates the traffic conditions along the
- * `current_route_segment` when they're available.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline current_route_segment_traffic = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline $var
- * @return $this
- */
- public function setCurrentRouteSegmentTraffic($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline::class);
- $this->current_route_segment_traffic = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the last time the `current_route_segment_traffic`
- * was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentTrafficVersion()
- {
- return $this->current_route_segment_traffic_version;
- }
-
- public function hasCurrentRouteSegmentTrafficVersion()
- {
- return isset($this->current_route_segment_traffic_version);
- }
-
- public function clearCurrentRouteSegmentTrafficVersion()
- {
- unset($this->current_route_segment_traffic_version);
- }
-
- /**
- * Output only. Indicates the last time the `current_route_segment_traffic`
- * was modified.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_traffic_version = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentTrafficVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_traffic_version = $var;
-
- return $this;
- }
-
- /**
- * Output only. The waypoint where `current_route_segment` ends.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\TripWaypoint|null
- */
- public function getCurrentRouteSegmentEndPoint()
- {
- return $this->current_route_segment_end_point;
- }
-
- public function hasCurrentRouteSegmentEndPoint()
- {
- return isset($this->current_route_segment_end_point);
- }
-
- public function clearCurrentRouteSegmentEndPoint()
- {
- unset($this->current_route_segment_end_point);
- }
-
- /**
- * Output only. The waypoint where `current_route_segment` ends.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\TripWaypoint $var
- * @return $this
- */
- public function setCurrentRouteSegmentEndPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TripWaypoint::class);
- $this->current_route_segment_end_point = $var;
-
- return $this;
- }
-
- /**
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getRemainingDistanceMeters()
- {
- return $this->remaining_distance_meters;
- }
-
- public function hasRemainingDistanceMeters()
- {
- return isset($this->remaining_distance_meters);
- }
-
- public function clearRemainingDistanceMeters()
- {
- unset($this->remaining_distance_meters);
- }
-
- /**
- * Returns the unboxed value from getRemainingDistanceMeters()
-
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int|null
- */
- public function getRemainingDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("remaining_distance_meters");
- }
-
- /**
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setRemainingDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->remaining_distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Output only. The remaining driving distance in the `current_route_segment`
- * field. The value is unspecified if the trip is not assigned to a vehicle,
- * or the trip is completed or cancelled.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int|null $var
- * @return $this
- */
- public function setRemainingDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("remaining_distance_meters", $var);
- return $this;}
-
- /**
- * Output only. The ETA to the next waypoint (the first entry in the
- * `remaining_waypoints` field). The value is unspecified if the trip is not
- * assigned to a vehicle, or the trip is inactive (completed or cancelled).
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEtaToFirstWaypoint()
- {
- return $this->eta_to_first_waypoint;
- }
-
- public function hasEtaToFirstWaypoint()
- {
- return isset($this->eta_to_first_waypoint);
- }
-
- public function clearEtaToFirstWaypoint()
- {
- unset($this->eta_to_first_waypoint);
- }
-
- /**
- * Output only. The ETA to the next waypoint (the first entry in the
- * `remaining_waypoints` field). The value is unspecified if the trip is not
- * assigned to a vehicle, or the trip is inactive (completed or cancelled).
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEtaToFirstWaypoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->eta_to_first_waypoint = $var;
-
- return $this;
- }
-
- /**
- * Output only. The duration from when the Trip data is returned to the time
- * in `Trip.eta_to_first_waypoint`. The value is unspecified if the trip is
- * not assigned to a vehicle, or the trip is inactive (completed or
- * cancelled).
- *
- * Generated from protobuf field .google.protobuf.Duration remaining_time_to_first_waypoint = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Duration|null
- */
- public function getRemainingTimeToFirstWaypoint()
- {
- return $this->remaining_time_to_first_waypoint;
- }
-
- public function hasRemainingTimeToFirstWaypoint()
- {
- return isset($this->remaining_time_to_first_waypoint);
- }
-
- public function clearRemainingTimeToFirstWaypoint()
- {
- unset($this->remaining_time_to_first_waypoint);
- }
-
- /**
- * Output only. The duration from when the Trip data is returned to the time
- * in `Trip.eta_to_first_waypoint`. The value is unspecified if the trip is
- * not assigned to a vehicle, or the trip is inactive (completed or
- * cancelled).
- *
- * Generated from protobuf field .google.protobuf.Duration remaining_time_to_first_waypoint = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setRemainingTimeToFirstWaypoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->remaining_time_to_first_waypoint = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the last time that `remaining_waypoints` was changed
- * (a waypoint was added, removed, or changed).
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRemainingWaypointsVersion()
- {
- return $this->remaining_waypoints_version;
- }
-
- public function hasRemainingWaypointsVersion()
- {
- return isset($this->remaining_waypoints_version);
- }
-
- public function clearRemainingWaypointsVersion()
- {
- unset($this->remaining_waypoints_version);
- }
-
- /**
- * Output only. Indicates the last time that `remaining_waypoints` was changed
- * (a waypoint was added, removed, or changed).
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRemainingWaypointsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->remaining_waypoints_version = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the last time the
- * `remaining_waypoints.path_to_waypoint` and
- * `remaining_waypoints.traffic_to_waypoint` were modified. Your client app
- * should cache this value and pass it in `GetTripRequest` to ensure the
- * paths and traffic for `remaining_waypoints` are only returned if updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRemainingWaypointsRouteVersion()
- {
- return $this->remaining_waypoints_route_version;
- }
-
- public function hasRemainingWaypointsRouteVersion()
- {
- return isset($this->remaining_waypoints_route_version);
- }
-
- public function clearRemainingWaypointsRouteVersion()
- {
- unset($this->remaining_waypoints_route_version);
- }
-
- /**
- * Output only. Indicates the last time the
- * `remaining_waypoints.path_to_waypoint` and
- * `remaining_waypoints.traffic_to_waypoint` were modified. Your client app
- * should cache this value and pass it in `GetTripRequest` to ensure the
- * paths and traffic for `remaining_waypoints` are only returned if updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp remaining_waypoints_route_version = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRemainingWaypointsRouteVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->remaining_waypoints_route_version = $var;
-
- return $this;
- }
-
- /**
- * Immutable. Indicates the number of passengers on this trip and does not
- * include the driver. A vehicle must have available capacity to be returned
- * in a `SearchVehicles` response.
- *
- * Generated from protobuf field int32 number_of_passengers = 10 [(.google.api.field_behavior) = IMMUTABLE];
- * @return int
- */
- public function getNumberOfPassengers()
- {
- return $this->number_of_passengers;
- }
-
- /**
- * Immutable. Indicates the number of passengers on this trip and does not
- * include the driver. A vehicle must have available capacity to be returned
- * in a `SearchVehicles` response.
- *
- * Generated from protobuf field int32 number_of_passengers = 10 [(.google.api.field_behavior) = IMMUTABLE];
- * @param int $var
- * @return $this
- */
- public function setNumberOfPassengers($var)
- {
- GPBUtil::checkInt32($var);
- $this->number_of_passengers = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates the last reported location of the vehicle along the
- * route.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleLocation last_location = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\VehicleLocation|null
- */
- public function getLastLocation()
- {
- return $this->last_location;
- }
-
- public function hasLastLocation()
- {
- return isset($this->last_location);
- }
-
- public function clearLastLocation()
- {
- unset($this->last_location);
- }
-
- /**
- * Output only. Indicates the last reported location of the vehicle along the
- * route.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleLocation last_location = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\VehicleLocation $var
- * @return $this
- */
- public function setLastLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\VehicleLocation::class);
- $this->last_location = $var;
-
- return $this;
- }
-
- /**
- * Output only. Indicates whether the vehicle's `last_location` can be snapped
- * to the current_route_segment. False if `last_location` or
- * `current_route_segment` doesn't exist.
- * It is computed by Fleet Engine. Any update from clients will be ignored.
- *
- * Generated from protobuf field bool last_location_snappable = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getLastLocationSnappable()
- {
- return $this->last_location_snappable;
- }
-
- /**
- * Output only. Indicates whether the vehicle's `last_location` can be snapped
- * to the current_route_segment. False if `last_location` or
- * `current_route_segment` doesn't exist.
- * It is computed by Fleet Engine. Any update from clients will be ignored.
- *
- * Generated from protobuf field bool last_location_snappable = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setLastLocationSnappable($var)
- {
- GPBUtil::checkBool($var);
- $this->last_location_snappable = $var;
-
- return $this;
- }
-
- /**
- * The subset of Trip fields that are populated and how they should be
- * interpreted.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 31;
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * The subset of Trip fields that are populated and how they should be
- * interpreted.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripView view = 31;
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\TripView::class);
- $this->view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripStatus.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripStatus.php
deleted file mode 100644
index 7c6eea573533..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripStatus.php
+++ /dev/null
@@ -1,111 +0,0 @@
-maps.fleetengine.v1.TripStatus
- */
-class TripStatus
-{
- /**
- * Default, used for unspecified or unrecognized trip status.
- *
- * Generated from protobuf enum UNKNOWN_TRIP_STATUS = 0;
- */
- const UNKNOWN_TRIP_STATUS = 0;
- /**
- * Newly created trip.
- *
- * Generated from protobuf enum NEW = 1;
- */
- const PBNEW = 1;
- /**
- * The driver is on their way to the pickup point.
- *
- * Generated from protobuf enum ENROUTE_TO_PICKUP = 2;
- */
- const ENROUTE_TO_PICKUP = 2;
- /**
- * The driver has arrived at the pickup point.
- *
- * Generated from protobuf enum ARRIVED_AT_PICKUP = 3;
- */
- const ARRIVED_AT_PICKUP = 3;
- /**
- * The driver has arrived at an intermediate destination and is waiting for
- * the rider.
- *
- * Generated from protobuf enum ARRIVED_AT_INTERMEDIATE_DESTINATION = 7;
- */
- const ARRIVED_AT_INTERMEDIATE_DESTINATION = 7;
- /**
- * The driver is on their way to an intermediate destination
- * (not the dropoff point).
- *
- * Generated from protobuf enum ENROUTE_TO_INTERMEDIATE_DESTINATION = 8;
- */
- const ENROUTE_TO_INTERMEDIATE_DESTINATION = 8;
- /**
- * The driver has picked up the rider and is on their way to the
- * next destination.
- *
- * Generated from protobuf enum ENROUTE_TO_DROPOFF = 4;
- */
- const ENROUTE_TO_DROPOFF = 4;
- /**
- * The rider has been dropped off and the trip is complete.
- *
- * Generated from protobuf enum COMPLETE = 5;
- */
- const COMPLETE = 5;
- /**
- * The trip was canceled prior to pickup by the driver, rider, or
- * rideshare provider.
- *
- * Generated from protobuf enum CANCELED = 6;
- */
- const CANCELED = 6;
-
- private static $valueToName = [
- self::UNKNOWN_TRIP_STATUS => 'UNKNOWN_TRIP_STATUS',
- self::PBNEW => 'NEW',
- self::ENROUTE_TO_PICKUP => 'ENROUTE_TO_PICKUP',
- self::ARRIVED_AT_PICKUP => 'ARRIVED_AT_PICKUP',
- self::ARRIVED_AT_INTERMEDIATE_DESTINATION => 'ARRIVED_AT_INTERMEDIATE_DESTINATION',
- self::ENROUTE_TO_INTERMEDIATE_DESTINATION => 'ENROUTE_TO_INTERMEDIATE_DESTINATION',
- self::ENROUTE_TO_DROPOFF => 'ENROUTE_TO_DROPOFF',
- self::COMPLETE => 'COMPLETE',
- self::CANCELED => 'CANCELED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripType.php
deleted file mode 100644
index 94d7f9ab6998..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-maps.fleetengine.v1.TripType
- */
-class TripType
-{
- /**
- * Default, used for unspecified or unrecognized trip types.
- *
- * Generated from protobuf enum UNKNOWN_TRIP_TYPE = 0;
- */
- const UNKNOWN_TRIP_TYPE = 0;
- /**
- * The trip may share a vehicle with other trips.
- *
- * Generated from protobuf enum SHARED = 1;
- */
- const SHARED = 1;
- /**
- * The trip is exclusive to a vehicle.
- *
- * Generated from protobuf enum EXCLUSIVE = 2;
- */
- const EXCLUSIVE = 2;
-
- private static $valueToName = [
- self::UNKNOWN_TRIP_TYPE => 'UNKNOWN_TRIP_TYPE',
- self::SHARED => 'SHARED',
- self::EXCLUSIVE => 'EXCLUSIVE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripView.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripView.php
deleted file mode 100644
index b341430b2420..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripView.php
+++ /dev/null
@@ -1,67 +0,0 @@
-maps.fleetengine.v1.TripView
- */
-class TripView
-{
- /**
- * The default value. For backwards-compatibility, the API will default to an
- * SDK view. To ensure stability and support, customers are
- * advised to select a `TripView` other than `SDK`.
- *
- * Generated from protobuf enum TRIP_VIEW_UNSPECIFIED = 0;
- */
- const TRIP_VIEW_UNSPECIFIED = 0;
- /**
- * Includes fields that may not be interpretable or supportable using
- * publicly available libraries.
- *
- * Generated from protobuf enum SDK = 1;
- */
- const SDK = 1;
- /**
- * Trip fields are populated for the Journey Sharing use case. This view is
- * intended for server-to-server communications.
- *
- * Generated from protobuf enum JOURNEY_SHARING_V1S = 2;
- */
- const JOURNEY_SHARING_V1S = 2;
-
- private static $valueToName = [
- self::TRIP_VIEW_UNSPECIFIED => 'TRIP_VIEW_UNSPECIFIED',
- self::SDK => 'SDK',
- self::JOURNEY_SHARING_V1S => 'JOURNEY_SHARING_V1S',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripWaypoint.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripWaypoint.php
deleted file mode 100644
index fd7cfea0163e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/TripWaypoint.php
+++ /dev/null
@@ -1,451 +0,0 @@
-maps.fleetengine.v1.TripWaypoint
- */
-class TripWaypoint extends \Google\Protobuf\Internal\Message
-{
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation location = 1;
- */
- protected $location = null;
- /**
- * The trip associated with this waypoint.
- *
- * Generated from protobuf field string trip_id = 2;
- */
- protected $trip_id = '';
- /**
- * The role this waypoint plays in this trip, such as pickup or dropoff.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType waypoint_type = 3;
- */
- protected $waypoint_type = 0;
- /**
- * The path from the previous waypoint to the current waypoint. Undefined for
- * the first waypoint in a list. This field is only populated when requested.
- *
- * Generated from protobuf field repeated .google.type.LatLng path_to_waypoint = 4;
- */
- private $path_to_waypoint;
- /**
- * The encoded path from the previous waypoint to the current waypoint.
- * Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 5;
- */
- protected $encoded_path_to_waypoint = '';
- /**
- * The traffic conditions along the path to this waypoint. Note that traffic
- * is only available for Google Map Platform Rides and Deliveries Solution
- * customers.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline traffic_to_waypoint = 10;
- */
- protected $traffic_to_waypoint = null;
- /**
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Int32Value distance_meters = 6;
- */
- protected $distance_meters = null;
- /**
- * The estimated time of arrival at this waypoint. Undefined for the first
- * waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 7;
- */
- protected $eta = null;
- /**
- * The travel time from previous waypoint to this point. Undefined for the
- * first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Duration duration = 8;
- */
- protected $duration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\TerminalLocation $location
- * The location of this waypoint.
- * @type string $trip_id
- * The trip associated with this waypoint.
- * @type int $waypoint_type
- * The role this waypoint plays in this trip, such as pickup or dropoff.
- * @type array<\Google\Type\LatLng>|\Google\Protobuf\Internal\RepeatedField $path_to_waypoint
- * The path from the previous waypoint to the current waypoint. Undefined for
- * the first waypoint in a list. This field is only populated when requested.
- * @type string $encoded_path_to_waypoint
- * The encoded path from the previous waypoint to the current waypoint.
- *
Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- * @type \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline $traffic_to_waypoint
- * The traffic conditions along the path to this waypoint. Note that traffic
- * is only available for Google Map Platform Rides and Deliveries Solution
- * customers.
- * @type \Google\Protobuf\Int32Value $distance_meters
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- * @type \Google\Protobuf\Timestamp $eta
- * The estimated time of arrival at this waypoint. Undefined for the first
- * waypoint in a list.
- * @type \Google\Protobuf\Duration $duration
- * The travel time from previous waypoint to this point. Undefined for the
- * first waypoint in a list.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Fleetengine::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation location = 1;
- * @return \Google\Maps\FleetEngine\V1\TerminalLocation|null
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- public function hasLocation()
- {
- return isset($this->location);
- }
-
- public function clearLocation()
- {
- unset($this->location);
- }
-
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TerminalLocation location = 1;
- * @param \Google\Maps\FleetEngine\V1\TerminalLocation $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * The trip associated with this waypoint.
- *
- * Generated from protobuf field string trip_id = 2;
- * @return string
- */
- public function getTripId()
- {
- return $this->trip_id;
- }
-
- /**
- * The trip associated with this waypoint.
- *
- * Generated from protobuf field string trip_id = 2;
- * @param string $var
- * @return $this
- */
- public function setTripId($var)
- {
- GPBUtil::checkString($var, True);
- $this->trip_id = $var;
-
- return $this;
- }
-
- /**
- * The role this waypoint plays in this trip, such as pickup or dropoff.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType waypoint_type = 3;
- * @return int
- */
- public function getWaypointType()
- {
- return $this->waypoint_type;
- }
-
- /**
- * The role this waypoint plays in this trip, such as pickup or dropoff.
- *
- * Generated from protobuf field .maps.fleetengine.v1.WaypointType waypoint_type = 3;
- * @param int $var
- * @return $this
- */
- public function setWaypointType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\WaypointType::class);
- $this->waypoint_type = $var;
-
- return $this;
- }
-
- /**
- * The path from the previous waypoint to the current waypoint. Undefined for
- * the first waypoint in a list. This field is only populated when requested.
- *
- * Generated from protobuf field repeated .google.type.LatLng path_to_waypoint = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getPathToWaypoint()
- {
- return $this->path_to_waypoint;
- }
-
- /**
- * The path from the previous waypoint to the current waypoint. Undefined for
- * the first waypoint in a list. This field is only populated when requested.
- *
- * Generated from protobuf field repeated .google.type.LatLng path_to_waypoint = 4;
- * @param array<\Google\Type\LatLng>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setPathToWaypoint($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Type\LatLng::class);
- $this->path_to_waypoint = $arr;
-
- return $this;
- }
-
- /**
- * The encoded path from the previous waypoint to the current waypoint.
- *
Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 5;
- * @return string
- */
- public function getEncodedPathToWaypoint()
- {
- return $this->encoded_path_to_waypoint;
- }
-
- /**
- * The encoded path from the previous waypoint to the current waypoint.
- *
Note: This field is intended only for use by the Driver SDK and Consumer
- * SDK. Decoding is not yet supported.
- *
- * Generated from protobuf field string encoded_path_to_waypoint = 5;
- * @param string $var
- * @return $this
- */
- public function setEncodedPathToWaypoint($var)
- {
- GPBUtil::checkString($var, True);
- $this->encoded_path_to_waypoint = $var;
-
- return $this;
- }
-
- /**
- * The traffic conditions along the path to this waypoint. Note that traffic
- * is only available for Google Map Platform Rides and Deliveries Solution
- * customers.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline traffic_to_waypoint = 10;
- * @return \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline|null
- */
- public function getTrafficToWaypoint()
- {
- return $this->traffic_to_waypoint;
- }
-
- public function hasTrafficToWaypoint()
- {
- return isset($this->traffic_to_waypoint);
- }
-
- public function clearTrafficToWaypoint()
- {
- unset($this->traffic_to_waypoint);
- }
-
- /**
- * The traffic conditions along the path to this waypoint. Note that traffic
- * is only available for Google Map Platform Rides and Deliveries Solution
- * customers.
- *
- * Generated from protobuf field .maps.fleetengine.v1.ConsumableTrafficPolyline traffic_to_waypoint = 10;
- * @param \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline $var
- * @return $this
- */
- public function setTrafficToWaypoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\ConsumableTrafficPolyline::class);
- $this->traffic_to_waypoint = $var;
-
- return $this;
- }
-
- /**
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Int32Value distance_meters = 6;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getDistanceMeters()
- {
- return $this->distance_meters;
- }
-
- public function hasDistanceMeters()
- {
- return isset($this->distance_meters);
- }
-
- public function clearDistanceMeters()
- {
- unset($this->distance_meters);
- }
-
- /**
- * Returns the unboxed value from getDistanceMeters()
-
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Int32Value distance_meters = 6;
- * @return int|null
- */
- public function getDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("distance_meters");
- }
-
- /**
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Int32Value distance_meters = 6;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The path distance from the previous waypoint to the current waypoint.
- * Undefined for the first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Int32Value distance_meters = 6;
- * @param int|null $var
- * @return $this
- */
- public function setDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("distance_meters", $var);
- return $this;}
-
- /**
- * The estimated time of arrival at this waypoint. Undefined for the first
- * waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 7;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEta()
- {
- return $this->eta;
- }
-
- public function hasEta()
- {
- return isset($this->eta);
- }
-
- public function clearEta()
- {
- unset($this->eta);
- }
-
- /**
- * The estimated time of arrival at this waypoint. Undefined for the first
- * waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 7;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->eta = $var;
-
- return $this;
- }
-
- /**
- * The travel time from previous waypoint to this point. Undefined for the
- * first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Duration duration = 8;
- * @return \Google\Protobuf\Duration|null
- */
- public function getDuration()
- {
- return $this->duration;
- }
-
- public function hasDuration()
- {
- return isset($this->duration);
- }
-
- public function clearDuration()
- {
- unset($this->duration);
- }
-
- /**
- * The travel time from previous waypoint to this point. Undefined for the
- * first waypoint in a list.
- *
- * Generated from protobuf field .google.protobuf.Duration duration = 8;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->duration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateTripRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateTripRequest.php
deleted file mode 100644
index 309be11621d8..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateTripRequest.php
+++ /dev/null
@@ -1,355 +0,0 @@
-maps.fleetengine.v1.UpdateTripRequest
- */
-class UpdateTripRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format
- * `providers/{provider}/trips/{trip}`. The provider must
- * be the Project ID (for example, `sample-consumer-project`) of the Google
- * Cloud Project of which the service account making this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $name = '';
- /**
- * Required. The Trip associated with the update.
- * The following fields are maintained by the Fleet Engine. Do not update
- * them using Trip.update.
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_traffic`
- * * `current_route_segment_traffic_version`
- * * `current_route_segment_version`
- * * `dropoff_time`
- * * `eta_to_next_waypoint`
- * * `intermediate_destinations_version`
- * * `last_location`
- * * `name`
- * * `number_of_passengers`
- * * `pickup_time`
- * * `remaining_distance_meters`
- * * `remaining_time_to_first_waypoint`
- * * `remaining_waypoints`
- * * `remaining_waypoints_version`
- * * `route`
- * When you update the `Trip.vehicle_id` for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints, otherwise the order will be undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- * To avoid a race condition for trips with multiple destinations, you
- * should provide `Trip.intermediate_destinations_version` when updating
- * the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The
- * `Trip.intermediate_destinations_version` passed must be consistent with
- * Fleet Engine's version. If it isn't, the request fails.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $trip = null;
- /**
- * Required. The field mask indicating which fields in Trip to update.
- * The `update_mask` must contain at least one field.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $name
- * Required. Must be in the format
- * `providers/{provider}/trips/{trip}`. The provider must
- * be the Project ID (for example, `sample-consumer-project`) of the Google
- * Cloud Project of which the service account making this call is a member.
- * @type \Google\Maps\FleetEngine\V1\Trip $trip
- * Required. The Trip associated with the update.
- * The following fields are maintained by the Fleet Engine. Do not update
- * them using Trip.update.
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_traffic`
- * * `current_route_segment_traffic_version`
- * * `current_route_segment_version`
- * * `dropoff_time`
- * * `eta_to_next_waypoint`
- * * `intermediate_destinations_version`
- * * `last_location`
- * * `name`
- * * `number_of_passengers`
- * * `pickup_time`
- * * `remaining_distance_meters`
- * * `remaining_time_to_first_waypoint`
- * * `remaining_waypoints`
- * * `remaining_waypoints_version`
- * * `route`
- * When you update the `Trip.vehicle_id` for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints, otherwise the order will be undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- * To avoid a race condition for trips with multiple destinations, you
- * should provide `Trip.intermediate_destinations_version` when updating
- * the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The
- * `Trip.intermediate_destinations_version` passed must be consistent with
- * Fleet Engine's version. If it isn't, the request fails.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. The field mask indicating which fields in Trip to update.
- * The `update_mask` must contain at least one field.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\TripApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/trips/{trip}`. The provider must
- * be the Project ID (for example, `sample-consumer-project`) of the Google
- * Cloud Project of which the service account making this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/trips/{trip}`. The provider must
- * be the Project ID (for example, `sample-consumer-project`) of the Google
- * Cloud Project of which the service account making this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The Trip associated with the update.
- * The following fields are maintained by the Fleet Engine. Do not update
- * them using Trip.update.
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_traffic`
- * * `current_route_segment_traffic_version`
- * * `current_route_segment_version`
- * * `dropoff_time`
- * * `eta_to_next_waypoint`
- * * `intermediate_destinations_version`
- * * `last_location`
- * * `name`
- * * `number_of_passengers`
- * * `pickup_time`
- * * `remaining_distance_meters`
- * * `remaining_time_to_first_waypoint`
- * * `remaining_waypoints`
- * * `remaining_waypoints_version`
- * * `route`
- * When you update the `Trip.vehicle_id` for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints, otherwise the order will be undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- * To avoid a race condition for trips with multiple destinations, you
- * should provide `Trip.intermediate_destinations_version` when updating
- * the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The
- * `Trip.intermediate_destinations_version` passed must be consistent with
- * Fleet Engine's version. If it isn't, the request fails.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Trip|null
- */
- public function getTrip()
- {
- return $this->trip;
- }
-
- public function hasTrip()
- {
- return isset($this->trip);
- }
-
- public function clearTrip()
- {
- unset($this->trip);
- }
-
- /**
- * Required. The Trip associated with the update.
- * The following fields are maintained by the Fleet Engine. Do not update
- * them using Trip.update.
- * * `current_route_segment`
- * * `current_route_segment_end_point`
- * * `current_route_segment_traffic`
- * * `current_route_segment_traffic_version`
- * * `current_route_segment_version`
- * * `dropoff_time`
- * * `eta_to_next_waypoint`
- * * `intermediate_destinations_version`
- * * `last_location`
- * * `name`
- * * `number_of_passengers`
- * * `pickup_time`
- * * `remaining_distance_meters`
- * * `remaining_time_to_first_waypoint`
- * * `remaining_waypoints`
- * * `remaining_waypoints_version`
- * * `route`
- * When you update the `Trip.vehicle_id` for a shared trip, you must supply
- * the list of `Trip.vehicle_waypoints` to specify the order of the remaining
- * waypoints, otherwise the order will be undetermined.
- * When you specify `Trip.vehicle_waypoints`, the list must contain all
- * the remaining waypoints of the vehicle's trips, with no extra waypoints.
- * You must order these waypoints such that for a given trip, the pickup
- * point is before intermediate destinations, and all intermediate
- * destinations come before the drop-off point. An `EXCLUSIVE` trip's
- * waypoints must not interleave with any other trips.
- * The `trip_id`, `waypoint_type` and `location` fields are used, and all
- * other TripWaypoint fields in `vehicle_waypoints` are ignored.
- * To avoid a race condition for trips with multiple destinations, you
- * should provide `Trip.intermediate_destinations_version` when updating
- * the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The
- * `Trip.intermediate_destinations_version` passed must be consistent with
- * Fleet Engine's version. If it isn't, the request fails.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Trip trip = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Trip $var
- * @return $this
- */
- public function setTrip($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Trip::class);
- $this->trip = $var;
-
- return $this;
- }
-
- /**
- * Required. The field mask indicating which fields in Trip to update.
- * The `update_mask` must contain at least one field.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. The field mask indicating which fields in Trip to update.
- * The `update_mask` must contain at least one field.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesRequest.php
deleted file mode 100644
index 30be79f52ba3..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesRequest.php
+++ /dev/null
@@ -1,161 +0,0 @@
-maps.fleetengine.v1.UpdateVehicleAttributesRequest
- */
-class UpdateVehicleAttributesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $name = '';
- /**
- * Required. The vehicle attributes to update. Unmentioned attributes are not
- * altered or removed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- private $attributes;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $name
- * Required. Must be in the format `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes
- * Required. The vehicle attributes to update. Unmentioned attributes are not
- * altered or removed.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format `providers/{provider}/vehicles/{vehicle}`.
- * The provider must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The vehicle attributes to update. Unmentioned attributes are not
- * altered or removed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- /**
- * Required. The vehicle attributes to update. Unmentioned attributes are not
- * altered or removed.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttribute::class);
- $this->attributes = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesResponse.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesResponse.php
deleted file mode 100644
index ba1eb389f4f9..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleAttributesResponse.php
+++ /dev/null
@@ -1,71 +0,0 @@
-maps.fleetengine.v1.UpdateVehicleAttributesResponse
- */
-class UpdateVehicleAttributesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The updated full list of vehicle attributes, including new,
- * altered, and untouched attributes.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- private $attributes;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes
- * Required. The updated full list of vehicle attributes, including new,
- * altered, and untouched attributes.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The updated full list of vehicle attributes, including new,
- * altered, and untouched attributes.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- /**
- * Required. The updated full list of vehicle attributes, including new,
- * altered, and untouched attributes.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttribute::class);
- $this->attributes = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleRequest.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleRequest.php
deleted file mode 100644
index 3aded0e174b6..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/UpdateVehicleRequest.php
+++ /dev/null
@@ -1,267 +0,0 @@
-maps.fleetengine.v1.UpdateVehicleRequest
- */
-class UpdateVehicleRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- */
- protected $header = null;
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The {provider} must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $name = '';
- /**
- * Required. The `Vehicle` entity values to apply. When updating a `Vehicle`,
- * the following fields may not be updated as they are managed by the
- * server.
- * * `available_capacity`
- * * `current_route_segment_version`
- * * `current_trips`
- * * `name`
- * * `waypoints_version`
- * If the `attributes` field is updated, **all** the vehicle's attributes are
- * replaced with the attributes provided in the request. If you want to update
- * only some attributes, see the `UpdateVehicleAttributes` method.
- * Likewise, the `waypoints` field can be updated, but must contain all the
- * waypoints currently on the vehicle, and no other waypoints.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle = null;
- /**
- * Required. A field mask indicating which fields of the `Vehicle` to update.
- * At least one field name must be provided.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\RequestHeader $header
- * The standard Fleet Engine request header.
- * @type string $name
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The {provider} must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- * @type \Google\Maps\FleetEngine\V1\Vehicle $vehicle
- * Required. The `Vehicle` entity values to apply. When updating a `Vehicle`,
- * the following fields may not be updated as they are managed by the
- * server.
- * * `available_capacity`
- * * `current_route_segment_version`
- * * `current_trips`
- * * `name`
- * * `waypoints_version`
- * If the `attributes` field is updated, **all** the vehicle's attributes are
- * replaced with the attributes provided in the request. If you want to update
- * only some attributes, see the `UpdateVehicleAttributes` method.
- * Likewise, the `waypoints` field can be updated, but must contain all the
- * waypoints currently on the vehicle, and no other waypoints.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. A field mask indicating which fields of the `Vehicle` to update.
- * At least one field name must be provided.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @return \Google\Maps\FleetEngine\V1\RequestHeader|null
- */
- public function getHeader()
- {
- return $this->header;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * The standard Fleet Engine request header.
- *
- * Generated from protobuf field .maps.fleetengine.v1.RequestHeader header = 1;
- * @param \Google\Maps\FleetEngine\V1\RequestHeader $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\RequestHeader::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The {provider} must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Must be in the format
- * `providers/{provider}/vehicles/{vehicle}`.
- * The {provider} must be the Project ID (for example, `sample-cloud-project`)
- * of the Google Cloud Project of which the service account making
- * this call is a member.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The `Vehicle` entity values to apply. When updating a `Vehicle`,
- * the following fields may not be updated as they are managed by the
- * server.
- * * `available_capacity`
- * * `current_route_segment_version`
- * * `current_trips`
- * * `name`
- * * `waypoints_version`
- * If the `attributes` field is updated, **all** the vehicle's attributes are
- * replaced with the attributes provided in the request. If you want to update
- * only some attributes, see the `UpdateVehicleAttributes` method.
- * Likewise, the `waypoints` field can be updated, but must contain all the
- * waypoints currently on the vehicle, and no other waypoints.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Vehicle|null
- */
- public function getVehicle()
- {
- return $this->vehicle;
- }
-
- public function hasVehicle()
- {
- return isset($this->vehicle);
- }
-
- public function clearVehicle()
- {
- unset($this->vehicle);
- }
-
- /**
- * Required. The `Vehicle` entity values to apply. When updating a `Vehicle`,
- * the following fields may not be updated as they are managed by the
- * server.
- * * `available_capacity`
- * * `current_route_segment_version`
- * * `current_trips`
- * * `name`
- * * `waypoints_version`
- * If the `attributes` field is updated, **all** the vehicle's attributes are
- * replaced with the attributes provided in the request. If you want to update
- * only some attributes, see the `UpdateVehicleAttributes` method.
- * Likewise, the `waypoints` field can be updated, but must contain all the
- * waypoints currently on the vehicle, and no other waypoints.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Vehicle $var
- * @return $this
- */
- public function setVehicle($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Vehicle::class);
- $this->vehicle = $var;
-
- return $this;
- }
-
- /**
- * Required. A field mask indicating which fields of the `Vehicle` to update.
- * At least one field name must be provided.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. A field mask indicating which fields of the `Vehicle` to update.
- * At least one field name must be provided.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle.php
deleted file mode 100644
index cef7be90d471..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle.php
+++ /dev/null
@@ -1,1108 +0,0 @@
-maps.fleetengine.v1.Vehicle
- */
-class Vehicle extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. The unique name for this vehicle.
- * The format is `providers/{provider}/vehicles/{vehicle}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $name = '';
- /**
- * The vehicle state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleState vehicle_state = 2;
- */
- protected $vehicle_state = 0;
- /**
- * Trip types supported by this vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType supported_trip_types = 3;
- */
- private $supported_trip_types;
- /**
- * Output only. List of `trip_id`'s for trips currently assigned to this
- * vehicle.
- *
- * Generated from protobuf field repeated string current_trips = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $current_trips;
- /**
- * Last reported location of the vehicle.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleLocation last_location = 5;
- */
- protected $last_location = null;
- /**
- * The total numbers of riders this vehicle can carry. The driver is not
- * considered in this value. This value must be greater than or equal to one.
- *
- * Generated from protobuf field int32 maximum_capacity = 6;
- */
- protected $maximum_capacity = 0;
- /**
- * List of vehicle attributes. A vehicle can have at most 100
- * attributes, and each attribute must have a unique key.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 8;
- */
- private $attributes;
- /**
- * Required. The type of this vehicle. Can be used to filter vehicles in
- * `SearchVehicles` results. Also influences ETA and route calculations.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType vehicle_type = 9 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle_type = null;
- /**
- * License plate information for the vehicle.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LicensePlate license_plate = 10;
- */
- protected $license_plate = null;
- /**
- * Deprecated: Use `Vehicle.waypoints` instead.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation route = 12 [deprecated = true];
- * @deprecated
- */
- private $route;
- /**
- * The polyline specifying the route the driver app intends to take to
- * the next waypoint. This list is also returned in
- * `Trip.current_route_segment` for all active trips assigned to the vehicle.
- * Note: This field is intended only for use by the Driver SDK. Decoding is
- * not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 20;
- */
- protected $current_route_segment = '';
- /**
- * Input only. Fleet Engine uses this information to improve journey sharing.
- * Note: This field is intended only for use by the Driver SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TrafficPolylineData current_route_segment_traffic = 28 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $current_route_segment_traffic = null;
- /**
- * Output only. Time when `current_route_segment` was set. It can be stored by
- * the client and passed in future `GetVehicle` requests to prevent returning
- * routes that haven't changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $current_route_segment_version = null;
- /**
- * The waypoint where `current_route_segment` ends. This can be supplied by
- * drivers on `UpdateVehicle` calls either as a full trip waypoint, a waypoint
- * `LatLng`, or as the last `LatLng` of the `current_route_segment`. Fleet
- * Engine will then do its best to interpolate to an actual waypoint if it is
- * not fully specified. This field is ignored in `UpdateVehicle` calls unless
- * `current_route_segment` is also specified.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24;
- */
- protected $current_route_segment_end_point = null;
- /**
- * The remaining driving distance for the `current_route_segment`.
- * This value is also returned in `Trip.remaining_distance_meters` for all
- * active trips assigned to the vehicle. The value is unspecified if the
- * `current_route_segment` field is empty.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 18;
- */
- protected $remaining_distance_meters = null;
- /**
- * The ETA to the first entry in the `waypoints` field. The value is
- * unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 19;
- */
- protected $eta_to_first_waypoint = null;
- /**
- * Input only. The remaining driving time for the `current_route_segment`. The
- * value is unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty. This value should match
- * `eta_to_first_waypoint` - `current_time` if all parties are using the same
- * clock.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_time_seconds = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $remaining_time_seconds = null;
- /**
- * The remaining waypoints assigned to this Vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint waypoints = 22;
- */
- private $waypoints;
- /**
- * Output only. Last time the `waypoints` field was updated. Clients should
- * cache this value and pass it in `GetVehicleRequest` to ensure the
- * `waypoints` field is only returned if it is updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $waypoints_version = null;
- /**
- * Indicates if the driver accepts back-to-back trips. If `true`,
- * `SearchVehicles` may include the vehicle even if it is currently assigned
- * to a trip. The default value is `false`.
- *
- * Generated from protobuf field bool back_to_back_enabled = 23;
- */
- protected $back_to_back_enabled = false;
- /**
- * The vehicle's navigation status.
- *
- * Generated from protobuf field .maps.fleetengine.v1.NavigationStatus navigation_status = 26;
- */
- protected $navigation_status = 0;
- /**
- * Input only. Information about settings in the mobile device being used by
- * the driver.
- *
- * Generated from protobuf field .maps.fleetengine.v1.DeviceSettings device_settings = 27 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $device_settings = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Output only. The unique name for this vehicle.
- * The format is `providers/{provider}/vehicles/{vehicle}`.
- * @type int $vehicle_state
- * The vehicle state.
- * @type arraystring name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Output only. The unique name for this vehicle.
- * The format is `providers/{provider}/vehicles/{vehicle}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The vehicle state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleState vehicle_state = 2;
- * @return int
- */
- public function getVehicleState()
- {
- return $this->vehicle_state;
- }
-
- /**
- * The vehicle state.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleState vehicle_state = 2;
- * @param int $var
- * @return $this
- */
- public function setVehicleState($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\VehicleState::class);
- $this->vehicle_state = $var;
-
- return $this;
- }
-
- /**
- * Trip types supported by this vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType supported_trip_types = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSupportedTripTypes()
- {
- return $this->supported_trip_types;
- }
-
- /**
- * Trip types supported by this vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripType supported_trip_types = 3;
- * @param arrayrepeated string current_trips = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getCurrentTrips()
- {
- return $this->current_trips;
- }
-
- /**
- * Output only. List of `trip_id`'s for trips currently assigned to this
- * vehicle.
- *
- * Generated from protobuf field repeated string current_trips = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array.maps.fleetengine.v1.VehicleLocation last_location = 5;
- * @return \Google\Maps\FleetEngine\V1\VehicleLocation|null
- */
- public function getLastLocation()
- {
- return $this->last_location;
- }
-
- public function hasLastLocation()
- {
- return isset($this->last_location);
- }
-
- public function clearLastLocation()
- {
- unset($this->last_location);
- }
-
- /**
- * Last reported location of the vehicle.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleLocation last_location = 5;
- * @param \Google\Maps\FleetEngine\V1\VehicleLocation $var
- * @return $this
- */
- public function setLastLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\VehicleLocation::class);
- $this->last_location = $var;
-
- return $this;
- }
-
- /**
- * The total numbers of riders this vehicle can carry. The driver is not
- * considered in this value. This value must be greater than or equal to one.
- *
- * Generated from protobuf field int32 maximum_capacity = 6;
- * @return int
- */
- public function getMaximumCapacity()
- {
- return $this->maximum_capacity;
- }
-
- /**
- * The total numbers of riders this vehicle can carry. The driver is not
- * considered in this value. This value must be greater than or equal to one.
- *
- * Generated from protobuf field int32 maximum_capacity = 6;
- * @param int $var
- * @return $this
- */
- public function setMaximumCapacity($var)
- {
- GPBUtil::checkInt32($var);
- $this->maximum_capacity = $var;
-
- return $this;
- }
-
- /**
- * List of vehicle attributes. A vehicle can have at most 100
- * attributes, and each attribute must have a unique key.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 8;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- /**
- * List of vehicle attributes. A vehicle can have at most 100
- * attributes, and each attribute must have a unique key.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 8;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttribute::class);
- $this->attributes = $arr;
-
- return $this;
- }
-
- /**
- * Required. The type of this vehicle. Can be used to filter vehicles in
- * `SearchVehicles` results. Also influences ETA and route calculations.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType vehicle_type = 9 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Vehicle\VehicleType|null
- */
- public function getVehicleType()
- {
- return $this->vehicle_type;
- }
-
- public function hasVehicleType()
- {
- return isset($this->vehicle_type);
- }
-
- public function clearVehicleType()
- {
- unset($this->vehicle_type);
- }
-
- /**
- * Required. The type of this vehicle. Can be used to filter vehicles in
- * `SearchVehicles` results. Also influences ETA and route calculations.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType vehicle_type = 9 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Vehicle\VehicleType $var
- * @return $this
- */
- public function setVehicleType($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Vehicle\VehicleType::class);
- $this->vehicle_type = $var;
-
- return $this;
- }
-
- /**
- * License plate information for the vehicle.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LicensePlate license_plate = 10;
- * @return \Google\Maps\FleetEngine\V1\LicensePlate|null
- */
- public function getLicensePlate()
- {
- return $this->license_plate;
- }
-
- public function hasLicensePlate()
- {
- return isset($this->license_plate);
- }
-
- public function clearLicensePlate()
- {
- unset($this->license_plate);
- }
-
- /**
- * License plate information for the vehicle.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LicensePlate license_plate = 10;
- * @param \Google\Maps\FleetEngine\V1\LicensePlate $var
- * @return $this
- */
- public function setLicensePlate($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\LicensePlate::class);
- $this->license_plate = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: Use `Vehicle.waypoints` instead.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation route = 12 [deprecated = true];
- * @return \Google\Protobuf\Internal\RepeatedField
- * @deprecated
- */
- public function getRoute()
- {
- @trigger_error('route is deprecated.', E_USER_DEPRECATED);
- return $this->route;
- }
-
- /**
- * Deprecated: Use `Vehicle.waypoints` instead.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TerminalLocation route = 12 [deprecated = true];
- * @param array<\Google\Maps\FleetEngine\V1\TerminalLocation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- * @deprecated
- */
- public function setRoute($var)
- {
- @trigger_error('route is deprecated.', E_USER_DEPRECATED);
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\TerminalLocation::class);
- $this->route = $arr;
-
- return $this;
- }
-
- /**
- * The polyline specifying the route the driver app intends to take to
- * the next waypoint. This list is also returned in
- * `Trip.current_route_segment` for all active trips assigned to the vehicle.
- * Note: This field is intended only for use by the Driver SDK. Decoding is
- * not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 20;
- * @return string
- */
- public function getCurrentRouteSegment()
- {
- return $this->current_route_segment;
- }
-
- /**
- * The polyline specifying the route the driver app intends to take to
- * the next waypoint. This list is also returned in
- * `Trip.current_route_segment` for all active trips assigned to the vehicle.
- * Note: This field is intended only for use by the Driver SDK. Decoding is
- * not yet supported.
- *
- * Generated from protobuf field string current_route_segment = 20;
- * @param string $var
- * @return $this
- */
- public function setCurrentRouteSegment($var)
- {
- GPBUtil::checkString($var, True);
- $this->current_route_segment = $var;
-
- return $this;
- }
-
- /**
- * Input only. Fleet Engine uses this information to improve journey sharing.
- * Note: This field is intended only for use by the Driver SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TrafficPolylineData current_route_segment_traffic = 28 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\TrafficPolylineData|null
- */
- public function getCurrentRouteSegmentTraffic()
- {
- return $this->current_route_segment_traffic;
- }
-
- public function hasCurrentRouteSegmentTraffic()
- {
- return isset($this->current_route_segment_traffic);
- }
-
- public function clearCurrentRouteSegmentTraffic()
- {
- unset($this->current_route_segment_traffic);
- }
-
- /**
- * Input only. Fleet Engine uses this information to improve journey sharing.
- * Note: This field is intended only for use by the Driver SDK.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TrafficPolylineData current_route_segment_traffic = 28 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\TrafficPolylineData $var
- * @return $this
- */
- public function setCurrentRouteSegmentTraffic($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TrafficPolylineData::class);
- $this->current_route_segment_traffic = $var;
-
- return $this;
- }
-
- /**
- * Output only. Time when `current_route_segment` was set. It can be stored by
- * the client and passed in future `GetVehicle` requests to prevent returning
- * routes that haven't changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCurrentRouteSegmentVersion()
- {
- return $this->current_route_segment_version;
- }
-
- public function hasCurrentRouteSegmentVersion()
- {
- return isset($this->current_route_segment_version);
- }
-
- public function clearCurrentRouteSegmentVersion()
- {
- unset($this->current_route_segment_version);
- }
-
- /**
- * Output only. Time when `current_route_segment` was set. It can be stored by
- * the client and passed in future `GetVehicle` requests to prevent returning
- * routes that haven't changed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp current_route_segment_version = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCurrentRouteSegmentVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->current_route_segment_version = $var;
-
- return $this;
- }
-
- /**
- * The waypoint where `current_route_segment` ends. This can be supplied by
- * drivers on `UpdateVehicle` calls either as a full trip waypoint, a waypoint
- * `LatLng`, or as the last `LatLng` of the `current_route_segment`. Fleet
- * Engine will then do its best to interpolate to an actual waypoint if it is
- * not fully specified. This field is ignored in `UpdateVehicle` calls unless
- * `current_route_segment` is also specified.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24;
- * @return \Google\Maps\FleetEngine\V1\TripWaypoint|null
- */
- public function getCurrentRouteSegmentEndPoint()
- {
- return $this->current_route_segment_end_point;
- }
-
- public function hasCurrentRouteSegmentEndPoint()
- {
- return isset($this->current_route_segment_end_point);
- }
-
- public function clearCurrentRouteSegmentEndPoint()
- {
- unset($this->current_route_segment_end_point);
- }
-
- /**
- * The waypoint where `current_route_segment` ends. This can be supplied by
- * drivers on `UpdateVehicle` calls either as a full trip waypoint, a waypoint
- * `LatLng`, or as the last `LatLng` of the `current_route_segment`. Fleet
- * Engine will then do its best to interpolate to an actual waypoint if it is
- * not fully specified. This field is ignored in `UpdateVehicle` calls unless
- * `current_route_segment` is also specified.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripWaypoint current_route_segment_end_point = 24;
- * @param \Google\Maps\FleetEngine\V1\TripWaypoint $var
- * @return $this
- */
- public function setCurrentRouteSegmentEndPoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\TripWaypoint::class);
- $this->current_route_segment_end_point = $var;
-
- return $this;
- }
-
- /**
- * The remaining driving distance for the `current_route_segment`.
- * This value is also returned in `Trip.remaining_distance_meters` for all
- * active trips assigned to the vehicle. The value is unspecified if the
- * `current_route_segment` field is empty.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 18;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getRemainingDistanceMeters()
- {
- return $this->remaining_distance_meters;
- }
-
- public function hasRemainingDistanceMeters()
- {
- return isset($this->remaining_distance_meters);
- }
-
- public function clearRemainingDistanceMeters()
- {
- unset($this->remaining_distance_meters);
- }
-
- /**
- * Returns the unboxed value from getRemainingDistanceMeters()
-
- * The remaining driving distance for the `current_route_segment`.
- * This value is also returned in `Trip.remaining_distance_meters` for all
- * active trips assigned to the vehicle. The value is unspecified if the
- * `current_route_segment` field is empty.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 18;
- * @return int|null
- */
- public function getRemainingDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("remaining_distance_meters");
- }
-
- /**
- * The remaining driving distance for the `current_route_segment`.
- * This value is also returned in `Trip.remaining_distance_meters` for all
- * active trips assigned to the vehicle. The value is unspecified if the
- * `current_route_segment` field is empty.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 18;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setRemainingDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->remaining_distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The remaining driving distance for the `current_route_segment`.
- * This value is also returned in `Trip.remaining_distance_meters` for all
- * active trips assigned to the vehicle. The value is unspecified if the
- * `current_route_segment` field is empty.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_distance_meters = 18;
- * @param int|null $var
- * @return $this
- */
- public function setRemainingDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("remaining_distance_meters", $var);
- return $this;}
-
- /**
- * The ETA to the first entry in the `waypoints` field. The value is
- * unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 19;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEtaToFirstWaypoint()
- {
- return $this->eta_to_first_waypoint;
- }
-
- public function hasEtaToFirstWaypoint()
- {
- return isset($this->eta_to_first_waypoint);
- }
-
- public function clearEtaToFirstWaypoint()
- {
- unset($this->eta_to_first_waypoint);
- }
-
- /**
- * The ETA to the first entry in the `waypoints` field. The value is
- * unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta_to_first_waypoint = 19;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEtaToFirstWaypoint($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->eta_to_first_waypoint = $var;
-
- return $this;
- }
-
- /**
- * Input only. The remaining driving time for the `current_route_segment`. The
- * value is unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty. This value should match
- * `eta_to_first_waypoint` - `current_time` if all parties are using the same
- * clock.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_time_seconds = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getRemainingTimeSeconds()
- {
- return $this->remaining_time_seconds;
- }
-
- public function hasRemainingTimeSeconds()
- {
- return isset($this->remaining_time_seconds);
- }
-
- public function clearRemainingTimeSeconds()
- {
- unset($this->remaining_time_seconds);
- }
-
- /**
- * Returns the unboxed value from getRemainingTimeSeconds()
-
- * Input only. The remaining driving time for the `current_route_segment`. The
- * value is unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty. This value should match
- * `eta_to_first_waypoint` - `current_time` if all parties are using the same
- * clock.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_time_seconds = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return int|null
- */
- public function getRemainingTimeSecondsUnwrapped()
- {
- return $this->readWrapperValue("remaining_time_seconds");
- }
-
- /**
- * Input only. The remaining driving time for the `current_route_segment`. The
- * value is unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty. This value should match
- * `eta_to_first_waypoint` - `current_time` if all parties are using the same
- * clock.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_time_seconds = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setRemainingTimeSeconds($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->remaining_time_seconds = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Input only. The remaining driving time for the `current_route_segment`. The
- * value is unspecified if the `waypoints` field is empty or the
- * `Vehicle.current_route_segment` field is empty. This value should match
- * `eta_to_first_waypoint` - `current_time` if all parties are using the same
- * clock.
- * When updating a vehicle, `remaining_time_seconds` takes precedence over
- * `eta_to_first_waypoint` in the same request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value remaining_time_seconds = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param int|null $var
- * @return $this
- */
- public function setRemainingTimeSecondsUnwrapped($var)
- {
- $this->writeWrapperValue("remaining_time_seconds", $var);
- return $this;}
-
- /**
- * The remaining waypoints assigned to this Vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint waypoints = 22;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getWaypoints()
- {
- return $this->waypoints;
- }
-
- /**
- * The remaining waypoints assigned to this Vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.TripWaypoint waypoints = 22;
- * @param array<\Google\Maps\FleetEngine\V1\TripWaypoint>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setWaypoints($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\TripWaypoint::class);
- $this->waypoints = $arr;
-
- return $this;
- }
-
- /**
- * Output only. Last time the `waypoints` field was updated. Clients should
- * cache this value and pass it in `GetVehicleRequest` to ensure the
- * `waypoints` field is only returned if it is updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getWaypointsVersion()
- {
- return $this->waypoints_version;
- }
-
- public function hasWaypointsVersion()
- {
- return isset($this->waypoints_version);
- }
-
- public function clearWaypointsVersion()
- {
- unset($this->waypoints_version);
- }
-
- /**
- * Output only. Last time the `waypoints` field was updated. Clients should
- * cache this value and pass it in `GetVehicleRequest` to ensure the
- * `waypoints` field is only returned if it is updated.
- *
- * Generated from protobuf field .google.protobuf.Timestamp waypoints_version = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setWaypointsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->waypoints_version = $var;
-
- return $this;
- }
-
- /**
- * Indicates if the driver accepts back-to-back trips. If `true`,
- * `SearchVehicles` may include the vehicle even if it is currently assigned
- * to a trip. The default value is `false`.
- *
- * Generated from protobuf field bool back_to_back_enabled = 23;
- * @return bool
- */
- public function getBackToBackEnabled()
- {
- return $this->back_to_back_enabled;
- }
-
- /**
- * Indicates if the driver accepts back-to-back trips. If `true`,
- * `SearchVehicles` may include the vehicle even if it is currently assigned
- * to a trip. The default value is `false`.
- *
- * Generated from protobuf field bool back_to_back_enabled = 23;
- * @param bool $var
- * @return $this
- */
- public function setBackToBackEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->back_to_back_enabled = $var;
-
- return $this;
- }
-
- /**
- * The vehicle's navigation status.
- *
- * Generated from protobuf field .maps.fleetengine.v1.NavigationStatus navigation_status = 26;
- * @return int
- */
- public function getNavigationStatus()
- {
- return $this->navigation_status;
- }
-
- /**
- * The vehicle's navigation status.
- *
- * Generated from protobuf field .maps.fleetengine.v1.NavigationStatus navigation_status = 26;
- * @param int $var
- * @return $this
- */
- public function setNavigationStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\NavigationStatus::class);
- $this->navigation_status = $var;
-
- return $this;
- }
-
- /**
- * Input only. Information about settings in the mobile device being used by
- * the driver.
- *
- * Generated from protobuf field .maps.fleetengine.v1.DeviceSettings device_settings = 27 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Maps\FleetEngine\V1\DeviceSettings|null
- */
- public function getDeviceSettings()
- {
- return $this->device_settings;
- }
-
- public function hasDeviceSettings()
- {
- return isset($this->device_settings);
- }
-
- public function clearDeviceSettings()
- {
- unset($this->device_settings);
- }
-
- /**
- * Input only. Information about settings in the mobile device being used by
- * the driver.
- *
- * Generated from protobuf field .maps.fleetengine.v1.DeviceSettings device_settings = 27 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Maps\FleetEngine\V1\DeviceSettings $var
- * @return $this
- */
- public function setDeviceSettings($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\DeviceSettings::class);
- $this->device_settings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType.php
deleted file mode 100644
index 2b1dfb175e0d..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType.php
+++ /dev/null
@@ -1,70 +0,0 @@
-maps.fleetengine.v1.Vehicle.VehicleType
- */
-class VehicleType extends \Google\Protobuf\Internal\Message
-{
- /**
- * Vehicle type category
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType.Category category = 1;
- */
- protected $category = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $category
- * Vehicle type category
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Vehicle type category
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType.Category category = 1;
- * @return int
- */
- public function getCategory()
- {
- return $this->category;
- }
-
- /**
- * Vehicle type category
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle.VehicleType.Category category = 1;
- * @param int $var
- * @return $this
- */
- public function setCategory($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\Vehicle\VehicleType\Category::class);
- $this->category = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(VehicleType::class, \Google\Maps\FleetEngine\V1\Vehicle_VehicleType::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType/Category.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType/Category.php
deleted file mode 100644
index 8133764e8bc8..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Vehicle/VehicleType/Category.php
+++ /dev/null
@@ -1,93 +0,0 @@
-maps.fleetengine.v1.Vehicle.VehicleType.Category
- */
-class Category
-{
- /**
- * Default, used for unspecified or unrecognized vehicle categories.
- *
- * Generated from protobuf enum UNKNOWN = 0;
- */
- const UNKNOWN = 0;
- /**
- * An automobile.
- *
- * Generated from protobuf enum AUTO = 1;
- */
- const AUTO = 1;
- /**
- * Any vehicle that acts as a taxi (typically licensed or regulated).
- *
- * Generated from protobuf enum TAXI = 2;
- */
- const TAXI = 2;
- /**
- * Generally, a vehicle with a large storage capacity.
- *
- * Generated from protobuf enum TRUCK = 3;
- */
- const TRUCK = 3;
- /**
- * A motorcycle, moped, or other two-wheeled vehicle
- *
- * Generated from protobuf enum TWO_WHEELER = 4;
- */
- const TWO_WHEELER = 4;
- /**
- * Human-powered transport.
- *
- * Generated from protobuf enum BICYCLE = 5;
- */
- const BICYCLE = 5;
- /**
- * A human transporter, typically walking or running, traveling along
- * pedestrian pathways.
- *
- * Generated from protobuf enum PEDESTRIAN = 6;
- */
- const PEDESTRIAN = 6;
-
- private static $valueToName = [
- self::UNKNOWN => 'UNKNOWN',
- self::AUTO => 'AUTO',
- self::TAXI => 'TAXI',
- self::TRUCK => 'TRUCK',
- self::TWO_WHEELER => 'TWO_WHEELER',
- self::BICYCLE => 'BICYCLE',
- self::PEDESTRIAN => 'PEDESTRIAN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Category::class, \Google\Maps\FleetEngine\V1\Vehicle_VehicleType_Category::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttribute.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttribute.php
deleted file mode 100644
index 33dc410a64bc..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttribute.php
+++ /dev/null
@@ -1,225 +0,0 @@
-maps.fleetengine.v1.VehicleAttribute
- */
-class VehicleAttribute extends \Google\Protobuf\Internal\Message
-{
- /**
- * The attribute's key. Keys may not contain the colon character (:).
- *
- * Generated from protobuf field string key = 1;
- */
- protected $key = '';
- /**
- * The attribute's value.
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
- protected $vehicle_attribute_value;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $key
- * The attribute's key. Keys may not contain the colon character (:).
- * @type string $value
- * The attribute's value.
- * @type string $string_value
- * String typed attribute value.
- * Note: This is identical to the `value` field which will eventually be
- * deprecated. For create or update methods, either field can be used, but
- * it's strongly recommended to use `string_value`. If both `string_value`
- * and `value` are set, they must be identical or an error will be thrown.
- * Both fields are populated in responses.
- * @type bool $bool_value
- * Boolean typed attribute value.
- * @type float $number_value
- * Double typed attribute value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Fleetengine::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The attribute's key. Keys may not contain the colon character (:).
- *
- * Generated from protobuf field string key = 1;
- * @return string
- */
- public function getKey()
- {
- return $this->key;
- }
-
- /**
- * The attribute's key. Keys may not contain the colon character (:).
- *
- * Generated from protobuf field string key = 1;
- * @param string $var
- * @return $this
- */
- public function setKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->key = $var;
-
- return $this;
- }
-
- /**
- * The attribute's value.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The attribute's value.
- *
- * Generated from protobuf field string value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
- /**
- * String typed attribute value.
- * Note: This is identical to the `value` field which will eventually be
- * deprecated. For create or update methods, either field can be used, but
- * it's strongly recommended to use `string_value`. If both `string_value`
- * and `value` are set, they must be identical or an error will be thrown.
- * Both fields are populated in responses.
- *
- * Generated from protobuf field string string_value = 3;
- * @return string
- */
- public function getStringValue()
- {
- return $this->readOneof(3);
- }
-
- public function hasStringValue()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * String typed attribute value.
- * Note: This is identical to the `value` field which will eventually be
- * deprecated. For create or update methods, either field can be used, but
- * it's strongly recommended to use `string_value`. If both `string_value`
- * and `value` are set, they must be identical or an error will be thrown.
- * Both fields are populated in responses.
- *
- * Generated from protobuf field string string_value = 3;
- * @param string $var
- * @return $this
- */
- public function setStringValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Boolean typed attribute value.
- *
- * Generated from protobuf field bool bool_value = 4;
- * @return bool
- */
- public function getBoolValue()
- {
- return $this->readOneof(4);
- }
-
- public function hasBoolValue()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Boolean typed attribute value.
- *
- * Generated from protobuf field bool bool_value = 4;
- * @param bool $var
- * @return $this
- */
- public function setBoolValue($var)
- {
- GPBUtil::checkBool($var);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Double typed attribute value.
- *
- * Generated from protobuf field double number_value = 5;
- * @return float
- */
- public function getNumberValue()
- {
- return $this->readOneof(5);
- }
-
- public function hasNumberValue()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * Double typed attribute value.
- *
- * Generated from protobuf field double number_value = 5;
- * @param float $var
- * @return $this
- */
- public function setNumberValue($var)
- {
- GPBUtil::checkDouble($var);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getVehicleAttributeValue()
- {
- return $this->whichOneof("vehicle_attribute_value");
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttributeList.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttributeList.php
deleted file mode 100644
index 99d5f9de749e..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleAttributeList.php
+++ /dev/null
@@ -1,67 +0,0 @@
-maps.fleetengine.v1.VehicleAttributeList
- */
-class VehicleAttributeList extends \Google\Protobuf\Internal\Message
-{
- /**
- * A list of attributes in this collection.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1;
- */
- private $attributes;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes
- * A list of attributes in this collection.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A list of attributes in this collection.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- /**
- * A list of attributes in this collection.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VehicleAttribute attributes = 1;
- * @param array<\Google\Maps\FleetEngine\V1\VehicleAttribute>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAttributes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VehicleAttribute::class);
- $this->attributes = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleLocation.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleLocation.php
deleted file mode 100644
index a4efa0721e4a..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleLocation.php
+++ /dev/null
@@ -1,1789 +0,0 @@
-maps.fleetengine.v1.VehicleLocation
- */
-class VehicleLocation extends \Google\Protobuf\Internal\Message
-{
- /**
- * The location of the vehicle.
- * When it is sent to Fleet Engine, the vehicle's location is a GPS location.
- * When you receive it in a response, the vehicle's location can be either a
- * GPS location, a supplemental location, or some other estimated location.
- * The source is specified in `location_sensor`.
- *
- * Generated from protobuf field .google.type.LatLng location = 1;
- */
- protected $location = null;
- /**
- * Deprecated: Use `latlng_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue horizontal_accuracy = 8 [deprecated = true];
- * @deprecated
- */
- protected $horizontal_accuracy = null;
- /**
- * Accuracy of `location` in meters as a radius.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue latlng_accuracy = 22;
- */
- protected $latlng_accuracy = null;
- /**
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- *
- * Generated from protobuf field .google.protobuf.Int32Value heading = 2;
- */
- protected $heading = null;
- /**
- * Deprecated: Use `heading_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue bearing_accuracy = 10 [deprecated = true];
- * @deprecated
- */
- protected $bearing_accuracy = null;
- /**
- * Accuracy of `heading` in degrees.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue heading_accuracy = 23;
- */
- protected $heading_accuracy = null;
- /**
- * Altitude in meters above WGS84.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude = 5;
- */
- protected $altitude = null;
- /**
- * Deprecated: Use `altitude_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue vertical_accuracy = 9 [deprecated = true];
- * @deprecated
- */
- protected $vertical_accuracy = null;
- /**
- * Accuracy of `altitude` in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude_accuracy = 24;
- */
- protected $altitude_accuracy = null;
- /**
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- *
- * Generated from protobuf field .google.protobuf.Int32Value speed_kmph = 3 [deprecated = true];
- * @deprecated
- */
- protected $speed_kmph = null;
- /**
- * Speed of the vehicle in meters/second
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed = 6;
- */
- protected $speed = null;
- /**
- * Accuracy of `speed` in meters/second.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed_accuracy = 7;
- */
- protected $speed_accuracy = null;
- /**
- * The time when `location` was reported by the sensor according to the
- * sensor's clock.
- *
- * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
- */
- protected $update_time = null;
- /**
- * Output only. The time when the server received the location information.
- *
- * Generated from protobuf field .google.protobuf.Timestamp server_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $server_time = null;
- /**
- * Provider of location data (for example, `GPS`).
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor location_sensor = 11;
- */
- protected $location_sensor = 0;
- /**
- * Whether `location` is snapped to a road.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_road_snapped = 27;
- */
- protected $is_road_snapped = null;
- /**
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_gps_sensor_enabled = 12 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $is_gps_sensor_enabled = null;
- /**
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- *
- * Generated from protobuf field .google.protobuf.Int32Value time_since_update = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- */
- protected $time_since_update = null;
- /**
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- *
- * Generated from protobuf field .google.protobuf.Int32Value num_stale_updates = 15 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @deprecated
- */
- protected $num_stale_updates = null;
- /**
- * Raw vehicle location (unprocessed by road-snapper).
- *
- * Generated from protobuf field .google.type.LatLng raw_location = 16;
- */
- protected $raw_location = null;
- /**
- * Timestamp associated with the raw location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp raw_location_time = 17;
- */
- protected $raw_location_time = null;
- /**
- * Source of the raw location. Defaults to `GPS`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor raw_location_sensor = 28;
- */
- protected $raw_location_sensor = 0;
- /**
- * Accuracy of `raw_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue raw_location_accuracy = 25;
- */
- protected $raw_location_accuracy = null;
- /**
- * Supplemental location provided by the integrating app.
- *
- * Generated from protobuf field .google.type.LatLng supplemental_location = 18;
- */
- protected $supplemental_location = null;
- /**
- * Timestamp associated with the supplemental location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp supplemental_location_time = 19;
- */
- protected $supplemental_location_time = null;
- /**
- * Source of the supplemental location. Defaults to
- * `CUSTOMER_SUPPLIED_LOCATION`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor supplemental_location_sensor = 20;
- */
- protected $supplemental_location_sensor = 0;
- /**
- * Accuracy of `supplemental_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue supplemental_location_accuracy = 21;
- */
- protected $supplemental_location_accuracy = null;
- /**
- * Deprecated: Use `is_road_snapped` instead.
- *
- * Generated from protobuf field bool road_snapped = 26 [deprecated = true];
- * @deprecated
- */
- protected $road_snapped = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Type\LatLng $location
- * The location of the vehicle.
- * When it is sent to Fleet Engine, the vehicle's location is a GPS location.
- * When you receive it in a response, the vehicle's location can be either a
- * GPS location, a supplemental location, or some other estimated location.
- * The source is specified in `location_sensor`.
- * @type \Google\Protobuf\DoubleValue $horizontal_accuracy
- * Deprecated: Use `latlng_accuracy` instead.
- * @type \Google\Protobuf\DoubleValue $latlng_accuracy
- * Accuracy of `location` in meters as a radius.
- * @type \Google\Protobuf\Int32Value $heading
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- * @type \Google\Protobuf\DoubleValue $bearing_accuracy
- * Deprecated: Use `heading_accuracy` instead.
- * @type \Google\Protobuf\DoubleValue $heading_accuracy
- * Accuracy of `heading` in degrees.
- * @type \Google\Protobuf\DoubleValue $altitude
- * Altitude in meters above WGS84.
- * @type \Google\Protobuf\DoubleValue $vertical_accuracy
- * Deprecated: Use `altitude_accuracy` instead.
- * @type \Google\Protobuf\DoubleValue $altitude_accuracy
- * Accuracy of `altitude` in meters.
- * @type \Google\Protobuf\Int32Value $speed_kmph
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- * @type \Google\Protobuf\DoubleValue $speed
- * Speed of the vehicle in meters/second
- * @type \Google\Protobuf\DoubleValue $speed_accuracy
- * Accuracy of `speed` in meters/second.
- * @type \Google\Protobuf\Timestamp $update_time
- * The time when `location` was reported by the sensor according to the
- * sensor's clock.
- * @type \Google\Protobuf\Timestamp $server_time
- * Output only. The time when the server received the location information.
- * @type int $location_sensor
- * Provider of location data (for example, `GPS`).
- * @type \Google\Protobuf\BoolValue $is_road_snapped
- * Whether `location` is snapped to a road.
- * @type \Google\Protobuf\BoolValue $is_gps_sensor_enabled
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- * @type \Google\Protobuf\Int32Value $time_since_update
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- * @type \Google\Protobuf\Int32Value $num_stale_updates
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- * @type \Google\Type\LatLng $raw_location
- * Raw vehicle location (unprocessed by road-snapper).
- * @type \Google\Protobuf\Timestamp $raw_location_time
- * Timestamp associated with the raw location.
- * @type int $raw_location_sensor
- * Source of the raw location. Defaults to `GPS`.
- * @type \Google\Protobuf\DoubleValue $raw_location_accuracy
- * Accuracy of `raw_location` as a radius, in meters.
- * @type \Google\Type\LatLng $supplemental_location
- * Supplemental location provided by the integrating app.
- * @type \Google\Protobuf\Timestamp $supplemental_location_time
- * Timestamp associated with the supplemental location.
- * @type int $supplemental_location_sensor
- * Source of the supplemental location. Defaults to
- * `CUSTOMER_SUPPLIED_LOCATION`.
- * @type \Google\Protobuf\DoubleValue $supplemental_location_accuracy
- * Accuracy of `supplemental_location` as a radius, in meters.
- * @type bool $road_snapped
- * Deprecated: Use `is_road_snapped` instead.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Fleetengine::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The location of the vehicle.
- * When it is sent to Fleet Engine, the vehicle's location is a GPS location.
- * When you receive it in a response, the vehicle's location can be either a
- * GPS location, a supplemental location, or some other estimated location.
- * The source is specified in `location_sensor`.
- *
- * Generated from protobuf field .google.type.LatLng location = 1;
- * @return \Google\Type\LatLng|null
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- public function hasLocation()
- {
- return isset($this->location);
- }
-
- public function clearLocation()
- {
- unset($this->location);
- }
-
- /**
- * The location of the vehicle.
- * When it is sent to Fleet Engine, the vehicle's location is a GPS location.
- * When you receive it in a response, the vehicle's location can be either a
- * GPS location, a supplemental location, or some other estimated location.
- * The source is specified in `location_sensor`.
- *
- * Generated from protobuf field .google.type.LatLng location = 1;
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: Use `latlng_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue horizontal_accuracy = 8 [deprecated = true];
- * @return \Google\Protobuf\DoubleValue|null
- * @deprecated
- */
- public function getHorizontalAccuracy()
- {
- @trigger_error('horizontal_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->horizontal_accuracy;
- }
-
- public function hasHorizontalAccuracy()
- {
- @trigger_error('horizontal_accuracy is deprecated.', E_USER_DEPRECATED);
- return isset($this->horizontal_accuracy);
- }
-
- public function clearHorizontalAccuracy()
- {
- @trigger_error('horizontal_accuracy is deprecated.', E_USER_DEPRECATED);
- unset($this->horizontal_accuracy);
- }
-
- /**
- * Returns the unboxed value from getHorizontalAccuracy()
-
- * Deprecated: Use `latlng_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue horizontal_accuracy = 8 [deprecated = true];
- * @return float|null
- */
- public function getHorizontalAccuracyUnwrapped()
- {
- @trigger_error('horizontal_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("horizontal_accuracy");
- }
-
- /**
- * Deprecated: Use `latlng_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue horizontal_accuracy = 8 [deprecated = true];
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- * @deprecated
- */
- public function setHorizontalAccuracy($var)
- {
- @trigger_error('horizontal_accuracy is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->horizontal_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Deprecated: Use `latlng_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue horizontal_accuracy = 8 [deprecated = true];
- * @param float|null $var
- * @return $this
- */
- public function setHorizontalAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("horizontal_accuracy", $var);
- return $this;}
-
- /**
- * Accuracy of `location` in meters as a radius.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue latlng_accuracy = 22;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getLatlngAccuracy()
- {
- return $this->latlng_accuracy;
- }
-
- public function hasLatlngAccuracy()
- {
- return isset($this->latlng_accuracy);
- }
-
- public function clearLatlngAccuracy()
- {
- unset($this->latlng_accuracy);
- }
-
- /**
- * Returns the unboxed value from getLatlngAccuracy()
-
- * Accuracy of `location` in meters as a radius.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue latlng_accuracy = 22;
- * @return float|null
- */
- public function getLatlngAccuracyUnwrapped()
- {
- return $this->readWrapperValue("latlng_accuracy");
- }
-
- /**
- * Accuracy of `location` in meters as a radius.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue latlng_accuracy = 22;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setLatlngAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->latlng_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `location` in meters as a radius.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue latlng_accuracy = 22;
- * @param float|null $var
- * @return $this
- */
- public function setLatlngAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("latlng_accuracy", $var);
- return $this;}
-
- /**
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- *
- * Generated from protobuf field .google.protobuf.Int32Value heading = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getHeading()
- {
- return $this->heading;
- }
-
- public function hasHeading()
- {
- return isset($this->heading);
- }
-
- public function clearHeading()
- {
- unset($this->heading);
- }
-
- /**
- * Returns the unboxed value from getHeading()
-
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- *
- * Generated from protobuf field .google.protobuf.Int32Value heading = 2;
- * @return int|null
- */
- public function getHeadingUnwrapped()
- {
- return $this->readWrapperValue("heading");
- }
-
- /**
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- *
- * Generated from protobuf field .google.protobuf.Int32Value heading = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setHeading($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->heading = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Direction the vehicle is moving in degrees. 0 represents North.
- * The valid range is [0,360).
- *
- * Generated from protobuf field .google.protobuf.Int32Value heading = 2;
- * @param int|null $var
- * @return $this
- */
- public function setHeadingUnwrapped($var)
- {
- $this->writeWrapperValue("heading", $var);
- return $this;}
-
- /**
- * Deprecated: Use `heading_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue bearing_accuracy = 10 [deprecated = true];
- * @return \Google\Protobuf\DoubleValue|null
- * @deprecated
- */
- public function getBearingAccuracy()
- {
- @trigger_error('bearing_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->bearing_accuracy;
- }
-
- public function hasBearingAccuracy()
- {
- @trigger_error('bearing_accuracy is deprecated.', E_USER_DEPRECATED);
- return isset($this->bearing_accuracy);
- }
-
- public function clearBearingAccuracy()
- {
- @trigger_error('bearing_accuracy is deprecated.', E_USER_DEPRECATED);
- unset($this->bearing_accuracy);
- }
-
- /**
- * Returns the unboxed value from getBearingAccuracy()
-
- * Deprecated: Use `heading_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue bearing_accuracy = 10 [deprecated = true];
- * @return float|null
- */
- public function getBearingAccuracyUnwrapped()
- {
- @trigger_error('bearing_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("bearing_accuracy");
- }
-
- /**
- * Deprecated: Use `heading_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue bearing_accuracy = 10 [deprecated = true];
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- * @deprecated
- */
- public function setBearingAccuracy($var)
- {
- @trigger_error('bearing_accuracy is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->bearing_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Deprecated: Use `heading_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue bearing_accuracy = 10 [deprecated = true];
- * @param float|null $var
- * @return $this
- */
- public function setBearingAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("bearing_accuracy", $var);
- return $this;}
-
- /**
- * Accuracy of `heading` in degrees.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue heading_accuracy = 23;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getHeadingAccuracy()
- {
- return $this->heading_accuracy;
- }
-
- public function hasHeadingAccuracy()
- {
- return isset($this->heading_accuracy);
- }
-
- public function clearHeadingAccuracy()
- {
- unset($this->heading_accuracy);
- }
-
- /**
- * Returns the unboxed value from getHeadingAccuracy()
-
- * Accuracy of `heading` in degrees.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue heading_accuracy = 23;
- * @return float|null
- */
- public function getHeadingAccuracyUnwrapped()
- {
- return $this->readWrapperValue("heading_accuracy");
- }
-
- /**
- * Accuracy of `heading` in degrees.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue heading_accuracy = 23;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setHeadingAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->heading_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `heading` in degrees.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue heading_accuracy = 23;
- * @param float|null $var
- * @return $this
- */
- public function setHeadingAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("heading_accuracy", $var);
- return $this;}
-
- /**
- * Altitude in meters above WGS84.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude = 5;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getAltitude()
- {
- return $this->altitude;
- }
-
- public function hasAltitude()
- {
- return isset($this->altitude);
- }
-
- public function clearAltitude()
- {
- unset($this->altitude);
- }
-
- /**
- * Returns the unboxed value from getAltitude()
-
- * Altitude in meters above WGS84.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude = 5;
- * @return float|null
- */
- public function getAltitudeUnwrapped()
- {
- return $this->readWrapperValue("altitude");
- }
-
- /**
- * Altitude in meters above WGS84.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude = 5;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setAltitude($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->altitude = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Altitude in meters above WGS84.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude = 5;
- * @param float|null $var
- * @return $this
- */
- public function setAltitudeUnwrapped($var)
- {
- $this->writeWrapperValue("altitude", $var);
- return $this;}
-
- /**
- * Deprecated: Use `altitude_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue vertical_accuracy = 9 [deprecated = true];
- * @return \Google\Protobuf\DoubleValue|null
- * @deprecated
- */
- public function getVerticalAccuracy()
- {
- @trigger_error('vertical_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->vertical_accuracy;
- }
-
- public function hasVerticalAccuracy()
- {
- @trigger_error('vertical_accuracy is deprecated.', E_USER_DEPRECATED);
- return isset($this->vertical_accuracy);
- }
-
- public function clearVerticalAccuracy()
- {
- @trigger_error('vertical_accuracy is deprecated.', E_USER_DEPRECATED);
- unset($this->vertical_accuracy);
- }
-
- /**
- * Returns the unboxed value from getVerticalAccuracy()
-
- * Deprecated: Use `altitude_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue vertical_accuracy = 9 [deprecated = true];
- * @return float|null
- */
- public function getVerticalAccuracyUnwrapped()
- {
- @trigger_error('vertical_accuracy is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("vertical_accuracy");
- }
-
- /**
- * Deprecated: Use `altitude_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue vertical_accuracy = 9 [deprecated = true];
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- * @deprecated
- */
- public function setVerticalAccuracy($var)
- {
- @trigger_error('vertical_accuracy is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->vertical_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Deprecated: Use `altitude_accuracy` instead.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue vertical_accuracy = 9 [deprecated = true];
- * @param float|null $var
- * @return $this
- */
- public function setVerticalAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("vertical_accuracy", $var);
- return $this;}
-
- /**
- * Accuracy of `altitude` in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude_accuracy = 24;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getAltitudeAccuracy()
- {
- return $this->altitude_accuracy;
- }
-
- public function hasAltitudeAccuracy()
- {
- return isset($this->altitude_accuracy);
- }
-
- public function clearAltitudeAccuracy()
- {
- unset($this->altitude_accuracy);
- }
-
- /**
- * Returns the unboxed value from getAltitudeAccuracy()
-
- * Accuracy of `altitude` in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude_accuracy = 24;
- * @return float|null
- */
- public function getAltitudeAccuracyUnwrapped()
- {
- return $this->readWrapperValue("altitude_accuracy");
- }
-
- /**
- * Accuracy of `altitude` in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude_accuracy = 24;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setAltitudeAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->altitude_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `altitude` in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue altitude_accuracy = 24;
- * @param float|null $var
- * @return $this
- */
- public function setAltitudeAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("altitude_accuracy", $var);
- return $this;}
-
- /**
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- *
- * Generated from protobuf field .google.protobuf.Int32Value speed_kmph = 3 [deprecated = true];
- * @return \Google\Protobuf\Int32Value|null
- * @deprecated
- */
- public function getSpeedKmph()
- {
- @trigger_error('speed_kmph is deprecated.', E_USER_DEPRECATED);
- return $this->speed_kmph;
- }
-
- public function hasSpeedKmph()
- {
- @trigger_error('speed_kmph is deprecated.', E_USER_DEPRECATED);
- return isset($this->speed_kmph);
- }
-
- public function clearSpeedKmph()
- {
- @trigger_error('speed_kmph is deprecated.', E_USER_DEPRECATED);
- unset($this->speed_kmph);
- }
-
- /**
- * Returns the unboxed value from getSpeedKmph()
-
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- *
- * Generated from protobuf field .google.protobuf.Int32Value speed_kmph = 3 [deprecated = true];
- * @return int|null
- */
- public function getSpeedKmphUnwrapped()
- {
- @trigger_error('speed_kmph is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("speed_kmph");
- }
-
- /**
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- *
- * Generated from protobuf field .google.protobuf.Int32Value speed_kmph = 3 [deprecated = true];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- * @deprecated
- */
- public function setSpeedKmph($var)
- {
- @trigger_error('speed_kmph is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->speed_kmph = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Speed of the vehicle in kilometers per hour.
- * Deprecated: Use `speed` instead.
- *
- * Generated from protobuf field .google.protobuf.Int32Value speed_kmph = 3 [deprecated = true];
- * @param int|null $var
- * @return $this
- */
- public function setSpeedKmphUnwrapped($var)
- {
- $this->writeWrapperValue("speed_kmph", $var);
- return $this;}
-
- /**
- * Speed of the vehicle in meters/second
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed = 6;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getSpeed()
- {
- return $this->speed;
- }
-
- public function hasSpeed()
- {
- return isset($this->speed);
- }
-
- public function clearSpeed()
- {
- unset($this->speed);
- }
-
- /**
- * Returns the unboxed value from getSpeed()
-
- * Speed of the vehicle in meters/second
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed = 6;
- * @return float|null
- */
- public function getSpeedUnwrapped()
- {
- return $this->readWrapperValue("speed");
- }
-
- /**
- * Speed of the vehicle in meters/second
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed = 6;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setSpeed($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->speed = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Speed of the vehicle in meters/second
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed = 6;
- * @param float|null $var
- * @return $this
- */
- public function setSpeedUnwrapped($var)
- {
- $this->writeWrapperValue("speed", $var);
- return $this;}
-
- /**
- * Accuracy of `speed` in meters/second.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed_accuracy = 7;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getSpeedAccuracy()
- {
- return $this->speed_accuracy;
- }
-
- public function hasSpeedAccuracy()
- {
- return isset($this->speed_accuracy);
- }
-
- public function clearSpeedAccuracy()
- {
- unset($this->speed_accuracy);
- }
-
- /**
- * Returns the unboxed value from getSpeedAccuracy()
-
- * Accuracy of `speed` in meters/second.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed_accuracy = 7;
- * @return float|null
- */
- public function getSpeedAccuracyUnwrapped()
- {
- return $this->readWrapperValue("speed_accuracy");
- }
-
- /**
- * Accuracy of `speed` in meters/second.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed_accuracy = 7;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setSpeedAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->speed_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `speed` in meters/second.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue speed_accuracy = 7;
- * @param float|null $var
- * @return $this
- */
- public function setSpeedAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("speed_accuracy", $var);
- return $this;}
-
- /**
- * The time when `location` was reported by the sensor according to the
- * sensor's clock.
- *
- * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- public function hasUpdateTime()
- {
- return isset($this->update_time);
- }
-
- public function clearUpdateTime()
- {
- unset($this->update_time);
- }
-
- /**
- * The time when `location` was reported by the sensor according to the
- * sensor's clock.
- *
- * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setUpdateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->update_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. The time when the server received the location information.
- *
- * Generated from protobuf field .google.protobuf.Timestamp server_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getServerTime()
- {
- return $this->server_time;
- }
-
- public function hasServerTime()
- {
- return isset($this->server_time);
- }
-
- public function clearServerTime()
- {
- unset($this->server_time);
- }
-
- /**
- * Output only. The time when the server received the location information.
- *
- * Generated from protobuf field .google.protobuf.Timestamp server_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setServerTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->server_time = $var;
-
- return $this;
- }
-
- /**
- * Provider of location data (for example, `GPS`).
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor location_sensor = 11;
- * @return int
- */
- public function getLocationSensor()
- {
- return $this->location_sensor;
- }
-
- /**
- * Provider of location data (for example, `GPS`).
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor location_sensor = 11;
- * @param int $var
- * @return $this
- */
- public function setLocationSensor($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\LocationSensor::class);
- $this->location_sensor = $var;
-
- return $this;
- }
-
- /**
- * Whether `location` is snapped to a road.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_road_snapped = 27;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getIsRoadSnapped()
- {
- return $this->is_road_snapped;
- }
-
- public function hasIsRoadSnapped()
- {
- return isset($this->is_road_snapped);
- }
-
- public function clearIsRoadSnapped()
- {
- unset($this->is_road_snapped);
- }
-
- /**
- * Returns the unboxed value from getIsRoadSnapped()
-
- * Whether `location` is snapped to a road.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_road_snapped = 27;
- * @return bool|null
- */
- public function getIsRoadSnappedUnwrapped()
- {
- return $this->readWrapperValue("is_road_snapped");
- }
-
- /**
- * Whether `location` is snapped to a road.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_road_snapped = 27;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setIsRoadSnapped($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->is_road_snapped = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether `location` is snapped to a road.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_road_snapped = 27;
- * @param bool|null $var
- * @return $this
- */
- public function setIsRoadSnappedUnwrapped($var)
- {
- $this->writeWrapperValue("is_road_snapped", $var);
- return $this;}
-
- /**
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_gps_sensor_enabled = 12 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getIsGpsSensorEnabled()
- {
- return $this->is_gps_sensor_enabled;
- }
-
- public function hasIsGpsSensorEnabled()
- {
- return isset($this->is_gps_sensor_enabled);
- }
-
- public function clearIsGpsSensorEnabled()
- {
- unset($this->is_gps_sensor_enabled);
- }
-
- /**
- * Returns the unboxed value from getIsGpsSensorEnabled()
-
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_gps_sensor_enabled = 12 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return bool|null
- */
- public function getIsGpsSensorEnabledUnwrapped()
- {
- return $this->readWrapperValue("is_gps_sensor_enabled");
- }
-
- /**
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_gps_sensor_enabled = 12 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setIsGpsSensorEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->is_gps_sensor_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Input only. Indicates whether the GPS sensor is enabled on the mobile
- * device.
- *
- * Generated from protobuf field .google.protobuf.BoolValue is_gps_sensor_enabled = 12 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param bool|null $var
- * @return $this
- */
- public function setIsGpsSensorEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("is_gps_sensor_enabled", $var);
- return $this;}
-
- /**
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- *
- * Generated from protobuf field .google.protobuf.Int32Value time_since_update = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getTimeSinceUpdate()
- {
- return $this->time_since_update;
- }
-
- public function hasTimeSinceUpdate()
- {
- return isset($this->time_since_update);
- }
-
- public function clearTimeSinceUpdate()
- {
- unset($this->time_since_update);
- }
-
- /**
- * Returns the unboxed value from getTimeSinceUpdate()
-
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- *
- * Generated from protobuf field .google.protobuf.Int32Value time_since_update = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- * @return int|null
- */
- public function getTimeSinceUpdateUnwrapped()
- {
- return $this->readWrapperValue("time_since_update");
- }
-
- /**
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- *
- * Generated from protobuf field .google.protobuf.Int32Value time_since_update = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setTimeSinceUpdate($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->time_since_update = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Input only. Time (in seconds) since this location was first sent to the
- * server. This will be zero for the first update. If the time is unknown (for
- * example, when the app restarts), this value resets to zero.
- *
- * Generated from protobuf field .google.protobuf.Int32Value time_since_update = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- * @param int|null $var
- * @return $this
- */
- public function setTimeSinceUpdateUnwrapped($var)
- {
- $this->writeWrapperValue("time_since_update", $var);
- return $this;}
-
- /**
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- *
- * Generated from protobuf field .google.protobuf.Int32Value num_stale_updates = 15 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @return \Google\Protobuf\Int32Value|null
- * @deprecated
- */
- public function getNumStaleUpdates()
- {
- @trigger_error('num_stale_updates is deprecated.', E_USER_DEPRECATED);
- return $this->num_stale_updates;
- }
-
- public function hasNumStaleUpdates()
- {
- @trigger_error('num_stale_updates is deprecated.', E_USER_DEPRECATED);
- return isset($this->num_stale_updates);
- }
-
- public function clearNumStaleUpdates()
- {
- @trigger_error('num_stale_updates is deprecated.', E_USER_DEPRECATED);
- unset($this->num_stale_updates);
- }
-
- /**
- * Returns the unboxed value from getNumStaleUpdates()
-
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- *
- * Generated from protobuf field .google.protobuf.Int32Value num_stale_updates = 15 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @return int|null
- */
- public function getNumStaleUpdatesUnwrapped()
- {
- @trigger_error('num_stale_updates is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("num_stale_updates");
- }
-
- /**
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- *
- * Generated from protobuf field .google.protobuf.Int32Value num_stale_updates = 15 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- * @deprecated
- */
- public function setNumStaleUpdates($var)
- {
- @trigger_error('num_stale_updates is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->num_stale_updates = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Input only. Deprecated: Other signals are now used to determine if a
- * location is stale.
- *
- * Generated from protobuf field .google.protobuf.Int32Value num_stale_updates = 15 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
- * @param int|null $var
- * @return $this
- */
- public function setNumStaleUpdatesUnwrapped($var)
- {
- $this->writeWrapperValue("num_stale_updates", $var);
- return $this;}
-
- /**
- * Raw vehicle location (unprocessed by road-snapper).
- *
- * Generated from protobuf field .google.type.LatLng raw_location = 16;
- * @return \Google\Type\LatLng|null
- */
- public function getRawLocation()
- {
- return $this->raw_location;
- }
-
- public function hasRawLocation()
- {
- return isset($this->raw_location);
- }
-
- public function clearRawLocation()
- {
- unset($this->raw_location);
- }
-
- /**
- * Raw vehicle location (unprocessed by road-snapper).
- *
- * Generated from protobuf field .google.type.LatLng raw_location = 16;
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setRawLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->raw_location = $var;
-
- return $this;
- }
-
- /**
- * Timestamp associated with the raw location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp raw_location_time = 17;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRawLocationTime()
- {
- return $this->raw_location_time;
- }
-
- public function hasRawLocationTime()
- {
- return isset($this->raw_location_time);
- }
-
- public function clearRawLocationTime()
- {
- unset($this->raw_location_time);
- }
-
- /**
- * Timestamp associated with the raw location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp raw_location_time = 17;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRawLocationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->raw_location_time = $var;
-
- return $this;
- }
-
- /**
- * Source of the raw location. Defaults to `GPS`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor raw_location_sensor = 28;
- * @return int
- */
- public function getRawLocationSensor()
- {
- return $this->raw_location_sensor;
- }
-
- /**
- * Source of the raw location. Defaults to `GPS`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor raw_location_sensor = 28;
- * @param int $var
- * @return $this
- */
- public function setRawLocationSensor($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\LocationSensor::class);
- $this->raw_location_sensor = $var;
-
- return $this;
- }
-
- /**
- * Accuracy of `raw_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue raw_location_accuracy = 25;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getRawLocationAccuracy()
- {
- return $this->raw_location_accuracy;
- }
-
- public function hasRawLocationAccuracy()
- {
- return isset($this->raw_location_accuracy);
- }
-
- public function clearRawLocationAccuracy()
- {
- unset($this->raw_location_accuracy);
- }
-
- /**
- * Returns the unboxed value from getRawLocationAccuracy()
-
- * Accuracy of `raw_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue raw_location_accuracy = 25;
- * @return float|null
- */
- public function getRawLocationAccuracyUnwrapped()
- {
- return $this->readWrapperValue("raw_location_accuracy");
- }
-
- /**
- * Accuracy of `raw_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue raw_location_accuracy = 25;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setRawLocationAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->raw_location_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `raw_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue raw_location_accuracy = 25;
- * @param float|null $var
- * @return $this
- */
- public function setRawLocationAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("raw_location_accuracy", $var);
- return $this;}
-
- /**
- * Supplemental location provided by the integrating app.
- *
- * Generated from protobuf field .google.type.LatLng supplemental_location = 18;
- * @return \Google\Type\LatLng|null
- */
- public function getSupplementalLocation()
- {
- return $this->supplemental_location;
- }
-
- public function hasSupplementalLocation()
- {
- return isset($this->supplemental_location);
- }
-
- public function clearSupplementalLocation()
- {
- unset($this->supplemental_location);
- }
-
- /**
- * Supplemental location provided by the integrating app.
- *
- * Generated from protobuf field .google.type.LatLng supplemental_location = 18;
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setSupplementalLocation($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->supplemental_location = $var;
-
- return $this;
- }
-
- /**
- * Timestamp associated with the supplemental location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp supplemental_location_time = 19;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getSupplementalLocationTime()
- {
- return $this->supplemental_location_time;
- }
-
- public function hasSupplementalLocationTime()
- {
- return isset($this->supplemental_location_time);
- }
-
- public function clearSupplementalLocationTime()
- {
- unset($this->supplemental_location_time);
- }
-
- /**
- * Timestamp associated with the supplemental location.
- *
- * Generated from protobuf field .google.protobuf.Timestamp supplemental_location_time = 19;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setSupplementalLocationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->supplemental_location_time = $var;
-
- return $this;
- }
-
- /**
- * Source of the supplemental location. Defaults to
- * `CUSTOMER_SUPPLIED_LOCATION`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor supplemental_location_sensor = 20;
- * @return int
- */
- public function getSupplementalLocationSensor()
- {
- return $this->supplemental_location_sensor;
- }
-
- /**
- * Source of the supplemental location. Defaults to
- * `CUSTOMER_SUPPLIED_LOCATION`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.LocationSensor supplemental_location_sensor = 20;
- * @param int $var
- * @return $this
- */
- public function setSupplementalLocationSensor($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\LocationSensor::class);
- $this->supplemental_location_sensor = $var;
-
- return $this;
- }
-
- /**
- * Accuracy of `supplemental_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue supplemental_location_accuracy = 21;
- * @return \Google\Protobuf\DoubleValue|null
- */
- public function getSupplementalLocationAccuracy()
- {
- return $this->supplemental_location_accuracy;
- }
-
- public function hasSupplementalLocationAccuracy()
- {
- return isset($this->supplemental_location_accuracy);
- }
-
- public function clearSupplementalLocationAccuracy()
- {
- unset($this->supplemental_location_accuracy);
- }
-
- /**
- * Returns the unboxed value from getSupplementalLocationAccuracy()
-
- * Accuracy of `supplemental_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue supplemental_location_accuracy = 21;
- * @return float|null
- */
- public function getSupplementalLocationAccuracyUnwrapped()
- {
- return $this->readWrapperValue("supplemental_location_accuracy");
- }
-
- /**
- * Accuracy of `supplemental_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue supplemental_location_accuracy = 21;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setSupplementalLocationAccuracy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->supplemental_location_accuracy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Accuracy of `supplemental_location` as a radius, in meters.
- *
- * Generated from protobuf field .google.protobuf.DoubleValue supplemental_location_accuracy = 21;
- * @param float|null $var
- * @return $this
- */
- public function setSupplementalLocationAccuracyUnwrapped($var)
- {
- $this->writeWrapperValue("supplemental_location_accuracy", $var);
- return $this;}
-
- /**
- * Deprecated: Use `is_road_snapped` instead.
- *
- * Generated from protobuf field bool road_snapped = 26 [deprecated = true];
- * @return bool
- * @deprecated
- */
- public function getRoadSnapped()
- {
- @trigger_error('road_snapped is deprecated.', E_USER_DEPRECATED);
- return $this->road_snapped;
- }
-
- /**
- * Deprecated: Use `is_road_snapped` instead.
- *
- * Generated from protobuf field bool road_snapped = 26 [deprecated = true];
- * @param bool $var
- * @return $this
- * @deprecated
- */
- public function setRoadSnapped($var)
- {
- @trigger_error('road_snapped is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkBool($var);
- $this->road_snapped = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch.php
deleted file mode 100644
index 70cfc1b7f9f8..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch.php
+++ /dev/null
@@ -1,693 +0,0 @@
-maps.fleetengine.v1.VehicleMatch
- */
-class VehicleMatch extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. A vehicle that matches the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle = null;
- /**
- * The vehicle's driving ETA to the pickup point specified in the
- * request. An empty value indicates a failure in calculating ETA for the
- * vehicle. If `SearchVehiclesRequest.include_back_to_back` was `true` and
- * this vehicle has an active trip, `vehicle_pickup_eta` includes the time
- * required to complete the current active trip.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_pickup_eta = 2;
- */
- protected $vehicle_pickup_eta = null;
- /**
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_distance_meters = 3;
- */
- protected $vehicle_pickup_distance_meters = null;
- /**
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_straight_line_distance_meters = 11 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $vehicle_pickup_straight_line_distance_meters = null;
- /**
- * The complete vehicle's driving ETA to the drop off point specified in the
- * request. The ETA includes stopping at any waypoints before the
- * `dropoff_point` specified in the request. The value will only be populated
- * when a drop off point is specified in the request. An empty value indicates
- * an error calculating the ETA.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_dropoff_eta = 4;
- */
- protected $vehicle_dropoff_eta = null;
- /**
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_to_dropoff_distance_meters = 5;
- */
- protected $vehicle_pickup_to_dropoff_distance_meters = null;
- /**
- * Required. The trip type of the request that was used to calculate the ETA
- * to the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 6 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $trip_type = 0;
- /**
- * The ordered list of waypoints used to calculate the ETA. The list
- * includes vehicle location, the pickup points of active
- * trips for the vehicle, and the pickup points provided in the
- * request. An empty list indicates a failure in calculating ETA for the
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Waypoint vehicle_trips_waypoints = 7;
- */
- private $vehicle_trips_waypoints;
- /**
- * Type of the vehicle match.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleMatch.VehicleMatchType vehicle_match_type = 8;
- */
- protected $vehicle_match_type = 0;
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
- */
- protected $requested_ordered_by = 0;
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `requested_ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
- */
- protected $ordered_by = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Maps\FleetEngine\V1\Vehicle $vehicle
- * Required. A vehicle that matches the request.
- * @type \Google\Protobuf\Timestamp $vehicle_pickup_eta
- * The vehicle's driving ETA to the pickup point specified in the
- * request. An empty value indicates a failure in calculating ETA for the
- * vehicle. If `SearchVehiclesRequest.include_back_to_back` was `true` and
- * this vehicle has an active trip, `vehicle_pickup_eta` includes the time
- * required to complete the current active trip.
- * @type \Google\Protobuf\Int32Value $vehicle_pickup_distance_meters
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- * @type \Google\Protobuf\Int32Value $vehicle_pickup_straight_line_distance_meters
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- * @type \Google\Protobuf\Timestamp $vehicle_dropoff_eta
- * The complete vehicle's driving ETA to the drop off point specified in the
- * request. The ETA includes stopping at any waypoints before the
- * `dropoff_point` specified in the request. The value will only be populated
- * when a drop off point is specified in the request. An empty value indicates
- * an error calculating the ETA.
- * @type \Google\Protobuf\Int32Value $vehicle_pickup_to_dropoff_distance_meters
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- * @type int $trip_type
- * Required. The trip type of the request that was used to calculate the ETA
- * to the pickup point.
- * @type array<\Google\Maps\FleetEngine\V1\Waypoint>|\Google\Protobuf\Internal\RepeatedField $vehicle_trips_waypoints
- * The ordered list of waypoints used to calculate the ETA. The list
- * includes vehicle location, the pickup points of active
- * trips for the vehicle, and the pickup points provided in the
- * request. An empty list indicates a failure in calculating ETA for the
- * vehicle.
- * @type int $vehicle_match_type
- * Type of the vehicle match.
- * @type int $requested_ordered_by
- * The order requested for sorting vehicle matches. Equivalent to
- * `ordered_by`.
- * @type int $ordered_by
- * The order requested for sorting vehicle matches. Equivalent to
- * `requested_ordered_by`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. A vehicle that matches the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Maps\FleetEngine\V1\Vehicle|null
- */
- public function getVehicle()
- {
- return $this->vehicle;
- }
-
- public function hasVehicle()
- {
- return isset($this->vehicle);
- }
-
- public function clearVehicle()
- {
- unset($this->vehicle);
- }
-
- /**
- * Required. A vehicle that matches the request.
- *
- * Generated from protobuf field .maps.fleetengine.v1.Vehicle vehicle = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Maps\FleetEngine\V1\Vehicle $var
- * @return $this
- */
- public function setVehicle($var)
- {
- GPBUtil::checkMessage($var, \Google\Maps\FleetEngine\V1\Vehicle::class);
- $this->vehicle = $var;
-
- return $this;
- }
-
- /**
- * The vehicle's driving ETA to the pickup point specified in the
- * request. An empty value indicates a failure in calculating ETA for the
- * vehicle. If `SearchVehiclesRequest.include_back_to_back` was `true` and
- * this vehicle has an active trip, `vehicle_pickup_eta` includes the time
- * required to complete the current active trip.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_pickup_eta = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getVehiclePickupEta()
- {
- return $this->vehicle_pickup_eta;
- }
-
- public function hasVehiclePickupEta()
- {
- return isset($this->vehicle_pickup_eta);
- }
-
- public function clearVehiclePickupEta()
- {
- unset($this->vehicle_pickup_eta);
- }
-
- /**
- * The vehicle's driving ETA to the pickup point specified in the
- * request. An empty value indicates a failure in calculating ETA for the
- * vehicle. If `SearchVehiclesRequest.include_back_to_back` was `true` and
- * this vehicle has an active trip, `vehicle_pickup_eta` includes the time
- * required to complete the current active trip.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_pickup_eta = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setVehiclePickupEta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->vehicle_pickup_eta = $var;
-
- return $this;
- }
-
- /**
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_distance_meters = 3;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getVehiclePickupDistanceMeters()
- {
- return $this->vehicle_pickup_distance_meters;
- }
-
- public function hasVehiclePickupDistanceMeters()
- {
- return isset($this->vehicle_pickup_distance_meters);
- }
-
- public function clearVehiclePickupDistanceMeters()
- {
- unset($this->vehicle_pickup_distance_meters);
- }
-
- /**
- * Returns the unboxed value from getVehiclePickupDistanceMeters()
-
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_distance_meters = 3;
- * @return int|null
- */
- public function getVehiclePickupDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("vehicle_pickup_distance_meters");
- }
-
- /**
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_distance_meters = 3;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setVehiclePickupDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->vehicle_pickup_distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The distance from the Vehicle's current location to the pickup point
- * specified in the request, including any intermediate pickup or dropoff
- * points for existing trips. This distance comprises the calculated driving
- * (route) distance, plus the straight line distance between the navigation
- * end point and the requested pickup point. (The distance between the
- * navigation end point and the requested pickup point is typically small.) An
- * empty value indicates an error in calculating the distance.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_distance_meters = 3;
- * @param int|null $var
- * @return $this
- */
- public function setVehiclePickupDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("vehicle_pickup_distance_meters", $var);
- return $this;}
-
- /**
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_straight_line_distance_meters = 11 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getVehiclePickupStraightLineDistanceMeters()
- {
- return $this->vehicle_pickup_straight_line_distance_meters;
- }
-
- public function hasVehiclePickupStraightLineDistanceMeters()
- {
- return isset($this->vehicle_pickup_straight_line_distance_meters);
- }
-
- public function clearVehiclePickupStraightLineDistanceMeters()
- {
- unset($this->vehicle_pickup_straight_line_distance_meters);
- }
-
- /**
- * Returns the unboxed value from getVehiclePickupStraightLineDistanceMeters()
-
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_straight_line_distance_meters = 11 [(.google.api.field_behavior) = REQUIRED];
- * @return int|null
- */
- public function getVehiclePickupStraightLineDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("vehicle_pickup_straight_line_distance_meters");
- }
-
- /**
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_straight_line_distance_meters = 11 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setVehiclePickupStraightLineDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->vehicle_pickup_straight_line_distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Required. The straight-line distance between the vehicle and the pickup
- * point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_straight_line_distance_meters = 11 [(.google.api.field_behavior) = REQUIRED];
- * @param int|null $var
- * @return $this
- */
- public function setVehiclePickupStraightLineDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("vehicle_pickup_straight_line_distance_meters", $var);
- return $this;}
-
- /**
- * The complete vehicle's driving ETA to the drop off point specified in the
- * request. The ETA includes stopping at any waypoints before the
- * `dropoff_point` specified in the request. The value will only be populated
- * when a drop off point is specified in the request. An empty value indicates
- * an error calculating the ETA.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_dropoff_eta = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getVehicleDropoffEta()
- {
- return $this->vehicle_dropoff_eta;
- }
-
- public function hasVehicleDropoffEta()
- {
- return isset($this->vehicle_dropoff_eta);
- }
-
- public function clearVehicleDropoffEta()
- {
- unset($this->vehicle_dropoff_eta);
- }
-
- /**
- * The complete vehicle's driving ETA to the drop off point specified in the
- * request. The ETA includes stopping at any waypoints before the
- * `dropoff_point` specified in the request. The value will only be populated
- * when a drop off point is specified in the request. An empty value indicates
- * an error calculating the ETA.
- *
- * Generated from protobuf field .google.protobuf.Timestamp vehicle_dropoff_eta = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setVehicleDropoffEta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->vehicle_dropoff_eta = $var;
-
- return $this;
- }
-
- /**
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_to_dropoff_distance_meters = 5;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getVehiclePickupToDropoffDistanceMeters()
- {
- return $this->vehicle_pickup_to_dropoff_distance_meters;
- }
-
- public function hasVehiclePickupToDropoffDistanceMeters()
- {
- return isset($this->vehicle_pickup_to_dropoff_distance_meters);
- }
-
- public function clearVehiclePickupToDropoffDistanceMeters()
- {
- unset($this->vehicle_pickup_to_dropoff_distance_meters);
- }
-
- /**
- * Returns the unboxed value from getVehiclePickupToDropoffDistanceMeters()
-
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_to_dropoff_distance_meters = 5;
- * @return int|null
- */
- public function getVehiclePickupToDropoffDistanceMetersUnwrapped()
- {
- return $this->readWrapperValue("vehicle_pickup_to_dropoff_distance_meters");
- }
-
- /**
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_to_dropoff_distance_meters = 5;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setVehiclePickupToDropoffDistanceMeters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->vehicle_pickup_to_dropoff_distance_meters = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The vehicle's driving distance (in meters) from the pickup point
- * to the drop off point specified in the request. The distance is only
- * between the two points and does not include the vehicle location or any
- * other points that must be visited before the vehicle visits either the
- * pickup point or dropoff point. The value will only be populated when a
- * `dropoff_point` is specified in the request. An empty value indicates
- * a failure in calculating the distance from the pickup to
- * drop off point specified in the request.
- *
- * Generated from protobuf field .google.protobuf.Int32Value vehicle_pickup_to_dropoff_distance_meters = 5;
- * @param int|null $var
- * @return $this
- */
- public function setVehiclePickupToDropoffDistanceMetersUnwrapped($var)
- {
- $this->writeWrapperValue("vehicle_pickup_to_dropoff_distance_meters", $var);
- return $this;}
-
- /**
- * Required. The trip type of the request that was used to calculate the ETA
- * to the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 6 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getTripType()
- {
- return $this->trip_type;
- }
-
- /**
- * Required. The trip type of the request that was used to calculate the ETA
- * to the pickup point.
- *
- * Generated from protobuf field .maps.fleetengine.v1.TripType trip_type = 6 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setTripType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\TripType::class);
- $this->trip_type = $var;
-
- return $this;
- }
-
- /**
- * The ordered list of waypoints used to calculate the ETA. The list
- * includes vehicle location, the pickup points of active
- * trips for the vehicle, and the pickup points provided in the
- * request. An empty list indicates a failure in calculating ETA for the
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Waypoint vehicle_trips_waypoints = 7;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getVehicleTripsWaypoints()
- {
- return $this->vehicle_trips_waypoints;
- }
-
- /**
- * The ordered list of waypoints used to calculate the ETA. The list
- * includes vehicle location, the pickup points of active
- * trips for the vehicle, and the pickup points provided in the
- * request. An empty list indicates a failure in calculating ETA for the
- * vehicle.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.Waypoint vehicle_trips_waypoints = 7;
- * @param array<\Google\Maps\FleetEngine\V1\Waypoint>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setVehicleTripsWaypoints($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\Waypoint::class);
- $this->vehicle_trips_waypoints = $arr;
-
- return $this;
- }
-
- /**
- * Type of the vehicle match.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleMatch.VehicleMatchType vehicle_match_type = 8;
- * @return int
- */
- public function getVehicleMatchType()
- {
- return $this->vehicle_match_type;
- }
-
- /**
- * Type of the vehicle match.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VehicleMatch.VehicleMatchType vehicle_match_type = 8;
- * @param int $var
- * @return $this
- */
- public function setVehicleMatchType($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\VehicleMatch\VehicleMatchType::class);
- $this->vehicle_match_type = $var;
-
- return $this;
- }
-
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
- * @return int
- */
- public function getRequestedOrderedBy()
- {
- return $this->requested_ordered_by;
- }
-
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder requested_ordered_by = 9;
- * @param int $var
- * @return $this
- */
- public function setRequestedOrderedBy($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest\VehicleMatchOrder::class);
- $this->requested_ordered_by = $var;
-
- return $this;
- }
-
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `requested_ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
- * @return int
- */
- public function getOrderedBy()
- {
- return $this->ordered_by;
- }
-
- /**
- * The order requested for sorting vehicle matches. Equivalent to
- * `requested_ordered_by`.
- *
- * Generated from protobuf field .maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder ordered_by = 10;
- * @param int $var
- * @return $this
- */
- public function setOrderedBy($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\SearchVehiclesRequest\VehicleMatchOrder::class);
- $this->ordered_by = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch/VehicleMatchType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch/VehicleMatchType.php
deleted file mode 100644
index e578da5397d6..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleMatch/VehicleMatchType.php
+++ /dev/null
@@ -1,83 +0,0 @@
-maps.fleetengine.v1.VehicleMatch.VehicleMatchType
- */
-class VehicleMatchType
-{
- /**
- * Unknown vehicle match type
- *
- * Generated from protobuf enum UNKNOWN = 0;
- */
- const UNKNOWN = 0;
- /**
- * The vehicle currently has no trip assigned to it and can proceed to the
- * pickup point.
- *
- * Generated from protobuf enum EXCLUSIVE = 1;
- */
- const EXCLUSIVE = 1;
- /**
- * The vehicle is currently assigned to a trip, but can proceed to the
- * pickup point after completing the in-progress trip. ETA and distance
- * calculations take the existing trip into account.
- *
- * Generated from protobuf enum BACK_TO_BACK = 2;
- */
- const BACK_TO_BACK = 2;
- /**
- * The vehicle has sufficient capacity for a shared ride.
- *
- * Generated from protobuf enum CARPOOL = 3;
- */
- const CARPOOL = 3;
- /**
- * The vehicle will finish its current, active trip before proceeding to the
- * pickup point. ETA and distance calculations take the existing trip into
- * account.
- *
- * Generated from protobuf enum CARPOOL_BACK_TO_BACK = 4;
- */
- const CARPOOL_BACK_TO_BACK = 4;
-
- private static $valueToName = [
- self::UNKNOWN => 'UNKNOWN',
- self::EXCLUSIVE => 'EXCLUSIVE',
- self::BACK_TO_BACK => 'BACK_TO_BACK',
- self::CARPOOL => 'CARPOOL',
- self::CARPOOL_BACK_TO_BACK => 'CARPOOL_BACK_TO_BACK',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(VehicleMatchType::class, \Google\Maps\FleetEngine\V1\VehicleMatch_VehicleMatchType::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleState.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleState.php
deleted file mode 100644
index b2964c65ab9f..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VehicleState.php
+++ /dev/null
@@ -1,62 +0,0 @@
-maps.fleetengine.v1.VehicleState
- */
-class VehicleState
-{
- /**
- * Default, used for unspecified or unrecognized vehicle states.
- *
- * Generated from protobuf enum UNKNOWN_VEHICLE_STATE = 0;
- */
- const UNKNOWN_VEHICLE_STATE = 0;
- /**
- * The vehicle is not accepting new trips. Note: the vehicle may continue to
- * operate in this state while completing a trip assigned to it.
- *
- * Generated from protobuf enum OFFLINE = 1;
- */
- const OFFLINE = 1;
- /**
- * The vehicle is accepting new trips.
- *
- * Generated from protobuf enum ONLINE = 2;
- */
- const ONLINE = 2;
-
- private static $valueToName = [
- self::UNKNOWN_VEHICLE_STATE => 'UNKNOWN_VEHICLE_STATE',
- self::OFFLINE => 'OFFLINE',
- self::ONLINE => 'ONLINE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering.php
deleted file mode 100644
index ccaba2879f9f..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering.php
+++ /dev/null
@@ -1,84 +0,0 @@
-maps.fleetengine.v1.VisualTrafficReportPolylineRendering
- */
-class VisualTrafficReportPolylineRendering extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. Road stretches that should be rendered along the polyline.
- * Stretches are guaranteed to not overlap, and do not necessarily span the
- * full route.
- * In the absence of a road stretch to style, the client should apply the
- * default for the route.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch road_stretch = 1 [(.google.api.field_behavior) = OPTIONAL];
- */
- private $road_stretch;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch>|\Google\Protobuf\Internal\RepeatedField $road_stretch
- * Optional. Road stretches that should be rendered along the polyline.
- * Stretches are guaranteed to not overlap, and do not necessarily span the
- * full route.
- * In the absence of a road stretch to style, the client should apply the
- * default for the route.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. Road stretches that should be rendered along the polyline.
- * Stretches are guaranteed to not overlap, and do not necessarily span the
- * full route.
- * In the absence of a road stretch to style, the client should apply the
- * default for the route.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch road_stretch = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRoadStretch()
- {
- return $this->road_stretch;
- }
-
- /**
- * Optional. Road stretches that should be rendered along the polyline.
- * Stretches are guaranteed to not overlap, and do not necessarily span the
- * full route.
- * In the absence of a road stretch to style, the client should apply the
- * default for the route.
- *
- * Generated from protobuf field repeated .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch road_stretch = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param array<\Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRoadStretch($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch::class);
- $this->road_stretch = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch.php
deleted file mode 100644
index c0504a6c4426..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch.php
+++ /dev/null
@@ -1,142 +0,0 @@
-maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch
- */
-class RoadStretch extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The style to apply.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch.Style style = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $style = 0;
- /**
- * Required. The style should be applied between `[offset_meters,
- * offset_meters + length_meters)`.
- *
- * Generated from protobuf field int32 offset_meters = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $offset_meters = 0;
- /**
- * Required. The length of the path where to apply the style.
- *
- * Generated from protobuf field int32 length_meters = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $length_meters = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $style
- * Required. The style to apply.
- * @type int $offset_meters
- * Required. The style should be applied between `[offset_meters,
- * offset_meters + length_meters)`.
- * @type int $length_meters
- * Required. The length of the path where to apply the style.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\Vehicles::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The style to apply.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch.Style style = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getStyle()
- {
- return $this->style;
- }
-
- /**
- * Required. The style to apply.
- *
- * Generated from protobuf field .maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch.Style style = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setStyle($var)
- {
- GPBUtil::checkEnum($var, \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch\Style::class);
- $this->style = $var;
-
- return $this;
- }
-
- /**
- * Required. The style should be applied between `[offset_meters,
- * offset_meters + length_meters)`.
- *
- * Generated from protobuf field int32 offset_meters = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getOffsetMeters()
- {
- return $this->offset_meters;
- }
-
- /**
- * Required. The style should be applied between `[offset_meters,
- * offset_meters + length_meters)`.
- *
- * Generated from protobuf field int32 offset_meters = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setOffsetMeters($var)
- {
- GPBUtil::checkInt32($var);
- $this->offset_meters = $var;
-
- return $this;
- }
-
- /**
- * Required. The length of the path where to apply the style.
- *
- * Generated from protobuf field int32 length_meters = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getLengthMeters()
- {
- return $this->length_meters;
- }
-
- /**
- * Required. The length of the path where to apply the style.
- *
- * Generated from protobuf field int32 length_meters = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setLengthMeters($var)
- {
- GPBUtil::checkInt32($var);
- $this->length_meters = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RoadStretch::class, \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering_RoadStretch::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch/Style.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch/Style.php
deleted file mode 100644
index a712c06ecdce..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/VisualTrafficReportPolylineRendering/RoadStretch/Style.php
+++ /dev/null
@@ -1,64 +0,0 @@
-maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch.Style
- */
-class Style
-{
- /**
- * No style selected.
- *
- * Generated from protobuf enum STYLE_UNSPECIFIED = 0;
- */
- const STYLE_UNSPECIFIED = 0;
- /**
- * Traffic is slowing down.
- *
- * Generated from protobuf enum SLOWER_TRAFFIC = 1;
- */
- const SLOWER_TRAFFIC = 1;
- /**
- * There is a traffic jam.
- *
- * Generated from protobuf enum TRAFFIC_JAM = 2;
- */
- const TRAFFIC_JAM = 2;
-
- private static $valueToName = [
- self::STYLE_UNSPECIFIED => 'STYLE_UNSPECIFIED',
- self::SLOWER_TRAFFIC => 'SLOWER_TRAFFIC',
- self::TRAFFIC_JAM => 'TRAFFIC_JAM',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Style::class, \Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering_RoadStretch_Style::class);
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Waypoint.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Waypoint.php
deleted file mode 100644
index 06827e4e93bc..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/Waypoint.php
+++ /dev/null
@@ -1,123 +0,0 @@
-maps.fleetengine.v1.Waypoint
- */
-class Waypoint extends \Google\Protobuf\Internal\Message
-{
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .google.type.LatLng lat_lng = 1;
- */
- protected $lat_lng = null;
- /**
- * The estimated time that the vehicle will arrive at this waypoint.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 2;
- */
- protected $eta = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Type\LatLng $lat_lng
- * The location of this waypoint.
- * @type \Google\Protobuf\Timestamp $eta
- * The estimated time that the vehicle will arrive at this waypoint.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Maps\Fleetengine\V1\VehicleApi::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .google.type.LatLng lat_lng = 1;
- * @return \Google\Type\LatLng|null
- */
- public function getLatLng()
- {
- return $this->lat_lng;
- }
-
- public function hasLatLng()
- {
- return isset($this->lat_lng);
- }
-
- public function clearLatLng()
- {
- unset($this->lat_lng);
- }
-
- /**
- * The location of this waypoint.
- *
- * Generated from protobuf field .google.type.LatLng lat_lng = 1;
- * @param \Google\Type\LatLng $var
- * @return $this
- */
- public function setLatLng($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
- $this->lat_lng = $var;
-
- return $this;
- }
-
- /**
- * The estimated time that the vehicle will arrive at this waypoint.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEta()
- {
- return $this->eta;
- }
-
- public function hasEta()
- {
- return isset($this->eta);
- }
-
- public function clearEta()
- {
- unset($this->eta);
- }
-
- /**
- * The estimated time that the vehicle will arrive at this waypoint.
- *
- * Generated from protobuf field .google.protobuf.Timestamp eta = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->eta = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/WaypointType.php b/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/WaypointType.php
deleted file mode 100644
index 7e3a3120d30b..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/proto/src/Google/Maps/FleetEngine/V1/WaypointType.php
+++ /dev/null
@@ -1,68 +0,0 @@
-maps.fleetengine.v1.WaypointType
- */
-class WaypointType
-{
- /**
- * Unknown or unspecified waypoint type.
- *
- * Generated from protobuf enum UNKNOWN_WAYPOINT_TYPE = 0;
- */
- const UNKNOWN_WAYPOINT_TYPE = 0;
- /**
- * Waypoints for picking up riders or items.
- *
- * Generated from protobuf enum PICKUP_WAYPOINT_TYPE = 1;
- */
- const PICKUP_WAYPOINT_TYPE = 1;
- /**
- * Waypoints for dropping off riders or items.
- *
- * Generated from protobuf enum DROP_OFF_WAYPOINT_TYPE = 2;
- */
- const DROP_OFF_WAYPOINT_TYPE = 2;
- /**
- * Waypoints for intermediate destinations in a multi-destination trip.
- *
- * Generated from protobuf enum INTERMEDIATE_DESTINATION_WAYPOINT_TYPE = 3;
- */
- const INTERMEDIATE_DESTINATION_WAYPOINT_TYPE = 3;
-
- private static $valueToName = [
- self::UNKNOWN_WAYPOINT_TYPE => 'UNKNOWN_WAYPOINT_TYPE',
- self::PICKUP_WAYPOINT_TYPE => 'PICKUP_WAYPOINT_TYPE',
- self::DROP_OFF_WAYPOINT_TYPE => 'DROP_OFF_WAYPOINT_TYPE',
- self::INTERMEDIATE_DESTINATION_WAYPOINT_TYPE => 'INTERMEDIATE_DESTINATION_WAYPOINT_TYPE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/create_trip.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/create_trip.php
deleted file mode 100644
index f5eeb732199a..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/create_trip.php
+++ /dev/null
@@ -1,87 +0,0 @@
-setParent($formattedParent)
- ->setTripId($tripId)
- ->setTrip($trip);
-
- // Call the API and handle any network failures.
- try {
- /** @var Trip $response */
- $response = $tripServiceClient->createTrip($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = TripServiceClient::tripName('[PROVIDER]', '[TRIP]');
- $tripId = '[TRIP_ID]';
-
- create_trip_sample($formattedParent, $tripId);
-}
-// [END fleetengine_v1_generated_TripService_CreateTrip_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/get_trip.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/get_trip.php
deleted file mode 100644
index 8a9dc4e2c9ff..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/get_trip.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Trip $response */
- $response = $tripServiceClient->getTrip($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = TripServiceClient::tripName('[PROVIDER]', '[TRIP]');
-
- get_trip_sample($formattedName);
-}
-// [END fleetengine_v1_generated_TripService_GetTrip_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/report_billable_trip.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/report_billable_trip.php
deleted file mode 100644
index 1a87dbda4869..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/report_billable_trip.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName($name)
- ->setCountryCode($countryCode);
-
- // Call the API and handle any network failures.
- try {
- $tripServiceClient->reportBillableTrip($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
- $countryCode = '[COUNTRY_CODE]';
-
- report_billable_trip_sample($name, $countryCode);
-}
-// [END fleetengine_v1_generated_TripService_ReportBillableTrip_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/search_trips.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/search_trips.php
deleted file mode 100644
index 726d56e085b1..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/search_trips.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setParent($parent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $tripServiceClient->searchTrips($request);
-
- /** @var Trip $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $parent = '[PARENT]';
-
- search_trips_sample($parent);
-}
-// [END fleetengine_v1_generated_TripService_SearchTrips_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/update_trip.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/update_trip.php
deleted file mode 100644
index 82e653ec835f..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/TripServiceClient/update_trip.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName($name)
- ->setTrip($trip)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var Trip $response */
- $response = $tripServiceClient->updateTrip($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
-
- update_trip_sample($name);
-}
-// [END fleetengine_v1_generated_TripService_UpdateTrip_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/create_vehicle.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/create_vehicle.php
deleted file mode 100644
index ef62555f9cc2..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/create_vehicle.php
+++ /dev/null
@@ -1,116 +0,0 @@
-setVehicleType($vehicleVehicleType);
- $request = (new CreateVehicleRequest())
- ->setParent($parent)
- ->setVehicleId($vehicleId)
- ->setVehicle($vehicle);
-
- // Call the API and handle any network failures.
- try {
- /** @var Vehicle $response */
- $response = $vehicleServiceClient->createVehicle($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $parent = '[PARENT]';
- $vehicleId = '[VEHICLE_ID]';
-
- create_vehicle_sample($parent, $vehicleId);
-}
-// [END fleetengine_v1_generated_VehicleService_CreateVehicle_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/get_vehicle.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/get_vehicle.php
deleted file mode 100644
index 7e0840142f46..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/get_vehicle.php
+++ /dev/null
@@ -1,75 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Vehicle $response */
- $response = $vehicleServiceClient->getVehicle($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = VehicleServiceClient::vehicleName('[PROVIDER]', '[VEHICLE]');
-
- get_vehicle_sample($formattedName);
-}
-// [END fleetengine_v1_generated_VehicleService_GetVehicle_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/list_vehicles.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/list_vehicles.php
deleted file mode 100644
index 0d0629cd08e6..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/list_vehicles.php
+++ /dev/null
@@ -1,85 +0,0 @@
-setParent($parent)
- ->setVehicleTypeCategories($vehicleTypeCategories);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $vehicleServiceClient->listVehicles($request);
-
- /** @var Vehicle $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $parent = '[PARENT]';
- $vehicleTypeCategoriesElement = Category::UNKNOWN;
-
- list_vehicles_sample($parent, $vehicleTypeCategoriesElement);
-}
-// [END fleetengine_v1_generated_VehicleService_ListVehicles_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/search_vehicles.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/search_vehicles.php
deleted file mode 100644
index 0671afa2ba59..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/search_vehicles.php
+++ /dev/null
@@ -1,120 +0,0 @@
-setPoint($pickupPointPoint);
- $tripTypes = [$tripTypesElement,];
- $vehicleTypes = [new VehicleType()];
- $request = (new SearchVehiclesRequest())
- ->setParent($parent)
- ->setPickupPoint($pickupPoint)
- ->setPickupRadiusMeters($pickupRadiusMeters)
- ->setCount($count)
- ->setMinimumCapacity($minimumCapacity)
- ->setTripTypes($tripTypes)
- ->setVehicleTypes($vehicleTypes)
- ->setOrderBy($orderBy);
-
- // Call the API and handle any network failures.
- try {
- /** @var SearchVehiclesResponse $response */
- $response = $vehicleServiceClient->searchVehicles($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $parent = '[PARENT]';
- $pickupRadiusMeters = 0;
- $count = 0;
- $minimumCapacity = 0;
- $tripTypesElement = TripType::UNKNOWN_TRIP_TYPE;
- $orderBy = VehicleMatchOrder::UNKNOWN_VEHICLE_MATCH_ORDER;
-
- search_vehicles_sample(
- $parent,
- $pickupRadiusMeters,
- $count,
- $minimumCapacity,
- $tripTypesElement,
- $orderBy
- );
-}
-// [END fleetengine_v1_generated_VehicleService_SearchVehicles_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle.php
deleted file mode 100644
index 740fb26c6caa..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle.php
+++ /dev/null
@@ -1,98 +0,0 @@
-setVehicleType($vehicleVehicleType);
- $updateMask = new FieldMask();
- $request = (new UpdateVehicleRequest())
- ->setName($name)
- ->setVehicle($vehicle)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var Vehicle $response */
- $response = $vehicleServiceClient->updateVehicle($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
-
- update_vehicle_sample($name);
-}
-// [END fleetengine_v1_generated_VehicleService_UpdateVehicle_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle_attributes.php b/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle_attributes.php
deleted file mode 100644
index 9c8ed7a0c76a..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/samples/V1/VehicleServiceClient/update_vehicle_attributes.php
+++ /dev/null
@@ -1,80 +0,0 @@
-setName($name)
- ->setAttributes($attributes);
-
- // Call the API and handle any network failures.
- try {
- /** @var UpdateVehicleAttributesResponse $response */
- $response = $vehicleServiceClient->updateVehicleAttributes($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
-
- update_vehicle_attributes_sample($name);
-}
-// [END fleetengine_v1_generated_VehicleService_UpdateVehicleAttributes_sync]
diff --git a/owl-bot-staging/MapsFleetEngine/v1/src/V1/Client/TripServiceClient.php b/owl-bot-staging/MapsFleetEngine/v1/src/V1/Client/TripServiceClient.php
deleted file mode 100644
index 3dc8954fe608..000000000000
--- a/owl-bot-staging/MapsFleetEngine/v1/src/V1/Client/TripServiceClient.php
+++ /dev/null
@@ -1,348 +0,0 @@
- createTripAsync(CreateTripRequest $request, array $optionalArgs = [])
- * @method PromiseInterface