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.v2.Intent.Message.ListSelect
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.ListSelect.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.ListSelect build()
buildPartial()
public Intent.Message.ListSelect buildPartial()
clear()
public Intent.Message.ListSelect.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.ListSelect.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.ListSelect.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubtitle()
public Intent.Message.ListSelect.Builder clearSubtitle()
Optional. Subtitle of the list.
string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
clearTitle()
public Intent.Message.ListSelect.Builder clearTitle()
Optional. The overall title of the list.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public Intent.Message.ListSelect.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.ListSelect getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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];
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];
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
|
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.ListSelect other)
public Intent.Message.ListSelect.Builder mergeFrom(Intent.Message.ListSelect other)
public Intent.Message.ListSelect.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.ListSelect.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.ListSelect.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.ListSelect.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.ListSelect.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
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 |
String
The title to set.
|
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 |
ByteString
The bytes for title to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.ListSelect.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides