Package com.google.cloud.visionai.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe message that fully specifies the type of the packet.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PacketType.TypeDescriptorstatic final com.google.protobuf.Descriptors.DescriptorGstreamerBufferDescriptor is the descriptor for gstreamer buffer type.GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.com.google.protobuf.Parser<PacketType.TypeDescriptor>RawImageDescriptor is the descriptor for the raw image type.RawImageDescriptor is the descriptor for the raw image type.intgetType()The type of the packet.com.google.protobuf.ByteStringThe type of the packet.booleanGstreamerBufferDescriptor is the descriptor for gstreamer buffer type.inthashCode()booleanRawImageDescriptor is the descriptor for the raw image type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PacketType.TypeDescriptor prototype) protected PacketType.TypeDescriptor.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PacketType.TypeDescriptorparseDelimitedFrom(InputStream input) static PacketType.TypeDescriptorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PacketType.TypeDescriptorparseFrom(byte[] data) static PacketType.TypeDescriptorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PacketType.TypeDescriptorparseFrom(com.google.protobuf.ByteString data) static PacketType.TypeDescriptorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PacketType.TypeDescriptorparseFrom(com.google.protobuf.CodedInputStream input) static PacketType.TypeDescriptorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PacketType.TypeDescriptorparseFrom(InputStream input) static PacketType.TypeDescriptorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PacketType.TypeDescriptorparseFrom(ByteBuffer data) static PacketType.TypeDescriptorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PacketType.TypeDescriptor>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTypeDetailsCase
- Specified by:
getTypeDetailsCasein interfacePacketType.TypeDescriptorOrBuilder
-
hasGstreamerBufferDescriptor
public boolean hasGstreamerBufferDescriptor()GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;- Specified by:
hasGstreamerBufferDescriptorin interfacePacketType.TypeDescriptorOrBuilder- Returns:
- Whether the gstreamerBufferDescriptor field is set.
-
getGstreamerBufferDescriptor
GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;- Specified by:
getGstreamerBufferDescriptorin interfacePacketType.TypeDescriptorOrBuilder- Returns:
- The gstreamerBufferDescriptor.
-
getGstreamerBufferDescriptorOrBuilder
GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;- Specified by:
getGstreamerBufferDescriptorOrBuilderin interfacePacketType.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:
hasRawImageDescriptorin interfacePacketType.TypeDescriptorOrBuilder- Returns:
- Whether the rawImageDescriptor field is set.
-
getRawImageDescriptor
RawImageDescriptor is the descriptor for the raw image type.
.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;- Specified by:
getRawImageDescriptorin interfacePacketType.TypeDescriptorOrBuilder- Returns:
- The rawImageDescriptor.
-
getRawImageDescriptorOrBuilder
RawImageDescriptor is the descriptor for the raw image type.
.google.cloud.visionai.v1.RawImageDescriptor raw_image_descriptor = 3;- Specified by:
getRawImageDescriptorOrBuilderin interfacePacketType.TypeDescriptorOrBuilder
-
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:
getTypein interfacePacketType.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:
getTypeBytesin interfacePacketType.TypeDescriptorOrBuilder- Returns:
- The bytes for type.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static PacketType.TypeDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PacketType.TypeDescriptor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-