- 4.82.0 (latest)
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion> |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmCardContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Intent.Message.RbmSuggestion |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Intent.Message.RbmSuggestion |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestion.Builder |
|
build()
public Intent.Message.RbmCardContent build()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent |
|
buildPartial()
public Intent.Message.RbmCardContent buildPartial()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent |
|
clear()
public Intent.Message.RbmCardContent.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmCardContent.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmCardContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
clone()
public Intent.Message.RbmCardContent.Builder clone()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
getDefaultInstanceForType()
public Intent.Message.RbmCardContent getDefaultInstanceForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the media field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Intent.Message.RbmCardContent other)
public Intent.Message.RbmCardContent.Builder mergeFrom(Intent.Message.RbmCardContent other)| Parameter | |
|---|---|
| Name | Description |
other |
Intent.Message.RbmCardContent |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmCardContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Intent.Message.RbmCardContent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Intent.Message.RbmCardContent.RbmMedia |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Intent.Message.RbmCardContent.RbmMedia |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Intent.Message.RbmCardContent.RbmMedia.Builder |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Intent.Message.RbmSuggestion |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Intent.Message.RbmSuggestion.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmCardContent.Builder |
|