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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.RbmStandaloneCard build()
Returns
buildPartial()
public Intent.Message.RbmStandaloneCard buildPartial()
Returns
clear()
public Intent.Message.RbmStandaloneCard.Builder clear()
Returns
Overrides
clearCardContent()
public Intent.Message.RbmStandaloneCard.Builder clearCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns
clearCardOrientation()
public Intent.Message.RbmStandaloneCard.Builder clearCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmStandaloneCard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmStandaloneCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public Intent.Message.RbmStandaloneCard.Builder clone()
Returns
Overrides
getCardContent()
public Intent.Message.RbmCardContent getCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns
getCardContentBuilder()
public Intent.Message.RbmCardContent.Builder getCardContentBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns
getCardContentOrBuilder()
public Intent.Message.RbmCardContentOrBuilder getCardContentOrBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns
getCardOrientation()
public Intent.Message.RbmStandaloneCard.CardOrientation getCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(Intent.Message.RbmStandaloneCard other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Intent.Message.RbmStandaloneCard other)
Parameter
Returns
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmStandaloneCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides