Package com.viam.service.mlmodel.v1
Class Mlmodel.Metadata
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Mlmodel.Metadata,Mlmodel.Metadata.Builder>
com.viam.service.mlmodel.v1.Mlmodel.Metadata
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Mlmodel.MetadataOrBuilder
- Enclosing class:
- Mlmodel
public static final class Mlmodel.Metadata
extends com.google.protobuf.GeneratedMessageLite<Mlmodel.Metadata,Mlmodel.Metadata.Builder>
implements Mlmodel.MetadataOrBuilder
Protobuf type
viam.service.mlmodel.v1.Metadata-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.service.mlmodel.v1.MetadataNested 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 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) static Mlmodel.Metadatadescription of the modelcom.google.protobuf.ByteStringdescription of the modelgetInputInfo(int index) the necessary input arrays/tensors for an inference, order mattersintthe necessary input arrays/tensors for an inference, order mattersthe necessary input arrays/tensors for an inference, order mattersgetInputInfoOrBuilder(int index) the necessary input arrays/tensors for an inference, order mattersList<? extends Mlmodel.TensorInfoOrBuilder>the necessary input arrays/tensors for an inference, order mattersgetName()name of the modelcom.google.protobuf.ByteStringname of the modelgetOutputInfo(int index) the output arrays/tensors of the model, order mattersintthe output arrays/tensors of the model, order mattersthe output arrays/tensors of the model, order mattersgetOutputInfoOrBuilder(int index) the output arrays/tensors of the model, order mattersList<? extends Mlmodel.TensorInfoOrBuilder>the output arrays/tensors of the model, order mattersgetType()type of model e.g.com.google.protobuf.ByteStringtype of model e.g.static Mlmodel.Metadata.Builderstatic Mlmodel.Metadata.BuildernewBuilder(Mlmodel.Metadata prototype) static Mlmodel.MetadataparseDelimitedFrom(InputStream input) static Mlmodel.MetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.MetadataparseFrom(byte[] data) static Mlmodel.MetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.MetadataparseFrom(com.google.protobuf.ByteString data) static Mlmodel.MetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.MetadataparseFrom(com.google.protobuf.CodedInputStream input) static Mlmodel.MetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.MetadataparseFrom(InputStream input) static Mlmodel.MetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.MetadataparseFrom(ByteBuffer data) static Mlmodel.MetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mlmodel.Metadata>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:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
INPUT_INFO_FIELD_NUMBER
public static final int INPUT_INFO_FIELD_NUMBER- See Also:
-
OUTPUT_INFO_FIELD_NUMBER
public static final int OUTPUT_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
name of the model
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceMlmodel.MetadataOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of the model
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceMlmodel.MetadataOrBuilder- Returns:
- The bytes for name.
-
getType
type of model e.g. object_detector, text_classifier
string type = 2 [json_name = "type"];- Specified by:
getTypein interfaceMlmodel.MetadataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()type of model e.g. object_detector, text_classifier
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfaceMlmodel.MetadataOrBuilder- Returns:
- The bytes for type.
-
getDescription
description of the model
string description = 3 [json_name = "description"];- Specified by:
getDescriptionin interfaceMlmodel.MetadataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()description of the model
string description = 3 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceMlmodel.MetadataOrBuilder- Returns:
- The bytes for description.
-
getInputInfoList
the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];- Specified by:
getInputInfoListin interfaceMlmodel.MetadataOrBuilder
-
getInputInfoOrBuilderList
the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"]; -
getInputInfoCount
public int getInputInfoCount()the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];- Specified by:
getInputInfoCountin interfaceMlmodel.MetadataOrBuilder
-
getInputInfo
the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];- Specified by:
getInputInfoin interfaceMlmodel.MetadataOrBuilder
-
getInputInfoOrBuilder
the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"]; -
getOutputInfoList
the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];- Specified by:
getOutputInfoListin interfaceMlmodel.MetadataOrBuilder
-
getOutputInfoOrBuilderList
the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"]; -
getOutputInfoCount
public int getOutputInfoCount()the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];- Specified by:
getOutputInfoCountin interfaceMlmodel.MetadataOrBuilder
-
getOutputInfo
the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];- Specified by:
getOutputInfoin interfaceMlmodel.MetadataOrBuilder
-
getOutputInfoOrBuilder
the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"]; -
parseFrom
public static Mlmodel.Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.Metadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.Metadata 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.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mlmodel.Metadata 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.Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Mlmodel.Metadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Mlmodel.Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Mlmodel.Metadata 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.Metadata,Mlmodel.Metadata.Builder>
-
getDefaultInstance
-
parser
-