public static final class Intent.Message.RbmCardContent.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder> implements Intent.Message.RbmCardContentOrBuilder
Rich Business Messaging (RBM) Card contentProtobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent
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.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.RbmCardContent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.RbmCardContent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.RbmCardContent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.Builder mergeFrom(Intent.Message.RbmCardContent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public Intent.Message.RbmCardContent.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.RbmCardContent.Builder>
IOException
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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(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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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(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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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.RbmCardContentOrBuilder
public 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
public final Intent.Message.RbmCardContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder>
Copyright © 2022 Google LLC. All rights reserved.