Class PacketType.TypeDescriptor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.PacketType.TypeDescriptor
All Implemented Interfaces:
PacketType.TypeDescriptorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PacketType

public static final class PacketType.TypeDescriptor extends com.google.protobuf.GeneratedMessage implements PacketType.TypeDescriptorOrBuilder
 The message that fully specifies the type of the packet.
 
Protobuf type google.cloud.visionai.v1.PacketType.TypeDescriptor
See Also:
  • Field Details

    • GSTREAMER_BUFFER_DESCRIPTOR_FIELD_NUMBER

      public static final int GSTREAMER_BUFFER_DESCRIPTOR_FIELD_NUMBER
      See Also:
    • RAW_IMAGE_DESCRIPTOR_FIELD_NUMBER

      public static final int RAW_IMAGE_DESCRIPTOR_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_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
    • getTypeDetailsCase

      public PacketType.TypeDescriptor.TypeDetailsCase getTypeDetailsCase()
      Specified by:
      getTypeDetailsCase in interface PacketType.TypeDescriptorOrBuilder
    • hasGstreamerBufferDescriptor

      public boolean hasGstreamerBufferDescriptor()
       GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
       
      .google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
      Specified by:
      hasGstreamerBufferDescriptor in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      Whether the gstreamerBufferDescriptor field is set.
    • getGstreamerBufferDescriptor

      public GstreamerBufferDescriptor getGstreamerBufferDescriptor()
       GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
       
      .google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
      Specified by:
      getGstreamerBufferDescriptor in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      The gstreamerBufferDescriptor.
    • getGstreamerBufferDescriptorOrBuilder

      public GstreamerBufferDescriptorOrBuilder getGstreamerBufferDescriptorOrBuilder()
       GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
       
      .google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
      Specified by:
      getGstreamerBufferDescriptorOrBuilder in interface PacketType.TypeDescriptorOrBuilder
    • hasRawImageDescriptor

      public boolean hasRawImageDescriptor()
       RawImageDescriptor is the descriptor for the raw image type.
       
      .google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;
      Specified by:
      hasRawImageDescriptor in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      Whether the rawImageDescriptor field is set.
    • getRawImageDescriptor

      public RawImageDescriptor getRawImageDescriptor()
       RawImageDescriptor is the descriptor for the raw image type.
       
      .google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;
      Specified by:
      getRawImageDescriptor in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      The rawImageDescriptor.
    • getRawImageDescriptorOrBuilder

      public RawImageDescriptorOrBuilder getRawImageDescriptorOrBuilder()
       RawImageDescriptor is the descriptor for the raw image type.
       
      .google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;
      Specified by:
      getRawImageDescriptorOrBuilder in interface PacketType.TypeDescriptorOrBuilder
    • getType

      public String getType()
       The type of the packet. Its possible values is codec dependent.
      
       The fully qualified type name is always the concatenation of the
       value in `type_class` together with the value in `type`, separated by a
       '/'.
      
       Note that specific codecs can define their own type hierarchy, and so the
       type string here can in fact be separated by multiple '/'s of its own.
      
       Please see the open source SDK for specific codec documentation.
       
      string type = 1;
      Specified by:
      getType in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the packet. Its possible values is codec dependent.
      
       The fully qualified type name is always the concatenation of the
       value in `type_class` together with the value in `type`, separated by a
       '/'.
      
       Note that specific codecs can define their own type hierarchy, and so the
       type string here can in fact be separated by multiple '/'s of its own.
      
       Please see the open source SDK for specific codec documentation.
       
      string type = 1;
      Specified by:
      getTypeBytes in interface PacketType.TypeDescriptorOrBuilder
      Returns:
      The bytes for type.
    • 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 PacketType.TypeDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static PacketType.TypeDescriptor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static PacketType.TypeDescriptor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static PacketType.TypeDescriptor.Builder newBuilder()
    • newBuilder

      public static PacketType.TypeDescriptor.Builder newBuilder(PacketType.TypeDescriptor prototype)
    • toBuilder

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

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

      public static PacketType.TypeDescriptor getDefaultInstance()
    • parser

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

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