public final class

LayoutElementProto.LayoutElement

extends <any>

implements LayoutElementProto.LayoutElementOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.LayoutElement

Overview

 The root of all layout elements. This exists to act as a holder for all of
 the actual layout elements above.
 
Protobuf type androidx.wear.protolayout.proto.LayoutElement

Summary

Fields
public static final intARC_FIELD_NUMBER

public static final intBOX_FIELD_NUMBER

public static final intCOLUMN_FIELD_NUMBER

public static final intEXTENSION_FIELD_NUMBER

public static final intIMAGE_FIELD_NUMBER

public static final intROW_FIELD_NUMBER

public static final intSPACER_FIELD_NUMBER

public static final intSPANNABLE_FIELD_NUMBER

public static final intTEXT_FIELD_NUMBER

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

public LayoutElementProto.ArcgetArc()

.androidx.wear.protolayout.proto.Arc arc = 7;

public LayoutElementProto.BoxgetBox()

.androidx.wear.protolayout.proto.Box box = 3;

public LayoutElementProto.ColumngetColumn()

.androidx.wear.protolayout.proto.Column column = 1;

public static LayoutElementProto.LayoutElementgetDefaultInstance()

public LayoutElementProto.ExtensionLayoutElementgetExtension()

.androidx.wear.protolayout.proto.ExtensionLayoutElement extension = 1000;

public LayoutElementProto.ImagegetImage()

.androidx.wear.protolayout.proto.Image image = 6;

public LayoutElementProto.LayoutElement.InnerCasegetInnerCase()

public LayoutElementProto.RowgetRow()

.androidx.wear.protolayout.proto.Row row = 2;

public LayoutElementProto.SpacergetSpacer()

.androidx.wear.protolayout.proto.Spacer spacer = 4;

public LayoutElementProto.SpannablegetSpannable()

.androidx.wear.protolayout.proto.Spannable spannable = 8;

public LayoutElementProto.TextgetText()

.androidx.wear.protolayout.proto.Text text = 5;

public booleanhasArc()

.androidx.wear.protolayout.proto.Arc arc = 7;

public booleanhasBox()

.androidx.wear.protolayout.proto.Box box = 3;

public booleanhasColumn()

.androidx.wear.protolayout.proto.Column column = 1;

public booleanhasExtension()

.androidx.wear.protolayout.proto.ExtensionLayoutElement extension = 1000;

public booleanhasImage()

.androidx.wear.protolayout.proto.Image image = 6;

public booleanhasRow()

.androidx.wear.protolayout.proto.Row row = 2;

public booleanhasSpacer()

.androidx.wear.protolayout.proto.Spacer spacer = 4;

public booleanhasSpannable()

.androidx.wear.protolayout.proto.Spannable spannable = 8;

public booleanhasText()

.androidx.wear.protolayout.proto.Text text = 5;

public static LayoutElementProto.LayoutElement.BuildernewBuilder()

public static LayoutElementProto.LayoutElement.BuildernewBuilder(LayoutElementProto.LayoutElement prototype)

public static LayoutElementProto.LayoutElementparseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.LayoutElementparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElementparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElementparseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.LayoutElementparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElementparseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.LayoutElementparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElementparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.LayoutElementparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElementparseFrom(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 COLUMN_FIELD_NUMBER

public static final int ROW_FIELD_NUMBER

public static final int BOX_FIELD_NUMBER

public static final int SPACER_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER

public static final int ARC_FIELD_NUMBER

public static final int SPANNABLE_FIELD_NUMBER

public static final int EXTENSION_FIELD_NUMBER

Methods

public boolean hasColumn()

.androidx.wear.protolayout.proto.Column column = 1;

public LayoutElementProto.Column getColumn()

.androidx.wear.protolayout.proto.Column column = 1;

public boolean hasRow()

.androidx.wear.protolayout.proto.Row row = 2;

public LayoutElementProto.Row getRow()

.androidx.wear.protolayout.proto.Row row = 2;

public boolean hasBox()

.androidx.wear.protolayout.proto.Box box = 3;

public LayoutElementProto.Box getBox()

.androidx.wear.protolayout.proto.Box box = 3;

public boolean hasSpacer()

.androidx.wear.protolayout.proto.Spacer spacer = 4;

public LayoutElementProto.Spacer getSpacer()

.androidx.wear.protolayout.proto.Spacer spacer = 4;

public boolean hasText()

.androidx.wear.protolayout.proto.Text text = 5;

public LayoutElementProto.Text getText()

.androidx.wear.protolayout.proto.Text text = 5;

public boolean hasImage()

.androidx.wear.protolayout.proto.Image image = 6;

public LayoutElementProto.Image getImage()

.androidx.wear.protolayout.proto.Image image = 6;

public boolean hasArc()

.androidx.wear.protolayout.proto.Arc arc = 7;

public LayoutElementProto.Arc getArc()

.androidx.wear.protolayout.proto.Arc arc = 7;

public boolean hasSpannable()

.androidx.wear.protolayout.proto.Spannable spannable = 8;

public LayoutElementProto.Spannable getSpannable()

.androidx.wear.protolayout.proto.Spannable spannable = 8;

public boolean hasExtension()

.androidx.wear.protolayout.proto.ExtensionLayoutElement extension = 1000;

.androidx.wear.protolayout.proto.ExtensionLayoutElement extension = 1000;

public static LayoutElementProto.LayoutElement parseFrom(java.nio.ByteBuffer data)

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

public static LayoutElementProto.LayoutElement parseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.LayoutElement parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static LayoutElementProto.LayoutElement parseDelimitedFrom(java.io.InputStream input)

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

public static LayoutElementProto.LayoutElement parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.LayoutElement parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.LayoutElement.Builder newBuilder()

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

public static LayoutElementProto.LayoutElement getDefaultInstance()

public static <any> parser()