public static final class Intent.Message.BrowseCarouselCard.Builder extends GeneratedMessageV3.Builder<Intent.Message.BrowseCarouselCard.Builder> implements Intent.Message.BrowseCarouselCardOrBuilder
Methods
addAllItems(Iterable<? extends Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem> values)
public Intent.Message.BrowseCarouselCard.Builder addAllItems(Iterable<? extends Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem> values)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem>
|
Returns
addItems(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
public Intent.Message.BrowseCarouselCard.Builder addItems(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
addItems(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
public Intent.Message.BrowseCarouselCard.Builder addItems(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
addItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
public Intent.Message.BrowseCarouselCard.Builder addItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameters
Returns
addItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
public Intent.Message.BrowseCarouselCard.Builder addItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameters
Returns
addItemsBuilder()
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder addItemsBuilder()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
addItemsBuilder(int index)
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder addItemsBuilder(int index)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.BrowseCarouselCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.BrowseCarouselCard build()
Returns
buildPartial()
public Intent.Message.BrowseCarouselCard buildPartial()
Returns
clear()
public Intent.Message.BrowseCarouselCard.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.BrowseCarouselCard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImageDisplayOptions()
public Intent.Message.BrowseCarouselCard.Builder clearImageDisplayOptions()
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearItems()
public Intent.Message.BrowseCarouselCard.Builder clearItems()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.BrowseCarouselCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Intent.Message.BrowseCarouselCard.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.BrowseCarouselCard getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getImageDisplayOptions()
public Intent.Message.BrowseCarouselCard.ImageDisplayOptions getImageDisplayOptions()
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getImageDisplayOptionsValue()
public int getImageDisplayOptionsValue()
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The enum numeric value on the wire for imageDisplayOptions.
|
getItems(int index)
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem getItems(int index)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
getItemsBuilder(int index)
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder getItemsBuilder(int index)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
getItemsBuilderList()
public List<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder> getItemsBuilderList()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
getItemsCount()
public int getItemsCount()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
getItemsList()
public List<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem> getItemsList()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
getItemsOrBuilder(int index)
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder getItemsOrBuilder(int index)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
getItemsOrBuilderList()
public List<? extends Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder> getItemsOrBuilderList()
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Intent.Message.BrowseCarouselCard other)
public Intent.Message.BrowseCarouselCard.Builder mergeFrom(Intent.Message.BrowseCarouselCard other)
Parameter
Returns
public Intent.Message.BrowseCarouselCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.BrowseCarouselCard.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.BrowseCarouselCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeItems(int index)
public Intent.Message.BrowseCarouselCard.Builder removeItems(int index)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.BrowseCarouselCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setImageDisplayOptions(Intent.Message.BrowseCarouselCard.ImageDisplayOptions value)
public Intent.Message.BrowseCarouselCard.Builder setImageDisplayOptions(Intent.Message.BrowseCarouselCard.ImageDisplayOptions value)
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setImageDisplayOptionsValue(int value)
public Intent.Message.BrowseCarouselCard.Builder setImageDisplayOptionsValue(int value)
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for imageDisplayOptions to set.
|
Returns
setItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
public Intent.Message.BrowseCarouselCard.Builder setItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem value)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameters
Returns
setItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
public Intent.Message.BrowseCarouselCard.Builder setItems(int index, Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder builderForValue)
Required. List of items in the Browse Carousel Card. Minimum of two
items, maximum of ten.
repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.BrowseCarouselCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.BrowseCarouselCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides