TimeRange specifies the time stamp range or time stamp value during data query.

Data structure

message TimeRange {
    optional int64 start_time = 1;
    optional int64 end_time = 2;
    optional int64 specific_time = 3;
}
start_time:
  • Type: int64

  • The starting time stamp (unit: millisecond). The minimum and maximum values of the time stamp are 0 and INT64. MAX, respectively.

end_time:
  • Type: int64

  • The ending time stamp (unit: millisecond). The minimum and maximum values of the time stamp are 0 and INT64. MAX, respectively.

specific_time:
  • Type: int64

  • The specified time stamp. You can set either specific_time, or [start_time, end_time). The unit for the time stamp must be millisecond. The minimum and maximum values of the time stamp are 0 and INT64. MAX, respectively.