public final class

LayoutProto.LayoutConfig.Builder

extends <any>

implements LayoutProto.LayoutConfigOrBuilder

 java.lang.Object

↳<any>

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

Overview

Protobuf type androidx.glance.appwidget.proto.LayoutConfig

Summary

Methods
public LayoutProto.LayoutConfig.BuilderaddAllLayout(java.lang.Iterable<LayoutProto.LayoutDefinition> values)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderaddLayout(int index, LayoutProto.LayoutDefinition.Builder builderForValue)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderaddLayout(int index, LayoutProto.LayoutDefinition value)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderaddLayout(LayoutProto.LayoutDefinition.Builder builderForValue)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderaddLayout(LayoutProto.LayoutDefinition value)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderclearLayout()

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuilderclearNextIndex()

int32 next_index = 2;

public LayoutProto.LayoutDefinitiongetLayout(int index)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public intgetLayoutCount()

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public java.util.List<LayoutProto.LayoutDefinition>getLayoutList()

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public intgetNextIndex()

int32 next_index = 2;

public LayoutProto.LayoutConfig.BuilderremoveLayout(int index)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuildersetLayout(int index, LayoutProto.LayoutDefinition.Builder builderForValue)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuildersetLayout(int index, LayoutProto.LayoutDefinition value)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.BuildersetNextIndex(int value)

int32 next_index = 2;

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

Methods

public java.util.List<LayoutProto.LayoutDefinition> getLayoutList()

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public int getLayoutCount()

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutDefinition getLayout(int index)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.Builder setLayout(int index, LayoutProto.LayoutDefinition.Builder builderForValue)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.Builder addLayout(int index, LayoutProto.LayoutDefinition.Builder builderForValue)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.Builder addAllLayout(java.lang.Iterable<LayoutProto.LayoutDefinition> values)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public LayoutProto.LayoutConfig.Builder removeLayout(int index)

repeated .androidx.glance.appwidget.proto.LayoutDefinition layout = 1;

public int getNextIndex()

int32 next_index = 2;

Returns:

The nextIndex.

public LayoutProto.LayoutConfig.Builder setNextIndex(int value)

int32 next_index = 2;

Parameters:

value: The nextIndex to set.

Returns:

This builder for chaining.

public LayoutProto.LayoutConfig.Builder clearNextIndex()

int32 next_index = 2;

Returns:

This builder for chaining.