Class StaticAdResource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StaticAdResource.Builder>
com.google.cloud.video.stitcher.v1.StaticAdResource.Builder
All Implemented Interfaces:
StaticAdResourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StaticAdResource

public static final class StaticAdResource.Builder extends com.google.protobuf.GeneratedMessage.Builder<StaticAdResource.Builder> implements StaticAdResourceOrBuilder
 Metadata for a static ad resource.
 
Protobuf type google.cloud.video.stitcher.v1.StaticAdResource
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Describes the MIME type of the ad resource.
    URI to the static file for the ad resource.
    Describes the MIME type of the ad resource.
    com.google.protobuf.ByteString
    Describes the MIME type of the ad resource.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    URI to the static file for the ad resource.
    com.google.protobuf.ByteString
    URI to the static file for the ad resource.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Describes the MIME type of the ad resource.
    setCreativeTypeBytes(com.google.protobuf.ByteString value)
    Describes the MIME type of the ad resource.
    setUri(String value)
    URI to the static file for the ad resource.
    setUriBytes(com.google.protobuf.ByteString value)
    URI to the static file for the ad resource.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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.Builder<StaticAdResource.Builder>
    • clear

      public StaticAdResource.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StaticAdResource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StaticAdResource.Builder>
    • getDefaultInstanceForType

      public StaticAdResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StaticAdResource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StaticAdResource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StaticAdResource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StaticAdResource.Builder>
    • mergeFrom

      public StaticAdResource.Builder mergeFrom(StaticAdResource other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StaticAdResource.Builder>
    • mergeFrom

      public StaticAdResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StaticAdResource.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       URI to the static file for the ad resource.
       
      string uri = 1;
      Specified by:
      getUri in interface StaticAdResourceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI to the static file for the ad resource.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface StaticAdResourceOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public StaticAdResource.Builder setUri(String value)
       URI to the static file for the ad resource.
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public StaticAdResource.Builder clearUri()
       URI to the static file for the ad resource.
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public StaticAdResource.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI to the static file for the ad resource.
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getCreativeType

      public String getCreativeType()
       Describes the MIME type of the ad resource.
       
      string creative_type = 2;
      Specified by:
      getCreativeType in interface StaticAdResourceOrBuilder
      Returns:
      The creativeType.
    • getCreativeTypeBytes

      public com.google.protobuf.ByteString getCreativeTypeBytes()
       Describes the MIME type of the ad resource.
       
      string creative_type = 2;
      Specified by:
      getCreativeTypeBytes in interface StaticAdResourceOrBuilder
      Returns:
      The bytes for creativeType.
    • setCreativeType

      public StaticAdResource.Builder setCreativeType(String value)
       Describes the MIME type of the ad resource.
       
      string creative_type = 2;
      Parameters:
      value - The creativeType to set.
      Returns:
      This builder for chaining.
    • clearCreativeType

      public StaticAdResource.Builder clearCreativeType()
       Describes the MIME type of the ad resource.
       
      string creative_type = 2;
      Returns:
      This builder for chaining.
    • setCreativeTypeBytes

      public StaticAdResource.Builder setCreativeTypeBytes(com.google.protobuf.ByteString value)
       Describes the MIME type of the ad resource.
       
      string creative_type = 2;
      Parameters:
      value - The bytes for creativeType to set.
      Returns:
      This builder for chaining.