public static enum Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment extends Enum<Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment> implements ProtocolMessageEnum
Thumbnail preview alignment for standalone cards with horizontal layout.Protobuf enum
google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment
Enum Constant and Description |
---|
LEFT
Thumbnail preview is left-aligned.
|
RIGHT
Thumbnail preview is right-aligned.
|
THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
LEFT_VALUE
Thumbnail preview is left-aligned.
|
static int |
RIGHT_VALUE
Thumbnail preview is right-aligned.
|
static int |
THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED_VALUE
Not specified.
|
public static final Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED
Not specified.
THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED = 0;
public static final Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment LEFT
Thumbnail preview is left-aligned.
LEFT = 1;
public static final Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment RIGHT
Thumbnail preview is right-aligned.
RIGHT = 2;
public static final Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment UNRECOGNIZED
public static final int THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED_VALUE
Not specified.
THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED = 0;
public static final int LEFT_VALUE
Thumbnail preview is left-aligned.
LEFT = 1;
public static final int RIGHT_VALUE
Thumbnail preview is right-aligned.
RIGHT = 2;
public static Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment[] values()
for (Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment c : Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment.values()) System.out.println(c);
public static Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.