Package com.viam.component.nswitch.v1
Class Switch.GetNumberOfPositionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Switch.GetNumberOfPositionsRequest,Switch.GetNumberOfPositionsRequest.Builder>
com.viam.component.nswitch.v1.Switch.GetNumberOfPositionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Switch.GetNumberOfPositionsRequestOrBuilder
,Cloneable
- Enclosing class:
- Switch.GetNumberOfPositionsRequest
public static final class Switch.GetNumberOfPositionsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Switch.GetNumberOfPositionsRequest,Switch.GetNumberOfPositionsRequest.Builder>
implements Switch.GetNumberOfPositionsRequestOrBuilder
Protobuf type
viam.component.switch.v1.GetNumberOfPositionsRequest
-
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 name = 1 [json_name = "name"];
com.google.protobuf.Struct
getExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
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 name = 1 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
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
-
getName
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceSwitch.GetNumberOfPositionsRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceSwitch.GetNumberOfPositionsRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
public Switch.GetNumberOfPositionsRequest.Builder setNameBytes(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceSwitch.GetNumberOfPositionsRequestOrBuilder
- 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 interfaceSwitch.GetNumberOfPositionsRequestOrBuilder
- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public Switch.GetNumberOfPositionsRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) .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"];
-