Class JobConfig (1.29.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
TypeDescription
int

EDIT_LIST_FIELD_NUMBER

public static final int EDIT_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

ELEMENTARY_STREAMS_FIELD_NUMBER

public static final int ELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

ENCRYPTIONS_FIELD_NUMBER

public static final int ENCRYPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

MANIFESTS_FIELD_NUMBER

public static final int MANIFESTS_FIELD_NUMBER
Field Value
TypeDescription
int

MUX_STREAMS_FIELD_NUMBER

public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

OVERLAYS_FIELD_NUMBER

public static final int OVERLAYS_FIELD_NUMBER
Field Value
TypeDescription
int

PUBSUB_DESTINATION_FIELD_NUMBER

public static final int PUBSUB_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

SPRITE_SHEETS_FIELD_NUMBER

public static final int SPRITE_SHEETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobConfig getDefaultInstance()
Returns
TypeDescription
JobConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static JobConfig.Builder newBuilder()
Returns
TypeDescription
JobConfig.Builder

newBuilder(JobConfig prototype)

public static JobConfig.Builder newBuilder(JobConfig prototype)
Parameter
NameDescription
prototypeJobConfig
Returns
TypeDescription
JobConfig.Builder

parseDelimitedFrom(InputStream input)

public static JobConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobConfig> parser()
Returns
TypeDescription
Parser<JobConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>

getDefaultInstanceForType()

public JobConfig getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ElementaryStream

getElementaryStreamsCount()

public int getElementaryStreamsCount()

List of elementary streams.

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

Returns
TypeDescription
int

getElementaryStreamsList()

public List<ElementaryStream> getElementaryStreamsList()

List of elementary streams.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

public List<? extends ElementaryStreamOrBuilder> getElementaryStreamsOrBuilderList()

List of elementary streams.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Input

getInputsCount()

public int getInputsCount()

List of input assets stored in Cloud Storage.

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

Returns
TypeDescription
int

getInputsList()

public List<Input> getInputsList()

List of input assets stored in Cloud Storage.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Manifest

getManifestsCount()

public int getManifestsCount()

List of output manifests.

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

Returns
TypeDescription
int

getManifestsList()

public List<Manifest> getManifestsList()

List of output manifests.

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

Returns
TypeDescription
List<Manifest>

getManifestsOrBuilder(int index)

public ManifestOrBuilder getManifestsOrBuilder(int index)

List of output manifests.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ManifestOrBuilder

getManifestsOrBuilderList()

public List<? extends ManifestOrBuilder> getManifestsOrBuilderList()

List of output manifests.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MuxStream

getMuxStreamsCount()

public int getMuxStreamsCount()

List of multiplexing settings for output streams.

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

Returns
TypeDescription
int

getMuxStreamsList()

public List<MuxStream> getMuxStreamsList()

List of multiplexing settings for output streams.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder>

getOutput()

public Output getOutput()

Output configuration.

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

Returns
TypeDescription
Output

The output.

getOutputOrBuilder()

public OutputOrBuilder getOutputOrBuilder()

Output configuration.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.OverlayOrBuilder>

getParserForType()

public Parser<JobConfig> getParserForType()
Returns
TypeDescription
Parser<JobConfig>
Overrides

getPubsubDestination()

public PubsubDestination getPubsubDestination()

Destination on Pub/Sub.

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

Returns
TypeDescription
PubsubDestination

The pubsubDestination.

getPubsubDestinationOrBuilder()

public PubsubDestinationOrBuilder getPubsubDestinationOrBuilder()

Destination on Pub/Sub.

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

Returns
TypeDescription
PubsubDestinationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder>

hasOutput()

public boolean hasOutput()

Output configuration.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the pubsubDestination field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobConfig.Builder newBuilderForType()
Returns
TypeDescription
JobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobConfig.Builder toBuilder()
Returns
TypeDescription
JobConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException