Send feedback
Class Intent.Message.MediaContent.ResponseMediaObject (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 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.v2beta1.Intent.Message.MediaContent.ResponseMediaObject
Static Fields
CONTENT_URL_FIELD_NUMBER
public static final int CONTENT_URL_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER
Field Value
LARGE_IMAGE_FIELD_NUMBER
public static final int LARGE_IMAGE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent . Message . MediaContent . ResponseMediaObject getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilder ()
Returns
newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)
public static Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilder ( Intent . Message . MediaContent . ResponseMediaObject prototype )
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( InputStream input )
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent . Message . MediaContent . ResponseMediaObject parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Intent . Message . MediaContent . ResponseMediaObject > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
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 ()
Returns
getDescription()
public String getDescription ()
Optional. Description of media card.
string description = 2;
Returns
Type Description String The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Optional. Description of media card.
string description = 2;
Returns
Type Description ByteString The bytes for description.
getIcon()
public Intent . Message . Image getIcon ()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
getIconOrBuilder()
public Intent . Message . ImageOrBuilder getIconOrBuilder ()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
getImageCase()
public Intent . Message . MediaContent . ResponseMediaObject . ImageCase getImageCase ()
Returns
getLargeImage()
public Intent . Message . Image getLargeImage ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
getLargeImageOrBuilder()
public Intent . Message . ImageOrBuilder getLargeImageOrBuilder ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
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
getParserForType()
public Parser<Intent . Message . MediaContent . ResponseMediaObject > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
Type Description boolean Whether the icon field is set.
hasLargeImage()
public boolean hasLargeImage ()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
Type Description boolean Whether the largeImage field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent . Message . MediaContent . ResponseMediaObject . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Intent . Message . MediaContent . ResponseMediaObject . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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."],[],[]]