public final class

TimelineProto.TimeInterval.Builder

extends <any>

implements TimelineProto.TimeIntervalOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.TimelineProto.TimeInterval.Builder

Overview

 A time interval, typically used to describe the validity period of a
 TimelineEntry
 
Protobuf type androidx.wear.protolayout.proto.TimeInterval

Summary

Methods
public TimelineProto.TimeInterval.BuilderclearEndMillis()

 End point of the time interval, in milliseconds since the Unix epoch.

public TimelineProto.TimeInterval.BuilderclearStartMillis()

 Starting point of the time interval, in milliseconds since the Unix epoch.

public longgetEndMillis()

 End point of the time interval, in milliseconds since the Unix epoch.

public longgetStartMillis()

 Starting point of the time interval, in milliseconds since the Unix epoch.

public TimelineProto.TimeInterval.BuildersetEndMillis(long value)

 End point of the time interval, in milliseconds since the Unix epoch.

public TimelineProto.TimeInterval.BuildersetStartMillis(long value)

 Starting point of the time interval, in milliseconds since the Unix epoch.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public long getStartMillis()

 Starting point of the time interval, in milliseconds since the Unix epoch.
 
int64 start_millis = 1;

Returns:

The startMillis.

public TimelineProto.TimeInterval.Builder setStartMillis(long value)

 Starting point of the time interval, in milliseconds since the Unix epoch.
 
int64 start_millis = 1;

Parameters:

value: The startMillis to set.

Returns:

This builder for chaining.

public TimelineProto.TimeInterval.Builder clearStartMillis()

 Starting point of the time interval, in milliseconds since the Unix epoch.
 
int64 start_millis = 1;

Returns:

This builder for chaining.

public long getEndMillis()

 End point of the time interval, in milliseconds since the Unix epoch.
 
int64 end_millis = 2;

Returns:

The endMillis.

public TimelineProto.TimeInterval.Builder setEndMillis(long value)

 End point of the time interval, in milliseconds since the Unix epoch.
 
int64 end_millis = 2;

Parameters:

value: The endMillis to set.

Returns:

This builder for chaining.

public TimelineProto.TimeInterval.Builder clearEndMillis()

 End point of the time interval, in milliseconds since the Unix epoch.
 
int64 end_millis = 2;

Returns:

This builder for chaining.