Package com.viam.robot.v1
Class Robot.ResourceRPCSubtype.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceRPCSubtype,Robot.ResourceRPCSubtype.Builder>
com.viam.robot.v1.Robot.ResourceRPCSubtype.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.ResourceRPCSubtypeOrBuilder
,Cloneable
- Enclosing class:
- Robot.ResourceRPCSubtype
public static final class Robot.ResourceRPCSubtype.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceRPCSubtype,Robot.ResourceRPCSubtype.Builder>
implements Robot.ResourceRPCSubtypeOrBuilder
Protobuf type
viam.robot.v1.ResourceRPCSubtype
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring proto_service = 2 [json_name = "protoService"];
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
string proto_service = 2 [json_name = "protoService"];
com.google.protobuf.ByteString
string proto_service = 2 [json_name = "protoService"];
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
boolean
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
mergeSubtype
(Common.ResourceName value) .viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
setProtoService
(String value) string proto_service = 2 [json_name = "protoService"];
setProtoServiceBytes
(com.google.protobuf.ByteString value) string proto_service = 2 [json_name = "protoService"];
setSubtype
(Common.ResourceName value) .viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
setSubtype
(Common.ResourceName.Builder builderForValue) .viam.common.v1.ResourceName 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
-
hasSubtype
public boolean hasSubtype().viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
- Specified by:
hasSubtype
in interfaceRobot.ResourceRPCSubtypeOrBuilder
- Returns:
- Whether the subtype field is set.
-
getSubtype
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
- Specified by:
getSubtype
in interfaceRobot.ResourceRPCSubtypeOrBuilder
- Returns:
- The subtype.
-
setSubtype
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
-
setSubtype
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
-
mergeSubtype
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
-
clearSubtype
.viam.common.v1.ResourceName subtype = 1 [json_name = "subtype"];
-
getProtoService
string proto_service = 2 [json_name = "protoService"];
- Specified by:
getProtoService
in interfaceRobot.ResourceRPCSubtypeOrBuilder
- Returns:
- The protoService.
-
getProtoServiceBytes
public com.google.protobuf.ByteString getProtoServiceBytes()string proto_service = 2 [json_name = "protoService"];
- Specified by:
getProtoServiceBytes
in interfaceRobot.ResourceRPCSubtypeOrBuilder
- Returns:
- The bytes for protoService.
-
setProtoService
string proto_service = 2 [json_name = "protoService"];
- Parameters:
value
- The protoService to set.- Returns:
- This builder for chaining.
-
clearProtoService
string proto_service = 2 [json_name = "protoService"];
- Returns:
- This builder for chaining.
-
setProtoServiceBytes
string proto_service = 2 [json_name = "protoService"];
- Parameters:
value
- The bytes for protoService to set.- Returns:
- This builder for chaining.
-