Class Robot.DiscoveryQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.DiscoveryQuery,Robot.DiscoveryQuery.Builder>
com.viam.robot.v1.Robot.DiscoveryQuery.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Robot.DiscoveryQueryOrBuilder, Cloneable
Enclosing class:
Robot.DiscoveryQuery

public static final class Robot.DiscoveryQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.DiscoveryQuery,Robot.DiscoveryQuery.Builder> implements Robot.DiscoveryQueryOrBuilder
Protobuf type viam.robot.v1.DiscoveryQuery
  • Method Details

    • getSubtype

      public String getSubtype()
      string subtype = 1 [json_name = "subtype"];
      Specified by:
      getSubtype in interface Robot.DiscoveryQueryOrBuilder
      Returns:
      The subtype.
    • getSubtypeBytes

      public com.google.protobuf.ByteString getSubtypeBytes()
      string subtype = 1 [json_name = "subtype"];
      Specified by:
      getSubtypeBytes in interface Robot.DiscoveryQueryOrBuilder
      Returns:
      The bytes for subtype.
    • setSubtype

      public Robot.DiscoveryQuery.Builder setSubtype(String value)
      string subtype = 1 [json_name = "subtype"];
      Parameters:
      value - The subtype to set.
      Returns:
      This builder for chaining.
    • clearSubtype

      public Robot.DiscoveryQuery.Builder clearSubtype()
      string subtype = 1 [json_name = "subtype"];
      Returns:
      This builder for chaining.
    • setSubtypeBytes

      public Robot.DiscoveryQuery.Builder setSubtypeBytes(com.google.protobuf.ByteString value)
      string subtype = 1 [json_name = "subtype"];
      Parameters:
      value - The bytes for subtype to set.
      Returns:
      This builder for chaining.
    • getModel

      public String getModel()
      string model = 2 [json_name = "model"];
      Specified by:
      getModel in interface Robot.DiscoveryQueryOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
      string model = 2 [json_name = "model"];
      Specified by:
      getModelBytes in interface Robot.DiscoveryQueryOrBuilder
      Returns:
      The bytes for model.
    • setModel

      public Robot.DiscoveryQuery.Builder setModel(String value)
      string model = 2 [json_name = "model"];
      Parameters:
      value - The model to set.
      Returns:
      This builder for chaining.
    • clearModel

      public Robot.DiscoveryQuery.Builder clearModel()
      string model = 2 [json_name = "model"];
      Returns:
      This builder for chaining.
    • setModelBytes

      public Robot.DiscoveryQuery.Builder setModelBytes(com.google.protobuf.ByteString value)
      string model = 2 [json_name = "model"];
      Parameters:
      value - The bytes for model to set.
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Robot.DiscoveryQueryOrBuilder
      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 interface Robot.DiscoveryQueryOrBuilder
      Returns:
      The extra.
    • setExtra

      public Robot.DiscoveryQuery.Builder setExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Robot.DiscoveryQuery.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Robot.DiscoveryQuery.Builder mergeExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Robot.DiscoveryQuery.Builder clearExtra()
      .google.protobuf.Struct extra = 99 [json_name = "extra"];