Class JobConfig (1.50.0)

publicfinalclass JobConfigextendsGeneratedMessageV3implementsJobConfigOrBuilder

Job configuration

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

Implements

JobConfigOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

AD_BREAKS_FIELD_NUMBER

publicstaticfinalintAD_BREAKS_FIELD_NUMBER
Field Value
Type Description
int

EDIT_LIST_FIELD_NUMBER

publicstaticfinalintEDIT_LIST_FIELD_NUMBER
Field Value
Type Description
int

ELEMENTARY_STREAMS_FIELD_NUMBER

publicstaticfinalintELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTIONS_FIELD_NUMBER

publicstaticfinalintENCRYPTIONS_FIELD_NUMBER
Field Value
Type Description
int

INPUTS_FIELD_NUMBER

publicstaticfinalintINPUTS_FIELD_NUMBER
Field Value
Type Description
int

MANIFESTS_FIELD_NUMBER

publicstaticfinalintMANIFESTS_FIELD_NUMBER
Field Value
Type Description
int

MUX_STREAMS_FIELD_NUMBER

publicstaticfinalintMUX_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FIELD_NUMBER

publicstaticfinalintOUTPUT_FIELD_NUMBER
Field Value
Type Description
int

OVERLAYS_FIELD_NUMBER

publicstaticfinalintOVERLAYS_FIELD_NUMBER
Field Value
Type Description
int

PUBSUB_DESTINATION_FIELD_NUMBER

publicstaticfinalintPUBSUB_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

SPRITE_SHEETS_FIELD_NUMBER

publicstaticfinalintSPRITE_SHEETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticJobConfiggetDefaultInstance()
Returns
Type Description
JobConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticJobConfig.BuildernewBuilder()
Returns
Type Description
JobConfig.Builder

newBuilder(JobConfig prototype)

publicstaticJobConfig.BuildernewBuilder(JobConfigprototype)
Parameter
Name Description
prototype JobConfig
Returns
Type Description
JobConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticJobConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticJobConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticJobConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticJobConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticJobConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticJobConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<JobConfig>parser()
Returns
Type Description
Parser<JobConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdBreaks(int index)

publicAdBreakgetAdBreaks(intindex)

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()

publicintgetAdBreaksCount()

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()

publicList<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)

publicAdBreakOrBuildergetAdBreaksOrBuilder(intindex)

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()

publicList<?extendsAdBreakOrBuilder>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()

publicJobConfiggetDefaultInstanceForType()
Returns
Type Description
JobConfig

getEditList(int index)

publicEditAtomgetEditList(intindex)

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()

publicintgetEditListCount()

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()

publicList<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)

publicEditAtomOrBuildergetEditListOrBuilder(intindex)

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()

publicList<?extendsEditAtomOrBuilder>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)

publicElementaryStreamgetElementaryStreams(intindex)

List of elementary streams.

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

Parameter
Name Description
index int
Returns
Type Description
ElementaryStream

getElementaryStreamsCount()

publicintgetElementaryStreamsCount()

List of elementary streams.

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

Returns
Type Description
int

getElementaryStreamsList()

publicList<ElementaryStream>getElementaryStreamsList()

List of elementary streams.

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

Returns
Type Description
List<ElementaryStream>

getElementaryStreamsOrBuilder(int index)

publicElementaryStreamOrBuildergetElementaryStreamsOrBuilder(intindex)

List of elementary streams.

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

Parameter
Name Description
index int
Returns
Type Description
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

publicList<?extendsElementaryStreamOrBuilder>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)

publicEncryptiongetEncryptions(intindex)

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()

publicintgetEncryptionsCount()

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()

publicList<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)

publicEncryptionOrBuildergetEncryptionsOrBuilder(intindex)

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()

publicList<?extendsEncryptionOrBuilder>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)

publicInputgetInputs(intindex)

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()

publicintgetInputsCount()

List of input assets stored in Cloud Storage.

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

Returns
Type Description
int

getInputsList()

publicList<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)

publicInputOrBuildergetInputsOrBuilder(intindex)

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()

publicList<?extendsInputOrBuilder>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)

publicManifestgetManifests(intindex)

List of output manifests.

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

Parameter
Name Description
index int
Returns
Type Description
Manifest

getManifestsCount()

publicintgetManifestsCount()

List of output manifests.

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

Returns
Type Description
int

getManifestsList()

publicList<Manifest>getManifestsList()

List of output manifests.

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

Returns
Type Description
List<Manifest>

getManifestsOrBuilder(int index)

publicManifestOrBuildergetManifestsOrBuilder(intindex)

List of output manifests.

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

Parameter
Name Description
index int
Returns
Type Description
ManifestOrBuilder

getManifestsOrBuilderList()

publicList<?extendsManifestOrBuilder>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)

publicMuxStreamgetMuxStreams(intindex)

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()

publicintgetMuxStreamsCount()

List of multiplexing settings for output streams.

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

Returns
Type Description
int

getMuxStreamsList()

publicList<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)

publicMuxStreamOrBuildergetMuxStreamsOrBuilder(intindex)

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()

publicList<?extendsMuxStreamOrBuilder>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()

publicOutputgetOutput()

Output configuration.

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

Returns
Type Description
Output

The output.

getOutputOrBuilder()

publicOutputOrBuildergetOutputOrBuilder()

Output configuration.

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

Returns
Type Description
OutputOrBuilder

getOverlays(int index)

publicOverlaygetOverlays(intindex)

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()

publicintgetOverlaysCount()

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()

publicList<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)

publicOverlayOrBuildergetOverlaysOrBuilder(intindex)

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()

publicList<?extendsOverlayOrBuilder>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()

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

getPubsubDestination()

publicPubsubDestinationgetPubsubDestination()

Destination on Pub/Sub.

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

Returns
Type Description
PubsubDestination

The pubsubDestination.

getPubsubDestinationOrBuilder()

publicPubsubDestinationOrBuildergetPubsubDestinationOrBuilder()

Destination on Pub/Sub.

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

Returns
Type Description
PubsubDestinationOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSpriteSheets(int index)

publicSpriteSheetgetSpriteSheets(intindex)

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()

publicintgetSpriteSheetsCount()

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()

publicList<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)

publicSpriteSheetOrBuildergetSpriteSheetsOrBuilder(intindex)

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()

publicList<?extendsSpriteSheetOrBuilder>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()

publicbooleanhasOutput()

Output configuration.

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

Returns
Type Description
boolean

Whether the output field is set.

hasPubsubDestination()

publicbooleanhasPubsubDestination()

Destination on Pub/Sub.

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

Returns
Type Description
boolean

Whether the pubsubDestination field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicJobConfig.BuildernewBuilderForType()
Returns
Type Description
JobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedJobConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicJobConfig.BuildertoBuilder()
Returns
Type Description
JobConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.