public static final class Intent.Message.RbmCardContent extends com.google.protobuf.GeneratedMessageV3 implements Intent.Message.RbmCardContentOrBuilder
Rich Business Messaging (RBM) Card contentProtobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent| Modifier and Type | Class and Description |
|---|---|
static class |
Intent.Message.RbmCardContent.Builder
Rich Business Messaging (RBM) Card content
|
static class |
Intent.Message.RbmCardContent.RbmMedia
Rich Business Messaging (RBM) Media displayed in Cards
The following media-types are currently supported:
Image Types
* image/jpeg
* image/jpg'
* image/gif
* image/png
Video Types
* video/h263
* video/m4v
* video/mp4
* video/mpeg
* video/mpeg4
* video/webm
|
static interface |
Intent.Message.RbmCardContent.RbmMediaOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
MEDIA_FIELD_NUMBER |
static int |
SUGGESTIONS_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int MEDIA_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.RbmCardContentOrBuilderpublic com.google.protobuf.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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic com.google.protobuf.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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic 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.RbmCardContentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Intent.Message.RbmCardContent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.RbmCardContent parseFrom(InputStream input) throws IOException
IOExceptionpublic static Intent.Message.RbmCardContent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent.Message.RbmCardContent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Intent.Message.RbmCardContent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent.Message.RbmCardContent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Intent.Message.RbmCardContent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Intent.Message.RbmCardContent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Intent.Message.RbmCardContent.Builder newBuilder()
public static Intent.Message.RbmCardContent.Builder newBuilder(Intent.Message.RbmCardContent prototype)
public Intent.Message.RbmCardContent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Intent.Message.RbmCardContent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Intent.Message.RbmCardContent getDefaultInstance()
public static com.google.protobuf.Parser<Intent.Message.RbmCardContent> parser()
public com.google.protobuf.Parser<Intent.Message.RbmCardContent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Intent.Message.RbmCardContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.