Class JobConfig (1.54.0)

public final class JobConfig extends GeneratedMessageV3 implements JobConfigOrBuilder

Job configuration

Protobuf type google.cloud.video.transcoder.v1.JobConfig

Implements

JobConfigOrBuilder

Static Fields

AD_BREAKS_FIELD_NUMBER

public static final int AD_BREAKS_FIELD_NUMBER
Field Value
Type Description
int

EDIT_LIST_FIELD_NUMBER

public static final int EDIT_LIST_FIELD_NUMBER
Field Value
Type Description
int

ELEMENTARY_STREAMS_FIELD_NUMBER

public static final int ELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTIONS_FIELD_NUMBER

public static final int ENCRYPTIONS_FIELD_NUMBER
Field Value
Type Description
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
Type Description
int

MANIFESTS_FIELD_NUMBER

public static final int MANIFESTS_FIELD_NUMBER
Field Value
Type Description
int

MUX_STREAMS_FIELD_NUMBER

public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

OVERLAYS_FIELD_NUMBER

public static final int OVERLAYS_FIELD_NUMBER
Field Value
Type Description
int

PUBSUB_DESTINATION_FIELD_NUMBER

public static final int PUBSUB_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

SPRITE_SHEETS_FIELD_NUMBER

public static final int SPRITE_SHEETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobConfig getDefaultInstance()
Returns
Type Description
JobConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static JobConfig.Builder newBuilder()
Returns
Type Description
JobConfig.Builder

newBuilder(JobConfig prototype)

public static JobConfig.Builder newBuilder(JobConfig prototype)
Parameter
Name Description
prototype JobConfig
Returns
Type Description
JobConfig.Builder

parseDelimitedFrom(InputStream input)

public static JobConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobConfig> parser()
Returns
Type Description
Parser<JobConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdBreaks(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
AdBreak

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;

Returns
Type Description
int

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;

Returns
Type Description
List<AdBreak>

getAdBreaksOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
AdBreakOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>

getDefaultInstanceForType()

public JobConfig getDefaultInstanceForType()
Returns
Type Description
JobConfig

getEditList(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
EditAtom

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;

Returns
Type Description
int

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;

Returns
Type Description
List<EditAtom>

getEditListOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
EditAtomOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.EditAtomOrBuilder>

getElementaryStreams(int index)

public ElementaryStream getElementaryStreams(int index)

List of elementary streams.

repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;

Parameter
Name Description
index int
Returns
Type Description
ElementaryStream

getElementaryStreamsCount()

public int getElementaryStreamsCount()

List of elementary streams.

repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;

Returns
Type Description
int

getElementaryStreamsList()

public List<ElementaryStream> getElementaryStreamsList()

List of elementary streams.

repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;

Returns
Type Description
List<ElementaryStream>

getElementaryStreamsOrBuilder(int index)

public ElementaryStreamOrBuilder getElementaryStreamsOrBuilder(int index)

List of elementary streams.

repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;

Parameter
Name Description
index int
Returns
Type Description
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

public List<? extends ElementaryStreamOrBuilder> getElementaryStreamsOrBuilderList()

List of elementary streams.

repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder>

getEncryptions(int index)

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 field to indicate the configuration to use for that MuxStream output.

repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;

Parameter
Name Description
index int
Returns
Type Description
Encryption

getEncryptionsCount()

public int getEncryptionsCount()

List of encryption configurations for the content. Each configuration has an ID. Specify this ID in the MuxStream.encryption_id field to indicate the configuration to use for that MuxStream output.

repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;

Returns
Type Description
int

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 field to indicate the configuration to use for that MuxStream output.

repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;

Returns
Type Description
List<Encryption>

getEncryptionsOrBuilder(int index)

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 field to indicate the configuration to use for that MuxStream output.

repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;

Parameter
Name Description
index int
Returns
Type Description
EncryptionOrBuilder

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 field to indicate the configuration to use for that MuxStream output.

repeated .google.cloud.video.transcoder.v1.Encryption encryptions = 11;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.EncryptionOrBuilder>

getInputs(int index)

public Input getInputs(int index)

List of input assets stored in Cloud Storage.

repeated .google.cloud.video.transcoder.v1.Input inputs = 1;

Parameter
Name Description
index int
Returns
Type Description
Input

getInputsCount()

public int getInputsCount()

List of input assets stored in Cloud Storage.

repeated .google.cloud.video.transcoder.v1.Input inputs = 1;

Returns
Type Description
int

getInputsList()

public List<Input> getInputsList()

List of input assets stored in Cloud Storage.

repeated .google.cloud.video.transcoder.v1.Input inputs = 1;

Returns
Type Description
List<Input>

getInputsOrBuilder(int index)

public InputOrBuilder getInputsOrBuilder(int index)

List of input assets stored in Cloud Storage.

repeated .google.cloud.video.transcoder.v1.Input inputs = 1;

Parameter
Name Description
index int
Returns
Type Description
InputOrBuilder

getInputsOrBuilderList()

public List<? extends InputOrBuilder> getInputsOrBuilderList()

List of input assets stored in Cloud Storage.

repeated .google.cloud.video.transcoder.v1.Input inputs = 1;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.InputOrBuilder>

getManifests(int index)

public Manifest getManifests(int index)

List of output manifests.

repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;

Parameter
Name Description
index int
Returns
Type Description
Manifest

getManifestsCount()

public int getManifestsCount()

List of output manifests.

repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;

Returns
Type Description
int

getManifestsList()

public List<Manifest> getManifestsList()

List of output manifests.

repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;

Returns
Type Description
List<Manifest>

getManifestsOrBuilder(int index)

public ManifestOrBuilder getManifestsOrBuilder(int index)

List of output manifests.

repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;

Parameter
Name Description
index int
Returns
Type Description
ManifestOrBuilder

getManifestsOrBuilderList()

public List<? extends ManifestOrBuilder> getManifestsOrBuilderList()

List of output manifests.

repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.ManifestOrBuilder>

getMuxStreams(int index)

public MuxStream getMuxStreams(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;

Parameter
Name Description
index int
Returns
Type Description
MuxStream

getMuxStreamsCount()

public int getMuxStreamsCount()

List of multiplexing settings for output streams.

repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;

Returns
Type Description
int

getMuxStreamsList()

public List<MuxStream> getMuxStreamsList()

List of multiplexing settings for output streams.

repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;

Returns
Type Description
List<MuxStream>

getMuxStreamsOrBuilder(int index)

public MuxStreamOrBuilder getMuxStreamsOrBuilder(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;

Parameter
Name Description
index int
Returns
Type Description
MuxStreamOrBuilder

getMuxStreamsOrBuilderList()

public List<? extends MuxStreamOrBuilder> getMuxStreamsOrBuilderList()

List of multiplexing settings for output streams.

repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder>

getOutput()

public Output getOutput()

Output configuration.

.google.cloud.video.transcoder.v1.Output output = 6;

Returns
Type Description
Output

The output.

getOutputOrBuilder()

public OutputOrBuilder getOutputOrBuilder()

Output configuration.

.google.cloud.video.transcoder.v1.Output output = 6;

Returns
Type Description
OutputOrBuilder

getOverlays(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Overlay

getOverlaysCount()

public int getOverlaysCount()

List of overlays on the output video, in descending Z-order.

repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10;

Returns
Type Description
int

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;

Returns
Type Description
List<Overlay>

getOverlaysOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
OverlayOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.OverlayOrBuilder>

getParserForType()

public Parser<JobConfig> getParserForType()
Returns
Type Description
Parser<JobConfig>
Overrides

getPubsubDestination()

public PubsubDestination getPubsubDestination()

Destination on Pub/Sub.

.google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;

Returns
Type Description
PubsubDestination

The pubsubDestination.

getPubsubDestinationOrBuilder()

public PubsubDestinationOrBuilder getPubsubDestinationOrBuilder()

Destination on Pub/Sub.

.google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;

Returns
Type Description
PubsubDestinationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpriteSheets(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
SpriteSheet

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;

Returns
Type Description
int

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;

Returns
Type Description
List<SpriteSheet>

getSpriteSheetsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
SpriteSheetOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder>

hasOutput()

public boolean hasOutput()

Output configuration.

.google.cloud.video.transcoder.v1.Output output = 6;

Returns
Type Description
boolean

Whether the output field is set.

hasPubsubDestination()

public boolean hasPubsubDestination()

Destination on Pub/Sub.

.google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8;

Returns
Type Description
boolean

Whether the pubsubDestination field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobConfig.Builder newBuilderForType()
Returns
Type Description
JobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobConfig.Builder toBuilder()
Returns
Type Description
JobConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException