Package viam.app.v1

Class Robot.PackageConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.PackageConfig,Robot.PackageConfig.Builder>
viam.app.v1.Robot.PackageConfig
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Robot.PackageConfigOrBuilder
Enclosing class:
Robot

public static final class Robot.PackageConfig extends com.google.protobuf.GeneratedMessageLite<Robot.PackageConfig,Robot.PackageConfig.Builder> implements Robot.PackageConfigOrBuilder
 PackageConfig is the configration for deployed Packages.
 
Protobuf type viam.app.v1.PackageConfig
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    PackageConfig is the configration for deployed Packages.

    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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    Name is the local name of the package on the RDK.
    com.google.protobuf.ByteString
    Name is the local name of the package on the RDK.
    Package is the unique package name hosted by Viam.
    com.google.protobuf.ByteString
    Package is the unique package name hosted by Viam.
    info about the validity of the package
    type of the package
    com.google.protobuf.ByteString
    type of the package
    version of the package ID hosted by Viam.
    com.google.protobuf.ByteString
    version of the package ID hosted by Viam.
    boolean
    info about the validity of the package
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Robot.PackageConfig>
     

    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

  • Method Details

    • getName

      public String getName()
       Name is the local name of the package on the RDK. Must be unique across Packages. Must not be empty.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Robot.PackageConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name is the local name of the package on the RDK. Must be unique across Packages. Must not be empty.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Robot.PackageConfigOrBuilder
      Returns:
      The bytes for name.
    • getPackage

      public String getPackage()
       Package is the unique package name hosted by Viam. Must not be empty.
       
      string package = 2 [json_name = "package"];
      Specified by:
      getPackage in interface Robot.PackageConfigOrBuilder
      Returns:
      The package.
    • getPackageBytes

      public com.google.protobuf.ByteString getPackageBytes()
       Package is the unique package name hosted by Viam. Must not be empty.
       
      string package = 2 [json_name = "package"];
      Specified by:
      getPackageBytes in interface Robot.PackageConfigOrBuilder
      Returns:
      The bytes for package.
    • getVersion

      public String getVersion()
       version of the package ID hosted by Viam. If not specified "latest" is assumed.
       
      string version = 3 [json_name = "version"];
      Specified by:
      getVersion in interface Robot.PackageConfigOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       version of the package ID hosted by Viam. If not specified "latest" is assumed.
       
      string version = 3 [json_name = "version"];
      Specified by:
      getVersionBytes in interface Robot.PackageConfigOrBuilder
      Returns:
      The bytes for version.
    • getType

      public String getType()
       type of the package
       
      string type = 4 [json_name = "type"];
      Specified by:
      getType in interface Robot.PackageConfigOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       type of the package
       
      string type = 4 [json_name = "type"];
      Specified by:
      getTypeBytes in interface Robot.PackageConfigOrBuilder
      Returns:
      The bytes for type.
    • hasStatus

      public boolean hasStatus()
       info about the validity of the package
       
      .viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
      Specified by:
      hasStatus in interface Robot.PackageConfigOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Robot.AppValidationStatus getStatus()
       info about the validity of the package
       
      .viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
      Specified by:
      getStatus in interface Robot.PackageConfigOrBuilder
      Returns:
      The status.
    • parseFrom

      public static Robot.PackageConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.PackageConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.PackageConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Robot.PackageConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Robot.PackageConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.PackageConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.PackageConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Robot.PackageConfig.Builder newBuilder()
    • newBuilder

      public static Robot.PackageConfig.Builder newBuilder(Robot.PackageConfig prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Robot.PackageConfig,Robot.PackageConfig.Builder>
    • getDefaultInstance

      public static Robot.PackageConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Robot.PackageConfig> parser()