Package com.viam.service.discovery.v1
Class Discovery.DiscoverResourcesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Discovery.DiscoverResourcesResponse,Discovery.DiscoverResourcesResponse.Builder>
com.viam.service.discovery.v1.Discovery.DiscoverResourcesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Discovery.DiscoverResourcesResponseOrBuilder
,Cloneable
- Enclosing class:
- Discovery.DiscoverResourcesResponse
public static final class Discovery.DiscoverResourcesResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Discovery.DiscoverResourcesResponse,Discovery.DiscoverResourcesResponse.Builder>
implements Discovery.DiscoverResourcesResponseOrBuilder
Protobuf type
viam.service.discovery.v1.DiscoverResourcesResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDiscoveries
(Iterable<? extends Robot.ComponentConfig> values) list of ComponentConfigs that describe the components found by a discover service.addDiscoveries
(int index, Robot.ComponentConfig value) list of ComponentConfigs that describe the components found by a discover service.addDiscoveries
(int index, Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.list of ComponentConfigs that describe the components found by a discover service.addDiscoveries
(Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.list of ComponentConfigs that describe the components found by a discover service.getDiscoveries
(int index) list of ComponentConfigs that describe the components found by a discover service.int
list of ComponentConfigs that describe the components found by a discover service.list of ComponentConfigs that describe the components found by a discover service.removeDiscoveries
(int index) list of ComponentConfigs that describe the components found by a discover service.setDiscoveries
(int index, Robot.ComponentConfig value) list of ComponentConfigs that describe the components found by a discover service.setDiscoveries
(int index, Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.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
-
getDiscoveriesList
list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
- Specified by:
getDiscoveriesList
in interfaceDiscovery.DiscoverResourcesResponseOrBuilder
-
getDiscoveriesCount
public int getDiscoveriesCount()list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
- Specified by:
getDiscoveriesCount
in interfaceDiscovery.DiscoverResourcesResponseOrBuilder
-
getDiscoveries
list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
- Specified by:
getDiscoveries
in interfaceDiscovery.DiscoverResourcesResponseOrBuilder
-
setDiscoveries
public Discovery.DiscoverResourcesResponse.Builder setDiscoveries(int index, Robot.ComponentConfig value) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
setDiscoveries
public Discovery.DiscoverResourcesResponse.Builder setDiscoveries(int index, Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
addDiscoveries
list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
addDiscoveries
public Discovery.DiscoverResourcesResponse.Builder addDiscoveries(int index, Robot.ComponentConfig value) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
addDiscoveries
public Discovery.DiscoverResourcesResponse.Builder addDiscoveries(Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
addDiscoveries
public Discovery.DiscoverResourcesResponse.Builder addDiscoveries(int index, Robot.ComponentConfig.Builder builderForValue) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
addAllDiscoveries
public Discovery.DiscoverResourcesResponse.Builder addAllDiscoveries(Iterable<? extends Robot.ComponentConfig> values) list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
clearDiscoveries
list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-
removeDiscoveries
list of ComponentConfigs that describe the components found by a discover service.
repeated .viam.app.v1.ComponentConfig discoveries = 1 [json_name = "discoveries"];
-