public static final class PacketType.TypeDescriptor extends GeneratedMessageV3 implements PacketType.TypeDescriptorOrBuilder
The message that fully specifies the type of the packet.
Protobuf type google.cloud.visionai.v1.PacketType.TypeDescriptor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GSTREAMER_BUFFER_DESCRIPTOR_FIELD_NUMBER
public static final int GSTREAMER_BUFFER_DESCRIPTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RAW_IMAGE_DESCRIPTOR_FIELD_NUMBER
public static final int RAW_IMAGE_DESCRIPTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PacketType.TypeDescriptor getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PacketType.TypeDescriptor.Builder newBuilder()
newBuilder(PacketType.TypeDescriptor prototype)
public static PacketType.TypeDescriptor.Builder newBuilder(PacketType.TypeDescriptor prototype)
public static PacketType.TypeDescriptor parseDelimitedFrom(InputStream input)
public static PacketType.TypeDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PacketType.TypeDescriptor parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PacketType.TypeDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PacketType.TypeDescriptor parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketType.TypeDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketType.TypeDescriptor parseFrom(CodedInputStream input)
public static PacketType.TypeDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PacketType.TypeDescriptor parseFrom(InputStream input)
public static PacketType.TypeDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PacketType.TypeDescriptor parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PacketType.TypeDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PacketType.TypeDescriptor> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PacketType.TypeDescriptor getDefaultInstanceForType()
getGstreamerBufferDescriptor()
public GstreamerBufferDescriptor getGstreamerBufferDescriptor()
GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
getGstreamerBufferDescriptorOrBuilder()
public GstreamerBufferDescriptorOrBuilder getGstreamerBufferDescriptorOrBuilder()
GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
getParserForType()
public Parser<PacketType.TypeDescriptor> getParserForType()
Overrides
getRawImageDescriptor()
public RawImageDescriptor getRawImageDescriptor()
RawImageDescriptor is the descriptor for the raw image type.
.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;
getRawImageDescriptorOrBuilder()
public RawImageDescriptorOrBuilder getRawImageDescriptorOrBuilder()
RawImageDescriptor is the descriptor for the raw image type.
.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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 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 PacketType.TypeDescriptor.TypeDetailsCase getTypeDetailsCase()
hasGstreamerBufferDescriptor()
public 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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PacketType.TypeDescriptor.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PacketType.TypeDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PacketType.TypeDescriptor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides