Package viam.app.v1
Class Robot.AgentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.AgentInfo,Robot.AgentInfo.Builder>
viam.app.v1.Robot.AgentInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Robot.AgentInfoOrBuilder
- Enclosing class:
- Robot.AgentInfo
public static final class Robot.AgentInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.AgentInfo,Robot.AgentInfo.Builder>
implements Robot.AgentInfoOrBuilder
Protobuf type
viam.app.v1.AgentInfo-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionlist of all ipv4 ips.addAllPlatformTags(Iterable<String> values) Optional tags to further constrain which artifact is returned for modules.list of all ipv4 ips.addIpsBytes(com.google.protobuf.ByteString value) list of all ipv4 ips.addPlatformTags(String value) Optional tags to further constrain which artifact is returned for modules.addPlatformTagsBytes(com.google.protobuf.ByteString value) Optional tags to further constrain which artifact is returned for modules.string git_revision = 5 [json_name = "gitRevision"];string host = 1 [json_name = "host"];clearIps()list of all ipv4 ips.clearOs()Will soon be deprecated, use platform insteadThe platform the RDK is running on.Optional tags to further constrain which artifact is returned for modules.RDK versionstring git_revision = 5 [json_name = "gitRevision"];com.google.protobuf.ByteStringstring git_revision = 5 [json_name = "gitRevision"];getHost()string host = 1 [json_name = "host"];com.google.protobuf.ByteStringstring host = 1 [json_name = "host"];getIps(int index) list of all ipv4 ips.com.google.protobuf.ByteStringgetIpsBytes(int index) list of all ipv4 ips.intlist of all ipv4 ips.list of all ipv4 ips.getOs()Will soon be deprecated, use platform insteadcom.google.protobuf.ByteStringWill soon be deprecated, use platform insteadThe platform the RDK is running on.com.google.protobuf.ByteStringThe platform the RDK is running on.getPlatformTags(int index) Optional tags to further constrain which artifact is returned for modules.com.google.protobuf.ByteStringgetPlatformTagsBytes(int index) Optional tags to further constrain which artifact is returned for modules.intOptional tags to further constrain which artifact is returned for modules.Optional tags to further constrain which artifact is returned for modules.RDK versioncom.google.protobuf.ByteStringRDK versionbooleanThe platform the RDK is running on.setGitRevision(String value) string git_revision = 5 [json_name = "gitRevision"];setGitRevisionBytes(com.google.protobuf.ByteString value) string git_revision = 5 [json_name = "gitRevision"];string host = 1 [json_name = "host"];setHostBytes(com.google.protobuf.ByteString value) string host = 1 [json_name = "host"];list of all ipv4 ips.Will soon be deprecated, use platform insteadsetOsBytes(com.google.protobuf.ByteString value) Will soon be deprecated, use platform insteadsetPlatform(String value) The platform the RDK is running on.setPlatformBytes(com.google.protobuf.ByteString value) The platform the RDK is running on.setPlatformTags(int index, String value) Optional tags to further constrain which artifact is returned for modules.setVersion(String value) RDK versionsetVersionBytes(com.google.protobuf.ByteString value) RDK versionMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getHost
string host = 1 [json_name = "host"];- Specified by:
getHostin interfaceRobot.AgentInfoOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()string host = 1 [json_name = "host"];- Specified by:
getHostBytesin interfaceRobot.AgentInfoOrBuilder- Returns:
- The bytes for host.
-
setHost
string host = 1 [json_name = "host"];- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
string host = 1 [json_name = "host"];- Returns:
- This builder for chaining.
-
setHostBytes
string host = 1 [json_name = "host"];- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
getOs
Will soon be deprecated, use platform instead
string os = 2 [json_name = "os"];- Specified by:
getOsin interfaceRobot.AgentInfoOrBuilder- Returns:
- The os.
-
getOsBytes
public com.google.protobuf.ByteString getOsBytes()Will soon be deprecated, use platform instead
string os = 2 [json_name = "os"];- Specified by:
getOsBytesin interfaceRobot.AgentInfoOrBuilder- Returns:
- The bytes for os.
-
setOs
Will soon be deprecated, use platform instead
string os = 2 [json_name = "os"];- Parameters:
value- The os to set.- Returns:
- This builder for chaining.
-
clearOs
Will soon be deprecated, use platform instead
string os = 2 [json_name = "os"];- Returns:
- This builder for chaining.
-
setOsBytes
Will soon be deprecated, use platform instead
string os = 2 [json_name = "os"];- Parameters:
value- The bytes for os to set.- Returns:
- This builder for chaining.
-
getIpsList
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Specified by:
getIpsListin interfaceRobot.AgentInfoOrBuilder- Returns:
- A list containing the ips.
-
getIpsCount
public int getIpsCount()list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Specified by:
getIpsCountin interfaceRobot.AgentInfoOrBuilder- Returns:
- The count of ips.
-
getIps
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Specified by:
getIpsin interfaceRobot.AgentInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ips at the given index.
-
getIpsBytes
public com.google.protobuf.ByteString getIpsBytes(int index) list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Specified by:
getIpsBytesin interfaceRobot.AgentInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ips at the given index.
-
setIps
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Parameters:
index- The index to set the value at.value- The ips to set.- Returns:
- This builder for chaining.
-
addIps
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Parameters:
value- The ips to add.- Returns:
- This builder for chaining.
-
addAllIps
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Parameters:
values- The ips to add.- Returns:
- This builder for chaining.
-
clearIps
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Returns:
- This builder for chaining.
-
addIpsBytes
list of all ipv4 ips.
repeated string ips = 3 [json_name = "ips"];- Parameters:
value- The bytes of the ips to add.- Returns:
- This builder for chaining.
-
getVersion
RDK version
string version = 4 [json_name = "version"];- Specified by:
getVersionin interfaceRobot.AgentInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()RDK version
string version = 4 [json_name = "version"];- Specified by:
getVersionBytesin interfaceRobot.AgentInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
RDK version
string version = 4 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
RDK version
string version = 4 [json_name = "version"];- Returns:
- This builder for chaining.
-
setVersionBytes
RDK version
string version = 4 [json_name = "version"];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getGitRevision
string git_revision = 5 [json_name = "gitRevision"];- Specified by:
getGitRevisionin interfaceRobot.AgentInfoOrBuilder- Returns:
- The gitRevision.
-
getGitRevisionBytes
public com.google.protobuf.ByteString getGitRevisionBytes()string git_revision = 5 [json_name = "gitRevision"];- Specified by:
getGitRevisionBytesin interfaceRobot.AgentInfoOrBuilder- Returns:
- The bytes for gitRevision.
-
setGitRevision
string git_revision = 5 [json_name = "gitRevision"];- Parameters:
value- The gitRevision to set.- Returns:
- This builder for chaining.
-
clearGitRevision
string git_revision = 5 [json_name = "gitRevision"];- Returns:
- This builder for chaining.
-
setGitRevisionBytes
string git_revision = 5 [json_name = "gitRevision"];- Parameters:
value- The bytes for gitRevision to set.- Returns:
- This builder for chaining.
-
hasPlatform
public boolean hasPlatform()The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Specified by:
hasPlatformin interfaceRobot.AgentInfoOrBuilder- Returns:
- Whether the platform field is set.
-
getPlatform
The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Specified by:
getPlatformin interfaceRobot.AgentInfoOrBuilder- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Specified by:
getPlatformBytesin interfaceRobot.AgentInfoOrBuilder- Returns:
- The bytes for platform.
-
setPlatform
The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Parameters:
value- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Returns:
- This builder for chaining.
-
setPlatformBytes
The platform the RDK is running on. For example linux/amd64
optional string platform = 6 [json_name = "platform"];- Parameters:
value- The bytes for platform to set.- Returns:
- This builder for chaining.
-
getPlatformTagsList
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Specified by:
getPlatformTagsListin interfaceRobot.AgentInfoOrBuilder- Returns:
- A list containing the platformTags.
-
getPlatformTagsCount
public int getPlatformTagsCount()Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Specified by:
getPlatformTagsCountin interfaceRobot.AgentInfoOrBuilder- Returns:
- The count of platformTags.
-
getPlatformTags
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Specified by:
getPlatformTagsin interfaceRobot.AgentInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The platformTags at the given index.
-
getPlatformTagsBytes
public com.google.protobuf.ByteString getPlatformTagsBytes(int index) Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Specified by:
getPlatformTagsBytesin interfaceRobot.AgentInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the platformTags at the given index.
-
setPlatformTags
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Parameters:
index- The index to set the value at.value- The platformTags to set.- Returns:
- This builder for chaining.
-
addPlatformTags
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Parameters:
value- The platformTags to add.- Returns:
- This builder for chaining.
-
addAllPlatformTags
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Parameters:
values- The platformTags to add.- Returns:
- This builder for chaining.
-
clearPlatformTags
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Returns:
- This builder for chaining.
-
addPlatformTagsBytes
Optional tags to further constrain which artifact is returned for modules.
repeated string platform_tags = 7 [json_name = "platformTags"];- Parameters:
value- The bytes of the platformTags to add.- Returns:
- This builder for chaining.
-