Interface MediaOrBuilder (3.15.0)

public interface MediaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

URL of the media.

string content = 2;

Returns
TypeDescription
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

URL of the media.

string content = 2;

Returns
TypeDescription
ByteString

The bytes for content.

getTitle()

public abstract String getTitle()

Title of the media.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the media.

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.

getType()

public abstract MediaType getType()

Type of the media.

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

Returns
TypeDescription
MediaType

The type.

getTypeValue()

public abstract int getTypeValue()

Type of the media.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.