Package com.viam.robot.v1
Class Robot.Discovery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.Discovery,Robot.Discovery.Builder>
com.viam.robot.v1.Robot.Discovery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.DiscoveryOrBuilder
,Cloneable
- Enclosing class:
- Robot.Discovery
public static final class Robot.Discovery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Discovery,Robot.Discovery.Builder>
implements Robot.DiscoveryOrBuilder
Protobuf type
viam.robot.v1.Discovery
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
.google.protobuf.Struct results = 2 [json_name = "results"];
getQuery()
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
com.google.protobuf.Struct
.google.protobuf.Struct results = 2 [json_name = "results"];
boolean
hasQuery()
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
boolean
.google.protobuf.Struct results = 2 [json_name = "results"];
mergeQuery
(Robot.DiscoveryQuery value) .viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
mergeResults
(com.google.protobuf.Struct value) .google.protobuf.Struct results = 2 [json_name = "results"];
setQuery
(Robot.DiscoveryQuery value) .viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
setQuery
(Robot.DiscoveryQuery.Builder builderForValue) .viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
setResults
(com.google.protobuf.Struct value) .google.protobuf.Struct results = 2 [json_name = "results"];
setResults
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct results = 2 [json_name = "results"];
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
-
hasQuery
public boolean hasQuery().viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
- Specified by:
hasQuery
in interfaceRobot.DiscoveryOrBuilder
- Returns:
- Whether the query field is set.
-
getQuery
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
- Specified by:
getQuery
in interfaceRobot.DiscoveryOrBuilder
- Returns:
- The query.
-
setQuery
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
-
setQuery
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
-
mergeQuery
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
-
clearQuery
.viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
-
hasResults
public boolean hasResults().google.protobuf.Struct results = 2 [json_name = "results"];
- Specified by:
hasResults
in interfaceRobot.DiscoveryOrBuilder
- Returns:
- Whether the results field is set.
-
getResults
public com.google.protobuf.Struct getResults().google.protobuf.Struct results = 2 [json_name = "results"];
- Specified by:
getResults
in interfaceRobot.DiscoveryOrBuilder
- Returns:
- The results.
-
setResults
.google.protobuf.Struct results = 2 [json_name = "results"];
-
setResults
.google.protobuf.Struct results = 2 [json_name = "results"];
-
mergeResults
.google.protobuf.Struct results = 2 [json_name = "results"];
-
clearResults
.google.protobuf.Struct results = 2 [json_name = "results"];
-