- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.RbmStandaloneCard.BuilderImplements
Intent.Message.RbmStandaloneCardOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
build()
public Intent.Message.RbmStandaloneCard build()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard |
buildPartial()
public Intent.Message.RbmStandaloneCard buildPartial()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard |
clear()
public Intent.Message.RbmStandaloneCard.Builder clear()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
clearCardContent()
public Intent.Message.RbmStandaloneCard.Builder clearCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
clearCardOrientation()
public Intent.Message.RbmStandaloneCard.Builder clearCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmStandaloneCard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmStandaloneCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
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 | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
clone()
public Intent.Message.RbmStandaloneCard.Builder clone()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
getCardContent()
public Intent.Message.RbmCardContent getCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent |
The cardContent. |
getCardContentBuilder()
public Intent.Message.RbmCardContent.Builder getCardContentBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.Builder |
getCardContentOrBuilder()
public Intent.Message.RbmCardContentOrBuilder getCardContentOrBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContentOrBuilder |
getCardOrientation()
public Intent.Message.RbmStandaloneCard.CardOrientation getCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.CardOrientation |
The cardOrientation. |
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 | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment |
The thumbnailImageAlignment. |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value |
Intent.Message.RbmCardContent |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
mergeFrom(Intent.Message.RbmStandaloneCard other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Intent.Message.RbmStandaloneCard other)
Parameter | |
---|---|
Name | Description |
other |
Intent.Message.RbmStandaloneCard |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
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 | |
---|---|
Name | Description |
value |
Intent.Message.RbmCardContent |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
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 | |
---|---|
Name | Description |
builderForValue |
Intent.Message.RbmCardContent.Builder |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
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 | |
---|---|
Name | Description |
value |
Intent.Message.RbmStandaloneCard.CardOrientation The cardOrientation to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmStandaloneCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmStandaloneCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
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 | |
---|---|
Name | Description |
value |
Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment The thumbnailImageAlignment to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmStandaloneCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmStandaloneCard.Builder |