Class JobConfig

  • All Implemented Interfaces:
    JobConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class JobConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements JobConfigOrBuilder
     Job configuration
     
    Protobuf type google.cloud.video.transcoder.v1.JobConfig
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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 atom`s. 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 atom`s. 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 atom`s. 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 atom`s. 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 atom`s. 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
      • getElementaryStreamsCount

        public int getElementaryStreamsCount()
         List of elementary streams.
         
        repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;
        Specified by:
        getElementaryStreamsCount 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
      • 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
      • 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
      • 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.
      • 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.
      • 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
      • 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.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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