public static final class Intent.Message.ListSelect.Builder extends GeneratedMessage.Builder<Intent.Message.ListSelect.Builder> implements Intent.Message.ListSelectOrBuilderThe card for presenting a list of options to select from.
Protobuf type google.cloud.dialogflow.v2.Intent.Message.ListSelect
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Intent.Message.ListSelect.BuilderImplements
Intent.Message.ListSelectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllItems(Iterable<? extends Intent.Message.ListSelect.Item> values)
public Intent.Message.ListSelect.Builder addAllItems(Iterable<? extends Intent.Message.ListSelect.Item> values)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item> |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
addItems(Intent.Message.ListSelect.Item value)
public Intent.Message.ListSelect.Builder addItems(Intent.Message.ListSelect.Item value)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Intent.Message.ListSelect.Item |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
addItems(Intent.Message.ListSelect.Item.Builder builderForValue)
public Intent.Message.ListSelect.Builder addItems(Intent.Message.ListSelect.Item.Builder builderForValue)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Intent.Message.ListSelect.Item.Builder |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
addItems(int index, Intent.Message.ListSelect.Item value)
public Intent.Message.ListSelect.Builder addItems(int index, Intent.Message.ListSelect.Item value)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Intent.Message.ListSelect.Item |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
addItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)
public Intent.Message.ListSelect.Builder addItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Intent.Message.ListSelect.Item.Builder |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
addItemsBuilder()
public Intent.Message.ListSelect.Item.Builder addItemsBuilder()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Item.Builder |
|
addItemsBuilder(int index)
public Intent.Message.ListSelect.Item.Builder addItemsBuilder(int index)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Item.Builder |
|
build()
public Intent.Message.ListSelect build()| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect |
|
buildPartial()
public Intent.Message.ListSelect buildPartial()| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect |
|
clear()
public Intent.Message.ListSelect.Builder clear()| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
clearItems()
public Intent.Message.ListSelect.Builder clearItems()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
clearSubtitle()
public Intent.Message.ListSelect.Builder clearSubtitle()Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |
clearTitle()
public Intent.Message.ListSelect.Builder clearTitle()Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Intent.Message.ListSelect getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getItems(int index)
public Intent.Message.ListSelect.Item getItems(int index)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Item |
|
getItemsBuilder(int index)
public Intent.Message.ListSelect.Item.Builder getItemsBuilder(int index)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Item.Builder |
|
getItemsBuilderList()
public List<Intent.Message.ListSelect.Item.Builder> getItemsBuilderList()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getItemsCount()
public int getItemsCount()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getItemsList()
public List<Intent.Message.ListSelect.Item> getItemsList()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Item> |
|
getItemsOrBuilder(int index)
public Intent.Message.ListSelect.ItemOrBuilder getItemsOrBuilder(int index)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.ItemOrBuilder |
|
getItemsOrBuilderList()
public List<? extends Intent.Message.ListSelect.ItemOrBuilder> getItemsOrBuilderList()Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.ListSelect.ItemOrBuilder> |
|
getSubtitle()
public String getSubtitle()Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The subtitle. |
getSubtitleBytes()
public ByteString getSubtitleBytes()Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subtitle. |
getTitle()
public String getTitle()Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Intent.Message.ListSelect other)
public Intent.Message.ListSelect.Builder mergeFrom(Intent.Message.ListSelect other)| Parameter | |
|---|---|
| Name | Description |
other |
Intent.Message.ListSelect |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.ListSelect.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Intent.Message.ListSelect.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
removeItems(int index)
public Intent.Message.ListSelect.Builder removeItems(int index)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
setItems(int index, Intent.Message.ListSelect.Item value)
public Intent.Message.ListSelect.Builder setItems(int index, Intent.Message.ListSelect.Item value)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Intent.Message.ListSelect.Item |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
setItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)
public Intent.Message.ListSelect.Builder setItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)Required. List items.
repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Intent.Message.ListSelect.Item.Builder |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
|
setSubtitle(String value)
public Intent.Message.ListSelect.Builder setSubtitle(String value)Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subtitle to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |
setSubtitleBytes(ByteString value)
public Intent.Message.ListSelect.Builder setSubtitleBytes(ByteString value)Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subtitle to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |
setTitle(String value)
public Intent.Message.ListSelect.Builder setTitle(String value)Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public Intent.Message.ListSelect.Builder setTitleBytes(ByteString value)Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.ListSelect.Builder |
This builder for chaining. |