public final class

LayoutProto.LayoutDefinition.Builder

extends <any>

implements LayoutProto.LayoutDefinitionOrBuilder

 java.lang.Object

↳<any>

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

Overview

Protobuf type androidx.glance.appwidget.proto.LayoutDefinition

Summary

Methods
public LayoutProto.LayoutDefinition.BuilderclearLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutDefinition.BuilderclearLayoutIndex()

int32 layout_index = 2;

public LayoutProto.LayoutNodegetLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public intgetLayoutIndex()

int32 layout_index = 2;

public booleanhasLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutDefinition.BuildermergeLayout(LayoutProto.LayoutNode value)

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutDefinition.BuildersetLayout(LayoutProto.LayoutNode.Builder builderForValue)

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutDefinition.BuildersetLayout(LayoutProto.LayoutNode value)

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutDefinition.BuildersetLayoutIndex(int value)

int32 layout_index = 2;

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

Methods

public boolean hasLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public LayoutProto.LayoutNode getLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public int getLayoutIndex()

int32 layout_index = 2;

Returns:

The layoutIndex.

public LayoutProto.LayoutDefinition.Builder setLayoutIndex(int value)

int32 layout_index = 2;

Parameters:

value: The layoutIndex to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutDefinition.Builder clearLayoutIndex()

int32 layout_index = 2;

Returns:

This builder for chaining.