Package viam.module.v1
Class Module.ReconfigureResourceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Module.ReconfigureResourceRequest,Module.ReconfigureResourceRequest.Builder>
viam.module.v1.Module.ReconfigureResourceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Module.ReconfigureResourceRequestOrBuilder
- Enclosing class:
- Module.ReconfigureResourceRequest
public static final class Module.ReconfigureResourceRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Module.ReconfigureResourceRequest,Module.ReconfigureResourceRequest.Builder>
implements Module.ReconfigureResourceRequestOrBuilder
Protobuf type
viam.module.v1.ReconfigureResourceRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependencies
(Iterable<String> values) repeated string dependencies = 2 [json_name = "dependencies"];
addDependencies
(String value) repeated string dependencies = 2 [json_name = "dependencies"];
addDependenciesBytes
(com.google.protobuf.ByteString value) repeated string dependencies = 2 [json_name = "dependencies"];
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
repeated string dependencies = 2 [json_name = "dependencies"];
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
getDependencies
(int index) repeated string dependencies = 2 [json_name = "dependencies"];
com.google.protobuf.ByteString
getDependenciesBytes
(int index) repeated string dependencies = 2 [json_name = "dependencies"];
int
repeated string dependencies = 2 [json_name = "dependencies"];
repeated string dependencies = 2 [json_name = "dependencies"];
boolean
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
mergeConfig
(Robot.ComponentConfig value) .viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
setConfig
(Robot.ComponentConfig value) .viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
setConfig
(Robot.ComponentConfig.Builder builderForValue) .viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
setDependencies
(int index, String value) repeated string dependencies = 2 [json_name = "dependencies"];
Methods 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
-
hasConfig
public boolean hasConfig().viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
- Specified by:
hasConfig
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
- Specified by:
getConfig
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Returns:
- The config.
-
setConfig
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
-
setConfig
public Module.ReconfigureResourceRequest.Builder setConfig(Robot.ComponentConfig.Builder builderForValue) .viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
-
mergeConfig
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
-
clearConfig
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
-
getDependenciesList
repeated string dependencies = 2 [json_name = "dependencies"];
- Specified by:
getDependenciesList
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Returns:
- A list containing the dependencies.
-
getDependenciesCount
public int getDependenciesCount()repeated string dependencies = 2 [json_name = "dependencies"];
- Specified by:
getDependenciesCount
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Returns:
- The count of dependencies.
-
getDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Specified by:
getDependencies
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The dependencies at the given index.
-
getDependenciesBytes
public com.google.protobuf.ByteString getDependenciesBytes(int index) repeated string dependencies = 2 [json_name = "dependencies"];
- Specified by:
getDependenciesBytes
in interfaceModule.ReconfigureResourceRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the dependencies at the given index.
-
setDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
index
- The index to set the value at.value
- The dependencies to set.- Returns:
- This builder for chaining.
-
addDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
value
- The dependencies to add.- Returns:
- This builder for chaining.
-
addAllDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
values
- The dependencies to add.- Returns:
- This builder for chaining.
-
clearDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Returns:
- This builder for chaining.
-
addDependenciesBytes
public Module.ReconfigureResourceRequest.Builder addDependenciesBytes(com.google.protobuf.ByteString value) repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
value
- The bytes of the dependencies to add.- Returns:
- This builder for chaining.
-