public interface

LayoutElementProto.LayoutElementOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.LayoutElementOrBuilder

Subclasses:

LayoutElementProto.LayoutElement, LayoutElementProto.LayoutElement.Builder

Summary

Methods
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 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;

Methods

public boolean hasColumn()

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

Returns:

Whether the column field is set.

public LayoutElementProto.Column getColumn()

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

Returns:

The column.

public boolean hasRow()

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

Returns:

Whether the row field is set.

public LayoutElementProto.Row getRow()

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

Returns:

The row.

public boolean hasBox()

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

Returns:

Whether the box field is set.

public LayoutElementProto.Box getBox()

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

Returns:

The box.

public boolean hasSpacer()

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

Returns:

Whether the spacer field is set.

public LayoutElementProto.Spacer getSpacer()

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

Returns:

The spacer.

public boolean hasText()

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

Returns:

Whether the text field is set.

public LayoutElementProto.Text getText()

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

Returns:

The text.

public boolean hasImage()

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

Returns:

Whether the image field is set.

public LayoutElementProto.Image getImage()

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

Returns:

The image.

public boolean hasArc()

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

Returns:

Whether the arc field is set.

public LayoutElementProto.Arc getArc()

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

Returns:

The arc.

public boolean hasSpannable()

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

Returns:

Whether the spannable field is set.

public LayoutElementProto.Spannable getSpannable()

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

Returns:

The spannable.

public boolean hasExtension()

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

Returns:

Whether the extension field is set.

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

Returns:

The extension.