class TimeInterval extends Message

A time interval extending just after a start time through an end time.

If the start time is the same as the end time, then the interval represents a single point in time.

Protobuf type Google\Monitoring\V3\TimeInterval

Methods

__construct()

No description

getEndTime()

Required. The end of the time interval.

setEndTime(Timestamp $var)

Required. The end of the time interval.

getStartTime()

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

setStartTime(Timestamp $var)

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

Details

at line 35
__construct()

at line 46
Timestamp getEndTime()

Required. The end of the time interval.

Generated from protobuf field .google.protobuf.Timestamp end_time = 2;

Return Value

Timestamp

at line 57
setEndTime(Timestamp $var)

Required. The end of the time interval.

Generated from protobuf field .google.protobuf.Timestamp end_time = 2;

Parameters

Timestamp $var

at line 71
Timestamp getStartTime()

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

Generated from protobuf field .google.protobuf.Timestamp start_time = 1;

Return Value

Timestamp

at line 84
setStartTime(Timestamp $var)

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

Generated from protobuf field .google.protobuf.Timestamp start_time = 1;

Parameters

Timestamp $var