Class JobConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.transcoder.v1.JobConfig
All Implemented Interfaces:
JobConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class JobConfig extends com.google.protobuf.GeneratedMessage implements JobConfigOrBuilder
 Job configuration
 
Protobuf type google.cloud.video.transcoder.v1.JobConfig
See Also:
  • Field Details

    • INPUTS_FIELD_NUMBER

      public static final int INPUTS_FIELD_NUMBER
      See Also:
    • EDIT_LIST_FIELD_NUMBER

      public static final int EDIT_LIST_FIELD_NUMBER
      See Also:
    • ELEMENTARY_STREAMS_FIELD_NUMBER

      public static final int ELEMENTARY_STREAMS_FIELD_NUMBER
      See Also:
    • MUX_STREAMS_FIELD_NUMBER

      public static final int MUX_STREAMS_FIELD_NUMBER
      See Also:
    • MANIFESTS_FIELD_NUMBER

      public static final int MANIFESTS_FIELD_NUMBER
      See Also:
    • OUTPUT_FIELD_NUMBER

      public static final int OUTPUT_FIELD_NUMBER
      See Also:
    • AD_BREAKS_FIELD_NUMBER

      public static final int AD_BREAKS_FIELD_NUMBER
      See Also:
    • PUBSUB_DESTINATION_FIELD_NUMBER

      public static final int PUBSUB_DESTINATION_FIELD_NUMBER
      See Also:
    • SPRITE_SHEETS_FIELD_NUMBER

      public static final int SPRITE_SHEETS_FIELD_NUMBER
      See Also:
    • OVERLAYS_FIELD_NUMBER

      public static final int OVERLAYS_FIELD_NUMBER
      See Also:
    • ENCRYPTIONS_FIELD_NUMBER

      public static final int ENCRYPTIONS_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
    • getInputsList

      public List<Input> getInputsList()
       List of input assets stored in Cloud Storage.
       
      repeated .google.cloud.video.transcoder.v1.Input inputs = 1;
      Specified by:
      getInputsList in interface JobConfigOrBuilder
    • getInputsOrBuilderList

      public List<? extends InputOrBuilder> getInputsOrBuilderList()
       List of input assets stored in Cloud Storage.
       
      repeated .google.cloud.video.transcoder.v1.Input inputs = 1;
      Specified by:
      getInputsOrBuilderList in interface JobConfigOrBuilder
    • getInputsCount

      public int getInputsCount()
       List of input assets stored in Cloud Storage.
       
      repeated .google.cloud.video.transcoder.v1.Input inputs = 1;
      Specified by:
      getInputsCount in interface JobConfigOrBuilder
    • getInputs

      public Input getInputs(int index)
       List of input assets stored in Cloud Storage.
       
      repeated .google.cloud.video.transcoder.v1.Input inputs = 1;
      Specified by:
      getInputs in interface JobConfigOrBuilder
    • getInputsOrBuilder

      public InputOrBuilder getInputsOrBuilder(int index)
       List of input assets stored in Cloud Storage.
       
      repeated .google.cloud.video.transcoder.v1.Input inputs = 1;
      Specified by:
      getInputsOrBuilder in interface JobConfigOrBuilder
    • getEditListList

      public List<EditAtom> getEditListList()
       List of edit atoms. Defines the ultimate timeline of the resulting
       file or manifest.
       
      repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      Specified by:
      getEditListList in interface JobConfigOrBuilder
    • getEditListOrBuilderList

      public List<? extends EditAtomOrBuilder> getEditListOrBuilderList()
       List of edit atoms. Defines the ultimate timeline of the resulting
       file or manifest.
       
      repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      Specified by:
      getEditListOrBuilderList in interface JobConfigOrBuilder
    • getEditListCount

      public int getEditListCount()
       List of edit atoms. Defines the ultimate timeline of the resulting
       file or manifest.
       
      repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      Specified by:
      getEditListCount in interface JobConfigOrBuilder
    • getEditList

      public EditAtom getEditList(int index)
       List of edit atoms. Defines the ultimate timeline of the resulting
       file or manifest.
       
      repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      Specified by:
      getEditList in interface JobConfigOrBuilder
    • getEditListOrBuilder

      public EditAtomOrBuilder getEditListOrBuilder(int index)
       List of edit atoms. Defines the ultimate timeline of the resulting
       file or manifest.
       
      repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      Specified by:
      getEditListOrBuilder in interface JobConfigOrBuilder
    • getElementaryStreamsList

      public List<ElementaryStream> getElementaryStreamsList()
       List of elementary streams.
       
      repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
      Specified by:
      getElementaryStreamsList in interface JobConfigOrBuilder
    • getElementaryStreamsOrBuilderList

      public List<? extends ElementaryStreamOrBuilder> getElementaryStreamsOrBuilderList()
       List of elementary streams.
       
      repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
      Specified by:
      getElementaryStreamsOrBuilderList in interface JobConfigOrBuilder
    • getElementaryStreamsCount

      public int getElementaryStreamsCount()
       List of elementary streams.
       
      repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
      Specified by:
      getElementaryStreamsCount in interface JobConfigOrBuilder
    • getElementaryStreams

      public ElementaryStream getElementaryStreams(int index)
       List of elementary streams.
       
      repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
      Specified by:
      getElementaryStreams in interface JobConfigOrBuilder
    • getElementaryStreamsOrBuilder

      public ElementaryStreamOrBuilder getElementaryStreamsOrBuilder(int index)
       List of elementary streams.
       
      repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
      Specified by:
      getElementaryStreamsOrBuilder in interface JobConfigOrBuilder
    • getMuxStreamsList

      public List<MuxStream> getMuxStreamsList()
       List of multiplexing settings for output streams.
       
      repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;
      Specified by:
      getMuxStreamsList in interface JobConfigOrBuilder
    • getMuxStreamsOrBuilderList

      public List<? extends MuxStreamOrBuilder> getMuxStreamsOrBuilderList()
       List of multiplexing settings for output streams.
       
      repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;
      Specified by:
      getMuxStreamsOrBuilderList in interface JobConfigOrBuilder
    • getMuxStreamsCount

      public int getMuxStreamsCount()
       List of multiplexing settings for output streams.
       
      repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;
      Specified by:
      getMuxStreamsCount in interface JobConfigOrBuilder
    • getMuxStreams

      public MuxStream getMuxStreams(int index)
       List of multiplexing settings for output streams.
       
      repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;
      Specified by:
      getMuxStreams in interface JobConfigOrBuilder
    • getMuxStreamsOrBuilder

      public MuxStreamOrBuilder getMuxStreamsOrBuilder(int index)
       List of multiplexing settings for output streams.
       
      repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;
      Specified by:
      getMuxStreamsOrBuilder in interface JobConfigOrBuilder
    • getManifestsList

      public List<Manifest> getManifestsList()
       List of output manifests.
       
      repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;
      Specified by:
      getManifestsList in interface JobConfigOrBuilder
    • getManifestsOrBuilderList

      public List<? extends ManifestOrBuilder> getManifestsOrBuilderList()
       List of output manifests.
       
      repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;
      Specified by:
      getManifestsOrBuilderList in interface JobConfigOrBuilder
    • getManifestsCount

      public int getManifestsCount()
       List of output manifests.
       
      repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;
      Specified by:
      getManifestsCount in interface JobConfigOrBuilder
    • getManifests

      public Manifest getManifests(int index)
       List of output manifests.
       
      repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;
      Specified by:
      getManifests in interface JobConfigOrBuilder
    • getManifestsOrBuilder

      public ManifestOrBuilder getManifestsOrBuilder(int index)
       List of output manifests.
       
      repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;
      Specified by:
      getManifestsOrBuilder in interface JobConfigOrBuilder
    • hasOutput

      public boolean hasOutput()
       Output configuration.
       
      .google.cloud.video.transcoder.v1.Output output = 6;
      Specified by:
      hasOutput in interface JobConfigOrBuilder
      Returns:
      Whether the output field is set.
    • getOutput

      public Output getOutput()
       Output configuration.
       
      .google.cloud.video.transcoder.v1.Output output = 6;
      Specified by:
      getOutput in interface JobConfigOrBuilder
      Returns:
      The output.
    • getOutputOrBuilder

      public OutputOrBuilder getOutputOrBuilder()
       Output configuration.
       
      .google.cloud.video.transcoder.v1.Output output = 6;
      Specified by:
      getOutputOrBuilder in interface JobConfigOrBuilder
    • getAdBreaksList

      public List<AdBreak> getAdBreaksList()
       List of ad breaks. Specifies where to insert ad break tags in the output
       manifests.
       
      repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      Specified by:
      getAdBreaksList in interface JobConfigOrBuilder
    • getAdBreaksOrBuilderList

      public List<? extends AdBreakOrBuilder> getAdBreaksOrBuilderList()
       List of ad breaks. Specifies where to insert ad break tags in the output
       manifests.
       
      repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      Specified by:
      getAdBreaksOrBuilderList in interface JobConfigOrBuilder
    • getAdBreaksCount

      public int getAdBreaksCount()
       List of ad breaks. Specifies where to insert ad break tags in the output
       manifests.
       
      repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      Specified by:
      getAdBreaksCount in interface JobConfigOrBuilder
    • getAdBreaks

      public AdBreak getAdBreaks(int index)
       List of ad breaks. Specifies where to insert ad break tags in the output
       manifests.
       
      repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      Specified by:
      getAdBreaks in interface JobConfigOrBuilder
    • getAdBreaksOrBuilder

      public AdBreakOrBuilder getAdBreaksOrBuilder(int index)
       List of ad breaks. Specifies where to insert ad break tags in the output
       manifests.
       
      repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      Specified by:
      getAdBreaksOrBuilder in interface JobConfigOrBuilder
    • hasPubsubDestination

      public boolean hasPubsubDestination()
       Destination on Pub/Sub.
       
      .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;
      Specified by:
      hasPubsubDestination in interface JobConfigOrBuilder
      Returns:
      Whether the pubsubDestination field is set.
    • getPubsubDestination

      public PubsubDestination getPubsubDestination()
       Destination on Pub/Sub.
       
      .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;
      Specified by:
      getPubsubDestination in interface JobConfigOrBuilder
      Returns:
      The pubsubDestination.
    • getPubsubDestinationOrBuilder

      public PubsubDestinationOrBuilder getPubsubDestinationOrBuilder()
       Destination on Pub/Sub.
       
      .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;
      Specified by:
      getPubsubDestinationOrBuilder in interface JobConfigOrBuilder
    • getSpriteSheetsList

      public List<SpriteSheet> getSpriteSheetsList()
       List of output sprite sheets.
       Spritesheets require at least one VideoStream in the Jobconfig.
       
      repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      Specified by:
      getSpriteSheetsList in interface JobConfigOrBuilder
    • getSpriteSheetsOrBuilderList

      public List<? extends SpriteSheetOrBuilder> getSpriteSheetsOrBuilderList()
       List of output sprite sheets.
       Spritesheets require at least one VideoStream in the Jobconfig.
       
      repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      Specified by:
      getSpriteSheetsOrBuilderList in interface JobConfigOrBuilder
    • getSpriteSheetsCount

      public int getSpriteSheetsCount()
       List of output sprite sheets.
       Spritesheets require at least one VideoStream in the Jobconfig.
       
      repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      Specified by:
      getSpriteSheetsCount in interface JobConfigOrBuilder
    • getSpriteSheets

      public SpriteSheet getSpriteSheets(int index)
       List of output sprite sheets.
       Spritesheets require at least one VideoStream in the Jobconfig.
       
      repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      Specified by:
      getSpriteSheets in interface JobConfigOrBuilder
    • getSpriteSheetsOrBuilder

      public SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index)
       List of output sprite sheets.
       Spritesheets require at least one VideoStream in the Jobconfig.
       
      repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      Specified by:
      getSpriteSheetsOrBuilder in interface JobConfigOrBuilder
    • getOverlaysList

      public List<Overlay> getOverlaysList()
       List of overlays on the output video, in descending Z-order.
       
      repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;
      Specified by:
      getOverlaysList in interface JobConfigOrBuilder
    • getOverlaysOrBuilderList

      public List<? extends OverlayOrBuilder> getOverlaysOrBuilderList()
       List of overlays on the output video, in descending Z-order.
       
      repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;
      Specified by:
      getOverlaysOrBuilderList in interface JobConfigOrBuilder
    • getOverlaysCount

      public int getOverlaysCount()
       List of overlays on the output video, in descending Z-order.
       
      repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;
      Specified by:
      getOverlaysCount in interface JobConfigOrBuilder
    • getOverlays

      public Overlay getOverlays(int index)
       List of overlays on the output video, in descending Z-order.
       
      repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;
      Specified by:
      getOverlays in interface JobConfigOrBuilder
    • getOverlaysOrBuilder

      public OverlayOrBuilder getOverlaysOrBuilder(int index)
       List of overlays on the output video, in descending Z-order.
       
      repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;
      Specified by:
      getOverlaysOrBuilder in interface JobConfigOrBuilder
    • getEncryptionsList

      public List<Encryption> getEncryptionsList()
       List of encryption configurations for the content.
       Each configuration has an ID. Specify this ID in the
       [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id]
       field to indicate the configuration to use for that `MuxStream` output.
       
      repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;
      Specified by:
      getEncryptionsList in interface JobConfigOrBuilder
    • getEncryptionsOrBuilderList

      public List<? extends EncryptionOrBuilder> getEncryptionsOrBuilderList()
       List of encryption configurations for the content.
       Each configuration has an ID. Specify this ID in the
       [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id]
       field to indicate the configuration to use for that `MuxStream` output.
       
      repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;
      Specified by:
      getEncryptionsOrBuilderList in interface JobConfigOrBuilder
    • getEncryptionsCount

      public int getEncryptionsCount()
       List of encryption configurations for the content.
       Each configuration has an ID. Specify this ID in the
       [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id]
       field to indicate the configuration to use for that `MuxStream` output.
       
      repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;
      Specified by:
      getEncryptionsCount in interface JobConfigOrBuilder
    • getEncryptions

      public Encryption getEncryptions(int index)
       List of encryption configurations for the content.
       Each configuration has an ID. Specify this ID in the
       [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id]
       field to indicate the configuration to use for that `MuxStream` output.
       
      repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;
      Specified by:
      getEncryptions in interface JobConfigOrBuilder
    • getEncryptionsOrBuilder

      public EncryptionOrBuilder getEncryptionsOrBuilder(int index)
       List of encryption configurations for the content.
       Each configuration has an ID. Specify this ID in the
       [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id]
       field to indicate the configuration to use for that `MuxStream` output.
       
      repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;
      Specified by:
      getEncryptionsOrBuilder in interface JobConfigOrBuilder
    • 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 JobConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static JobConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static JobConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<JobConfig> 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 JobConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder