Class Input (1.6.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
TypeDescription
int

PREPROCESSING_CONFIG_FIELD_NUMBER

public static final int PREPROCESSING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Input getDefaultInstance()
Returns
TypeDescription
Input

getDescriptor()

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

newBuilder()

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

newBuilder(Input prototype)

public static Input.Builder newBuilder(Input prototype)
Parameter
NameDescription
prototypeInput
Returns
TypeDescription
Input.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Input getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for key.

getParserForType()

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

getPreprocessingConfig()

public PreprocessingConfig getPreprocessingConfig()

Preprocessing configurations.

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

Returns
TypeDescription
PreprocessingConfig

The preprocessingConfig.

getPreprocessingConfigOrBuilder()

public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()

Preprocessing configurations.

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

Returns
TypeDescription
PreprocessingConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
ByteString

The bytes for uri.

hasPreprocessingConfig()

public boolean hasPreprocessingConfig()

Preprocessing configurations.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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