Google Cloud Talent Solution V4 Client - Class TimestampRange (1.2.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
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Begin of the period (inclusive).

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

End of the period (exclusive).

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End of the period (exclusive).

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this