Class GstreamerBufferDescriptor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.GstreamerBufferDescriptor
All Implemented Interfaces:
GstreamerBufferDescriptorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GstreamerBufferDescriptor extends com.google.protobuf.GeneratedMessage implements GstreamerBufferDescriptorOrBuilder
 The descriptor for a gstreamer buffer payload.
 
Protobuf type google.cloud.visionai.v1.GstreamerBufferDescriptor
See Also:
  • Field Details

    • CAPS_STRING_FIELD_NUMBER

      public static final int CAPS_STRING_FIELD_NUMBER
      See Also:
    • IS_KEY_FRAME_FIELD_NUMBER

      public static final int IS_KEY_FRAME_FIELD_NUMBER
      See Also:
    • PTS_TIME_FIELD_NUMBER

      public static final int PTS_TIME_FIELD_NUMBER
      See Also:
    • DTS_TIME_FIELD_NUMBER

      public static final int DTS_TIME_FIELD_NUMBER
      See Also:
    • DURATION_FIELD_NUMBER

      public static final int DURATION_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
    • getCapsString

      public String getCapsString()
       The caps string of the payload.
       
      string caps_string = 1;
      Specified by:
      getCapsString in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The capsString.
    • getCapsStringBytes

      public com.google.protobuf.ByteString getCapsStringBytes()
       The caps string of the payload.
       
      string caps_string = 1;
      Specified by:
      getCapsStringBytes in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The bytes for capsString.
    • getIsKeyFrame

      public boolean getIsKeyFrame()
       Whether the buffer is a key frame.
       
      bool is_key_frame = 2;
      Specified by:
      getIsKeyFrame in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The isKeyFrame.
    • hasPtsTime

      public boolean hasPtsTime()
       PTS of the frame.
       
      .google.protobuf.Timestamp pts_time = 3;
      Specified by:
      hasPtsTime in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      Whether the ptsTime field is set.
    • getPtsTime

      public com.google.protobuf.Timestamp getPtsTime()
       PTS of the frame.
       
      .google.protobuf.Timestamp pts_time = 3;
      Specified by:
      getPtsTime in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The ptsTime.
    • getPtsTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getPtsTimeOrBuilder()
       PTS of the frame.
       
      .google.protobuf.Timestamp pts_time = 3;
      Specified by:
      getPtsTimeOrBuilder in interface GstreamerBufferDescriptorOrBuilder
    • hasDtsTime

      public boolean hasDtsTime()
       DTS of the frame.
       
      .google.protobuf.Timestamp dts_time = 4;
      Specified by:
      hasDtsTime in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      Whether the dtsTime field is set.
    • getDtsTime

      public com.google.protobuf.Timestamp getDtsTime()
       DTS of the frame.
       
      .google.protobuf.Timestamp dts_time = 4;
      Specified by:
      getDtsTime in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The dtsTime.
    • getDtsTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDtsTimeOrBuilder()
       DTS of the frame.
       
      .google.protobuf.Timestamp dts_time = 4;
      Specified by:
      getDtsTimeOrBuilder in interface GstreamerBufferDescriptorOrBuilder
    • hasDuration

      public boolean hasDuration()
       Duration of the frame.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      hasDuration in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
       Duration of the frame.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      getDuration in interface GstreamerBufferDescriptorOrBuilder
      Returns:
      The duration.
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Duration of the frame.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      getDurationOrBuilder in interface GstreamerBufferDescriptorOrBuilder
    • 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 GstreamerBufferDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static GstreamerBufferDescriptor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static GstreamerBufferDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GstreamerBufferDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static GstreamerBufferDescriptor.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static GstreamerBufferDescriptor getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GstreamerBufferDescriptor> 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 GstreamerBufferDescriptor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder