public final class VideoCharacteristics extends GeneratedMessage implements VideoCharacteristicsOrBuilder
Standard characteristics of a video media view.
Protobuf type google.cloud.discoveryengine.v1alpha.VideoCharacteristics
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VideoCharacteristics.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected VideoCharacteristics.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public VideoCharacteristics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides