Class Servo.StopRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Servo.StopRequest,Servo.StopRequest.Builder>
com.viam.component.servo.v1.Servo.StopRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Servo.StopRequestOrBuilder, Cloneable
Enclosing class:
Servo.StopRequest

public static final class Servo.StopRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Servo.StopRequest,Servo.StopRequest.Builder> implements Servo.StopRequestOrBuilder
Protobuf type viam.component.servo.v1.StopRequest
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Additional arguments to the method
    Name of a servo
    com.google.protobuf.Struct
    Additional arguments to the method
    Name of a servo
    com.google.protobuf.ByteString
    Name of a servo
    boolean
    Additional arguments to the method
    mergeExtra(com.google.protobuf.Struct value)
    Additional arguments to the method
    setExtra(com.google.protobuf.Struct value)
    Additional arguments to the method
    setExtra(com.google.protobuf.Struct.Builder builderForValue)
    Additional arguments to the method
    setName(String value)
    Name of a servo
    setNameBytes(com.google.protobuf.ByteString value)
    Name of a servo

    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

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

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

      public Servo.StopRequest.Builder setName(String value)
       Name of a servo
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Servo.StopRequest.Builder clearName()
       Name of a servo
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Servo.StopRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of a servo
       
      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 Servo.StopRequestOrBuilder
      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 Servo.StopRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

      public Servo.StopRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Servo.StopRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];