Class: ProcessedVideo
Defined in: WAProto/index.d.ts:37341
Represents a ProcessedVideo.
Implements
Constructors
new ProcessedVideo()
new ProcessedVideo(
properties
?):ProcessedVideo
Defined in: WAProto/index.d.ts:37347
Constructs a new ProcessedVideo.
Parameters
properties?
Properties to set
Returns
Properties
bitrate?
optional
bitrate:null
|number
Defined in: WAProto/index.d.ts:37365
ProcessedVideo bitrate.
Implementation of
capabilities
capabilities:
string
[]
Defined in: WAProto/index.d.ts:37371
ProcessedVideo capabilities.
Implementation of
directPath?
optional
directPath:null
|string
Defined in: WAProto/index.d.ts:37350
ProcessedVideo directPath.
Implementation of
fileLength?
optional
fileLength:null
|number
|Long
Defined in: WAProto/index.d.ts:37362
ProcessedVideo fileLength.
Implementation of
fileSha256?
optional
fileSha256:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:37353
ProcessedVideo fileSha256.
Implementation of
height?
optional
height:null
|number
Defined in: WAProto/index.d.ts:37356
ProcessedVideo height.
Implementation of
quality?
optional
quality:null
|VideoQuality
Defined in: WAProto/index.d.ts:37368
ProcessedVideo quality.
Implementation of
width?
optional
width:null
|number
Defined in: WAProto/index.d.ts:37359
ProcessedVideo width.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:37441
Converts this ProcessedVideo to JSON.
Returns
object
JSON object
create()
static
create(properties
?):ProcessedVideo
Defined in: WAProto/index.d.ts:37378
Creates a new ProcessedVideo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ProcessedVideo instance
decode()
static
decode(reader
,length
?):ProcessedVideo
Defined in: WAProto/index.d.ts:37404
Decodes a ProcessedVideo message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
ProcessedVideo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):ProcessedVideo
Defined in: WAProto/index.d.ts:37413
Decodes a ProcessedVideo message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
ProcessedVideo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:37386
Encodes the specified ProcessedVideo message. Does not implicitly verify messages.
Parameters
message
ProcessedVideo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:37394
Encodes the specified ProcessedVideo message, length delimited. Does not implicitly verify messages.
Parameters
message
ProcessedVideo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):ProcessedVideo
Defined in: WAProto/index.d.ts:37427
Creates a ProcessedVideo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
ProcessedVideo
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:37448
Gets the default type url for ProcessedVideo
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:37435
Creates a plain object from a ProcessedVideo message. Also converts values to other types if specified.
Parameters
message
ProcessedVideo
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:37420
Verifies a ProcessedVideo message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not