Interface MediaOrBuilder (3.59.0)

public interface MediaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

URL of the media.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

URL of the media.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getTitle()

public abstract String getTitle()

Title of the media.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the media.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

getType()

public abstract MediaType getType()

Type of the media.

.google.cloud.channel.v1.MediaType type = 3;

Returns
Type Description
MediaType

The type.

getTypeValue()

public abstract int getTypeValue()

Type of the media.

.google.cloud.channel.v1.MediaType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.