Interface Intent.Message.MediaContentOrBuilder (4.7.5)

public static interface Intent.Message.MediaContentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMediaObjects(int index)

public abstract Intent.Message.MediaContent.ResponseMediaObject getMediaObjects(int index)

Required. List of media objects.

repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObject

getMediaObjectsCount()

public abstract int getMediaObjectsCount()

Required. List of media objects.

repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Returns
TypeDescription
int

getMediaObjectsList()

public abstract List<Intent.Message.MediaContent.ResponseMediaObject> getMediaObjectsList()

Required. List of media objects.

repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Returns
TypeDescription
List<ResponseMediaObject>

getMediaObjectsOrBuilder(int index)

public abstract Intent.Message.MediaContent.ResponseMediaObjectOrBuilder getMediaObjectsOrBuilder(int index)

Required. List of media objects.

repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaObjectOrBuilder

getMediaObjectsOrBuilderList()

public abstract List<? extends Intent.Message.MediaContent.ResponseMediaObjectOrBuilder> getMediaObjectsOrBuilderList()

Required. List of media objects.

repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObjectOrBuilder>

getMediaType()

public abstract Intent.Message.MediaContent.ResponseMediaType getMediaType()

Optional. What type of media is the content (ie "audio").

.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Intent.Message.MediaContent.ResponseMediaType

The mediaType.

getMediaTypeValue()

public abstract int getMediaTypeValue()

Optional. What type of media is the content (ie "audio").

.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for mediaType.