public static final class Intent.Message.BrowseCarouselCard extends GeneratedMessageV3 implements Intent.Message.BrowseCarouselCardOrBuilder
Static Fields
IMAGE_DISPLAY_OPTIONS_FIELD_NUMBER
public static final int IMAGE_DISPLAY_OPTIONS_FIELD_NUMBER
Field Value
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.BrowseCarouselCard getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.BrowseCarouselCard.Builder newBuilder()
Returns
newBuilder(Intent.Message.BrowseCarouselCard prototype)
public static Intent.Message.BrowseCarouselCard.Builder newBuilder(Intent.Message.BrowseCarouselCard prototype)
Parameter
Returns
public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.BrowseCarouselCard> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.BrowseCarouselCard getDefaultInstanceForType()
Returns
getImageDisplayOptions()
public Intent.Message.BrowseCarouselCard.ImageDisplayOptions getImageDisplayOptions()
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2;
Returns
getImageDisplayOptionsValue()
public int getImageDisplayOptionsValue()
Optional. Settings for displaying the image. Applies to every image in
items.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2;
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.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Parameter
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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder> | |
getParserForType()
public Parser<Intent.Message.BrowseCarouselCard> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.BrowseCarouselCard.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.BrowseCarouselCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.BrowseCarouselCard.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions