Package com.google.cloud.channel.v1
Interface MediaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Media,Media.Builder
public interface MediaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContent()URL of the media.com.google.protobuf.ByteStringgetContentBytes()URL of the media.StringgetTitle()Title of the media.com.google.protobuf.ByteStringgetTitleBytes()Title of the media.MediaTypegetType()Type of the media.intgetTypeValue()Type of the media.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTitle
String getTitle()
Title of the media.
string title = 1;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Title of the media.
string title = 1;- Returns:
- The bytes for title.
-
getContent
String getContent()
URL of the media.
string content = 2;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()
URL of the media.
string content = 2;- Returns:
- The bytes for content.
-
getTypeValue
int getTypeValue()
Type of the media.
.google.cloud.channel.v1.MediaType type = 3;- Returns:
- The enum numeric value on the wire for type.
-
getType
MediaType getType()
Type of the media.
.google.cloud.channel.v1.MediaType type = 3;- Returns:
- The type.
-
-