public static final class Intent.Message.RbmStandaloneCard.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder> implements Intent.Message.RbmStandaloneCardOrBuilder
Standalone Rich Business Messaging (RBM) rich card.
Rich cards allow you to respond to users with more vivid content, e.g.
with media and suggestions.
You can group multiple rich cards into one using
RbmCarouselCard
but carousel cards will give you less control over the card layout.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.RbmStandaloneCard build()
buildPartial()
public Intent.Message.RbmStandaloneCard buildPartial()
clear()
public Intent.Message.RbmStandaloneCard.Builder clear()
Overrides
clearCardContent()
public Intent.Message.RbmStandaloneCard.Builder clearCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
clearCardOrientation()
public Intent.Message.RbmStandaloneCard.Builder clearCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmStandaloneCard.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmStandaloneCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearThumbnailImageAlignment()
public Intent.Message.RbmStandaloneCard.Builder clearThumbnailImageAlignment()
Required if orientation is horizontal.
Image preview alignment for standalone cards with horizontal layout.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment thumbnail_image_alignment = 2;
clone()
public Intent.Message.RbmStandaloneCard.Builder clone()
Overrides
getCardContent()
public Intent.Message.RbmCardContent getCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
getCardContentBuilder()
public Intent.Message.RbmCardContent.Builder getCardContentBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
getCardContentOrBuilder()
public Intent.Message.RbmCardContentOrBuilder getCardContentOrBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
getCardOrientation()
public Intent.Message.RbmStandaloneCard.CardOrientation getCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
getCardOrientationValue()
public int getCardOrientationValue()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for cardOrientation.
|
getDefaultInstanceForType()
public Intent.Message.RbmStandaloneCard getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getThumbnailImageAlignment()
public Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment getThumbnailImageAlignment()
Required if orientation is horizontal.
Image preview alignment for standalone cards with horizontal layout.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment thumbnail_image_alignment = 2;
getThumbnailImageAlignmentValue()
public int getThumbnailImageAlignmentValue()
Required if orientation is horizontal.
Image preview alignment for standalone cards with horizontal layout.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment thumbnail_image_alignment = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for thumbnailImageAlignment.
|
hasCardContent()
public boolean hasCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns |
Type |
Description |
boolean |
Whether the cardContent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCardContent(Intent.Message.RbmCardContent value)
public Intent.Message.RbmStandaloneCard.Builder mergeCardContent(Intent.Message.RbmCardContent value)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
mergeFrom(Intent.Message.RbmStandaloneCard other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Intent.Message.RbmStandaloneCard other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCardContent(Intent.Message.RbmCardContent value)
public Intent.Message.RbmStandaloneCard.Builder setCardContent(Intent.Message.RbmCardContent value)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
setCardContent(Intent.Message.RbmCardContent.Builder builderForValue)
public Intent.Message.RbmStandaloneCard.Builder setCardContent(Intent.Message.RbmCardContent.Builder builderForValue)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
setCardOrientation(Intent.Message.RbmStandaloneCard.CardOrientation value)
public Intent.Message.RbmStandaloneCard.Builder setCardOrientation(Intent.Message.RbmStandaloneCard.CardOrientation value)
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
setCardOrientationValue(int value)
public Intent.Message.RbmStandaloneCard.Builder setCardOrientationValue(int value)
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for cardOrientation to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmStandaloneCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setThumbnailImageAlignment(Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment value)
public Intent.Message.RbmStandaloneCard.Builder setThumbnailImageAlignment(Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment value)
Required if orientation is horizontal.
Image preview alignment for standalone cards with horizontal layout.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment thumbnail_image_alignment = 2;
setThumbnailImageAlignmentValue(int value)
public Intent.Message.RbmStandaloneCard.Builder setThumbnailImageAlignmentValue(int value)
Required if orientation is horizontal.
Image preview alignment for standalone cards with horizontal layout.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment thumbnail_image_alignment = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for thumbnailImageAlignment to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides