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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getWidth

      public int getWidth()
       Output only. Video width in pixels.
       
      int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWidth in interface VideoCharacteristicsOrBuilder
      Returns:
      The width.
    • getHeight

      public int getHeight()
       Output only. Video height in pixels.
       
      int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHeight in interface VideoCharacteristicsOrBuilder
      Returns:
      The height.
    • hasDuration

      public boolean hasDuration()
       Output only. Video duration.
       
      .google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDuration in interface VideoCharacteristicsOrBuilder
      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:
      getDuration in interface VideoCharacteristicsOrBuilder
      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:
      getDurationOrBuilder in interface VideoCharacteristicsOrBuilder
    • getFrameRate

      public double getFrameRate()
       Output only. Frame rate (frames per second).
       
      double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFrameRate in interface VideoCharacteristicsOrBuilder
      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:
      getAudioCodecsList in interface VideoCharacteristicsOrBuilder
      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:
      getAudioCodecsCount in interface VideoCharacteristicsOrBuilder
      Returns:
      The count of audioCodecs.
    • getAudioCodecs

      public String getAudioCodecs(int index)
       Output only. Audio codecs used in the video.
       
      repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAudioCodecs in interface VideoCharacteristicsOrBuilder
      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:
      getAudioCodecsBytes in interface VideoCharacteristicsOrBuilder
      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:
      getVideoCodecsList in interface VideoCharacteristicsOrBuilder
      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:
      getVideoCodecsCount in interface VideoCharacteristicsOrBuilder
      Returns:
      The count of videoCodecs.
    • getVideoCodecs

      public String getVideoCodecs(int index)
       Output only. Video codecs used in the video.
       
      repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVideoCodecs in interface VideoCharacteristicsOrBuilder
      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:
      getVideoCodecsBytes in interface VideoCharacteristicsOrBuilder
      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:
      getVideoBitrateKbps in interface VideoCharacteristicsOrBuilder
      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:
      getAudioBitrateKbps in interface VideoCharacteristicsOrBuilder
      Returns:
      The audioBitrateKbps.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static VideoCharacteristics parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VideoCharacteristics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VideoCharacteristics parseDelimitedFrom(InputStream input) throws IOException
      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

      public VideoCharacteristics.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VideoCharacteristics.Builder newBuilder()
    • newBuilder

      public static VideoCharacteristics.Builder newBuilder(VideoCharacteristics prototype)
    • toBuilder

      public VideoCharacteristics.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VideoCharacteristics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VideoCharacteristics getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VideoCharacteristics> parser()
    • getParserForType

      public com.google.protobuf.Parser<VideoCharacteristics> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VideoCharacteristics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder