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
Inherited Members
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()
Methods
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>
|
public ActionResponse.SelectionItems.Builder addItems(SelectionInput.SelectionItem value)
An array of the SelectionItem objects.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
public ActionResponse.SelectionItems.Builder addItems(SelectionInput.SelectionItem.Builder builderForValue)
An array of the SelectionItem objects.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
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;
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;
addItemsBuilder()
public SelectionInput.SelectionItem.Builder addItemsBuilder()
An array of the SelectionItem objects.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ActionResponse.SelectionItems.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ActionResponse.SelectionItems build()
buildPartial()
public ActionResponse.SelectionItems buildPartial()
clear()
public ActionResponse.SelectionItems.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ActionResponse.SelectionItems.Builder clearField(Descriptors.FieldDescriptor field)
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)
Overrides
clone()
public ActionResponse.SelectionItems.Builder clone()
Overrides
getDefaultInstanceForType()
public ActionResponse.SelectionItems getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getItemsBuilderList()
public List<SelectionInput.SelectionItem.Builder> getItemsBuilderList()
An array of the SelectionItem objects.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ActionResponse.SelectionItems other)
public ActionResponse.SelectionItems.Builder mergeFrom(ActionResponse.SelectionItems other)
public ActionResponse.SelectionItems.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ActionResponse.SelectionItems.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ActionResponse.SelectionItems.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ActionResponse.SelectionItems.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ActionResponse.SelectionItems.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ActionResponse.SelectionItems.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides