Package viam.app.agent.v1
Class Agent.UpdateInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Agent.UpdateInfo,Agent.UpdateInfo.Builder>
viam.app.agent.v1.Agent.UpdateInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Agent.UpdateInfoOrBuilder
- Enclosing class:
- Agent
public static final class Agent.UpdateInfo
extends com.google.protobuf.GeneratedMessageLite<Agent.UpdateInfo,Agent.UpdateInfo.Builder>
implements Agent.UpdateInfoOrBuilder
Protobuf type
viam.app.agent.v1.UpdateInfo-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.app.agent.v1.UpdateInfoNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Agent.UpdateInfounpacked filename as it is expected on disk (regardless of url)com.google.protobuf.ByteStringunpacked filename as it is expected on disk (regardless of url)determines if decompression or executable permissions are neededintdetermines if decompression or executable permissions are neededcom.google.protobuf.ByteStringsha256 sum of file as downloadedgetUrl()url to download fromcom.google.protobuf.ByteStringurl to download fromversion expected at the urlcom.google.protobuf.ByteStringversion expected at the urlstatic Agent.UpdateInfo.Builderstatic Agent.UpdateInfo.BuildernewBuilder(Agent.UpdateInfo prototype) static Agent.UpdateInfoparseDelimitedFrom(InputStream input) static Agent.UpdateInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.UpdateInfoparseFrom(byte[] data) static Agent.UpdateInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.UpdateInfoparseFrom(com.google.protobuf.ByteString data) static Agent.UpdateInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.UpdateInfoparseFrom(com.google.protobuf.CodedInputStream input) static Agent.UpdateInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.UpdateInfoparseFrom(InputStream input) static Agent.UpdateInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.UpdateInfoparseFrom(ByteBuffer data) static Agent.UpdateInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Agent.UpdateInfo>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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getFilenamein interfaceAgent.UpdateInfoOrBuilder- 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:
getFilenameBytesin interfaceAgent.UpdateInfoOrBuilder- Returns:
- The bytes for filename.
-
getUrl
url to download from
string url = 2 [json_name = "url"];- Specified by:
getUrlin interfaceAgent.UpdateInfoOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()url to download from
string url = 2 [json_name = "url"];- Specified by:
getUrlBytesin interfaceAgent.UpdateInfoOrBuilder- Returns:
- The bytes for url.
-
getVersion
version expected at the url
string version = 3 [json_name = "version"];- Specified by:
getVersionin interfaceAgent.UpdateInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()version expected at the url
string version = 3 [json_name = "version"];- Specified by:
getVersionBytesin interfaceAgent.UpdateInfoOrBuilder- 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:
getSha256in interfaceAgent.UpdateInfoOrBuilder- 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:
getFormatValuein interfaceAgent.UpdateInfoOrBuilder- 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:
getFormatin interfaceAgent.UpdateInfoOrBuilder- Returns:
- The format.
-
parseFrom
public static Agent.UpdateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.UpdateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.UpdateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.UpdateInfo 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.UpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.UpdateInfo 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.UpdateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Agent.UpdateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.UpdateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.UpdateInfo 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Agent.UpdateInfo,Agent.UpdateInfo.Builder>
-
getDefaultInstance
-
parser
-