public final class

LayoutProto.LayoutNode

extends <any>

implements LayoutProto.LayoutNodeOrBuilder

 java.lang.Object

↳<any>

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

Overview

Protobuf type androidx.glance.appwidget.proto.LayoutNode

Summary

Fields
public static final intCHILDREN_FIELD_NUMBER

public static final intHAS_IMAGE_COLOR_FILTER_FIELD_NUMBER

public static final intHAS_IMAGE_DESCRIPTION_FIELD_NUMBER

public static final intHASACTION_FIELD_NUMBER

public static final intHEIGHT_FIELD_NUMBER

public static final intHORIZONTAL_ALIGNMENT_FIELD_NUMBER

public static final intIDENTITY_FIELD_NUMBER

public static final intIMAGE_SCALE_FIELD_NUMBER

public static final intTYPE_FIELD_NUMBER

public static final intVERTICAL_ALIGNMENT_FIELD_NUMBER

public static final intWIDTH_FIELD_NUMBER

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

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 LayoutProto.LayoutNodeOrBuildergetChildrenOrBuilder(int index)

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

public java.util.List<LayoutProto.LayoutNodeOrBuilder>getChildrenOrBuilderList()

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

public static LayoutProto.LayoutNodegetDefaultInstance()

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 static LayoutProto.LayoutNode.BuildernewBuilder()

public static LayoutProto.LayoutNode.BuildernewBuilder(LayoutProto.LayoutNode prototype)

public static LayoutProto.LayoutNodeparseDelimitedFrom(java.io.InputStream input)

public static LayoutProto.LayoutNodeparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNodeparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNodeparseFrom(java.nio.ByteBuffer data)

public static LayoutProto.LayoutNodeparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNodeparseFrom(com.google.protobuf.ByteString data)

public static LayoutProto.LayoutNodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNodeparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutProto.LayoutNodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNodeparseFrom(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 TYPE_FIELD_NUMBER

public static final int WIDTH_FIELD_NUMBER

public static final int HEIGHT_FIELD_NUMBER

public static final int HORIZONTAL_ALIGNMENT_FIELD_NUMBER

public static final int VERTICAL_ALIGNMENT_FIELD_NUMBER

public static final int IMAGE_SCALE_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER

public static final int HASACTION_FIELD_NUMBER

public static final int CHILDREN_FIELD_NUMBER

public static final int HAS_IMAGE_DESCRIPTION_FIELD_NUMBER

public static final int HAS_IMAGE_COLOR_FILTER_FIELD_NUMBER

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 java.util.List<LayoutProto.LayoutNodeOrBuilder> getChildrenOrBuilderList()

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.LayoutNodeOrBuilder getChildrenOrBuilder(int index)

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.

public static LayoutProto.LayoutNode parseFrom(java.nio.ByteBuffer data)

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

public static LayoutProto.LayoutNode parseFrom(com.google.protobuf.ByteString data)

public static LayoutProto.LayoutNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static LayoutProto.LayoutNode parseDelimitedFrom(java.io.InputStream input)

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

public static LayoutProto.LayoutNode parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutProto.LayoutNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutProto.LayoutNode.Builder newBuilder()

public static LayoutProto.LayoutNode.Builder newBuilder(LayoutProto.LayoutNode prototype)

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

public static LayoutProto.LayoutNode getDefaultInstance()

public static <any> parser()