Package viam.app.agent.v1
Class Agent.SubsystemUpdateInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder>
viam.app.agent.v1.Agent.SubsystemUpdateInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Agent.SubsystemUpdateInfoOrBuilder
- Enclosing class:
- Agent
public static final class Agent.SubsystemUpdateInfo
extends com.google.protobuf.GeneratedMessageLite<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder>
implements Agent.SubsystemUpdateInfoOrBuilder
Protobuf type
viam.app.agent.v1.SubsystemUpdateInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.agent.v1.SubsystemUpdateInfo
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 Agent.SubsystemUpdateInfo
unpacked 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 urlnewBuilder
(Agent.SubsystemUpdateInfo prototype) static Agent.SubsystemUpdateInfo
parseDelimitedFrom
(InputStream input) static Agent.SubsystemUpdateInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.SubsystemUpdateInfo
parseFrom
(byte[] data) static Agent.SubsystemUpdateInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.SubsystemUpdateInfo
parseFrom
(com.google.protobuf.ByteString data) static Agent.SubsystemUpdateInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.SubsystemUpdateInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static Agent.SubsystemUpdateInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.SubsystemUpdateInfo
parseFrom
(InputStream input) static Agent.SubsystemUpdateInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.SubsystemUpdateInfo
parseFrom
(ByteBuffer data) static Agent.SubsystemUpdateInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Agent.SubsystemUpdateInfo>
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
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
SHA256_FIELD_NUMBER
public static final int SHA256_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Agent.SubsystemUpdateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.SubsystemUpdateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.SubsystemUpdateInfo 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<Agent.SubsystemUpdateInfo,
Agent.SubsystemUpdateInfo.Builder>
-
getDefaultInstance
-
parser
-