Class ActionResponse.SelectionItems.Builder (0.10.0)

public static final class ActionResponse.SelectionItems.Builder extends GeneratedMessageV3.Builder<ActionResponse.SelectionItems.Builder> implements ActionResponse.SelectionItemsOrBuilder

List of widget autocomplete results.

Protobuf type google.chat.v1.ActionResponse.SelectionItems

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllItems(Iterable<? extends SelectionInput.SelectionItem> values)

public ActionResponse.SelectionItems.Builder addAllItems(Iterable<? extends SelectionInput.SelectionItem> values)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
values Iterable<? extends com.google.apps.card.v1.SelectionInput.SelectionItem>
Returns
Type Description
ActionResponse.SelectionItems.Builder

addItems(SelectionInput.SelectionItem value)

public ActionResponse.SelectionItems.Builder addItems(SelectionInput.SelectionItem value)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
value com.google.apps.card.v1.SelectionInput.SelectionItem
Returns
Type Description
ActionResponse.SelectionItems.Builder

addItems(SelectionInput.SelectionItem.Builder builderForValue)

public ActionResponse.SelectionItems.Builder addItems(SelectionInput.SelectionItem.Builder builderForValue)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
builderForValue com.google.apps.card.v1.SelectionInput.SelectionItem.Builder
Returns
Type Description
ActionResponse.SelectionItems.Builder

addItems(int index, SelectionInput.SelectionItem value)

public ActionResponse.SelectionItems.Builder addItems(int index, SelectionInput.SelectionItem value)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameters
Name Description
index int
value com.google.apps.card.v1.SelectionInput.SelectionItem
Returns
Type Description
ActionResponse.SelectionItems.Builder

addItems(int index, SelectionInput.SelectionItem.Builder builderForValue)

public ActionResponse.SelectionItems.Builder addItems(int index, SelectionInput.SelectionItem.Builder builderForValue)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameters
Name Description
index int
builderForValue com.google.apps.card.v1.SelectionInput.SelectionItem.Builder
Returns
Type Description
ActionResponse.SelectionItems.Builder

addItemsBuilder()

public SelectionInput.SelectionItem.Builder addItemsBuilder()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
com.google.apps.card.v1.SelectionInput.SelectionItem.Builder

addItemsBuilder(int index)

public SelectionInput.SelectionItem.Builder addItemsBuilder(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.apps.card.v1.SelectionInput.SelectionItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ActionResponse.SelectionItems.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

build()

public ActionResponse.SelectionItems build()
Returns
Type Description
ActionResponse.SelectionItems

buildPartial()

public ActionResponse.SelectionItems buildPartial()
Returns
Type Description
ActionResponse.SelectionItems

clear()

public ActionResponse.SelectionItems.Builder clear()
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ActionResponse.SelectionItems.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

clearItems()

public ActionResponse.SelectionItems.Builder clearItems()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
ActionResponse.SelectionItems.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ActionResponse.SelectionItems.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

clone()

public ActionResponse.SelectionItems.Builder clone()
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

getDefaultInstanceForType()

public ActionResponse.SelectionItems getDefaultInstanceForType()
Returns
Type Description
ActionResponse.SelectionItems

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getItems(int index)

public SelectionInput.SelectionItem getItems(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.apps.card.v1.SelectionInput.SelectionItem

getItemsBuilder(int index)

public SelectionInput.SelectionItem.Builder getItemsBuilder(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.apps.card.v1.SelectionInput.SelectionItem.Builder

getItemsBuilderList()

public List<SelectionInput.SelectionItem.Builder> getItemsBuilderList()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
List<com.google.apps.card.v1.SelectionInput.SelectionItem.Builder>

getItemsCount()

public int getItemsCount()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
int

getItemsList()

public List<SelectionInput.SelectionItem> getItemsList()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
List<com.google.apps.card.v1.SelectionInput.SelectionItem>

getItemsOrBuilder(int index)

public SelectionInput.SelectionItemOrBuilder getItemsOrBuilder(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder

getItemsOrBuilderList()

public List<? extends SelectionInput.SelectionItemOrBuilder> getItemsOrBuilderList()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
Type Description
List<? extends com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ActionResponse.SelectionItems other)

public ActionResponse.SelectionItems.Builder mergeFrom(ActionResponse.SelectionItems other)
Parameter
Name Description
other ActionResponse.SelectionItems
Returns
Type Description
ActionResponse.SelectionItems.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActionResponse.SelectionItems.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ActionResponse.SelectionItems.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActionResponse.SelectionItems.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

removeItems(int index)

public ActionResponse.SelectionItems.Builder removeItems(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
ActionResponse.SelectionItems.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ActionResponse.SelectionItems.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

setItems(int index, SelectionInput.SelectionItem value)

public ActionResponse.SelectionItems.Builder setItems(int index, SelectionInput.SelectionItem value)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameters
Name Description
index int
value com.google.apps.card.v1.SelectionInput.SelectionItem
Returns
Type Description
ActionResponse.SelectionItems.Builder

setItems(int index, SelectionInput.SelectionItem.Builder builderForValue)

public ActionResponse.SelectionItems.Builder setItems(int index, SelectionInput.SelectionItem.Builder builderForValue)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameters
Name Description
index int
builderForValue com.google.apps.card.v1.SelectionInput.SelectionItem.Builder
Returns
Type Description
ActionResponse.SelectionItems.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ActionResponse.SelectionItems.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ActionResponse.SelectionItems.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionResponse.SelectionItems.Builder
Overrides