Interface MediaOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Media, Media.Builder

@Generated public interface MediaOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    URL of the media.
    com.google.protobuf.ByteString
    URL of the media.
    Title of the media.
    com.google.protobuf.ByteString
    Title of the media.
    Type of the media.
    int
    Type of the media.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.