Package com.viam.robot.v1
Class Robot.DiscoveryQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.DiscoveryQuery,Robot.DiscoveryQuery.Builder>
com.viam.robot.v1.Robot.DiscoveryQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.DiscoveryQueryOrBuilder
,Cloneable
- Enclosing class:
- Robot.DiscoveryQuery
public static final class Robot.DiscoveryQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.DiscoveryQuery,Robot.DiscoveryQuery.Builder>
implements Robot.DiscoveryQueryOrBuilder
Protobuf type
viam.robot.v1.DiscoveryQuery
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct extra = 99 [json_name = "extra"];
string model = 2 [json_name = "model"];
string subtype = 1 [json_name = "subtype"];
com.google.protobuf.Struct
getExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
getModel()
string model = 2 [json_name = "model"];
com.google.protobuf.ByteString
string model = 2 [json_name = "model"];
string subtype = 1 [json_name = "subtype"];
com.google.protobuf.ByteString
string subtype = 1 [json_name = "subtype"];
boolean
hasExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
mergeExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setExtra
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];
string model = 2 [json_name = "model"];
setModelBytes
(com.google.protobuf.ByteString value) string model = 2 [json_name = "model"];
setSubtype
(String value) string subtype = 1 [json_name = "subtype"];
setSubtypeBytes
(com.google.protobuf.ByteString value) string subtype = 1 [json_name = "subtype"];
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
-
getSubtype
string subtype = 1 [json_name = "subtype"];
- Specified by:
getSubtype
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- The subtype.
-
getSubtypeBytes
public com.google.protobuf.ByteString getSubtypeBytes()string subtype = 1 [json_name = "subtype"];
- Specified by:
getSubtypeBytes
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- The bytes for subtype.
-
setSubtype
string subtype = 1 [json_name = "subtype"];
- Parameters:
value
- The subtype to set.- Returns:
- This builder for chaining.
-
clearSubtype
string subtype = 1 [json_name = "subtype"];
- Returns:
- This builder for chaining.
-
setSubtypeBytes
string subtype = 1 [json_name = "subtype"];
- Parameters:
value
- The bytes for subtype to set.- Returns:
- This builder for chaining.
-
getModel
string model = 2 [json_name = "model"];
- Specified by:
getModel
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()string model = 2 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- The bytes for model.
-
setModel
string model = 2 [json_name = "model"];
- Parameters:
value
- The model to set.- Returns:
- This builder for chaining.
-
clearModel
string model = 2 [json_name = "model"];
- Returns:
- This builder for chaining.
-
setModelBytes
string model = 2 [json_name = "model"];
- Parameters:
value
- The bytes for model to set.- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceRobot.DiscoveryQueryOrBuilder
- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-