Package com.viam.robot.v1
Class Robot.ResourceNamesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceNamesResponse,Robot.ResourceNamesResponse.Builder>
com.viam.robot.v1.Robot.ResourceNamesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.ResourceNamesResponseOrBuilder
,Cloneable
- Enclosing class:
- Robot.ResourceNamesResponse
public static final class Robot.ResourceNamesResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceNamesResponse,Robot.ResourceNamesResponse.Builder>
implements Robot.ResourceNamesResponseOrBuilder
Protobuf type
viam.robot.v1.ResourceNamesResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllResources
(Iterable<? extends Common.ResourceName> values) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
addResources
(int index, Common.ResourceName value) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
addResources
(int index, Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
addResources
(Common.ResourceName value) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
addResources
(Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
getResources
(int index) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
int
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
removeResources
(int index) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
setResources
(int index, Common.ResourceName value) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
setResources
(int index, Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
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
-
getResourcesList
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
- Specified by:
getResourcesList
in interfaceRobot.ResourceNamesResponseOrBuilder
-
getResourcesCount
public int getResourcesCount()repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
- Specified by:
getResourcesCount
in interfaceRobot.ResourceNamesResponseOrBuilder
-
getResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
- Specified by:
getResources
in interfaceRobot.ResourceNamesResponseOrBuilder
-
setResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
setResources
public Robot.ResourceNamesResponse.Builder setResources(int index, Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
addResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
addResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
addResources
public Robot.ResourceNamesResponse.Builder addResources(Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
addResources
public Robot.ResourceNamesResponse.Builder addResources(int index, Common.ResourceName.Builder builderForValue) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
addAllResources
public Robot.ResourceNamesResponse.Builder addAllResources(Iterable<? extends Common.ResourceName> values) repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
clearResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-
removeResources
repeated .viam.common.v1.ResourceName resources = 1 [json_name = "resources"];
-