Class Intent.Message.MediaContent.ResponseMediaObject (4.8.5)

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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

ICON_FIELD_NUMBER

public static final int ICON_FIELD_NUMBER
Field Value
TypeDescription
int

LARGE_IMAGE_FIELD_NUMBER

public static final int LARGE_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.MediaContent.ResponseMediaObject getDefaultInstance()
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilder()
Returns
TypeDescription
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
NameDescription
prototypeIntent.Message.MediaContent.ResponseMediaObject
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContentUrl()

public String getContentUrl()

Required. Url where the media is stored.

string content_url = 5;

Returns
TypeDescription
String

The contentUrl.

getContentUrlBytes()

public ByteString getContentUrlBytes()

Required. Url where the media is stored.

string content_url = 5;

Returns
TypeDescription
ByteString

The bytes for contentUrl.

getDefaultInstanceForType()

public Intent.Message.MediaContent.ResponseMediaObject getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject

getDescription()

public String getDescription()

Optional. Description of media card.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of media card.

string description = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.ImageOrBuilder

getImageCase()

public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.ImageOrBuilder

getName()

public String getName()

Required. Name of media card.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of media card.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Intent.Message.MediaContent.ResponseMediaObject> getParserForType()
Returns
TypeDescription
Parser<ResponseMediaObject>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIcon()

public boolean hasIcon()

Optional. Icon to display above media content.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the largeImage field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Intent.Message.MediaContent.ResponseMediaObject.Builder toBuilder()
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException