Google Cloud Talent Solution V4 Client - Class TimestampRange (2.0.2)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class TimestampRange.

Message representing a period of time between two timestamps.

Generated from protobuf message google.cloud.talent.v4.TimestampRange

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Begin of the period (inclusive).

↳ end_time Google\Protobuf\Timestamp

End of the period (exclusive).

getStartTime

Begin of the period (inclusive).

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Begin of the period (inclusive).

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

End of the period (exclusive).

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End of the period (exclusive).

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this