Class Intent.Message.MediaContent.ResponseMediaObject (4.26.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.Message.MediaContent.ResponseMediaObject

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()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilder()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.Builder

newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)

public static Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)
Parameter
Name Description
prototype Intent.Message.MediaContent.ResponseMediaObject
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.MediaContent.ResponseMediaObject> parser()
Returns
Type Description
Parser<ResponseMediaObject>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
Intent.Message.MediaContent.ResponseMediaObject

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
Type Description
Intent.Message.Image

The icon.

getIconOrBuilder()

public Intent.Message.ImageOrBuilder getIconOrBuilder()

Optional. Icon to display above media content.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;

Returns
Type Description
Intent.Message.ImageOrBuilder

getImageCase()

public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.ImageCase

getLargeImage()

public Intent.Message.Image getLargeImage()

Optional. Image to display above media content.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;

Returns
Type Description
Intent.Message.Image

The largeImage.

getLargeImageOrBuilder()

public Intent.Message.ImageOrBuilder getLargeImageOrBuilder()

Optional. Image to display above media content.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;

Returns
Type Description
Intent.Message.ImageOrBuilder

getName()

public String 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()
Returns
Type Description
Parser<ResponseMediaObject>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasIcon()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Intent.Message.MediaContent.ResponseMediaObject.Builder toBuilder()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException