public static final class Intent.Message.RbmCardContent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder> implements Intent.Message.RbmCardContentOrBuilder
Rich Business Messaging (RBM) Card contentProtobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContentgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Intent.Message.RbmCardContent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Intent.Message.RbmCardContent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Intent.Message.RbmCardContent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder mergeFrom(Intent.Message.RbmCardContent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public Intent.Message.RbmCardContent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Message.RbmCardContent.Builder>IOExceptionpublic String getTitle()
Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
string title = 1;getTitle in interface Intent.Message.RbmCardContentOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
string title = 1;getTitleBytes in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmCardContent.Builder setTitle(String value)
Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
string title = 1;value - The title to set.public Intent.Message.RbmCardContent.Builder clearTitle()
Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
string title = 1;public Intent.Message.RbmCardContent.Builder setTitleBytes(com.google.protobuf.ByteString value)
Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
string title = 1;value - The bytes for title to set.public String getDescription()
Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
string description = 2;getDescription in interface Intent.Message.RbmCardContentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
string description = 2;getDescriptionBytes in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmCardContent.Builder setDescription(String value)
Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
string description = 2;value - The description to set.public Intent.Message.RbmCardContent.Builder clearDescription()
Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
string description = 2;public Intent.Message.RbmCardContent.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
string description = 2;value - The bytes for description to set.public boolean hasMedia()
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
hasMedia in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmCardContent.RbmMedia getMedia()
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
getMedia in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmCardContent.Builder setMedia(Intent.Message.RbmCardContent.RbmMedia value)
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
public Intent.Message.RbmCardContent.Builder setMedia(Intent.Message.RbmCardContent.RbmMedia.Builder builderForValue)
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
public Intent.Message.RbmCardContent.Builder mergeMedia(Intent.Message.RbmCardContent.RbmMedia value)
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
public Intent.Message.RbmCardContent.Builder clearMedia()
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
public Intent.Message.RbmCardContent.RbmMedia.Builder getMediaBuilder()
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
public Intent.Message.RbmCardContent.RbmMediaOrBuilder getMediaOrBuilder()
Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;
getMediaOrBuilder in interface Intent.Message.RbmCardContentOrBuilderpublic List<Intent.Message.RbmSuggestion> getSuggestionsList()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
getSuggestionsList in interface Intent.Message.RbmCardContentOrBuilderpublic int getSuggestionsCount()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
getSuggestionsCount in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmSuggestion getSuggestions(int index)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
getSuggestions in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmCardContent.Builder setSuggestions(int index, Intent.Message.RbmSuggestion value)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder setSuggestions(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder addSuggestions(Intent.Message.RbmSuggestion value)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder addSuggestions(int index, Intent.Message.RbmSuggestion value)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder addSuggestions(Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder addSuggestions(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder addAllSuggestions(Iterable<? extends Intent.Message.RbmSuggestion> values)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder clearSuggestions()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmCardContent.Builder removeSuggestions(int index)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmSuggestion.Builder getSuggestionsBuilder(int index)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmSuggestionOrBuilder getSuggestionsOrBuilder(int index)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
getSuggestionsOrBuilder in interface Intent.Message.RbmCardContentOrBuilderpublic List<? extends Intent.Message.RbmSuggestionOrBuilder> getSuggestionsOrBuilderList()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
getSuggestionsOrBuilderList in interface Intent.Message.RbmCardContentOrBuilderpublic Intent.Message.RbmSuggestion.Builder addSuggestionsBuilder()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public Intent.Message.RbmSuggestion.Builder addSuggestionsBuilder(int index)
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public List<Intent.Message.RbmSuggestion.Builder> getSuggestionsBuilderList()
Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
public final Intent.Message.RbmCardContent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>public final Intent.Message.RbmCardContent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>Copyright © 2023 Google LLC. All rights reserved.