Package viam.app.agent.v1
Class Agent.SubsystemUpdateInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder>
viam.app.agent.v1.Agent.SubsystemUpdateInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Agent.SubsystemUpdateInfoOrBuilder
- Enclosing class:
- Agent.SubsystemUpdateInfo
public static final class Agent.SubsystemUpdateInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder>
implements Agent.SubsystemUpdateInfoOrBuilder
Protobuf type
viam.app.agent.v1.SubsystemUpdateInfo
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionunpacked filename as it is expected on disk (regardless of url)determines if decompression or executable permissions are neededsha256 sum of file as downloadedclearUrl()
url to download fromversion expected at the urlunpacked filename as it is expected on disk (regardless of url)com.google.protobuf.ByteString
unpacked filename as it is expected on disk (regardless of url)determines if decompression or executable permissions are neededint
determines if decompression or executable permissions are neededcom.google.protobuf.ByteString
sha256 sum of file as downloadedgetUrl()
url to download fromcom.google.protobuf.ByteString
url to download fromversion expected at the urlcom.google.protobuf.ByteString
version expected at the urlsetFilename
(String value) unpacked filename as it is expected on disk (regardless of url)setFilenameBytes
(com.google.protobuf.ByteString value) unpacked filename as it is expected on disk (regardless of url)setFormat
(Agent.PackageFormat value) determines if decompression or executable permissions are neededsetFormatValue
(int value) determines if decompression or executable permissions are neededsetSha256
(com.google.protobuf.ByteString value) sha256 sum of file as downloadedurl to download fromsetUrlBytes
(com.google.protobuf.ByteString value) url to download fromsetVersion
(String value) version expected at the urlsetVersionBytes
(com.google.protobuf.ByteString value) version expected at the urlMethods 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
-
getFilename
unpacked filename as it is expected on disk (regardless of url)
string filename = 1 [json_name = "filename"];
- Specified by:
getFilename
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()unpacked filename as it is expected on disk (regardless of url)
string filename = 1 [json_name = "filename"];
- Specified by:
getFilenameBytes
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The bytes for filename.
-
setFilename
unpacked filename as it is expected on disk (regardless of url)
string filename = 1 [json_name = "filename"];
- Parameters:
value
- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
unpacked filename as it is expected on disk (regardless of url)
string filename = 1 [json_name = "filename"];
- Returns:
- This builder for chaining.
-
setFilenameBytes
unpacked filename as it is expected on disk (regardless of url)
string filename = 1 [json_name = "filename"];
- Parameters:
value
- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getUrl
url to download from
string url = 2 [json_name = "url"];
- Specified by:
getUrl
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()url to download from
string url = 2 [json_name = "url"];
- Specified by:
getUrlBytes
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The bytes for url.
-
setUrl
url to download from
string url = 2 [json_name = "url"];
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
url to download from
string url = 2 [json_name = "url"];
- Returns:
- This builder for chaining.
-
setUrlBytes
url to download from
string url = 2 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
getVersion
version expected at the url
string version = 3 [json_name = "version"];
- Specified by:
getVersion
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()version expected at the url
string version = 3 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The bytes for version.
-
setVersion
version expected at the url
string version = 3 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
version expected at the url
string version = 3 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
version expected at the url
string version = 3 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getSha256
public com.google.protobuf.ByteString getSha256()sha256 sum of file as downloaded
bytes sha256 = 4 [json_name = "sha256"];
- Specified by:
getSha256
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The sha256.
-
setSha256
sha256 sum of file as downloaded
bytes sha256 = 4 [json_name = "sha256"];
- Parameters:
value
- The sha256 to set.- Returns:
- This builder for chaining.
-
clearSha256
sha256 sum of file as downloaded
bytes sha256 = 4 [json_name = "sha256"];
- Returns:
- This builder for chaining.
-
getFormatValue
public int getFormatValue()determines if decompression or executable permissions are needed
.viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
- Specified by:
getFormatValue
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
determines if decompression or executable permissions are needed
.viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
- Parameters:
value
- The format to set.- Returns:
- This builder for chaining.
-
getFormat
determines if decompression or executable permissions are needed
.viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
- Specified by:
getFormat
in interfaceAgent.SubsystemUpdateInfoOrBuilder
- Returns:
- The format.
-
setFormat
determines if decompression or executable permissions are needed
.viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
- Parameters:
value
- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
-
clearFormat
determines if decompression or executable permissions are needed
.viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
- Returns:
- This builder for chaining.
-