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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.service.mlmodel.v1.Metadata
Nested 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Mlmodel.Metadata
description of the modelcom.google.protobuf.ByteString
description of the modelgetInputInfo
(int index) the necessary input arrays/tensors for an inference, order mattersint
the 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.ByteString
name of the modelgetOutputInfo
(int index) the output arrays/tensors of the model, order mattersint
the 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.ByteString
type of model e.g.static Mlmodel.Metadata.Builder
static Mlmodel.Metadata.Builder
newBuilder
(Mlmodel.Metadata prototype) static Mlmodel.Metadata
parseDelimitedFrom
(InputStream input) static Mlmodel.Metadata
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.Metadata
parseFrom
(byte[] data) static Mlmodel.Metadata
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.Metadata
parseFrom
(com.google.protobuf.ByteString data) static Mlmodel.Metadata
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.Metadata
parseFrom
(com.google.protobuf.CodedInputStream input) static Mlmodel.Metadata
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.Metadata
parseFrom
(InputStream input) static Mlmodel.Metadata
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mlmodel.Metadata
parseFrom
(ByteBuffer data) static Mlmodel.Metadata
parseFrom
(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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getName
in interfaceMlmodel.MetadataOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of the model
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in 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:
getType
in 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:
getTypeBytes
in interfaceMlmodel.MetadataOrBuilder
- Returns:
- The bytes for type.
-
getDescription
description of the model
string description = 3 [json_name = "description"];
- Specified by:
getDescription
in interfaceMlmodel.MetadataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()description of the model
string description = 3 [json_name = "description"];
- Specified by:
getDescriptionBytes
in 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:
getInputInfoList
in 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:
getInputInfoCount
in 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:
getInputInfo
in 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:
getOutputInfoList
in 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:
getOutputInfoCount
in 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:
getOutputInfo
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Mlmodel.Metadata,
Mlmodel.Metadata.Builder>
-
getDefaultInstance
-
parser
-