Class VideoCharacteristics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1alpha.VideoCharacteristics
- All Implemented Interfaces:
VideoCharacteristicsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VideoCharacteristics
extends com.google.protobuf.GeneratedMessage
implements VideoCharacteristicsOrBuilder
Standard characteristics of a video media view.Protobuf type
google.cloud.discoveryengine.v1alpha.VideoCharacteristics- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStandard characteristics of a video media view.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintOutput only.getAudioCodecs(int index) Output only.com.google.protobuf.ByteStringgetAudioCodecsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static VideoCharacteristicsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOutput only.com.google.protobuf.DurationOrBuilderOutput only.doubleOutput only.intOutput only.com.google.protobuf.Parser<VideoCharacteristics>intintOutput only.getVideoCodecs(int index) Output only.com.google.protobuf.ByteStringgetVideoCodecsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intgetWidth()Output only.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic VideoCharacteristics.Builderstatic VideoCharacteristics.BuildernewBuilder(VideoCharacteristics prototype) protected VideoCharacteristics.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VideoCharacteristicsparseDelimitedFrom(InputStream input) static VideoCharacteristicsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoCharacteristicsparseFrom(byte[] data) static VideoCharacteristicsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoCharacteristicsparseFrom(com.google.protobuf.ByteString data) static VideoCharacteristicsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoCharacteristicsparseFrom(com.google.protobuf.CodedInputStream input) static VideoCharacteristicsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoCharacteristicsparseFrom(InputStream input) static VideoCharacteristicsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoCharacteristicsparseFrom(ByteBuffer data) static VideoCharacteristicsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VideoCharacteristics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WIDTH_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER- See Also:
-
HEIGHT_FIELD_NUMBER
public static final int HEIGHT_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
FRAME_RATE_FIELD_NUMBER
public static final int FRAME_RATE_FIELD_NUMBER- See Also:
-
AUDIO_CODECS_FIELD_NUMBER
public static final int AUDIO_CODECS_FIELD_NUMBER- See Also:
-
VIDEO_CODECS_FIELD_NUMBER
public static final int VIDEO_CODECS_FIELD_NUMBER- See Also:
-
VIDEO_BITRATE_KBPS_FIELD_NUMBER
public static final int VIDEO_BITRATE_KBPS_FIELD_NUMBER- See Also:
-
AUDIO_BITRATE_KBPS_FIELD_NUMBER
public static final int AUDIO_BITRATE_KBPS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getWidth
public int getWidth()Output only. Video width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWidthin interfaceVideoCharacteristicsOrBuilder- Returns:
- The width.
-
getHeight
public int getHeight()Output only. Video height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHeightin interfaceVideoCharacteristicsOrBuilder- Returns:
- The height.
-
hasDuration
public boolean hasDuration()Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDurationin interfaceVideoCharacteristicsOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDurationin interfaceVideoCharacteristicsOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDurationOrBuilderin interfaceVideoCharacteristicsOrBuilder
-
getFrameRate
public double getFrameRate()Output only. Frame rate (frames per second).
double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFrameRatein interfaceVideoCharacteristicsOrBuilder- Returns:
- The frameRate.
-
getAudioCodecsList
public com.google.protobuf.ProtocolStringList getAudioCodecsList()Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAudioCodecsListin interfaceVideoCharacteristicsOrBuilder- Returns:
- A list containing the audioCodecs.
-
getAudioCodecsCount
public int getAudioCodecsCount()Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAudioCodecsCountin interfaceVideoCharacteristicsOrBuilder- Returns:
- The count of audioCodecs.
-
getAudioCodecs
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAudioCodecsin interfaceVideoCharacteristicsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The audioCodecs at the given index.
-
getAudioCodecsBytes
public com.google.protobuf.ByteString getAudioCodecsBytes(int index) Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAudioCodecsBytesin interfaceVideoCharacteristicsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the audioCodecs at the given index.
-
getVideoCodecsList
public com.google.protobuf.ProtocolStringList getVideoCodecsList()Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVideoCodecsListin interfaceVideoCharacteristicsOrBuilder- Returns:
- A list containing the videoCodecs.
-
getVideoCodecsCount
public int getVideoCodecsCount()Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVideoCodecsCountin interfaceVideoCharacteristicsOrBuilder- Returns:
- The count of videoCodecs.
-
getVideoCodecs
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVideoCodecsin interfaceVideoCharacteristicsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The videoCodecs at the given index.
-
getVideoCodecsBytes
public com.google.protobuf.ByteString getVideoCodecsBytes(int index) Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVideoCodecsBytesin interfaceVideoCharacteristicsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the videoCodecs at the given index.
-
getVideoBitrateKbps
public int getVideoBitrateKbps()Output only. Bitrate of the video in kbps.
int32 video_bitrate_kbps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVideoBitrateKbpsin interfaceVideoCharacteristicsOrBuilder- Returns:
- The videoBitrateKbps.
-
getAudioBitrateKbps
public int getAudioBitrateKbps()Output only. Bitrate of the audio in kbps.
int32 audio_bitrate_kbps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAudioBitrateKbpsin interfaceVideoCharacteristicsOrBuilder- Returns:
- The audioBitrateKbps.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VideoCharacteristics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoCharacteristics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoCharacteristics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoCharacteristics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoCharacteristics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoCharacteristics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VideoCharacteristics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VideoCharacteristics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VideoCharacteristics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VideoCharacteristics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VideoCharacteristics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-