public final class

TimelineProto.Timeline

extends <any>

implements TimelineProto.TimelineOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.TimelineProto.Timeline

Overview

 A collection of TimelineEntry items.

 TimelineEntry items can be used to update a layout on-screen at known times,
 without having to explicitly update a layout. This allows for cases where,
 say, a calendar can be used to show the next event, and automatically switch
 to showing the next event when one has passed.

 The active TimelineEntry is switched, at most, once a minute. In the case
 where the validity periods of TimelineEntry items overlap, the item with the
 *shortest* validity period will be shown. This allows a layout provider to
 show a "default" layout, and override it at set points without having to
 explicitly insert the default layout between the "override" layout.
 
Protobuf type androidx.wear.protolayout.proto.Timeline

Summary

Fields
public static final intTIMELINE_ENTRIES_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static TimelineProto.TimelinegetDefaultInstance()

public TimelineProto.TimelineEntrygetTimelineEntries(int index)

 The entries in a timeline.

public intgetTimelineEntriesCount()

 The entries in a timeline.

public java.util.List<TimelineProto.TimelineEntry>getTimelineEntriesList()

 The entries in a timeline.

public TimelineProto.TimelineEntryOrBuildergetTimelineEntriesOrBuilder(int index)

 The entries in a timeline.

public java.util.List<TimelineProto.TimelineEntryOrBuilder>getTimelineEntriesOrBuilderList()

 The entries in a timeline.

public static TimelineProto.Timeline.BuildernewBuilder()

public static TimelineProto.Timeline.BuildernewBuilder(TimelineProto.Timeline prototype)

public static TimelineProto.TimelineparseDelimitedFrom(java.io.InputStream input)

public static TimelineProto.TimelineparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.TimelineparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.TimelineparseFrom(java.nio.ByteBuffer data)

public static TimelineProto.TimelineparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.TimelineparseFrom(com.google.protobuf.ByteString data)

public static TimelineProto.TimelineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.TimelineparseFrom(com.google.protobuf.CodedInputStream input)

public static TimelineProto.TimelineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.TimelineparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int TIMELINE_ENTRIES_FIELD_NUMBER

Methods

public java.util.List<TimelineProto.TimelineEntry> getTimelineEntriesList()

 The entries in a timeline.
 
repeated .androidx.wear.protolayout.proto.TimelineEntry timeline_entries = 1;

public java.util.List<TimelineProto.TimelineEntryOrBuilder> getTimelineEntriesOrBuilderList()

 The entries in a timeline.
 
repeated .androidx.wear.protolayout.proto.TimelineEntry timeline_entries = 1;

public int getTimelineEntriesCount()

 The entries in a timeline.
 
repeated .androidx.wear.protolayout.proto.TimelineEntry timeline_entries = 1;

public TimelineProto.TimelineEntry getTimelineEntries(int index)

 The entries in a timeline.
 
repeated .androidx.wear.protolayout.proto.TimelineEntry timeline_entries = 1;

public TimelineProto.TimelineEntryOrBuilder getTimelineEntriesOrBuilder(int index)

 The entries in a timeline.
 
repeated .androidx.wear.protolayout.proto.TimelineEntry timeline_entries = 1;

public static TimelineProto.Timeline parseFrom(java.nio.ByteBuffer data)

public static TimelineProto.Timeline parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline parseFrom(com.google.protobuf.ByteString data)

public static TimelineProto.Timeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline parseDelimitedFrom(java.io.InputStream input)

public static TimelineProto.Timeline parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline parseFrom(com.google.protobuf.CodedInputStream input)

public static TimelineProto.Timeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimelineProto.Timeline.Builder newBuilder()

public static TimelineProto.Timeline.Builder newBuilder(TimelineProto.Timeline prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static TimelineProto.Timeline getDefaultInstance()

public static <any> parser()