Class Common.DoCommandRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.DoCommandRequest,Common.DoCommandRequest.Builder>
com.viam.common.v1.Common.DoCommandRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Common.DoCommandRequestOrBuilder, Cloneable
Enclosing class:
Common.DoCommandRequest

public static final class Common.DoCommandRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.DoCommandRequest,Common.DoCommandRequest.Builder> implements Common.DoCommandRequestOrBuilder
 DoCommandRequest represents a generic DoCommand input
 
Protobuf type viam.common.v1.DoCommandRequest
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    .google.protobuf.Struct command = 2 [json_name = "command"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.Struct
    .google.protobuf.Struct command = 2 [json_name = "command"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    boolean
    .google.protobuf.Struct command = 2 [json_name = "command"];
    mergeCommand(com.google.protobuf.Struct value)
    .google.protobuf.Struct command = 2 [json_name = "command"];
    setCommand(com.google.protobuf.Struct value)
    .google.protobuf.Struct command = 2 [json_name = "command"];
    setCommand(com.google.protobuf.Struct.Builder builderForValue)
    .google.protobuf.Struct command = 2 [json_name = "command"];
    setName(String value)
    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

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Common.DoCommandRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Common.DoCommandRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Common.DoCommandRequest.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Common.DoCommandRequest.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Common.DoCommandRequest.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.
    • hasCommand

      public boolean hasCommand()
      .google.protobuf.Struct command = 2 [json_name = "command"];
      Specified by:
      hasCommand in interface Common.DoCommandRequestOrBuilder
      Returns:
      Whether the command field is set.
    • getCommand

      public com.google.protobuf.Struct getCommand()
      .google.protobuf.Struct command = 2 [json_name = "command"];
      Specified by:
      getCommand in interface Common.DoCommandRequestOrBuilder
      Returns:
      The command.
    • setCommand

      public Common.DoCommandRequest.Builder setCommand(com.google.protobuf.Struct value)
      .google.protobuf.Struct command = 2 [json_name = "command"];
    • setCommand

      public Common.DoCommandRequest.Builder setCommand(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct command = 2 [json_name = "command"];
    • mergeCommand

      public Common.DoCommandRequest.Builder mergeCommand(com.google.protobuf.Struct value)
      .google.protobuf.Struct command = 2 [json_name = "command"];
    • clearCommand

      public Common.DoCommandRequest.Builder clearCommand()
      .google.protobuf.Struct command = 2 [json_name = "command"];