Package com.viam.component.encoder.v1
Class Encoder.GetPositionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Encoder.GetPositionRequest,Encoder.GetPositionRequest.Builder>
com.viam.component.encoder.v1.Encoder.GetPositionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Encoder.GetPositionRequestOrBuilder,Cloneable
- Enclosing class:
- Encoder.GetPositionRequest
public static final class Encoder.GetPositionRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Encoder.GetPositionRequest,Encoder.GetPositionRequest.Builder>
implements Encoder.GetPositionRequestOrBuilder
Protobuf type
viam.component.encoder.v1.GetPositionRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments to the methodName of encoderIf supplied, the response will return the specified position type.com.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()Name of encodercom.google.protobuf.ByteStringName of encoderIf supplied, the response will return the specified position type.intIf supplied, the response will return the specified position type.booleanhasExtra()Additional arguments to the methodbooleanIf supplied, the response will return the specified position type.mergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of encodersetNameBytes(com.google.protobuf.ByteString value) Name of encoderIf supplied, the response will return the specified position type.setPositionTypeValue(int value) If supplied, the response will return the specified position type.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
Name of encoder
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of encoder
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of encoder
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of encoder
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of encoder
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPositionType
public boolean hasPositionType()If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Specified by:
hasPositionTypein interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- Whether the positionType field is set.
-
getPositionTypeValue
public int getPositionTypeValue()If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Specified by:
getPositionTypeValuein interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- The enum numeric value on the wire for positionType.
-
setPositionTypeValue
If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Parameters:
value- The positionType to set.- Returns:
- This builder for chaining.
-
getPositionType
If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Specified by:
getPositionTypein interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- The positionType.
-
setPositionType
If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Parameters:
value- The enum numeric value on the wire for positionType to set.- Returns:
- This builder for chaining.
-
clearPositionType
If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceEncoder.GetPositionRequestOrBuilder- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Encoder.GetPositionRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-