public static final class Intent.Message.ListSelect extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
Static Fields
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBTITLE_FIELD_NUMBER
public static final int SUBTITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.ListSelect getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.ListSelect.Builder newBuilder()
newBuilder(Intent.Message.ListSelect prototype)
public static Intent.Message.ListSelect.Builder newBuilder(Intent.Message.ListSelect prototype)
public static Intent.Message.ListSelect parseDelimitedFrom(InputStream input)
public static Intent.Message.ListSelect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.ListSelect parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.ListSelect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.ListSelect parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.ListSelect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.ListSelect parseFrom(CodedInputStream input)
public static Intent.Message.ListSelect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.ListSelect parseFrom(InputStream input)
public static Intent.Message.ListSelect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.ListSelect parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.ListSelect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.ListSelect> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.ListSelect getDefaultInstanceForType()
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
|
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> |
|
getParserForType()
public Parser<Intent.Message.ListSelect> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.ListSelect.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.ListSelect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.ListSelect.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides