public static final class Intent.Message.CarouselSelect.Builder extends GeneratedMessageV3.Builder<Intent.Message.CarouselSelect.Builder> implements Intent.Message.CarouselSelectOrBuilder
The card for presenting a carousel of options to select from.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect
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
addAllItems(Iterable<? extends Intent.Message.CarouselSelect.Item> values)
public Intent.Message.CarouselSelect.Builder addAllItems(Iterable<? extends Intent.Message.CarouselSelect.Item> values)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item>
|
addItems(Intent.Message.CarouselSelect.Item value)
public Intent.Message.CarouselSelect.Builder addItems(Intent.Message.CarouselSelect.Item value)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
addItems(Intent.Message.CarouselSelect.Item.Builder builderForValue)
public Intent.Message.CarouselSelect.Builder addItems(Intent.Message.CarouselSelect.Item.Builder builderForValue)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
addItems(int index, Intent.Message.CarouselSelect.Item value)
public Intent.Message.CarouselSelect.Builder addItems(int index, Intent.Message.CarouselSelect.Item value)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
addItems(int index, Intent.Message.CarouselSelect.Item.Builder builderForValue)
public Intent.Message.CarouselSelect.Builder addItems(int index, Intent.Message.CarouselSelect.Item.Builder builderForValue)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
addItemsBuilder()
public Intent.Message.CarouselSelect.Item.Builder addItemsBuilder()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
addItemsBuilder(int index)
public Intent.Message.CarouselSelect.Item.Builder addItemsBuilder(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.CarouselSelect.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.CarouselSelect build()
buildPartial()
public Intent.Message.CarouselSelect buildPartial()
clear()
public Intent.Message.CarouselSelect.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.CarouselSelect.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearItems()
public Intent.Message.CarouselSelect.Builder clearItems()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.CarouselSelect.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Intent.Message.CarouselSelect.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.CarouselSelect getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getItems(int index)
public Intent.Message.CarouselSelect.Item getItems(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsBuilder(int index)
public Intent.Message.CarouselSelect.Item.Builder getItemsBuilder(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsBuilderList()
public List<Intent.Message.CarouselSelect.Item.Builder> getItemsBuilderList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
getItemsCount()
public int getItemsCount()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Returns |
Type |
Description |
int |
|
getItemsList()
public List<Intent.Message.CarouselSelect.Item> getItemsList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
getItemsOrBuilder(int index)
public Intent.Message.CarouselSelect.ItemOrBuilder getItemsOrBuilder(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsOrBuilderList()
public List<? extends Intent.Message.CarouselSelect.ItemOrBuilder> getItemsOrBuilderList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.ItemOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.CarouselSelect other)
public Intent.Message.CarouselSelect.Builder mergeFrom(Intent.Message.CarouselSelect other)
public Intent.Message.CarouselSelect.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.CarouselSelect.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.CarouselSelect.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeItems(int index)
public Intent.Message.CarouselSelect.Builder removeItems(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.CarouselSelect.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setItems(int index, Intent.Message.CarouselSelect.Item value)
public Intent.Message.CarouselSelect.Builder setItems(int index, Intent.Message.CarouselSelect.Item value)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
setItems(int index, Intent.Message.CarouselSelect.Item.Builder builderForValue)
public Intent.Message.CarouselSelect.Builder setItems(int index, Intent.Message.CarouselSelect.Item.Builder builderForValue)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.CarouselSelect.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.CarouselSelect.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides