Send feedback
Class VideoCharacteristics (0.66.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class VideoCharacteristics extends GeneratedMessageV3 implements VideoCharacteristicsOrBuilder
Standard characteristics of a video media view.
Protobuf type google.cloud.discoveryengine.v1alpha.VideoCharacteristics
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
AUDIO_BITRATE_KBPS_FIELD_NUMBER
public static final int AUDIO_BITRATE_KBPS_FIELD_NUMBER
Field Value
Type
Description
int
AUDIO_CODECS_FIELD_NUMBER
public static final int AUDIO_CODECS_FIELD_NUMBER
Field Value
Type
Description
int
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value
Type
Description
int
FRAME_RATE_FIELD_NUMBER
public static final int FRAME_RATE_FIELD_NUMBER
Field Value
Type
Description
int
HEIGHT_FIELD_NUMBER
public static final int HEIGHT_FIELD_NUMBER
Field Value
Type
Description
int
VIDEO_BITRATE_KBPS_FIELD_NUMBER
public static final int VIDEO_BITRATE_KBPS_FIELD_NUMBER
Field Value
Type
Description
int
VIDEO_CODECS_FIELD_NUMBER
public static final int VIDEO_CODECS_FIELD_NUMBER
Field Value
Type
Description
int
WIDTH_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static VideoCharacteristics getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VideoCharacteristics . Builder newBuilder ()
newBuilder(VideoCharacteristics prototype)
public static VideoCharacteristics . Builder newBuilder ( VideoCharacteristics prototype )
public static VideoCharacteristics parseDelimitedFrom ( InputStream input )
public static VideoCharacteristics parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VideoCharacteristics parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoCharacteristics parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VideoCharacteristics parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoCharacteristics parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VideoCharacteristics parseFrom ( CodedInputStream input )
public static VideoCharacteristics parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoCharacteristics parseFrom ( InputStream input )
public static VideoCharacteristics parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VideoCharacteristics parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoCharacteristics parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VideoCharacteristics> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAudioBitrateKbps()
public int getAudioBitrateKbps ()
Output only. Bitrate of the audio in kbps.
int32 audio_bitrate_kbps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The audioBitrateKbps.
getAudioCodecs(int index)
public String getAudioCodecs ( int index )
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The audioCodecs at the given index.
getAudioCodecsBytes(int index)
public ByteString getAudioCodecsBytes ( int index )
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the audioCodecs at the given index.
getAudioCodecsCount()
public int getAudioCodecsCount ()
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The count of audioCodecs.
getAudioCodecsList()
public ProtocolStringList getAudioCodecsList ()
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public VideoCharacteristics getDefaultInstanceForType ()
getDuration()
public Duration getDuration ()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Duration
The duration.
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder ()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFrameRate()
public double getFrameRate ()
Output only. Frame rate (frames per second).
double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
double
The frameRate.
getHeight()
Output only. Video height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The height.
getParserForType()
public Parser<VideoCharacteristics> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getVideoBitrateKbps()
public int getVideoBitrateKbps ()
Output only. Bitrate of the video in kbps.
int32 video_bitrate_kbps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The videoBitrateKbps.
getVideoCodecs(int index)
public String getVideoCodecs ( int index )
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The videoCodecs at the given index.
getVideoCodecsBytes(int index)
public ByteString getVideoCodecsBytes ( int index )
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the videoCodecs at the given index.
getVideoCodecsCount()
public int getVideoCodecsCount ()
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The count of videoCodecs.
getVideoCodecsList()
public ProtocolStringList getVideoCodecsList ()
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWidth()
Output only. Video width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The width.
hasDuration()
public boolean hasDuration ()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the duration field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VideoCharacteristics . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoCharacteristics . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VideoCharacteristics . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-08-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-03 UTC."],[],[]]