Class JobConfig (1.59.0)

publicfinalclassJobConfigextendsGeneratedMessageV3implementsJobConfigOrBuilder

Job configuration

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

Static Fields

AD_BREAKS_FIELD_NUMBER

publicstaticfinalintAD_BREAKS_FIELD_NUMBER
Field Value
TypeDescription
int

EDIT_LIST_FIELD_NUMBER

publicstaticfinalintEDIT_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

ELEMENTARY_STREAMS_FIELD_NUMBER

publicstaticfinalintELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

ENCRYPTIONS_FIELD_NUMBER

publicstaticfinalintENCRYPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

INPUTS_FIELD_NUMBER

publicstaticfinalintINPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

MANIFESTS_FIELD_NUMBER

publicstaticfinalintMANIFESTS_FIELD_NUMBER
Field Value
TypeDescription
int

MUX_STREAMS_FIELD_NUMBER

publicstaticfinalintMUX_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_FIELD_NUMBER

publicstaticfinalintOUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

OVERLAYS_FIELD_NUMBER

publicstaticfinalintOVERLAYS_FIELD_NUMBER
Field Value
TypeDescription
int

PUBSUB_DESTINATION_FIELD_NUMBER

publicstaticfinalintPUBSUB_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

SPRITE_SHEETS_FIELD_NUMBER

publicstaticfinalintSPRITE_SHEETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticJobConfiggetDefaultInstance()
Returns
TypeDescription
JobConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticJobConfig.BuildernewBuilder()
Returns
TypeDescription
JobConfig.Builder

newBuilder(JobConfig prototype)

publicstaticJobConfig.BuildernewBuilder(JobConfigprototype)
Parameter
NameDescription
prototypeJobConfig
Returns
TypeDescription
JobConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticJobConfigparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticJobConfigparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticJobConfigparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticJobConfigparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticJobConfigparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticJobConfigparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticJobConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<JobConfig>parser()
Returns
TypeDescription
Parser<JobConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>

getDefaultInstanceForType()

publicJobConfiggetDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ElementaryStream

getElementaryStreamsCount()

publicintgetElementaryStreamsCount()

List of elementary streams.

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

Returns
TypeDescription
int

getElementaryStreamsList()

publicList<ElementaryStream>getElementaryStreamsList()

List of elementary streams.

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

Returns
TypeDescription
List<ElementaryStream>

getElementaryStreamsOrBuilder(int index)

publicElementaryStreamOrBuildergetElementaryStreamsOrBuilder(intindex)

List of elementary streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

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

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

getInputsCount()

publicintgetInputsCount()

List of input assets stored in Cloud Storage.

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

Returns
TypeDescription
int

getInputsList()

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

publicInputOrBuildergetInputsOrBuilder(intindex)

List of input assets stored in Cloud Storage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InputOrBuilder

getInputsOrBuilderList()

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

publicManifestgetManifests(intindex)

List of output manifests.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Manifest

getManifestsCount()

publicintgetManifestsCount()

List of output manifests.

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

Returns
TypeDescription
int

getManifestsList()

publicList<Manifest>getManifestsList()

List of output manifests.

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

Returns
TypeDescription
List<Manifest>

getManifestsOrBuilder(int index)

publicManifestOrBuildergetManifestsOrBuilder(intindex)

List of output manifests.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ManifestOrBuilder

getManifestsOrBuilderList()

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

publicMuxStreamgetMuxStreams(intindex)

List of multiplexing settings for output streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStream

getMuxStreamsCount()

publicintgetMuxStreamsCount()

List of multiplexing settings for output streams.

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

Returns
TypeDescription
int

getMuxStreamsList()

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

publicMuxStreamOrBuildergetMuxStreamsOrBuilder(intindex)

List of multiplexing settings for output streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStreamOrBuilder

getMuxStreamsOrBuilderList()

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

publicOutputgetOutput()

Output configuration.

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

Returns
TypeDescription
Output

The output.

getOutputOrBuilder()

publicOutputOrBuildergetOutputOrBuilder()

Output configuration.

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

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

getOverlaysCount()

publicintgetOverlaysCount()

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

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

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

getParserForType()

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

getPubsubDestination()

publicPubsubDestinationgetPubsubDestination()

Destination on Pub/Sub.

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

Returns
TypeDescription
PubsubDestination

The pubsubDestination.

getPubsubDestinationOrBuilder()

publicPubsubDestinationOrBuildergetPubsubDestinationOrBuilder()

Destination on Pub/Sub.

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

Returns
TypeDescription
PubsubDestinationOrBuilder

getSerializedSize()

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

hasOutput()

publicbooleanhasOutput()

Output configuration.

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

Returns
TypeDescription
boolean

Whether the output field is set.

hasPubsubDestination()

publicbooleanhasPubsubDestination()

Destination on Pub/Sub.

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

Returns
TypeDescription
boolean

Whether the pubsubDestination field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicJobConfig.BuildernewBuilderForType()
Returns
TypeDescription
JobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedJobConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicJobConfig.BuildertoBuilder()
Returns
TypeDescription
JobConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException