Package viam.app.v1
Class App.ModuleFileInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<App.ModuleFileInfo,App.ModuleFileInfo.Builder>
viam.app.v1.App.ModuleFileInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,App.ModuleFileInfoOrBuilder
- Enclosing class:
- App
public static final class App.ModuleFileInfo
extends com.google.protobuf.GeneratedMessageLite<App.ModuleFileInfo,App.ModuleFileInfo.Builder>
implements App.ModuleFileInfoOrBuilder
Protobuf type
viam.app.v1.ModuleFileInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.ModuleFileInfo
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
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 App.ModuleFileInfo
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)com.google.protobuf.ByteString
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)The platform that the file is built to run oncom.google.protobuf.ByteString
The platform that the file is built to run ongetPlatformTags
(int index) Platform tag constraints.com.google.protobuf.ByteString
getPlatformTagsBytes
(int index) Platform tag constraints.int
Platform tag constraints.Platform tag constraints.The semver string that represents the new major/minor/patch version of the modulecom.google.protobuf.ByteString
The semver string that represents the new major/minor/patch version of the modulestatic App.ModuleFileInfo.Builder
static App.ModuleFileInfo.Builder
newBuilder
(App.ModuleFileInfo prototype) static App.ModuleFileInfo
parseDelimitedFrom
(InputStream input) static App.ModuleFileInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.ModuleFileInfo
parseFrom
(byte[] data) static App.ModuleFileInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.ModuleFileInfo
parseFrom
(com.google.protobuf.ByteString data) static App.ModuleFileInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.ModuleFileInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static App.ModuleFileInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.ModuleFileInfo
parseFrom
(InputStream input) static App.ModuleFileInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.ModuleFileInfo
parseFrom
(ByteBuffer data) static App.ModuleFileInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<App.ModuleFileInfo>
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
-
MODULE_ID_FIELD_NUMBER
public static final int MODULE_ID_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER- See Also:
-
PLATFORM_TAGS_FIELD_NUMBER
public static final int PLATFORM_TAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleId
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The moduleId.
-
getModuleIdBytes
public com.google.protobuf.ByteString getModuleIdBytes()The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleIdBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for moduleId.
-
getVersion
The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Specified by:
getVersion
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for version.
-
getPlatform
The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for platform.
-
getPlatformTagsList
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsList
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- A list containing the platformTags.
-
getPlatformTagsCount
public int getPlatformTagsCount()Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsCount
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The count of platformTags.
-
getPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTags
in interfaceApp.ModuleFileInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The platformTags at the given index.
-
getPlatformTagsBytes
public com.google.protobuf.ByteString getPlatformTagsBytes(int index) Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the platformTags at the given index.
-
parseFrom
public static App.ModuleFileInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.ModuleFileInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.ModuleFileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.ModuleFileInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.ModuleFileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.ModuleFileInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static App.ModuleFileInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static App.ModuleFileInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static App.ModuleFileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static App.ModuleFileInfo 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<App.ModuleFileInfo,
App.ModuleFileInfo.Builder>
-
getDefaultInstance
-
parser
-