Class Motor.GetPropertiesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motor.GetPropertiesRequest,Motor.GetPropertiesRequest.Builder>
com.viam.component.motor.v1.Motor.GetPropertiesRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Motor.GetPropertiesRequestOrBuilder, Cloneable
Enclosing class:
Motor.GetPropertiesRequest

public static final class Motor.GetPropertiesRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Motor.GetPropertiesRequest,Motor.GetPropertiesRequest.Builder> implements Motor.GetPropertiesRequestOrBuilder
Protobuf type viam.component.motor.v1.GetPropertiesRequest
  • Method Details

    • getName

      public String getName()
       Name of a motor
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Motor.GetPropertiesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of a motor
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Motor.GetPropertiesRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Name of a motor
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Name of a motor
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Motor.GetPropertiesRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of a motor
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Motor.GetPropertiesRequestOrBuilder
      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:
      getExtra in interface Motor.GetPropertiesRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Motor.GetPropertiesRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Motor.GetPropertiesRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Motor.GetPropertiesRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       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"];