Send feedback
Class Intent.Message.MediaContent.ResponseMediaObject (4.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.30.0 keyboard_arrow_down
public static final class Intent . Message . MediaContent . ResponseMediaObject extends GeneratedMessageV3 implements Intent . Message . MediaContent . ResponseMediaObjectOrBuilder
Response media object for media content card.
Protobuf type
google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CONTENT_URL_FIELD_NUMBER
public static final int CONTENT_URL_FIELD_NUMBER
Field Value
Type
Description
int
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type
Description
int
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER
Field Value
Type
Description
int
LARGE_IMAGE_FIELD_NUMBER
public static final int LARGE_IMAGE_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Intent . Message . MediaContent . ResponseMediaObject getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilder ()
newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)
public static Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilder ( Intent . Message . MediaContent . ResponseMediaObject prototype )
parseDelimitedFrom(InputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Intent . Message . MediaContent . ResponseMediaObject > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getContentUrl()
public String getContentUrl ()
Required. Url where the media is stored.
string content_url = 5;
Returns
Type
Description
String
The contentUrl.
getContentUrlBytes()
public ByteString getContentUrlBytes ()
Required. Url where the media is stored.
string content_url = 5;
Returns
Type
Description
ByteString
The bytes for contentUrl.
getDefaultInstanceForType()
public Intent . Message . MediaContent . ResponseMediaObject getDefaultInstanceForType ()
getDescription()
public String getDescription ()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for description.
getIcon()
public Intent . Message . Image getIcon ()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
getIconOrBuilder()
public Intent . Message . ImageOrBuilder getIconOrBuilder ()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
getImageCase()
public Intent . Message . MediaContent . ResponseMediaObject . ImageCase getImageCase ()
getLargeImage()
public Intent . Message . Image getLargeImage ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
getLargeImageOrBuilder()
public Intent . Message . ImageOrBuilder getLargeImageOrBuilder ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
getName()
Required. Name of media card.
string name = 1;
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Required. Name of media card.
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<Intent . Message . MediaContent . ResponseMediaObject > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the icon field is set.
hasLargeImage()
public boolean hasLargeImage ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the largeImage field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Intent . Message . MediaContent . ResponseMediaObject . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]