- 2.65.0 (latest)
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class ChipList.Builder extends GeneratedMessage.Builder<ChipList.Builder> implements ChipListOrBuilderA list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line.
Google Workspace add-ons and Chat apps:
Protobuf type google.apps.card.v1.ChipList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChipList.BuilderImplements
ChipListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllChips(Iterable<? extends Chip> values)
public ChipList.Builder addAllChips(Iterable<? extends Chip> values)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.apps.card.v1.Chip> |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
addChips(Chip value)
public ChipList.Builder addChips(Chip value)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Chip |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
addChips(Chip.Builder builderForValue)
public ChipList.Builder addChips(Chip.Builder builderForValue)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Chip.Builder |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
addChips(int index, Chip value)
public ChipList.Builder addChips(int index, Chip value)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Chip |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
addChips(int index, Chip.Builder builderForValue)
public ChipList.Builder addChips(int index, Chip.Builder builderForValue)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Chip.Builder |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
addChipsBuilder()
public Chip.Builder addChipsBuilder()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
Chip.Builder |
|
addChipsBuilder(int index)
public Chip.Builder addChipsBuilder(int index)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Chip.Builder |
|
build()
public ChipList build()| Returns | |
|---|---|
| Type | Description |
ChipList |
|
buildPartial()
public ChipList buildPartial()| Returns | |
|---|---|
| Type | Description |
ChipList |
|
clear()
public ChipList.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
clearChips()
public ChipList.Builder clearChips()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
clearLayout()
public ChipList.Builder clearLayout()Specified chip list layout.
.google.apps.card.v1.ChipList.Layout layout = 1;
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
This builder for chaining. |
getChips(int index)
public Chip getChips(int index)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Chip |
|
getChipsBuilder(int index)
public Chip.Builder getChipsBuilder(int index)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Chip.Builder |
|
getChipsBuilderList()
public List<Chip.Builder> getChipsBuilderList()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getChipsCount()
public int getChipsCount()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getChipsList()
public List<Chip> getChipsList()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
List<Chip> |
|
getChipsOrBuilder(int index)
public ChipOrBuilder getChipsOrBuilder(int index)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ChipOrBuilder |
|
getChipsOrBuilderList()
public List<? extends ChipOrBuilder> getChipsOrBuilderList()An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.apps.card.v1.ChipOrBuilder> |
|
getDefaultInstanceForType()
public ChipList getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChipList |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLayout()
public ChipList.Layout getLayout()Specified chip list layout.
.google.apps.card.v1.ChipList.Layout layout = 1;
| Returns | |
|---|---|
| Type | Description |
ChipList.Layout |
The layout. |
getLayoutValue()
public int getLayoutValue()Specified chip list layout.
.google.apps.card.v1.ChipList.Layout layout = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for layout. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ChipList other)
public ChipList.Builder mergeFrom(ChipList other)| Parameter | |
|---|---|
| Name | Description |
other |
ChipList |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChipList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChipList.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
removeChips(int index)
public ChipList.Builder removeChips(int index)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
setChips(int index, Chip value)
public ChipList.Builder setChips(int index, Chip value)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Chip |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
setChips(int index, Chip.Builder builderForValue)
public ChipList.Builder setChips(int index, Chip.Builder builderForValue)An array of chips.
repeated .google.apps.card.v1.Chip chips = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Chip.Builder |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
|
setLayout(ChipList.Layout value)
public ChipList.Builder setLayout(ChipList.Layout value)Specified chip list layout.
.google.apps.card.v1.ChipList.Layout layout = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ChipList.LayoutThe layout to set. |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
This builder for chaining. |
setLayoutValue(int value)
public ChipList.Builder setLayoutValue(int value)Specified chip list layout.
.google.apps.card.v1.ChipList.Layout layout = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for layout to set. |
| Returns | |
|---|---|
| Type | Description |
ChipList.Builder |
This builder for chaining. |