Interface PacketType.TypeDescriptorOrBuilder (0.6.0)

public static interface PacketType.TypeDescriptorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGstreamerBufferDescriptor()

public abstract GstreamerBufferDescriptor getGstreamerBufferDescriptor()

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;

Returns
Type Description
GstreamerBufferDescriptor

The gstreamerBufferDescriptor.

getGstreamerBufferDescriptorOrBuilder()

public abstract GstreamerBufferDescriptorOrBuilder getGstreamerBufferDescriptorOrBuilder()

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;

Returns
Type Description
GstreamerBufferDescriptorOrBuilder

getRawImageDescriptor()

public abstract RawImageDescriptor getRawImageDescriptor()

RawImageDescriptor is the descriptor for the raw image type.

.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;

Returns
Type Description
RawImageDescriptor

The rawImageDescriptor.

getRawImageDescriptorOrBuilder()

public abstract RawImageDescriptorOrBuilder getRawImageDescriptorOrBuilder()

RawImageDescriptor is the descriptor for the raw image type.

.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;

Returns
Type Description
RawImageDescriptorOrBuilder

getType()

public abstract 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;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for type.

getTypeDetailsCase()

public abstract PacketType.TypeDescriptor.TypeDetailsCase getTypeDetailsCase()
Returns
Type Description
PacketType.TypeDescriptor.TypeDetailsCase

hasGstreamerBufferDescriptor()

public abstract boolean hasGstreamerBufferDescriptor()

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;

Returns
Type Description
boolean

Whether the gstreamerBufferDescriptor field is set.

hasRawImageDescriptor()

public abstract boolean hasRawImageDescriptor()

RawImageDescriptor is the descriptor for the raw image type.

.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;

Returns
Type Description
boolean

Whether the rawImageDescriptor field is set.