Package viam.app.v1
Class Robot.PackageConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.PackageConfig,Robot.PackageConfig.Builder>
viam.app.v1.Robot.PackageConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.PackageConfigOrBuilder
- Enclosing class:
- Robot.PackageConfig
public static final class Robot.PackageConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.PackageConfig,Robot.PackageConfig.Builder>
implements Robot.PackageConfigOrBuilder
PackageConfig is the configration for deployed Packages.Protobuf type
viam.app.v1.PackageConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionName is the local name of the package on the RDK.Package is the unique package name hosted by Viam.info about the validity of the packagetype of the packageversion of the package ID hosted by Viam.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 packageinfo about the validity of the packageName is the local name of the package on the RDK.setNameBytes
(com.google.protobuf.ByteString value) Name is the local name of the package on the RDK.setPackage
(String value) Package is the unique package name hosted by Viam.setPackageBytes
(com.google.protobuf.ByteString value) Package is the unique package name hosted by Viam.info about the validity of the packagesetStatus
(Robot.AppValidationStatus.Builder builderForValue) info about the validity of the packagetype of the packagesetTypeBytes
(com.google.protobuf.ByteString value) type of the packagesetVersion
(String value) version of the package ID hosted by Viam.setVersionBytes
(com.google.protobuf.ByteString value) version of the package ID hosted by Viam.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setName
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"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setPackage
Package is the unique package name hosted by Viam. Must not be empty.
string package = 2 [json_name = "package"];
- Parameters:
value
- The package to set.- Returns:
- This builder for chaining.
-
clearPackage
Package is the unique package name hosted by Viam. Must not be empty.
string package = 2 [json_name = "package"];
- Returns:
- This builder for chaining.
-
setPackageBytes
Package is the unique package name hosted by Viam. Must not be empty.
string package = 2 [json_name = "package"];
- Parameters:
value
- The bytes for package to set.- Returns:
- This builder for chaining.
-
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.
-
setVersion
version of the package ID hosted by Viam. If not specified "latest" is assumed.
string version = 3 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
version of the package ID hosted by Viam. If not specified "latest" is assumed.
string version = 3 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
version of the package ID hosted by Viam. If not specified "latest" is assumed.
string version = 3 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
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.
-
setType
type of the package
string type = 4 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
type of the package
string type = 4 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
type of the package
string type = 4 [json_name = "type"];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
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.
-
setStatus
info about the validity of the package
.viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
-
setStatus
info about the validity of the package
.viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
-
mergeStatus
info about the validity of the package
.viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
-
clearStatus
info about the validity of the package
.viam.app.v1.AppValidationStatus status = 5 [json_name = "status"];
-