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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.app.agent.v1.HostInfoNested 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 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.HostInfoID and VERSION_ID fields from /etc/os-release, colon seperated.com.google.protobuf.ByteStringID and VERSION_ID fields from /etc/os-release, colon seperated.platform is the docker styled combination of kernel and architecture.com.google.protobuf.ByteStringplatform 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.ByteStringgetTagsBytes(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.intadditional 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.Builderstatic Agent.HostInfo.BuildernewBuilder(Agent.HostInfo prototype) static Agent.HostInfoparseDelimitedFrom(InputStream input) static Agent.HostInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfoparseFrom(byte[] data) static Agent.HostInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfoparseFrom(com.google.protobuf.ByteString data) static Agent.HostInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfoparseFrom(com.google.protobuf.CodedInputStream input) static Agent.HostInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfoparseFrom(InputStream input) static Agent.HostInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Agent.HostInfoparseFrom(ByteBuffer data) static Agent.HostInfoparseFrom(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, 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
-
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:
getPlatformin 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:
getPlatformBytesin 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:
getDistroin 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:
getDistroBytesin 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:
getTagsListin 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:
getTagsCountin 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:
getTagsin 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:
getTagsBytesin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Agent.HostInfo,Agent.HostInfo.Builder>
-
getDefaultInstance
-
parser
-