public final class

LayoutProto.LayoutNode.Builder

extends <any>

implements LayoutProto.LayoutNodeOrBuilder

 java.lang.Object

↳<any>

↳androidx.glance.appwidget.proto.LayoutProto.LayoutNode.Builder

Overview

Protobuf type androidx.glance.appwidget.proto.LayoutNode

Summary

Methods
public LayoutProto.LayoutNode.BuilderaddAllChildren(java.lang.Iterable<LayoutProto.LayoutNode> values)

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

public LayoutProto.LayoutNode.BuilderaddChildren(int index, LayoutProto.LayoutNode.Builder builderForValue)

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

public LayoutProto.LayoutNode.BuilderaddChildren(int index, LayoutProto.LayoutNode value)

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

public LayoutProto.LayoutNode.BuilderaddChildren(LayoutProto.LayoutNode.Builder builderForValue)

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

public LayoutProto.LayoutNode.BuilderaddChildren(LayoutProto.LayoutNode value)

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

public LayoutProto.LayoutNode.BuilderclearChildren()

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

public LayoutProto.LayoutNode.BuilderclearHasAction()

bool hasAction = 9;

public LayoutProto.LayoutNode.BuilderclearHasImageColorFilter()

bool has_image_color_filter = 11;

public LayoutProto.LayoutNode.BuilderclearHasImageDescription()

bool has_image_description = 10;

public LayoutProto.LayoutNode.BuilderclearHeight()

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

public LayoutProto.LayoutNode.BuilderclearHorizontalAlignment()

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

public LayoutProto.LayoutNode.BuilderclearIdentity()

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

public LayoutProto.LayoutNode.BuilderclearImageScale()

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

public LayoutProto.LayoutNode.BuilderclearType()

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

public LayoutProto.LayoutNode.BuilderclearVerticalAlignment()

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

public LayoutProto.LayoutNode.BuilderclearWidth()

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

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;

public LayoutProto.LayoutNode.BuilderremoveChildren(int index)

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

public LayoutProto.LayoutNode.BuildersetChildren(int index, LayoutProto.LayoutNode.Builder builderForValue)

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

public LayoutProto.LayoutNode.BuildersetChildren(int index, LayoutProto.LayoutNode value)

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

public LayoutProto.LayoutNode.BuildersetHasAction(boolean value)

bool hasAction = 9;

public LayoutProto.LayoutNode.BuildersetHasImageColorFilter(boolean value)

bool has_image_color_filter = 11;

public LayoutProto.LayoutNode.BuildersetHasImageDescription(boolean value)

bool has_image_description = 10;

public LayoutProto.LayoutNode.BuildersetHeight(LayoutProto.DimensionType value)

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

public LayoutProto.LayoutNode.BuildersetHeightValue(int value)

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

public LayoutProto.LayoutNode.BuildersetHorizontalAlignment(LayoutProto.HorizontalAlignment value)

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

public LayoutProto.LayoutNode.BuildersetHorizontalAlignmentValue(int value)

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

public LayoutProto.LayoutNode.BuildersetIdentity(LayoutProto.NodeIdentity value)

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

public LayoutProto.LayoutNode.BuildersetIdentityValue(int value)

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

public LayoutProto.LayoutNode.BuildersetImageScale(LayoutProto.ContentScale value)

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

public LayoutProto.LayoutNode.BuildersetImageScaleValue(int value)

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

public LayoutProto.LayoutNode.BuildersetType(LayoutProto.LayoutType value)

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

public LayoutProto.LayoutNode.BuildersetTypeValue(int value)

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

public LayoutProto.LayoutNode.BuildersetVerticalAlignment(LayoutProto.VerticalAlignment value)

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

public LayoutProto.LayoutNode.BuildersetVerticalAlignmentValue(int value)

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

public LayoutProto.LayoutNode.BuildersetWidth(LayoutProto.DimensionType value)

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

public LayoutProto.LayoutNode.BuildersetWidthValue(int value)

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

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

Methods

public int getTypeValue()

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

Returns:

The enum numeric value on the wire for type.

public LayoutProto.LayoutNode.Builder setTypeValue(int value)

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

Parameters:

value: The type to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutType getType()

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

Returns:

The type.

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

Parameters:

value: The enum numeric value on the wire for type to set.

Returns:

This builder for chaining.

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

Returns:

This builder for chaining.

public int getWidthValue()

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

Returns:

The enum numeric value on the wire for width.

public LayoutProto.LayoutNode.Builder setWidthValue(int value)

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

Parameters:

value: The width to set.

Returns:

This builder for chaining.

public LayoutProto.DimensionType getWidth()

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

Returns:

The width.

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

Parameters:

value: The enum numeric value on the wire for width to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearWidth()

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

Returns:

This builder for chaining.

public int getHeightValue()

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

Returns:

The enum numeric value on the wire for height.

public LayoutProto.LayoutNode.Builder setHeightValue(int value)

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

Parameters:

value: The height to set.

Returns:

This builder for chaining.

public LayoutProto.DimensionType getHeight()

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

Returns:

The height.

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

Parameters:

value: The enum numeric value on the wire for height to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearHeight()

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

Returns:

This builder for chaining.

public int getHorizontalAlignmentValue()

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

Returns:

The enum numeric value on the wire for horizontalAlignment.

public LayoutProto.LayoutNode.Builder setHorizontalAlignmentValue(int value)

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

Parameters:

value: The horizontalAlignment to set.

Returns:

This builder for chaining.

public LayoutProto.HorizontalAlignment getHorizontalAlignment()

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

Returns:

The horizontalAlignment.

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

Parameters:

value: The enum numeric value on the wire for horizontalAlignment to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearHorizontalAlignment()

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

Returns:

This builder for chaining.

public int getVerticalAlignmentValue()

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

Returns:

The enum numeric value on the wire for verticalAlignment.

public LayoutProto.LayoutNode.Builder setVerticalAlignmentValue(int value)

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

Parameters:

value: The verticalAlignment to set.

Returns:

This builder for chaining.

public LayoutProto.VerticalAlignment getVerticalAlignment()

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

Returns:

The verticalAlignment.

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

Parameters:

value: The enum numeric value on the wire for verticalAlignment to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearVerticalAlignment()

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

Returns:

This builder for chaining.

public int getImageScaleValue()

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

Returns:

The enum numeric value on the wire for imageScale.

public LayoutProto.LayoutNode.Builder setImageScaleValue(int value)

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

Parameters:

value: The imageScale to set.

Returns:

This builder for chaining.

public LayoutProto.ContentScale getImageScale()

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

Returns:

The imageScale.

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

Parameters:

value: The enum numeric value on the wire for imageScale to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearImageScale()

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

Returns:

This builder for chaining.

public int getIdentityValue()

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

Returns:

The enum numeric value on the wire for identity.

public LayoutProto.LayoutNode.Builder setIdentityValue(int value)

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

Parameters:

value: The identity to set.

Returns:

This builder for chaining.

public LayoutProto.NodeIdentity getIdentity()

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

Returns:

The identity.

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

Parameters:

value: The enum numeric value on the wire for identity to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearIdentity()

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

Returns:

This builder for chaining.

public boolean getHasAction()

bool hasAction = 9;

Returns:

The hasAction.

public LayoutProto.LayoutNode.Builder setHasAction(boolean value)

bool hasAction = 9;

Parameters:

value: The hasAction to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearHasAction()

bool hasAction = 9;

Returns:

This builder for chaining.

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

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

public int getChildrenCount()

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

public LayoutProto.LayoutNode getChildren(int index)

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

public LayoutProto.LayoutNode.Builder setChildren(int index, LayoutProto.LayoutNode value)

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

public LayoutProto.LayoutNode.Builder setChildren(int index, LayoutProto.LayoutNode.Builder builderForValue)

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

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

public LayoutProto.LayoutNode.Builder addChildren(int index, LayoutProto.LayoutNode value)

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

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

public LayoutProto.LayoutNode.Builder addChildren(int index, LayoutProto.LayoutNode.Builder builderForValue)

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

public LayoutProto.LayoutNode.Builder addAllChildren(java.lang.Iterable<LayoutProto.LayoutNode> values)

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

public LayoutProto.LayoutNode.Builder clearChildren()

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

public LayoutProto.LayoutNode.Builder removeChildren(int index)

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

public boolean getHasImageDescription()

bool has_image_description = 10;

Returns:

The hasImageDescription.

public LayoutProto.LayoutNode.Builder setHasImageDescription(boolean value)

bool has_image_description = 10;

Parameters:

value: The hasImageDescription to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearHasImageDescription()

bool has_image_description = 10;

Returns:

This builder for chaining.

public boolean getHasImageColorFilter()

bool has_image_color_filter = 11;

Returns:

The hasImageColorFilter.

public LayoutProto.LayoutNode.Builder setHasImageColorFilter(boolean value)

bool has_image_color_filter = 11;

Parameters:

value: The hasImageColorFilter to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutNode.Builder clearHasImageColorFilter()

bool has_image_color_filter = 11;

Returns:

This builder for chaining.