public static final class Intent.Message.BasicCard.Builder extends GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder> implements Intent.Message.BasicCardOrBuilder
The basic card message. Useful for displaying information.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard
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.BasicCard.Builder>
public Intent.Message.BasicCard.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.BasicCard build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.BasicCard buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.BasicCard.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.Builder mergeFrom(Intent.Message.BasicCard other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public Intent.Message.BasicCard.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.BasicCard.Builder>
IOException
public String getTitle()
Optional. The title of the card.
string title = 1;
getTitle
in interface Intent.Message.BasicCardOrBuilder
public ByteString getTitleBytes()
Optional. The title of the card.
string title = 1;
getTitleBytes
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Builder setTitle(String value)
Optional. The title of the card.
string title = 1;
value
- The title to set.public Intent.Message.BasicCard.Builder clearTitle()
Optional. The title of the card.
string title = 1;
public Intent.Message.BasicCard.Builder setTitleBytes(ByteString value)
Optional. The title of the card.
string title = 1;
value
- The bytes for title to set.public String getSubtitle()
Optional. The subtitle of the card.
string subtitle = 2;
getSubtitle
in interface Intent.Message.BasicCardOrBuilder
public ByteString getSubtitleBytes()
Optional. The subtitle of the card.
string subtitle = 2;
getSubtitleBytes
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Builder setSubtitle(String value)
Optional. The subtitle of the card.
string subtitle = 2;
value
- The subtitle to set.public Intent.Message.BasicCard.Builder clearSubtitle()
Optional. The subtitle of the card.
string subtitle = 2;
public Intent.Message.BasicCard.Builder setSubtitleBytes(ByteString value)
Optional. The subtitle of the card.
string subtitle = 2;
value
- The bytes for subtitle to set.public String getFormattedText()
Required, unless image is present. The body text of the card.
string formatted_text = 3;
getFormattedText
in interface Intent.Message.BasicCardOrBuilder
public ByteString getFormattedTextBytes()
Required, unless image is present. The body text of the card.
string formatted_text = 3;
getFormattedTextBytes
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Builder setFormattedText(String value)
Required, unless image is present. The body text of the card.
string formatted_text = 3;
value
- The formattedText to set.public Intent.Message.BasicCard.Builder clearFormattedText()
Required, unless image is present. The body text of the card.
string formatted_text = 3;
public Intent.Message.BasicCard.Builder setFormattedTextBytes(ByteString value)
Required, unless image is present. The body text of the card.
string formatted_text = 3;
value
- The bytes for formattedText to set.public boolean hasImage()
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
hasImage
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.Image getImage()
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
getImage
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Builder setImage(Intent.Message.Image value)
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
public Intent.Message.BasicCard.Builder setImage(Intent.Message.Image.Builder builderForValue)
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
public Intent.Message.BasicCard.Builder mergeImage(Intent.Message.Image value)
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
public Intent.Message.BasicCard.Builder clearImage()
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
public Intent.Message.Image.Builder getImageBuilder()
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
public Intent.Message.ImageOrBuilder getImageOrBuilder()
Optional. The image for the card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;
getImageOrBuilder
in interface Intent.Message.BasicCardOrBuilder
public List<Intent.Message.BasicCard.Button> getButtonsList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
getButtonsList
in interface Intent.Message.BasicCardOrBuilder
public int getButtonsCount()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
getButtonsCount
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Button getButtons(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
getButtons
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Builder setButtons(int index, Intent.Message.BasicCard.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder setButtons(int index, Intent.Message.BasicCard.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder addButtons(Intent.Message.BasicCard.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder addButtons(int index, Intent.Message.BasicCard.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder addButtons(Intent.Message.BasicCard.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder addButtons(int index, Intent.Message.BasicCard.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder addAllButtons(Iterable<? extends Intent.Message.BasicCard.Button> values)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder clearButtons()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Builder removeButtons(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Button.Builder getButtonsBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.ButtonOrBuilder getButtonsOrBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
getButtonsOrBuilder
in interface Intent.Message.BasicCardOrBuilder
public List<? extends Intent.Message.BasicCard.ButtonOrBuilder> getButtonsOrBuilderList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
getButtonsOrBuilderList
in interface Intent.Message.BasicCardOrBuilder
public Intent.Message.BasicCard.Button.Builder addButtonsBuilder()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public Intent.Message.BasicCard.Button.Builder addButtonsBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public List<Intent.Message.BasicCard.Button.Builder> getButtonsBuilderList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 5;
public final Intent.Message.BasicCard.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
public final Intent.Message.BasicCard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.BasicCard.Builder>
Copyright © 2022 Google LLC. All rights reserved.