Class ShareablePreviewResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.services.ShareablePreviewResult
All Implemented Interfaces:
ShareablePreviewResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ShareablePreviewResult extends com.google.protobuf.GeneratedMessage implements ShareablePreviewResultOrBuilder
 Message to hold a shareable preview result.
 
Protobuf type google.ads.googleads.v23.services.ShareablePreviewResult
See Also:
  • Field Details

    • SHAREABLE_PREVIEW_URL_FIELD_NUMBER

      public static final int SHAREABLE_PREVIEW_URL_FIELD_NUMBER
      See Also:
    • EXPIRATION_DATE_TIME_FIELD_NUMBER

      public static final int EXPIRATION_DATE_TIME_FIELD_NUMBER
      See Also:
    • YOUTUBE_LIVE_PREVIEW_RESULT_FIELD_NUMBER

      public static final int YOUTUBE_LIVE_PREVIEW_RESULT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getResultCase

      public ShareablePreviewResult.ResultCase getResultCase()
      Specified by:
      getResultCase in interface ShareablePreviewResultOrBuilder
    • getShareablePreviewUrl

      public String getShareablePreviewUrl()
       The shareable preview URL. Only populated if preview type is UI_PREVIEW
       or unset.
       
      string shareable_preview_url = 1;
      Specified by:
      getShareablePreviewUrl in interface ShareablePreviewResultOrBuilder
      Returns:
      The shareablePreviewUrl.
    • getShareablePreviewUrlBytes

      public com.google.protobuf.ByteString getShareablePreviewUrlBytes()
       The shareable preview URL. Only populated if preview type is UI_PREVIEW
       or unset.
       
      string shareable_preview_url = 1;
      Specified by:
      getShareablePreviewUrlBytes in interface ShareablePreviewResultOrBuilder
      Returns:
      The bytes for shareablePreviewUrl.
    • getExpirationDateTime

      public String getExpirationDateTime()
       Expiration date time using the ISO-8601 format.
       
      string expiration_date_time = 2;
      Specified by:
      getExpirationDateTime in interface ShareablePreviewResultOrBuilder
      Returns:
      The expirationDateTime.
    • getExpirationDateTimeBytes

      public com.google.protobuf.ByteString getExpirationDateTimeBytes()
       Expiration date time using the ISO-8601 format.
       
      string expiration_date_time = 2;
      Specified by:
      getExpirationDateTimeBytes in interface ShareablePreviewResultOrBuilder
      Returns:
      The bytes for expirationDateTime.
    • hasYoutubeLivePreviewResult

      public boolean hasYoutubeLivePreviewResult()
       The result of a YouTube live preview. Only populated for preview type
       YOUTUBE_LIVE_PREVIEW.
       
      .google.ads.googleads.v23.services.YouTubeLivePreviewResult youtube_live_preview_result = 3;
      Specified by:
      hasYoutubeLivePreviewResult in interface ShareablePreviewResultOrBuilder
      Returns:
      Whether the youtubeLivePreviewResult field is set.
    • getYoutubeLivePreviewResult

      public YouTubeLivePreviewResult getYoutubeLivePreviewResult()
       The result of a YouTube live preview. Only populated for preview type
       YOUTUBE_LIVE_PREVIEW.
       
      .google.ads.googleads.v23.services.YouTubeLivePreviewResult youtube_live_preview_result = 3;
      Specified by:
      getYoutubeLivePreviewResult in interface ShareablePreviewResultOrBuilder
      Returns:
      The youtubeLivePreviewResult.
    • getYoutubeLivePreviewResultOrBuilder

      public YouTubeLivePreviewResultOrBuilder getYoutubeLivePreviewResultOrBuilder()
       The result of a YouTube live preview. Only populated for preview type
       YOUTUBE_LIVE_PREVIEW.
       
      .google.ads.googleads.v23.services.YouTubeLivePreviewResult youtube_live_preview_result = 3;
      Specified by:
      getYoutubeLivePreviewResultOrBuilder in interface ShareablePreviewResultOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ShareablePreviewResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShareablePreviewResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShareablePreviewResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShareablePreviewResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShareablePreviewResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShareablePreviewResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShareablePreviewResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ShareablePreviewResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ShareablePreviewResult.Builder newBuilder()
    • newBuilder

      public static ShareablePreviewResult.Builder newBuilder(ShareablePreviewResult prototype)
    • toBuilder

      public ShareablePreviewResult.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ShareablePreviewResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ShareablePreviewResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ShareablePreviewResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<ShareablePreviewResult> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ShareablePreviewResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder