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][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but carousel cards will give you less control over the card layout.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.RbmStandaloneCard build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.RbmStandaloneCard buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.RbmStandaloneCard.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(Intent.Message.RbmStandaloneCard other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public Intent.Message.RbmStandaloneCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmStandaloneCard.Builder>
IOException
public int getCardOrientationValue()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
getCardOrientationValue
in interface Intent.Message.RbmStandaloneCardOrBuilder
public Intent.Message.RbmStandaloneCard.Builder setCardOrientationValue(int value)
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
value
- The enum numeric value on the wire for cardOrientation to set.public Intent.Message.RbmStandaloneCard.CardOrientation getCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
getCardOrientation
in interface Intent.Message.RbmStandaloneCardOrBuilder
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;
value
- The cardOrientation to set.public Intent.Message.RbmStandaloneCard.Builder clearCardOrientation()
Required. Orientation of the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation card_orientation = 1;
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;
getThumbnailImageAlignmentValue
in interface Intent.Message.RbmStandaloneCardOrBuilder
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;
value
- The enum numeric value on the wire for thumbnailImageAlignment to set.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;
getThumbnailImageAlignment
in interface Intent.Message.RbmStandaloneCardOrBuilder
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;
value
- The thumbnailImageAlignment to set.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;
public boolean hasCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
hasCardContent
in interface Intent.Message.RbmStandaloneCardOrBuilder
public Intent.Message.RbmCardContent getCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
getCardContent
in interface Intent.Message.RbmStandaloneCardOrBuilder
public Intent.Message.RbmStandaloneCard.Builder setCardContent(Intent.Message.RbmCardContent value)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
public Intent.Message.RbmStandaloneCard.Builder setCardContent(Intent.Message.RbmCardContent.Builder builderForValue)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
public Intent.Message.RbmStandaloneCard.Builder mergeCardContent(Intent.Message.RbmCardContent value)
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
public Intent.Message.RbmStandaloneCard.Builder clearCardContent()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
public Intent.Message.RbmCardContent.Builder getCardContentBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
public Intent.Message.RbmCardContentOrBuilder getCardContentOrBuilder()
Required. Card content.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_content = 3;
getCardContentOrBuilder
in interface Intent.Message.RbmStandaloneCardOrBuilder
public final Intent.Message.RbmStandaloneCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
public final Intent.Message.RbmStandaloneCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmStandaloneCard.Builder>
Copyright © 2022 Google LLC. All rights reserved.