public static final class Intent.Message.RbmCardContent.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.Builder> implements Intent.Message.RbmCardContentOrBuilderRich Business Messaging (RBM) Card content
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.RbmCardContent.BuilderImplements
Intent.Message.RbmCardContentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllSuggestions(Iterable<? extends Intent.Message.RbmSuggestion> values)
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;
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion> |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmCardContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addSuggestions(Intent.Message.RbmSuggestion value)
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;
| Name | Description |
value |
Intent.Message.RbmSuggestion |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addSuggestions(Intent.Message.RbmSuggestion.Builder builderForValue)
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;
| Name | Description |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addSuggestions(int index, Intent.Message.RbmSuggestion value)
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;
| Name | Description |
index |
int |
value |
Intent.Message.RbmSuggestion |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addSuggestions(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
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;
| Name | Description |
index |
int |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
addSuggestionsBuilder()
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;
| Type | Description |
Intent.Message.RbmSuggestion.Builder |
addSuggestionsBuilder(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Intent.Message.RbmSuggestion.Builder |
build()
public Intent.Message.RbmCardContent build()| Type | Description |
Intent.Message.RbmCardContent |
buildPartial()
public Intent.Message.RbmCardContent buildPartial()| Type | Description |
Intent.Message.RbmCardContent |
clear()
public Intent.Message.RbmCardContent.Builder clear()| Type | Description |
Intent.Message.RbmCardContent.Builder |
clearDescription()
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;
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmCardContent.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
clearMedia()
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;
| Type | Description |
Intent.Message.RbmCardContent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmCardContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
clearSuggestions()
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;
| Type | Description |
Intent.Message.RbmCardContent.Builder |
clearTitle()
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;
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
clone()
public Intent.Message.RbmCardContent.Builder clone()| Type | Description |
Intent.Message.RbmCardContent.Builder |
getDefaultInstanceForType()
public Intent.Message.RbmCardContent getDefaultInstanceForType()| Type | Description |
Intent.Message.RbmCardContent |
getDescription()
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;
| Type | Description |
String |
The description. |
getDescriptionBytes()
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;
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getMedia()
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;
| Type | Description |
Intent.Message.RbmCardContent.RbmMedia |
The media. |
getMediaBuilder()
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;
| Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
getMediaOrBuilder()
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;
| Type | Description |
Intent.Message.RbmCardContent.RbmMediaOrBuilder |
getSuggestions(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Intent.Message.RbmSuggestion |
getSuggestionsBuilder(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Intent.Message.RbmSuggestion.Builder |
getSuggestionsBuilderList()
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;
| Type | Description |
List<Builder> |
getSuggestionsCount()
public int getSuggestionsCount()Optional. List of suggestions to include in the card.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;
| Type | Description |
int |
getSuggestionsList()
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;
| Type | Description |
List<RbmSuggestion> |
getSuggestionsOrBuilder(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Intent.Message.RbmSuggestionOrBuilder |
getSuggestionsOrBuilderList()
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;
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestionOrBuilder> |
getTitle()
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;
| Type | Description |
String |
The title. |
getTitleBytes()
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;
| Type | Description |
ByteString |
The bytes for title. |
hasMedia()
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;
| Type | Description |
boolean |
Whether the media field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(Intent.Message.RbmCardContent other)
public Intent.Message.RbmCardContent.Builder mergeFrom(Intent.Message.RbmCardContent other)| Name | Description |
other |
Intent.Message.RbmCardContent |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmCardContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.RbmCardContent.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
mergeMedia(Intent.Message.RbmCardContent.RbmMedia value)
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;
| Name | Description |
value |
Intent.Message.RbmCardContent.RbmMedia |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
removeSuggestions(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setDescription(String value)
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;
| Name | Description |
value |
StringThe description to set. |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
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;
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmCardContent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setMedia(Intent.Message.RbmCardContent.RbmMedia value)
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;
| Name | Description |
value |
Intent.Message.RbmCardContent.RbmMedia |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setMedia(Intent.Message.RbmCardContent.RbmMedia.Builder builderForValue)
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;
| Name | Description |
builderForValue |
Intent.Message.RbmCardContent.RbmMedia.Builder |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmCardContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setSuggestions(int index, Intent.Message.RbmSuggestion value)
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;
| Name | Description |
index |
int |
value |
Intent.Message.RbmSuggestion |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setSuggestions(int index, Intent.Message.RbmSuggestion.Builder builderForValue)
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;
| Name | Description |
index |
int |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
setTitle(String value)
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;
| Name | Description |
value |
StringThe title to set. |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
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;
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
Intent.Message.RbmCardContent.Builder |