public static final class Intent.Message.ListSelect.Builder extends GeneratedMessageV3.Builder<Intent.Message.ListSelect.Builder> implements Intent.Message.ListSelectOrBuilder
The card for presenting a list of options to select from.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item>
|
Returns
addItems(Intent.Message.ListSelect.Item value)
public Intent.Message.ListSelect.Builder addItems(Intent.Message.ListSelect.Item value)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameters
Returns
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameters
Returns
addItemsBuilder()
public Intent.Message.ListSelect.Item.Builder addItemsBuilder()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
addItemsBuilder(int index)
public Intent.Message.ListSelect.Item.Builder addItemsBuilder(int index)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.ListSelect.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.ListSelect build()
Returns
buildPartial()
public Intent.Message.ListSelect buildPartial()
Returns
clear()
public Intent.Message.ListSelect.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.ListSelect.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearItems()
public Intent.Message.ListSelect.Builder clearItems()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.ListSelect.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubtitle()
public Intent.Message.ListSelect.Builder clearSubtitle()
Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearTitle()
public Intent.Message.ListSelect.Builder clearTitle()
Optional. The overall title of the list.
string title = 1;
Returns
clone()
public Intent.Message.ListSelect.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.ListSelect getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getItems(int index)
public Intent.Message.ListSelect.Item getItems(int index)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
getItemsBuilder(int index)
public Intent.Message.ListSelect.Item.Builder getItemsBuilder(int index)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
getItemsBuilderList()
public List<Intent.Message.ListSelect.Item.Builder> getItemsBuilderList()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
getItemsCount()
public int getItemsCount()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
getItemsList()
public List<Intent.Message.ListSelect.Item> getItemsList()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
getItemsOrBuilder(int index)
public Intent.Message.ListSelect.ItemOrBuilder getItemsOrBuilder(int index)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
getItemsOrBuilderList()
public List<? extends Intent.Message.ListSelect.ItemOrBuilder> getItemsOrBuilderList()
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.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
getTitle()
Optional. The overall title of the list.
string title = 1;
Returns
Type | Description |
String | The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Optional. The overall title of the list.
string title = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Intent.Message.ListSelect other)
public Intent.Message.ListSelect.Builder mergeFrom(Intent.Message.ListSelect other)
Parameter
Returns
public Intent.Message.ListSelect.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.ListSelect.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.ListSelect.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeItems(int index)
public Intent.Message.ListSelect.Builder removeItems(int index)
Required. List items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.ListSelect.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameters
Returns
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.v2beta1.Intent.Message.ListSelect.Item items = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.ListSelect.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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 | String
The subtitle to set.
|
Returns
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 | ByteString
The bytes for subtitle to set.
|
Returns
setTitle(String value)
public Intent.Message.ListSelect.Builder setTitle(String value)
Optional. The overall title of the list.
string title = 1;
Parameter
Name | Description |
value | String
The title to set.
|
Returns
setTitleBytes(ByteString value)
public Intent.Message.ListSelect.Builder setTitleBytes(ByteString value)
Optional. The overall title of the list.
string title = 1;
Parameter
Name | Description |
value | ByteString
The bytes for title to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.ListSelect.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides