Package viam.app.v1
Class App.ModuleFileInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleFileInfo,App.ModuleFileInfo.Builder>
viam.app.v1.App.ModuleFileInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ModuleFileInfoOrBuilder
- Enclosing class:
- App.ModuleFileInfo
public static final class App.ModuleFileInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleFileInfo,App.ModuleFileInfo.Builder>
implements App.ModuleFileInfoOrBuilder
Protobuf type
viam.app.v1.ModuleFileInfo
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPlatformTags
(Iterable<String> values) Platform tag constraints.addPlatformTags
(String value) Platform tag constraints.addPlatformTagsBytes
(com.google.protobuf.ByteString value) Platform tag constraints.The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)The platform that the file is built to run onPlatform tag constraints.The semver string that represents the new major/minor/patch version of the moduleThe id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)com.google.protobuf.ByteString
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)The platform that the file is built to run oncom.google.protobuf.ByteString
The platform that the file is built to run ongetPlatformTags
(int index) Platform tag constraints.com.google.protobuf.ByteString
getPlatformTagsBytes
(int index) Platform tag constraints.int
Platform tag constraints.Platform tag constraints.The semver string that represents the new major/minor/patch version of the modulecom.google.protobuf.ByteString
The semver string that represents the new major/minor/patch version of the modulesetModuleId
(String value) The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)setModuleIdBytes
(com.google.protobuf.ByteString value) The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)setPlatform
(String value) The platform that the file is built to run onsetPlatformBytes
(com.google.protobuf.ByteString value) The platform that the file is built to run onsetPlatformTags
(int index, String value) Platform tag constraints.setVersion
(String value) The semver string that represents the new major/minor/patch version of the modulesetVersionBytes
(com.google.protobuf.ByteString value) The semver string that represents the new major/minor/patch version of the moduleMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleId
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The moduleId.
-
getModuleIdBytes
public com.google.protobuf.ByteString getModuleIdBytes()The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleIdBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for moduleId.
-
setModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The moduleId to set.- Returns:
- This builder for chaining.
-
clearModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Returns:
- This builder for chaining.
-
setModuleIdBytes
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The bytes for moduleId to set.- Returns:
- This builder for chaining.
-
getVersion
The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Specified by:
getVersion
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for version.
-
setVersion
The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
The semver string that represents the new major/minor/patch version of the module
string version = 2 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getPlatform
The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The bytes for platform.
-
setPlatform
The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Parameters:
value
- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Returns:
- This builder for chaining.
-
setPlatformBytes
The platform that the file is built to run on
string platform = 3 [json_name = "platform"];
- Parameters:
value
- The bytes for platform to set.- Returns:
- This builder for chaining.
-
getPlatformTagsList
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsList
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- A list containing the platformTags.
-
getPlatformTagsCount
public int getPlatformTagsCount()Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsCount
in interfaceApp.ModuleFileInfoOrBuilder
- Returns:
- The count of platformTags.
-
getPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTags
in interfaceApp.ModuleFileInfoOrBuilder
- 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) Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Specified by:
getPlatformTagsBytes
in interfaceApp.ModuleFileInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the platformTags at the given index.
-
setPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Parameters:
index
- The index to set the value at.value
- The platformTags to set.- Returns:
- This builder for chaining.
-
addPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Parameters:
value
- The platformTags to add.- Returns:
- This builder for chaining.
-
addAllPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Parameters:
values
- The platformTags to add.- Returns:
- This builder for chaining.
-
clearPlatformTags
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Returns:
- This builder for chaining.
-
addPlatformTagsBytes
Platform tag constraints. When a robot requests its config, it uploads a platform and a list of platform tags. The platform is checked against `platform` above, and the tags are checked against this list.
repeated string platform_tags = 5 [json_name = "platformTags"];
- Parameters:
value
- The bytes of the platformTags to add.- Returns:
- This builder for chaining.
-