Package viam.app.v1

Interface Robot.PackageConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Robot.PackageConfig, Robot.PackageConfig.Builder
Enclosing class:
Robot

public static interface Robot.PackageConfigOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      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"];
      Returns:
      The name.
    • getNameBytes

      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"];
      Returns:
      The bytes for name.
    • getPackage

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

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

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

      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"];
      Returns:
      The bytes for version.
    • getType

      String getType()
       type of the package
       
      string type = 4 [json_name = "type"];
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       type of the package
       
      string type = 4 [json_name = "type"];
      Returns:
      The bytes for type.
    • hasStatus

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

       info about the validity of the package
       
      .viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
      Returns:
      The status.