public static final class Intent.Message.Card.Builder extends GeneratedMessageV3.Builder<Intent.Message.Card.Builder> implements Intent.Message.CardOrBuilder
The card response message.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.Card
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.Card.Builder>
public Intent.Message.Card.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.Card build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.Card buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.Card.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.Builder mergeFrom(Intent.Message.Card other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public Intent.Message.Card.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.Card.Builder>
IOException
public String getTitle()
Optional. The title of the card.
string title = 1;
getTitle
in interface Intent.Message.CardOrBuilder
public ByteString getTitleBytes()
Optional. The title of the card.
string title = 1;
getTitleBytes
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Builder setTitle(String value)
Optional. The title of the card.
string title = 1;
value
- The title to set.public Intent.Message.Card.Builder clearTitle()
Optional. The title of the card.
string title = 1;
public Intent.Message.Card.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.CardOrBuilder
public ByteString getSubtitleBytes()
Optional. The subtitle of the card.
string subtitle = 2;
getSubtitleBytes
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Builder setSubtitle(String value)
Optional. The subtitle of the card.
string subtitle = 2;
value
- The subtitle to set.public Intent.Message.Card.Builder clearSubtitle()
Optional. The subtitle of the card.
string subtitle = 2;
public Intent.Message.Card.Builder setSubtitleBytes(ByteString value)
Optional. The subtitle of the card.
string subtitle = 2;
value
- The bytes for subtitle to set.public String getImageUri()
Optional. The public URI to an image file for the card.
string image_uri = 3;
getImageUri
in interface Intent.Message.CardOrBuilder
public ByteString getImageUriBytes()
Optional. The public URI to an image file for the card.
string image_uri = 3;
getImageUriBytes
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Builder setImageUri(String value)
Optional. The public URI to an image file for the card.
string image_uri = 3;
value
- The imageUri to set.public Intent.Message.Card.Builder clearImageUri()
Optional. The public URI to an image file for the card.
string image_uri = 3;
public Intent.Message.Card.Builder setImageUriBytes(ByteString value)
Optional. The public URI to an image file for the card.
string image_uri = 3;
value
- The bytes for imageUri to set.public List<Intent.Message.Card.Button> getButtonsList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
getButtonsList
in interface Intent.Message.CardOrBuilder
public int getButtonsCount()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
getButtonsCount
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Button getButtons(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
getButtons
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Builder setButtons(int index, Intent.Message.Card.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder setButtons(int index, Intent.Message.Card.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder addButtons(Intent.Message.Card.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder addButtons(int index, Intent.Message.Card.Button value)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder addButtons(Intent.Message.Card.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder addButtons(int index, Intent.Message.Card.Button.Builder builderForValue)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder addAllButtons(Iterable<? extends Intent.Message.Card.Button> values)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder clearButtons()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Builder removeButtons(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Button.Builder getButtonsBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.ButtonOrBuilder getButtonsOrBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
getButtonsOrBuilder
in interface Intent.Message.CardOrBuilder
public List<? extends Intent.Message.Card.ButtonOrBuilder> getButtonsOrBuilderList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
getButtonsOrBuilderList
in interface Intent.Message.CardOrBuilder
public Intent.Message.Card.Button.Builder addButtonsBuilder()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public Intent.Message.Card.Button.Builder addButtonsBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public List<Intent.Message.Card.Button.Builder> getButtonsBuilderList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button buttons = 4;
public final Intent.Message.Card.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
public final Intent.Message.Card.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.Card.Builder>
Copyright © 2022 Google LLC. All rights reserved.