Package com.viam.service.mlmodel.v1
Class Mlmodel.TensorInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder>
com.viam.service.mlmodel.v1.Mlmodel.TensorInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Mlmodel.TensorInfoOrBuilder
- Enclosing class:
- Mlmodel
public static final class Mlmodel.TensorInfo
extends com.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder>
implements Mlmodel.TensorInfoOrBuilder
Protobuf type
viam.service.mlmodel.v1.TensorInfo-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.service.mlmodel.v1.TensorInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getAssociatedFiles(int index) files associated with the array/tensor, like for category labelsintfiles associated with the array/tensor, like for category labelsfiles associated with the array/tensor, like for category labelsgetAssociatedFilesOrBuilder(int index) files associated with the array/tensor, like for category labelsList<? extends Mlmodel.FileOrBuilder>files associated with the array/tensor, like for category labelsdata type of the array/tensor, e.g.com.google.protobuf.ByteStringdata type of the array/tensor, e.g.static Mlmodel.TensorInfodescription of the data in the array/tensorcom.google.protobuf.ByteStringdescription of the data in the array/tensorcom.google.protobuf.StructgetExtra()anything else you want to saygetName()name of the data in the array/tensorcom.google.protobuf.ByteStringname of the data in the array/tensorintgetShape(int index) shape of the array/tensor (-1 for unknown)intshape of the array/tensor (-1 for unknown)shape of the array/tensor (-1 for unknown)booleanhasExtra()anything else you want to saystatic Mlmodel.TensorInfo.Builderstatic Mlmodel.TensorInfo.BuildernewBuilder(Mlmodel.TensorInfo prototype) static Mlmodel.TensorInfoparseDelimitedFrom(InputStream input) static Mlmodel.TensorInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.TensorInfoparseFrom(byte[] data) static Mlmodel.TensorInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.TensorInfoparseFrom(com.google.protobuf.ByteString data) static Mlmodel.TensorInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.TensorInfoparseFrom(com.google.protobuf.CodedInputStream input) static Mlmodel.TensorInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.TensorInfoparseFrom(InputStream input) static Mlmodel.TensorInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.TensorInfoparseFrom(ByteBuffer data) static Mlmodel.TensorInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mlmodel.TensorInfo>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods 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.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER- See Also:
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER- See Also:
-
ASSOCIATED_FILES_FIELD_NUMBER
public static final int ASSOCIATED_FILES_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
name of the data in the array/tensor
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of the data in the array/tensor
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The bytes for name.
-
getDescription
description of the data in the array/tensor
string description = 2 [json_name = "description"];- Specified by:
getDescriptionin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()description of the data in the array/tensor
string description = 2 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The bytes for description.
-
getDataType
data type of the array/tensor, e.g. float32, float64, uint8
string data_type = 3 [json_name = "dataType"];- Specified by:
getDataTypein interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()data type of the array/tensor, e.g. float32, float64, uint8
string data_type = 3 [json_name = "dataType"];- Specified by:
getDataTypeBytesin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The bytes for dataType.
-
getShapeList
shape of the array/tensor (-1 for unknown)
repeated int32 shape = 4 [json_name = "shape"];- Specified by:
getShapeListin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()shape of the array/tensor (-1 for unknown)
repeated int32 shape = 4 [json_name = "shape"];- Specified by:
getShapeCountin interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The count of shape.
-
getShape
public int getShape(int index) shape of the array/tensor (-1 for unknown)
repeated int32 shape = 4 [json_name = "shape"];- Specified by:
getShapein interfaceMlmodel.TensorInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The shape at the given index.
-
getAssociatedFilesList
files associated with the array/tensor, like for category labels
repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];- Specified by:
getAssociatedFilesListin interfaceMlmodel.TensorInfoOrBuilder
-
getAssociatedFilesOrBuilderList
files associated with the array/tensor, like for category labels
repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"]; -
getAssociatedFilesCount
public int getAssociatedFilesCount()files associated with the array/tensor, like for category labels
repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];- Specified by:
getAssociatedFilesCountin interfaceMlmodel.TensorInfoOrBuilder
-
getAssociatedFiles
files associated with the array/tensor, like for category labels
repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];- Specified by:
getAssociatedFilesin interfaceMlmodel.TensorInfoOrBuilder
-
getAssociatedFilesOrBuilder
files associated with the array/tensor, like for category labels
repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"]; -
hasExtra
public boolean hasExtra()anything else you want to say
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceMlmodel.TensorInfoOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()anything else you want to say
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceMlmodel.TensorInfoOrBuilder- Returns:
- The extra.
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Mlmodel.TensorInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Mlmodel.TensorInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder>
-
getDefaultInstance
-
parser
-