public final class

LayoutProto

extends java.lang.Object

 java.lang.Object

↳androidx.glance.appwidget.proto.LayoutProto

Gradle dependencies

compile group: 'androidx.glance', name: 'glance-appwidget-proto', version: '1.1.0'

  • groupId: androidx.glance
  • artifactId: glance-appwidget-proto
  • version: 1.1.0

Artifact androidx.glance:glance-appwidget-proto:1.1.0 it located at Google repository (https://maven.google.com/)

Summary

Methods
public static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

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

Methods

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

Source

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: layout.proto

package androidx.glance.appwidget.proto;

public final class LayoutProto {
  private LayoutProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.ContentScale}
   */
  public enum ContentScale
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>UNSPECIFIED_CONTENT_SCALE = 0;</code>
     */
    UNSPECIFIED_CONTENT_SCALE(0),
    /**
     * <code>FIT = 1;</code>
     */
    FIT(1),
    /**
     * <code>CROP = 2;</code>
     */
    CROP(2),
    /**
     * <code>FILL_BOUNDS = 3;</code>
     */
    FILL_BOUNDS(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>UNSPECIFIED_CONTENT_SCALE = 0;</code>
     */
    public static final int UNSPECIFIED_CONTENT_SCALE_VALUE = 0;
    /**
     * <code>FIT = 1;</code>
     */
    public static final int FIT_VALUE = 1;
    /**
     * <code>CROP = 2;</code>
     */
    public static final int CROP_VALUE = 2;
    /**
     * <code>FILL_BOUNDS = 3;</code>
     */
    public static final int FILL_BOUNDS_VALUE = 3;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ContentScale valueOf(int value) {
      return forNumber(value);
    }

    public static ContentScale forNumber(int value) {
      switch (value) {
        case 0: return UNSPECIFIED_CONTENT_SCALE;
        case 1: return FIT;
        case 2: return CROP;
        case 3: return FILL_BOUNDS;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ContentScale>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ContentScale> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ContentScale>() {
            @java.lang.Override
            public ContentScale findValueByNumber(int number) {
              return ContentScale.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return ContentScaleVerifier.INSTANCE;
    }

    private static final class ContentScaleVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new ContentScaleVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return ContentScale.forNumber(number) != null;
            }
          };

    private final int value;

    private ContentScale(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.ContentScale)
  }

  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.HorizontalAlignment}
   */
  public enum HorizontalAlignment
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>UNSPECIFIED_HORIZONTAL_ALIGNMENT = 0;</code>
     */
    UNSPECIFIED_HORIZONTAL_ALIGNMENT(0),
    /**
     * <code>START = 1;</code>
     */
    START(1),
    /**
     * <code>CENTER_HORIZONTALLY = 2;</code>
     */
    CENTER_HORIZONTALLY(2),
    /**
     * <code>END = 3;</code>
     */
    END(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>UNSPECIFIED_HORIZONTAL_ALIGNMENT = 0;</code>
     */
    public static final int UNSPECIFIED_HORIZONTAL_ALIGNMENT_VALUE = 0;
    /**
     * <code>START = 1;</code>
     */
    public static final int START_VALUE = 1;
    /**
     * <code>CENTER_HORIZONTALLY = 2;</code>
     */
    public static final int CENTER_HORIZONTALLY_VALUE = 2;
    /**
     * <code>END = 3;</code>
     */
    public static final int END_VALUE = 3;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static HorizontalAlignment valueOf(int value) {
      return forNumber(value);
    }

    public static HorizontalAlignment forNumber(int value) {
      switch (value) {
        case 0: return UNSPECIFIED_HORIZONTAL_ALIGNMENT;
        case 1: return START;
        case 2: return CENTER_HORIZONTALLY;
        case 3: return END;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<HorizontalAlignment>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        HorizontalAlignment> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<HorizontalAlignment>() {
            @java.lang.Override
            public HorizontalAlignment findValueByNumber(int number) {
              return HorizontalAlignment.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return HorizontalAlignmentVerifier.INSTANCE;
    }

    private static final class HorizontalAlignmentVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new HorizontalAlignmentVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return HorizontalAlignment.forNumber(number) != null;
            }
          };

    private final int value;

    private HorizontalAlignment(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.HorizontalAlignment)
  }

  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.VerticalAlignment}
   */
  public enum VerticalAlignment
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>UNSPECIFIED_VERTICAL_ALIGNMENT = 0;</code>
     */
    UNSPECIFIED_VERTICAL_ALIGNMENT(0),
    /**
     * <code>TOP = 1;</code>
     */
    TOP(1),
    /**
     * <code>CENTER_VERTICALLY = 2;</code>
     */
    CENTER_VERTICALLY(2),
    /**
     * <code>BOTTOM = 3;</code>
     */
    BOTTOM(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>UNSPECIFIED_VERTICAL_ALIGNMENT = 0;</code>
     */
    public static final int UNSPECIFIED_VERTICAL_ALIGNMENT_VALUE = 0;
    /**
     * <code>TOP = 1;</code>
     */
    public static final int TOP_VALUE = 1;
    /**
     * <code>CENTER_VERTICALLY = 2;</code>
     */
    public static final int CENTER_VERTICALLY_VALUE = 2;
    /**
     * <code>BOTTOM = 3;</code>
     */
    public static final int BOTTOM_VALUE = 3;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static VerticalAlignment valueOf(int value) {
      return forNumber(value);
    }

    public static VerticalAlignment forNumber(int value) {
      switch (value) {
        case 0: return UNSPECIFIED_VERTICAL_ALIGNMENT;
        case 1: return TOP;
        case 2: return CENTER_VERTICALLY;
        case 3: return BOTTOM;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<VerticalAlignment>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        VerticalAlignment> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<VerticalAlignment>() {
            @java.lang.Override
            public VerticalAlignment findValueByNumber(int number) {
              return VerticalAlignment.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return VerticalAlignmentVerifier.INSTANCE;
    }

    private static final class VerticalAlignmentVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new VerticalAlignmentVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return VerticalAlignment.forNumber(number) != null;
            }
          };

    private final int value;

    private VerticalAlignment(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.VerticalAlignment)
  }

  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.DimensionType}
   */
  public enum DimensionType
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>UNKNOWN_DIMENSION_TYPE = 0;</code>
     */
    UNKNOWN_DIMENSION_TYPE(0),
    /**
     * <code>EXACT = 1;</code>
     */
    EXACT(1),
    /**
     * <code>WRAP = 2;</code>
     */
    WRAP(2),
    /**
     * <code>FILL = 3;</code>
     */
    FILL(3),
    /**
     * <code>EXPAND = 4;</code>
     */
    EXPAND(4),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>UNKNOWN_DIMENSION_TYPE = 0;</code>
     */
    public static final int UNKNOWN_DIMENSION_TYPE_VALUE = 0;
    /**
     * <code>EXACT = 1;</code>
     */
    public static final int EXACT_VALUE = 1;
    /**
     * <code>WRAP = 2;</code>
     */
    public static final int WRAP_VALUE = 2;
    /**
     * <code>FILL = 3;</code>
     */
    public static final int FILL_VALUE = 3;
    /**
     * <code>EXPAND = 4;</code>
     */
    public static final int EXPAND_VALUE = 4;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DimensionType valueOf(int value) {
      return forNumber(value);
    }

    public static DimensionType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN_DIMENSION_TYPE;
        case 1: return EXACT;
        case 2: return WRAP;
        case 3: return FILL;
        case 4: return EXPAND;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DimensionType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DimensionType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DimensionType>() {
            @java.lang.Override
            public DimensionType findValueByNumber(int number) {
              return DimensionType.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return DimensionTypeVerifier.INSTANCE;
    }

    private static final class DimensionTypeVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new DimensionTypeVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return DimensionType.forNumber(number) != null;
            }
          };

    private final int value;

    private DimensionType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.DimensionType)
  }

  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.NodeIdentity}
   */
  public enum NodeIdentity
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>DEFAULT_IDENTITY = 0;</code>
     */
    DEFAULT_IDENTITY(0),
    /**
     * <code>BACKGROUND_NODE = 1;</code>
     */
    BACKGROUND_NODE(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>DEFAULT_IDENTITY = 0;</code>
     */
    public static final int DEFAULT_IDENTITY_VALUE = 0;
    /**
     * <code>BACKGROUND_NODE = 1;</code>
     */
    public static final int BACKGROUND_NODE_VALUE = 1;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static NodeIdentity valueOf(int value) {
      return forNumber(value);
    }

    public static NodeIdentity forNumber(int value) {
      switch (value) {
        case 0: return DEFAULT_IDENTITY;
        case 1: return BACKGROUND_NODE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<NodeIdentity>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        NodeIdentity> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<NodeIdentity>() {
            @java.lang.Override
            public NodeIdentity findValueByNumber(int number) {
              return NodeIdentity.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return NodeIdentityVerifier.INSTANCE;
    }

    private static final class NodeIdentityVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new NodeIdentityVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return NodeIdentity.forNumber(number) != null;
            }
          };

    private final int value;

    private NodeIdentity(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.NodeIdentity)
  }

  /**
   * Protobuf enum {@code androidx.glance.appwidget.proto.LayoutType}
   */
  public enum LayoutType
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>UNKNOWN_TYPE = 0;</code>
     */
    UNKNOWN_TYPE(0),
    /**
     * <code>ROW = 1;</code>
     */
    ROW(1),
    /**
     * <code>COLUMN = 2;</code>
     */
    COLUMN(2),
    /**
     * <code>BOX = 3;</code>
     */
    BOX(3),
    /**
     * <code>TEXT = 4;</code>
     */
    TEXT(4),
    /**
     * <code>LAZY_COLUMN = 5;</code>
     */
    LAZY_COLUMN(5),
    /**
     * <code>LIST_ITEM = 6;</code>
     */
    LIST_ITEM(6),
    /**
     * <code>CHECK_BOX = 7;</code>
     */
    CHECK_BOX(7),
    /**
     * <code>BUTTON = 8;</code>
     */
    BUTTON(8),
    /**
     * <code>SPACER = 9;</code>
     */
    SPACER(9),
    /**
     * <code>SWITCH = 10;</code>
     */
    SWITCH(10),
    /**
     * <code>ANDROID_REMOTE_VIEWS = 11;</code>
     */
    ANDROID_REMOTE_VIEWS(11),
    /**
     * <code>REMOTE_VIEWS_ROOT = 12;</code>
     */
    REMOTE_VIEWS_ROOT(12),
    /**
     * <code>IMAGE = 13;</code>
     */
    IMAGE(13),
    /**
     * <code>LINEAR_PROGRESS_INDICATOR = 14;</code>
     */
    LINEAR_PROGRESS_INDICATOR(14),
    /**
     * <code>CIRCULAR_PROGRESS_INDICATOR = 15;</code>
     */
    CIRCULAR_PROGRESS_INDICATOR(15),
    /**
     * <code>LAZY_VERTICAL_GRID = 16;</code>
     */
    LAZY_VERTICAL_GRID(16),
    /**
     * <code>VERTICAL_GRID_ITEM = 17;</code>
     */
    VERTICAL_GRID_ITEM(17),
    /**
     * <code>RADIO_GROUP = 18;</code>
     */
    RADIO_GROUP(18),
    /**
     * <code>RADIO_BUTTON = 19;</code>
     */
    RADIO_BUTTON(19),
    /**
     * <code>RADIO_ROW = 20;</code>
     */
    RADIO_ROW(20),
    /**
     * <code>RADIO_COLUMN = 21;</code>
     */
    RADIO_COLUMN(21),
    /**
     * <code>SIZE_BOX = 22;</code>
     */
    SIZE_BOX(22),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>UNKNOWN_TYPE = 0;</code>
     */
    public static final int UNKNOWN_TYPE_VALUE = 0;
    /**
     * <code>ROW = 1;</code>
     */
    public static final int ROW_VALUE = 1;
    /**
     * <code>COLUMN = 2;</code>
     */
    public static final int COLUMN_VALUE = 2;
    /**
     * <code>BOX = 3;</code>
     */
    public static final int BOX_VALUE = 3;
    /**
     * <code>TEXT = 4;</code>
     */
    public static final int TEXT_VALUE = 4;
    /**
     * <code>LAZY_COLUMN = 5;</code>
     */
    public static final int LAZY_COLUMN_VALUE = 5;
    /**
     * <code>LIST_ITEM = 6;</code>
     */
    public static final int LIST_ITEM_VALUE = 6;
    /**
     * <code>CHECK_BOX = 7;</code>
     */
    public static final int CHECK_BOX_VALUE = 7;
    /**
     * <code>BUTTON = 8;</code>
     */
    public static final int BUTTON_VALUE = 8;
    /**
     * <code>SPACER = 9;</code>
     */
    public static final int SPACER_VALUE = 9;
    /**
     * <code>SWITCH = 10;</code>
     */
    public static final int SWITCH_VALUE = 10;
    /**
     * <code>ANDROID_REMOTE_VIEWS = 11;</code>
     */
    public static final int ANDROID_REMOTE_VIEWS_VALUE = 11;
    /**
     * <code>REMOTE_VIEWS_ROOT = 12;</code>
     */
    public static final int REMOTE_VIEWS_ROOT_VALUE = 12;
    /**
     * <code>IMAGE = 13;</code>
     */
    public static final int IMAGE_VALUE = 13;
    /**
     * <code>LINEAR_PROGRESS_INDICATOR = 14;</code>
     */
    public static final int LINEAR_PROGRESS_INDICATOR_VALUE = 14;
    /**
     * <code>CIRCULAR_PROGRESS_INDICATOR = 15;</code>
     */
    public static final int CIRCULAR_PROGRESS_INDICATOR_VALUE = 15;
    /**
     * <code>LAZY_VERTICAL_GRID = 16;</code>
     */
    public static final int LAZY_VERTICAL_GRID_VALUE = 16;
    /**
     * <code>VERTICAL_GRID_ITEM = 17;</code>
     */
    public static final int VERTICAL_GRID_ITEM_VALUE = 17;
    /**
     * <code>RADIO_GROUP = 18;</code>
     */
    public static final int RADIO_GROUP_VALUE = 18;
    /**
     * <code>RADIO_BUTTON = 19;</code>
     */
    public static final int RADIO_BUTTON_VALUE = 19;
    /**
     * <code>RADIO_ROW = 20;</code>
     */
    public static final int RADIO_ROW_VALUE = 20;
    /**
     * <code>RADIO_COLUMN = 21;</code>
     */
    public static final int RADIO_COLUMN_VALUE = 21;
    /**
     * <code>SIZE_BOX = 22;</code>
     */
    public static final int SIZE_BOX_VALUE = 22;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static LayoutType valueOf(int value) {
      return forNumber(value);
    }

    public static LayoutType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN_TYPE;
        case 1: return ROW;
        case 2: return COLUMN;
        case 3: return BOX;
        case 4: return TEXT;
        case 5: return LAZY_COLUMN;
        case 6: return LIST_ITEM;
        case 7: return CHECK_BOX;
        case 8: return BUTTON;
        case 9: return SPACER;
        case 10: return SWITCH;
        case 11: return ANDROID_REMOTE_VIEWS;
        case 12: return REMOTE_VIEWS_ROOT;
        case 13: return IMAGE;
        case 14: return LINEAR_PROGRESS_INDICATOR;
        case 15: return CIRCULAR_PROGRESS_INDICATOR;
        case 16: return LAZY_VERTICAL_GRID;
        case 17: return VERTICAL_GRID_ITEM;
        case 18: return RADIO_GROUP;
        case 19: return RADIO_BUTTON;
        case 20: return RADIO_ROW;
        case 21: return RADIO_COLUMN;
        case 22: return SIZE_BOX;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<LayoutType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        LayoutType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<LayoutType>() {
            @java.lang.Override
            public LayoutType findValueByNumber(int number) {
              return LayoutType.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return LayoutTypeVerifier.INSTANCE;
    }

    private static final class LayoutTypeVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new LayoutTypeVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return LayoutType.forNumber(number) != null;
            }
          };

    private final int value;

    private LayoutType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.glance.appwidget.proto.LayoutType)
  }

  public interface LayoutConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.glance.appwidget.proto.LayoutConfig)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> 
        getLayoutList();
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition getLayout(int index);
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    int getLayoutCount();

    /**
     * <code>int32 next_index = 2;</code>
     * @return The nextIndex.
     */
    int getNextIndex();
  }
  /**
   * Protobuf type {@code androidx.glance.appwidget.proto.LayoutConfig}
   */
  public  static final class LayoutConfig extends
      com.google.protobuf.GeneratedMessageLite<
          LayoutConfig, LayoutConfig.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.glance.appwidget.proto.LayoutConfig)
      LayoutConfigOrBuilder {
    private LayoutConfig() {
      layout_ = emptyProtobufList();
    }
    public static final int LAYOUT_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.ProtobufList<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> layout_;
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    @java.lang.Override
    public java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> getLayoutList() {
      return layout_;
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    public java.util.List<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutDefinitionOrBuilder> 
        getLayoutOrBuilderList() {
      return layout_;
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    @java.lang.Override
    public int getLayoutCount() {
      return layout_.size();
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition getLayout(int index) {
      return layout_.get(index);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    public androidx.glance.appwidget.proto.LayoutProto.LayoutDefinitionOrBuilder getLayoutOrBuilder(
        int index) {
      return layout_.get(index);
    }
    private void ensureLayoutIsMutable() {
      com.google.protobuf.Internal.ProtobufList<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> tmp = layout_;
      if (!tmp.isModifiable()) {
        layout_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }

    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void setLayout(
        int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
      value.getClass();
  ensureLayoutIsMutable();
      layout_.set(index, value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void addLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
      value.getClass();
  ensureLayoutIsMutable();
      layout_.add(value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void addLayout(
        int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
      value.getClass();
  ensureLayoutIsMutable();
      layout_.add(index, value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void addAllLayout(
        java.lang.Iterable<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> values) {
      ensureLayoutIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, layout_);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void clearLayout() {
      layout_ = emptyProtobufList();
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
     */
    private void removeLayout(int index) {
      ensureLayoutIsMutable();
      layout_.remove(index);
    }

    public static final int NEXT_INDEX_FIELD_NUMBER = 2;
    private int nextIndex_;
    /**
     * <code>int32 next_index = 2;</code>
     * @return The nextIndex.
     */
    @java.lang.Override
    public int getNextIndex() {
      return nextIndex_;
    }
    /**
     * <code>int32 next_index = 2;</code>
     * @param value The nextIndex to set.
     */
    private void setNextIndex(int value) {
      
      nextIndex_ = value;
    }
    /**
     * <code>int32 next_index = 2;</code>
     */
    private void clearNextIndex() {

      nextIndex_ = 0;
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.glance.appwidget.proto.LayoutProto.LayoutConfig prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code androidx.glance.appwidget.proto.LayoutConfig}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.glance.appwidget.proto.LayoutProto.LayoutConfig, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.glance.appwidget.proto.LayoutConfig)
        androidx.glance.appwidget.proto.LayoutProto.LayoutConfigOrBuilder {
      // Construct using androidx.glance.appwidget.proto.LayoutProto.LayoutConfig.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      @java.lang.Override
      public java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> getLayoutList() {
        return java.util.Collections.unmodifiableList(
            instance.getLayoutList());
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      @java.lang.Override
      public int getLayoutCount() {
        return instance.getLayoutCount();
      }/**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition getLayout(int index) {
        return instance.getLayout(index);
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder setLayout(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
        copyOnWrite();
        instance.setLayout(index, value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder setLayout(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.Builder builderForValue) {
        copyOnWrite();
        instance.setLayout(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder addLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
        copyOnWrite();
        instance.addLayout(value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder addLayout(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition value) {
        copyOnWrite();
        instance.addLayout(index, value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder addLayout(
          androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.Builder builderForValue) {
        copyOnWrite();
        instance.addLayout(builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder addLayout(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.Builder builderForValue) {
        copyOnWrite();
        instance.addLayout(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder addAllLayout(
          java.lang.Iterable<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> values) {
        copyOnWrite();
        instance.addAllLayout(values);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder clearLayout() {
        copyOnWrite();
        instance.clearLayout();
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;</code>
       */
      public Builder removeLayout(int index) {
        copyOnWrite();
        instance.removeLayout(index);
        return this;
      }

      /**
       * <code>int32 next_index = 2;</code>
       * @return The nextIndex.
       */
      @java.lang.Override
      public int getNextIndex() {
        return instance.getNextIndex();
      }
      /**
       * <code>int32 next_index = 2;</code>
       * @param value The nextIndex to set.
       * @return This builder for chaining.
       */
      public Builder setNextIndex(int value) {
        copyOnWrite();
        instance.setNextIndex(value);
        return this;
      }
      /**
       * <code>int32 next_index = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextIndex() {
        copyOnWrite();
        instance.clearNextIndex();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.glance.appwidget.proto.LayoutConfig)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.glance.appwidget.proto.LayoutProto.LayoutConfig();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "layout_",
              androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.class,
              "nextIndex_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u0004" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.glance.appwidget.proto.LayoutProto.LayoutConfig> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.glance.appwidget.proto.LayoutProto.LayoutConfig.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.glance.appwidget.proto.LayoutProto.LayoutConfig>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:androidx.glance.appwidget.proto.LayoutConfig)
    private static final androidx.glance.appwidget.proto.LayoutProto.LayoutConfig DEFAULT_INSTANCE;
    static {
      LayoutConfig defaultInstance = new LayoutConfig();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        LayoutConfig.class, defaultInstance);
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutConfig getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<LayoutConfig> PARSER;

    public static com.google.protobuf.Parser<LayoutConfig> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface LayoutDefinitionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.glance.appwidget.proto.LayoutDefinition)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     * @return Whether the layout field is set.
     */
    boolean hasLayout();
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     * @return The layout.
     */
    androidx.glance.appwidget.proto.LayoutProto.LayoutNode getLayout();

    /**
     * <code>int32 layout_index = 2;</code>
     * @return The layoutIndex.
     */
    int getLayoutIndex();
  }
  /**
   * Protobuf type {@code androidx.glance.appwidget.proto.LayoutDefinition}
   */
  public  static final class LayoutDefinition extends
      com.google.protobuf.GeneratedMessageLite<
          LayoutDefinition, LayoutDefinition.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.glance.appwidget.proto.LayoutDefinition)
      LayoutDefinitionOrBuilder {
    private LayoutDefinition() {
    }
    public static final int LAYOUT_FIELD_NUMBER = 1;
    private androidx.glance.appwidget.proto.LayoutProto.LayoutNode layout_;
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     */
    @java.lang.Override
    public boolean hasLayout() {
      return layout_ != null;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.LayoutNode getLayout() {
      return layout_ == null ? androidx.glance.appwidget.proto.LayoutProto.LayoutNode.getDefaultInstance() : layout_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     */
    private void setLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
      value.getClass();
  layout_ = value;

      }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
      value.getClass();
  if (layout_ != null &&
          layout_ != androidx.glance.appwidget.proto.LayoutProto.LayoutNode.getDefaultInstance()) {
        layout_ =
          androidx.glance.appwidget.proto.LayoutProto.LayoutNode.newBuilder(layout_).mergeFrom(value).buildPartial();
      } else {
        layout_ = value;
      }

    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
     */
    private void clearLayout() {  layout_ = null;

    }

    public static final int LAYOUT_INDEX_FIELD_NUMBER = 2;
    private int layoutIndex_;
    /**
     * <code>int32 layout_index = 2;</code>
     * @return The layoutIndex.
     */
    @java.lang.Override
    public int getLayoutIndex() {
      return layoutIndex_;
    }
    /**
     * <code>int32 layout_index = 2;</code>
     * @param value The layoutIndex to set.
     */
    private void setLayoutIndex(int value) {
      
      layoutIndex_ = value;
    }
    /**
     * <code>int32 layout_index = 2;</code>
     */
    private void clearLayoutIndex() {

      layoutIndex_ = 0;
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code androidx.glance.appwidget.proto.LayoutDefinition}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.glance.appwidget.proto.LayoutDefinition)
        androidx.glance.appwidget.proto.LayoutProto.LayoutDefinitionOrBuilder {
      // Construct using androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      @java.lang.Override
      public boolean hasLayout() {
        return instance.hasLayout();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.LayoutNode getLayout() {
        return instance.getLayout();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      public Builder setLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
        copyOnWrite();
        instance.setLayout(value);
        return this;
        }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      public Builder setLayout(
          androidx.glance.appwidget.proto.LayoutProto.LayoutNode.Builder builderForValue) {
        copyOnWrite();
        instance.setLayout(builderForValue.build());
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      public Builder mergeLayout(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
        copyOnWrite();
        instance.mergeLayout(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutNode layout = 1;</code>
       */
      public Builder clearLayout() {  copyOnWrite();
        instance.clearLayout();
        return this;
      }

      /**
       * <code>int32 layout_index = 2;</code>
       * @return The layoutIndex.
       */
      @java.lang.Override
      public int getLayoutIndex() {
        return instance.getLayoutIndex();
      }
      /**
       * <code>int32 layout_index = 2;</code>
       * @param value The layoutIndex to set.
       * @return This builder for chaining.
       */
      public Builder setLayoutIndex(int value) {
        copyOnWrite();
        instance.setLayoutIndex(value);
        return this;
      }
      /**
       * <code>int32 layout_index = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearLayoutIndex() {
        copyOnWrite();
        instance.clearLayoutIndex();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.glance.appwidget.proto.LayoutDefinition)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "layout_",
              "layoutIndex_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002\u0004" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:androidx.glance.appwidget.proto.LayoutDefinition)
    private static final androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition DEFAULT_INSTANCE;
    static {
      LayoutDefinition defaultInstance = new LayoutDefinition();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        LayoutDefinition.class, defaultInstance);
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutDefinition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<LayoutDefinition> PARSER;

    public static com.google.protobuf.Parser<LayoutDefinition> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface LayoutNodeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.glance.appwidget.proto.LayoutNode)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @return The enum numeric value on the wire for type.
     */
    int getTypeValue();
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @return The type.
     */
    androidx.glance.appwidget.proto.LayoutProto.LayoutType getType();

    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @return The enum numeric value on the wire for width.
     */
    int getWidthValue();
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @return The width.
     */
    androidx.glance.appwidget.proto.LayoutProto.DimensionType getWidth();

    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @return The enum numeric value on the wire for height.
     */
    int getHeightValue();
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @return The height.
     */
    androidx.glance.appwidget.proto.LayoutProto.DimensionType getHeight();

    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @return The enum numeric value on the wire for horizontalAlignment.
     */
    int getHorizontalAlignmentValue();
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @return The horizontalAlignment.
     */
    androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment getHorizontalAlignment();

    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @return The enum numeric value on the wire for verticalAlignment.
     */
    int getVerticalAlignmentValue();
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @return The verticalAlignment.
     */
    androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment getVerticalAlignment();

    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @return The enum numeric value on the wire for imageScale.
     */
    int getImageScaleValue();
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @return The imageScale.
     */
    androidx.glance.appwidget.proto.LayoutProto.ContentScale getImageScale();

    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @return The enum numeric value on the wire for identity.
     */
    int getIdentityValue();
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @return The identity.
     */
    androidx.glance.appwidget.proto.LayoutProto.NodeIdentity getIdentity();

    /**
     * <code>bool hasAction = 9;</code>
     * @return The hasAction.
     */
    boolean getHasAction();

    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> 
        getChildrenList();
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    androidx.glance.appwidget.proto.LayoutProto.LayoutNode getChildren(int index);
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    int getChildrenCount();

    /**
     * <code>bool has_image_description = 10;</code>
     * @return The hasImageDescription.
     */
    boolean getHasImageDescription();

    /**
     * <code>bool has_image_color_filter = 11;</code>
     * @return The hasImageColorFilter.
     */
    boolean getHasImageColorFilter();
  }
  /**
   * Protobuf type {@code androidx.glance.appwidget.proto.LayoutNode}
   */
  public  static final class LayoutNode extends
      com.google.protobuf.GeneratedMessageLite<
          LayoutNode, LayoutNode.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.glance.appwidget.proto.LayoutNode)
      LayoutNodeOrBuilder {
    private LayoutNode() {
      children_ = emptyProtobufList();
    }
    public static final int TYPE_FIELD_NUMBER = 1;
    private int type_;
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @return The enum numeric value on the wire for type.
     */
    @java.lang.Override
    public int getTypeValue() {
      return type_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @return The type.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.LayoutType getType() {
      androidx.glance.appwidget.proto.LayoutProto.LayoutType result = androidx.glance.appwidget.proto.LayoutProto.LayoutType.forNumber(type_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.LayoutType.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @param value The enum numeric value on the wire for type to set.
     */
    private void setTypeValue(int value) {
        type_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     * @param value The type to set.
     */
    private void setType(androidx.glance.appwidget.proto.LayoutProto.LayoutType value) {
      type_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
     */
    private void clearType() {

      type_ = 0;
    }

    public static final int WIDTH_FIELD_NUMBER = 2;
    private int width_;
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @return The enum numeric value on the wire for width.
     */
    @java.lang.Override
    public int getWidthValue() {
      return width_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @return The width.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.DimensionType getWidth() {
      androidx.glance.appwidget.proto.LayoutProto.DimensionType result = androidx.glance.appwidget.proto.LayoutProto.DimensionType.forNumber(width_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.DimensionType.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @param value The enum numeric value on the wire for width to set.
     */
    private void setWidthValue(int value) {
        width_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     * @param value The width to set.
     */
    private void setWidth(androidx.glance.appwidget.proto.LayoutProto.DimensionType value) {
      width_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
     */
    private void clearWidth() {

      width_ = 0;
    }

    public static final int HEIGHT_FIELD_NUMBER = 3;
    private int height_;
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @return The enum numeric value on the wire for height.
     */
    @java.lang.Override
    public int getHeightValue() {
      return height_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @return The height.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.DimensionType getHeight() {
      androidx.glance.appwidget.proto.LayoutProto.DimensionType result = androidx.glance.appwidget.proto.LayoutProto.DimensionType.forNumber(height_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.DimensionType.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @param value The enum numeric value on the wire for height to set.
     */
    private void setHeightValue(int value) {
        height_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     * @param value The height to set.
     */
    private void setHeight(androidx.glance.appwidget.proto.LayoutProto.DimensionType value) {
      height_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
     */
    private void clearHeight() {

      height_ = 0;
    }

    public static final int HORIZONTAL_ALIGNMENT_FIELD_NUMBER = 4;
    private int horizontalAlignment_;
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @return The enum numeric value on the wire for horizontalAlignment.
     */
    @java.lang.Override
    public int getHorizontalAlignmentValue() {
      return horizontalAlignment_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @return The horizontalAlignment.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment getHorizontalAlignment() {
      androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment result = androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment.forNumber(horizontalAlignment_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @param value The enum numeric value on the wire for horizontalAlignment to set.
     */
    private void setHorizontalAlignmentValue(int value) {
        horizontalAlignment_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     * @param value The horizontalAlignment to set.
     */
    private void setHorizontalAlignment(androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment value) {
      horizontalAlignment_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
     */
    private void clearHorizontalAlignment() {

      horizontalAlignment_ = 0;
    }

    public static final int VERTICAL_ALIGNMENT_FIELD_NUMBER = 5;
    private int verticalAlignment_;
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @return The enum numeric value on the wire for verticalAlignment.
     */
    @java.lang.Override
    public int getVerticalAlignmentValue() {
      return verticalAlignment_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @return The verticalAlignment.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment getVerticalAlignment() {
      androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment result = androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment.forNumber(verticalAlignment_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @param value The enum numeric value on the wire for verticalAlignment to set.
     */
    private void setVerticalAlignmentValue(int value) {
        verticalAlignment_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     * @param value The verticalAlignment to set.
     */
    private void setVerticalAlignment(androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment value) {
      verticalAlignment_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
     */
    private void clearVerticalAlignment() {

      verticalAlignment_ = 0;
    }

    public static final int IMAGE_SCALE_FIELD_NUMBER = 6;
    private int imageScale_;
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @return The enum numeric value on the wire for imageScale.
     */
    @java.lang.Override
    public int getImageScaleValue() {
      return imageScale_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @return The imageScale.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.ContentScale getImageScale() {
      androidx.glance.appwidget.proto.LayoutProto.ContentScale result = androidx.glance.appwidget.proto.LayoutProto.ContentScale.forNumber(imageScale_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.ContentScale.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @param value The enum numeric value on the wire for imageScale to set.
     */
    private void setImageScaleValue(int value) {
        imageScale_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     * @param value The imageScale to set.
     */
    private void setImageScale(androidx.glance.appwidget.proto.LayoutProto.ContentScale value) {
      imageScale_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
     */
    private void clearImageScale() {

      imageScale_ = 0;
    }

    public static final int IDENTITY_FIELD_NUMBER = 8;
    private int identity_;
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @return The enum numeric value on the wire for identity.
     */
    @java.lang.Override
    public int getIdentityValue() {
      return identity_;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @return The identity.
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.NodeIdentity getIdentity() {
      androidx.glance.appwidget.proto.LayoutProto.NodeIdentity result = androidx.glance.appwidget.proto.LayoutProto.NodeIdentity.forNumber(identity_);
      return result == null ? androidx.glance.appwidget.proto.LayoutProto.NodeIdentity.UNRECOGNIZED : result;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @param value The enum numeric value on the wire for identity to set.
     */
    private void setIdentityValue(int value) {
        identity_ = value;
    }
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     * @param value The identity to set.
     */
    private void setIdentity(androidx.glance.appwidget.proto.LayoutProto.NodeIdentity value) {
      identity_ = value.getNumber();

    }
    /**
     * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
     */
    private void clearIdentity() {

      identity_ = 0;
    }

    public static final int HASACTION_FIELD_NUMBER = 9;
    private boolean hasAction_;
    /**
     * <code>bool hasAction = 9;</code>
     * @return The hasAction.
     */
    @java.lang.Override
    public boolean getHasAction() {
      return hasAction_;
    }
    /**
     * <code>bool hasAction = 9;</code>
     * @param value The hasAction to set.
     */
    private void setHasAction(boolean value) {
      
      hasAction_ = value;
    }
    /**
     * <code>bool hasAction = 9;</code>
     */
    private void clearHasAction() {

      hasAction_ = false;
    }

    public static final int CHILDREN_FIELD_NUMBER = 7;
    private com.google.protobuf.Internal.ProtobufList<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> children_;
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    @java.lang.Override
    public java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> getChildrenList() {
      return children_;
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    public java.util.List<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutNodeOrBuilder> 
        getChildrenOrBuilderList() {
      return children_;
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    @java.lang.Override
    public int getChildrenCount() {
      return children_.size();
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    @java.lang.Override
    public androidx.glance.appwidget.proto.LayoutProto.LayoutNode getChildren(int index) {
      return children_.get(index);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    public androidx.glance.appwidget.proto.LayoutProto.LayoutNodeOrBuilder getChildrenOrBuilder(
        int index) {
      return children_.get(index);
    }
    private void ensureChildrenIsMutable() {
      com.google.protobuf.Internal.ProtobufList<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> tmp = children_;
      if (!tmp.isModifiable()) {
        children_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }

    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void setChildren(
        int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
      value.getClass();
  ensureChildrenIsMutable();
      children_.set(index, value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void addChildren(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
      value.getClass();
  ensureChildrenIsMutable();
      children_.add(value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void addChildren(
        int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
      value.getClass();
  ensureChildrenIsMutable();
      children_.add(index, value);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void addAllChildren(
        java.lang.Iterable<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutNode> values) {
      ensureChildrenIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, children_);
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void clearChildren() {
      children_ = emptyProtobufList();
    }
    /**
     * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
     */
    private void removeChildren(int index) {
      ensureChildrenIsMutable();
      children_.remove(index);
    }

    public static final int HAS_IMAGE_DESCRIPTION_FIELD_NUMBER = 10;
    private boolean hasImageDescription_;
    /**
     * <code>bool has_image_description = 10;</code>
     * @return The hasImageDescription.
     */
    @java.lang.Override
    public boolean getHasImageDescription() {
      return hasImageDescription_;
    }
    /**
     * <code>bool has_image_description = 10;</code>
     * @param value The hasImageDescription to set.
     */
    private void setHasImageDescription(boolean value) {
      
      hasImageDescription_ = value;
    }
    /**
     * <code>bool has_image_description = 10;</code>
     */
    private void clearHasImageDescription() {

      hasImageDescription_ = false;
    }

    public static final int HAS_IMAGE_COLOR_FILTER_FIELD_NUMBER = 11;
    private boolean hasImageColorFilter_;
    /**
     * <code>bool has_image_color_filter = 11;</code>
     * @return The hasImageColorFilter.
     */
    @java.lang.Override
    public boolean getHasImageColorFilter() {
      return hasImageColorFilter_;
    }
    /**
     * <code>bool has_image_color_filter = 11;</code>
     * @param value The hasImageColorFilter to set.
     */
    private void setHasImageColorFilter(boolean value) {
      
      hasImageColorFilter_ = value;
    }
    /**
     * <code>bool has_image_color_filter = 11;</code>
     */
    private void clearHasImageColorFilter() {

      hasImageColorFilter_ = false;
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.glance.appwidget.proto.LayoutProto.LayoutNode prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code androidx.glance.appwidget.proto.LayoutNode}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.glance.appwidget.proto.LayoutProto.LayoutNode, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.glance.appwidget.proto.LayoutNode)
        androidx.glance.appwidget.proto.LayoutProto.LayoutNodeOrBuilder {
      // Construct using androidx.glance.appwidget.proto.LayoutProto.LayoutNode.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
       * @return The enum numeric value on the wire for type.
       */
      @java.lang.Override
      public int getTypeValue() {
        return instance.getTypeValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeValue(int value) {
        copyOnWrite();
        instance.setTypeValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
       * @return The type.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.LayoutType getType() {
        return instance.getType();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
       * @param value The enum numeric value on the wire for type to set.
       * @return This builder for chaining.
       */
      public Builder setType(androidx.glance.appwidget.proto.LayoutProto.LayoutType value) {
        copyOnWrite();
        instance.setType(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.LayoutType type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
       * @return The enum numeric value on the wire for width.
       */
      @java.lang.Override
      public int getWidthValue() {
        return instance.getWidthValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
       * @param value The width to set.
       * @return This builder for chaining.
       */
      public Builder setWidthValue(int value) {
        copyOnWrite();
        instance.setWidthValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
       * @return The width.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.DimensionType getWidth() {
        return instance.getWidth();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
       * @param value The enum numeric value on the wire for width to set.
       * @return This builder for chaining.
       */
      public Builder setWidth(androidx.glance.appwidget.proto.LayoutProto.DimensionType value) {
        copyOnWrite();
        instance.setWidth(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType width = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearWidth() {
        copyOnWrite();
        instance.clearWidth();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
       * @return The enum numeric value on the wire for height.
       */
      @java.lang.Override
      public int getHeightValue() {
        return instance.getHeightValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
       * @param value The height to set.
       * @return This builder for chaining.
       */
      public Builder setHeightValue(int value) {
        copyOnWrite();
        instance.setHeightValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
       * @return The height.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.DimensionType getHeight() {
        return instance.getHeight();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
       * @param value The enum numeric value on the wire for height to set.
       * @return This builder for chaining.
       */
      public Builder setHeight(androidx.glance.appwidget.proto.LayoutProto.DimensionType value) {
        copyOnWrite();
        instance.setHeight(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.DimensionType height = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearHeight() {
        copyOnWrite();
        instance.clearHeight();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
       * @return The enum numeric value on the wire for horizontalAlignment.
       */
      @java.lang.Override
      public int getHorizontalAlignmentValue() {
        return instance.getHorizontalAlignmentValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
       * @param value The horizontalAlignment to set.
       * @return This builder for chaining.
       */
      public Builder setHorizontalAlignmentValue(int value) {
        copyOnWrite();
        instance.setHorizontalAlignmentValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
       * @return The horizontalAlignment.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment getHorizontalAlignment() {
        return instance.getHorizontalAlignment();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
       * @param value The enum numeric value on the wire for horizontalAlignment to set.
       * @return This builder for chaining.
       */
      public Builder setHorizontalAlignment(androidx.glance.appwidget.proto.LayoutProto.HorizontalAlignment value) {
        copyOnWrite();
        instance.setHorizontalAlignment(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.HorizontalAlignment horizontal_alignment = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearHorizontalAlignment() {
        copyOnWrite();
        instance.clearHorizontalAlignment();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
       * @return The enum numeric value on the wire for verticalAlignment.
       */
      @java.lang.Override
      public int getVerticalAlignmentValue() {
        return instance.getVerticalAlignmentValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
       * @param value The verticalAlignment to set.
       * @return This builder for chaining.
       */
      public Builder setVerticalAlignmentValue(int value) {
        copyOnWrite();
        instance.setVerticalAlignmentValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
       * @return The verticalAlignment.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment getVerticalAlignment() {
        return instance.getVerticalAlignment();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
       * @param value The enum numeric value on the wire for verticalAlignment to set.
       * @return This builder for chaining.
       */
      public Builder setVerticalAlignment(androidx.glance.appwidget.proto.LayoutProto.VerticalAlignment value) {
        copyOnWrite();
        instance.setVerticalAlignment(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.VerticalAlignment vertical_alignment = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearVerticalAlignment() {
        copyOnWrite();
        instance.clearVerticalAlignment();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
       * @return The enum numeric value on the wire for imageScale.
       */
      @java.lang.Override
      public int getImageScaleValue() {
        return instance.getImageScaleValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
       * @param value The imageScale to set.
       * @return This builder for chaining.
       */
      public Builder setImageScaleValue(int value) {
        copyOnWrite();
        instance.setImageScaleValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
       * @return The imageScale.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.ContentScale getImageScale() {
        return instance.getImageScale();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
       * @param value The enum numeric value on the wire for imageScale to set.
       * @return This builder for chaining.
       */
      public Builder setImageScale(androidx.glance.appwidget.proto.LayoutProto.ContentScale value) {
        copyOnWrite();
        instance.setImageScale(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.ContentScale image_scale = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearImageScale() {
        copyOnWrite();
        instance.clearImageScale();
        return this;
      }

      /**
       * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
       * @return The enum numeric value on the wire for identity.
       */
      @java.lang.Override
      public int getIdentityValue() {
        return instance.getIdentityValue();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
       * @param value The identity to set.
       * @return This builder for chaining.
       */
      public Builder setIdentityValue(int value) {
        copyOnWrite();
        instance.setIdentityValue(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
       * @return The identity.
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.NodeIdentity getIdentity() {
        return instance.getIdentity();
      }
      /**
       * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
       * @param value The enum numeric value on the wire for identity to set.
       * @return This builder for chaining.
       */
      public Builder setIdentity(androidx.glance.appwidget.proto.LayoutProto.NodeIdentity value) {
        copyOnWrite();
        instance.setIdentity(value);
        return this;
      }
      /**
       * <code>.androidx.glance.appwidget.proto.NodeIdentity identity = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearIdentity() {
        copyOnWrite();
        instance.clearIdentity();
        return this;
      }

      /**
       * <code>bool hasAction = 9;</code>
       * @return The hasAction.
       */
      @java.lang.Override
      public boolean getHasAction() {
        return instance.getHasAction();
      }
      /**
       * <code>bool hasAction = 9;</code>
       * @param value The hasAction to set.
       * @return This builder for chaining.
       */
      public Builder setHasAction(boolean value) {
        copyOnWrite();
        instance.setHasAction(value);
        return this;
      }
      /**
       * <code>bool hasAction = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearHasAction() {
        copyOnWrite();
        instance.clearHasAction();
        return this;
      }

      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      @java.lang.Override
      public java.util.List<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> getChildrenList() {
        return java.util.Collections.unmodifiableList(
            instance.getChildrenList());
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      @java.lang.Override
      public int getChildrenCount() {
        return instance.getChildrenCount();
      }/**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      @java.lang.Override
      public androidx.glance.appwidget.proto.LayoutProto.LayoutNode getChildren(int index) {
        return instance.getChildren(index);
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder setChildren(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
        copyOnWrite();
        instance.setChildren(index, value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder setChildren(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode.Builder builderForValue) {
        copyOnWrite();
        instance.setChildren(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder addChildren(androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
        copyOnWrite();
        instance.addChildren(value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder addChildren(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode value) {
        copyOnWrite();
        instance.addChildren(index, value);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder addChildren(
          androidx.glance.appwidget.proto.LayoutProto.LayoutNode.Builder builderForValue) {
        copyOnWrite();
        instance.addChildren(builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder addChildren(
          int index, androidx.glance.appwidget.proto.LayoutProto.LayoutNode.Builder builderForValue) {
        copyOnWrite();
        instance.addChildren(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder addAllChildren(
          java.lang.Iterable<? extends androidx.glance.appwidget.proto.LayoutProto.LayoutNode> values) {
        copyOnWrite();
        instance.addAllChildren(values);
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder clearChildren() {
        copyOnWrite();
        instance.clearChildren();
        return this;
      }
      /**
       * <code>repeated .androidx.glance.appwidget.proto.LayoutNode children = 7;</code>
       */
      public Builder removeChildren(int index) {
        copyOnWrite();
        instance.removeChildren(index);
        return this;
      }

      /**
       * <code>bool has_image_description = 10;</code>
       * @return The hasImageDescription.
       */
      @java.lang.Override
      public boolean getHasImageDescription() {
        return instance.getHasImageDescription();
      }
      /**
       * <code>bool has_image_description = 10;</code>
       * @param value The hasImageDescription to set.
       * @return This builder for chaining.
       */
      public Builder setHasImageDescription(boolean value) {
        copyOnWrite();
        instance.setHasImageDescription(value);
        return this;
      }
      /**
       * <code>bool has_image_description = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearHasImageDescription() {
        copyOnWrite();
        instance.clearHasImageDescription();
        return this;
      }

      /**
       * <code>bool has_image_color_filter = 11;</code>
       * @return The hasImageColorFilter.
       */
      @java.lang.Override
      public boolean getHasImageColorFilter() {
        return instance.getHasImageColorFilter();
      }
      /**
       * <code>bool has_image_color_filter = 11;</code>
       * @param value The hasImageColorFilter to set.
       * @return This builder for chaining.
       */
      public Builder setHasImageColorFilter(boolean value) {
        copyOnWrite();
        instance.setHasImageColorFilter(value);
        return this;
      }
      /**
       * <code>bool has_image_color_filter = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearHasImageColorFilter() {
        copyOnWrite();
        instance.clearHasImageColorFilter();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.glance.appwidget.proto.LayoutNode)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.glance.appwidget.proto.LayoutProto.LayoutNode();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "width_",
              "height_",
              "horizontalAlignment_",
              "verticalAlignment_",
              "imageScale_",
              "children_",
              androidx.glance.appwidget.proto.LayoutProto.LayoutNode.class,
              "identity_",
              "hasAction_",
              "hasImageDescription_",
              "hasImageColorFilter_",
            };
            java.lang.String info =
                "\u0000\u000b\u0000\u0000\u0001\u000b\u000b\u0000\u0001\u0000\u0001\f\u0002\f\u0003" +
                "\f\u0004\f\u0005\f\u0006\f\u0007\u001b\b\f\t\u0007\n\u0007\u000b\u0007";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.glance.appwidget.proto.LayoutProto.LayoutNode> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.glance.appwidget.proto.LayoutProto.LayoutNode.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.glance.appwidget.proto.LayoutProto.LayoutNode>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:androidx.glance.appwidget.proto.LayoutNode)
    private static final androidx.glance.appwidget.proto.LayoutProto.LayoutNode DEFAULT_INSTANCE;
    static {
      LayoutNode defaultInstance = new LayoutNode();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        LayoutNode.class, defaultInstance);
    }

    public static androidx.glance.appwidget.proto.LayoutProto.LayoutNode getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<LayoutNode> PARSER;

    public static com.google.protobuf.Parser<LayoutNode> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}