public interface

LayoutProto.LayoutNodeOrBuilder

 androidx.glance.appwidget.proto.LayoutProto.LayoutNodeOrBuilder

Subclasses:

LayoutProto.LayoutNode, LayoutProto.LayoutNode.Builder

Summary

Methods
public LayoutProto.LayoutNodegetChildren(int index)

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public intgetChildrenCount()

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public java.util.List<LayoutProto.LayoutNode>getChildrenList()

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public booleangetHasAction()

bool hasAction = 9;

public booleangetHasImageColorFilter()

bool has_image_color_filter = 11;

public booleangetHasImageDescription()

bool has_image_description = 10;

public LayoutProto.DimensionTypegetHeight()

.androidx.glance.appwidget.proto.DimensionType height = 3;

public intgetHeightValue()

.androidx.glance.appwidget.proto.DimensionType height = 3;

public LayoutProto.HorizontalAlignmentgetHorizontalAlignment()

.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;

public intgetHorizontalAlignmentValue()

.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;

public LayoutProto.NodeIdentitygetIdentity()

.androidx.glance.appwidget.proto.NodeIdentity identity = 8;

public intgetIdentityValue()

.androidx.glance.appwidget.proto.NodeIdentity identity = 8;

public LayoutProto.ContentScalegetImageScale()

.androidx.glance.appwidget.proto.ContentScale image_scale = 6;

public intgetImageScaleValue()

.androidx.glance.appwidget.proto.ContentScale image_scale = 6;

public LayoutProto.LayoutTypegetType()

.androidx.glance.appwidget.proto.LayoutType type = 1;

public intgetTypeValue()

.androidx.glance.appwidget.proto.LayoutType type = 1;

public LayoutProto.VerticalAlignmentgetVerticalAlignment()

.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;

public intgetVerticalAlignmentValue()

.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;

public LayoutProto.DimensionTypegetWidth()

.androidx.glance.appwidget.proto.DimensionType width = 2;

public intgetWidthValue()

.androidx.glance.appwidget.proto.DimensionType width = 2;

Methods

public int getTypeValue()

.androidx.glance.appwidget.proto.LayoutType type = 1;

Returns:

The enum numeric value on the wire for type.

public LayoutProto.LayoutType getType()

.androidx.glance.appwidget.proto.LayoutType type = 1;

Returns:

The type.

public int getWidthValue()

.androidx.glance.appwidget.proto.DimensionType width = 2;

Returns:

The enum numeric value on the wire for width.

public LayoutProto.DimensionType getWidth()

.androidx.glance.appwidget.proto.DimensionType width = 2;

Returns:

The width.

public int getHeightValue()

.androidx.glance.appwidget.proto.DimensionType height = 3;

Returns:

The enum numeric value on the wire for height.

public LayoutProto.DimensionType getHeight()

.androidx.glance.appwidget.proto.DimensionType height = 3;

Returns:

The height.

public int getHorizontalAlignmentValue()

.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;

Returns:

The enum numeric value on the wire for horizontalAlignment.

public LayoutProto.HorizontalAlignment getHorizontalAlignment()

.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;

Returns:

The horizontalAlignment.

public int getVerticalAlignmentValue()

.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;

Returns:

The enum numeric value on the wire for verticalAlignment.

public LayoutProto.VerticalAlignment getVerticalAlignment()

.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;

Returns:

The verticalAlignment.

public int getImageScaleValue()

.androidx.glance.appwidget.proto.ContentScale image_scale = 6;

Returns:

The enum numeric value on the wire for imageScale.

public LayoutProto.ContentScale getImageScale()

.androidx.glance.appwidget.proto.ContentScale image_scale = 6;

Returns:

The imageScale.

public int getIdentityValue()

.androidx.glance.appwidget.proto.NodeIdentity identity = 8;

Returns:

The enum numeric value on the wire for identity.

public LayoutProto.NodeIdentity getIdentity()

.androidx.glance.appwidget.proto.NodeIdentity identity = 8;

Returns:

The identity.

public boolean getHasAction()

bool hasAction = 9;

Returns:

The hasAction.

public java.util.List<LayoutProto.LayoutNode> getChildrenList()

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public LayoutProto.LayoutNode getChildren(int index)

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public int getChildrenCount()

repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;

public boolean getHasImageDescription()

bool has_image_description = 10;

Returns:

The hasImageDescription.

public boolean getHasImageColorFilter()

bool has_image_color_filter = 11;

Returns:

The hasImageColorFilter.