Package com.viam.robot.v1
Interface Robot.DiscoveryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.Discovery
,Robot.Discovery.Builder
- Enclosing class:
- Robot
public static interface Robot.DiscoveryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery()
.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"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasQuery
boolean hasQuery().viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
- Returns:
- Whether the query field is set.
-
getQuery
Robot.DiscoveryQuery getQuery().viam.robot.v1.DiscoveryQuery query = 1 [json_name = "query"];
- Returns:
- The query.
-
hasResults
boolean hasResults().google.protobuf.Struct results = 2 [json_name = "results"];
- Returns:
- Whether the results field is set.
-
getResults
com.google.protobuf.Struct getResults().google.protobuf.Struct results = 2 [json_name = "results"];
- Returns:
- The results.
-