Interface Intent.Message.MediaContentOrBuilder (4.38.0)

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.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject

getMediaObjectsCount()

public abstract int getMediaObjectsCount()

Required. List of media objects.

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

Returns
Type Description
int

getMediaObjectsList()

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

Required. List of media objects.

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

Returns
Type Description
List<ResponseMediaObject>

getMediaObjectsOrBuilder(int index)

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

Required. List of media objects.

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

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObjectOrBuilder

getMediaObjectsOrBuilderList()

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

Required. List of media objects.

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

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;

Returns
Type Description
Intent.Message.MediaContent.ResponseMediaType

The mediaType.

getMediaTypeValue()

public abstract int getMediaTypeValue()

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

.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for mediaType.