public static final class Intent.Message.RbmCarouselCard.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder> implements Intent.Message.RbmCarouselCardOrBuilder
Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard
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.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.RbmCarouselCard build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.RbmCarouselCard buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.RbmCarouselCard.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.Builder mergeFrom(Intent.Message.RbmCarouselCard other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public Intent.Message.RbmCarouselCard.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.RbmCarouselCard.Builder>
IOException
public int getCardWidthValue()
Required. The width of the cards in the carousel.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;
getCardWidthValue
in interface Intent.Message.RbmCarouselCardOrBuilder
public Intent.Message.RbmCarouselCard.Builder setCardWidthValue(int value)
Required. The width of the cards in the carousel.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;
value
- The enum numeric value on the wire for cardWidth to set.public Intent.Message.RbmCarouselCard.CardWidth getCardWidth()
Required. The width of the cards in the carousel.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;
getCardWidth
in interface Intent.Message.RbmCarouselCardOrBuilder
public Intent.Message.RbmCarouselCard.Builder setCardWidth(Intent.Message.RbmCarouselCard.CardWidth value)
Required. The width of the cards in the carousel.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;
value
- The cardWidth to set.public Intent.Message.RbmCarouselCard.Builder clearCardWidth()
Required. The width of the cards in the carousel.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;
public List<Intent.Message.RbmCardContent> getCardContentsList()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
getCardContentsList
in interface Intent.Message.RbmCarouselCardOrBuilder
public int getCardContentsCount()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
getCardContentsCount
in interface Intent.Message.RbmCarouselCardOrBuilder
public Intent.Message.RbmCardContent getCardContents(int index)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
getCardContents
in interface Intent.Message.RbmCarouselCardOrBuilder
public Intent.Message.RbmCarouselCard.Builder setCardContents(int index, Intent.Message.RbmCardContent value)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder setCardContents(int index, Intent.Message.RbmCardContent.Builder builderForValue)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder addCardContents(Intent.Message.RbmCardContent value)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder addCardContents(int index, Intent.Message.RbmCardContent value)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder addCardContents(Intent.Message.RbmCardContent.Builder builderForValue)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder addCardContents(int index, Intent.Message.RbmCardContent.Builder builderForValue)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder addAllCardContents(Iterable<? extends Intent.Message.RbmCardContent> values)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder clearCardContents()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCarouselCard.Builder removeCardContents(int index)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCardContent.Builder getCardContentsBuilder(int index)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCardContentOrBuilder getCardContentsOrBuilder(int index)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
getCardContentsOrBuilder
in interface Intent.Message.RbmCarouselCardOrBuilder
public List<? extends Intent.Message.RbmCardContentOrBuilder> getCardContentsOrBuilderList()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
getCardContentsOrBuilderList
in interface Intent.Message.RbmCarouselCardOrBuilder
public Intent.Message.RbmCardContent.Builder addCardContentsBuilder()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public Intent.Message.RbmCardContent.Builder addCardContentsBuilder(int index)
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public List<Intent.Message.RbmCardContent.Builder> getCardContentsBuilderList()
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;
public final Intent.Message.RbmCarouselCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
public final Intent.Message.RbmCarouselCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCarouselCard.Builder>
Copyright © 2022 Google LLC. All rights reserved.