Package viam.app.agent.v1
Class Agent.HostInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Agent.HostInfo,Agent.HostInfo.Builder>
viam.app.agent.v1.Agent.HostInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Agent.HostInfoOrBuilder
- Enclosing class:
- Agent
public static final class Agent.HostInfo
extends com.google.protobuf.GeneratedMessageLite<Agent.HostInfo,Agent.HostInfo.Builder>
implements Agent.HostInfoOrBuilder
Protobuf type
viam.app.agent.v1.HostInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.agent.v1.HostInfo
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
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.HostInfo
ID and VERSION_ID fields from /etc/os-release, colon seperated.com.google.protobuf.ByteString
ID and VERSION_ID fields from /etc/os-release, colon seperated.platform is the docker styled combination of kernel and architecture.com.google.protobuf.ByteString
platform is the docker styled combination of kernel and architecture.getTags
(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.com.google.protobuf.ByteString
getTagsBytes
(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.int
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.static Agent.HostInfo.Builder
static Agent.HostInfo.Builder
newBuilder
(Agent.HostInfo prototype) static Agent.HostInfo
parseDelimitedFrom
(InputStream input) static Agent.HostInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfo
parseFrom
(byte[] data) static Agent.HostInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfo
parseFrom
(com.google.protobuf.ByteString data) static Agent.HostInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static Agent.HostInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfo
parseFrom
(InputStream input) static Agent.HostInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfo
parseFrom
(ByteBuffer data) static Agent.HostInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Agent.HostInfo>
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
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER- See Also:
-
DISTRO_FIELD_NUMBER
public static final int DISTRO_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getPlatform
platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The bytes for platform.
-
getDistro
ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Specified by:
getDistro
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The distro.
-
getDistroBytes
public com.google.protobuf.ByteString getDistroBytes()ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Specified by:
getDistroBytes
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The bytes for distro.
-
getTagsList
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Specified by:
getTagsList
in interfaceAgent.HostInfoOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Specified by:
getTagsCount
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The count of tags.
-
getTags
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Specified by:
getTags
in interfaceAgent.HostInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Specified by:
getTagsBytes
in interfaceAgent.HostInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
parseFrom
public static Agent.HostInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.HostInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.HostInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.HostInfo 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.HostInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.HostInfo 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.HostInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Agent.HostInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.HostInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.HostInfo 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.HostInfo,
Agent.HostInfo.Builder>
-
getDefaultInstance
-
parser
-