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
Modifier and TypeClassDescriptionstatic 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
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 Robot.PackageConfig
getName()
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 packagegetType()
type of the packagecom.google.protobuf.ByteString
type of the packageversion 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 packagestatic Robot.PackageConfig.Builder
static Robot.PackageConfig.Builder
newBuilder
(Robot.PackageConfig prototype) static Robot.PackageConfig
parseDelimitedFrom
(InputStream input) static Robot.PackageConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PackageConfig
parseFrom
(byte[] data) static Robot.PackageConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PackageConfig
parseFrom
(com.google.protobuf.ByteString data) static Robot.PackageConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PackageConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.PackageConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PackageConfig
parseFrom
(InputStream input) static Robot.PackageConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PackageConfig
parseFrom
(ByteBuffer data) static Robot.PackageConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.PackageConfig>
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:
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
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 interfaceRobot.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 interfaceRobot.PackageConfigOrBuilder
- Returns:
- The bytes for name.
-
getPackage
Package is the unique package name hosted by Viam. Must not be empty.
string package = 2 [json_name = "package"];
- Specified by:
getPackage
in interfaceRobot.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 interfaceRobot.PackageConfigOrBuilder
- Returns:
- The bytes for package.
-
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 interfaceRobot.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 interfaceRobot.PackageConfigOrBuilder
- Returns:
- The bytes for version.
-
getType
type of the package
string type = 4 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.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 interfaceRobot.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 interfaceRobot.PackageConfigOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
info about the validity of the package
.viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
- Specified by:
getStatus
in interfaceRobot.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
- Throws:
IOException
-
parseFrom
public static Robot.PackageConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.PackageConfig,
Robot.PackageConfig.Builder>
-
getDefaultInstance
-
parser
-