Class Input (1.50.0)

public final class Input extends GeneratedMessageV3 implements InputOrBuilder

Input asset.

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

Implements

InputOrBuilder

Static Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

PREPROCESSING_CONFIG_FIELD_NUMBER

public static final int PREPROCESSING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Input getDefaultInstance()
Returns
Type Description
Input

getDescriptor()

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

newBuilder()

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

newBuilder(Input prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Input getDefaultInstanceForType()
Returns
Type Description
Input

getKey()

public String getKey()

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

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

getPreprocessingConfig()

public PreprocessingConfig getPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
Type Description
PreprocessingConfig

The preprocessingConfig.

getPreprocessingConfigOrBuilder()

public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
Type Description
PreprocessingConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasPreprocessingConfig()

public boolean hasPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
Type Description
boolean

Whether the preprocessingConfig 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 Input.Builder newBuilderForType()
Returns
Type Description
Input.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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