Class ActionResponse.SelectionItems.Builder (0.5.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.apps.card.v1.SelectionInput.SelectionItem>

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
NameDescription
valuecom.google.apps.card.v1.SelectionInput.SelectionItem

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
NameDescription
builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.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
NameDescription
indexint
valuecom.google.apps.card.v1.SelectionInput.SelectionItem

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
NameDescription
indexint
builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.Builder

addItemsBuilder()

public SelectionInput.SelectionItem.Builder addItemsBuilder()

An array of the SelectionItem objects.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public ActionResponse.SelectionItems build()
Returns
TypeDescription
ActionResponse.SelectionItems

buildPartial()

public ActionResponse.SelectionItems buildPartial()
Returns
TypeDescription
ActionResponse.SelectionItems

clear()

public ActionResponse.SelectionItems.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ActionResponse.SelectionItems.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearItems()

public ActionResponse.SelectionItems.Builder clearItems()

An array of the SelectionItem objects.

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ActionResponse.SelectionItems.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clone()

public ActionResponse.SelectionItems.Builder clone()
Overrides

getDefaultInstanceForType()

public ActionResponse.SelectionItems getDefaultInstanceForType()
Returns
TypeDescription
ActionResponse.SelectionItems

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

getItemsList()

public List<SelectionInput.SelectionItem> getItemsList()

An array of the SelectionItem objects.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ActionResponse.SelectionItems other)

public ActionResponse.SelectionItems.Builder mergeFrom(ActionResponse.SelectionItems other)
Parameter
NameDescription
otherActionResponse.SelectionItems

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActionResponse.SelectionItems.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ActionResponse.SelectionItems.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActionResponse.SelectionItems.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
indexint

setField(Descriptors.FieldDescriptor field, Object value)

public ActionResponse.SelectionItems.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
indexint
valuecom.google.apps.card.v1.SelectionInput.SelectionItem

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
NameDescription
indexint
builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.Builder

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

public ActionResponse.SelectionItems.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ActionResponse.SelectionItems.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides