Class Navigation.SetModeRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.SetModeRequest,Navigation.SetModeRequest.Builder>
com.viam.service.navigation.v1.Navigation.SetModeRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Navigation.SetModeRequestOrBuilder, Cloneable
Enclosing class:
Navigation.SetModeRequest

public static final class Navigation.SetModeRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.SetModeRequest,Navigation.SetModeRequest.Builder> implements Navigation.SetModeRequestOrBuilder
Protobuf type viam.service.navigation.v1.SetModeRequest
  • Method Details

    • getName

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

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

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

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

      public Navigation.SetModeRequest.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.
    • getModeValue

      public int getModeValue()
      .viam.service.navigation.v1.Mode mode = 2 [json_name = "mode"];
      Specified by:
      getModeValue in interface Navigation.SetModeRequestOrBuilder
      Returns:
      The enum numeric value on the wire for mode.
    • setModeValue

      public Navigation.SetModeRequest.Builder setModeValue(int value)
      .viam.service.navigation.v1.Mode mode = 2 [json_name = "mode"];
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • getMode

      public Navigation.Mode getMode()
      .viam.service.navigation.v1.Mode mode = 2 [json_name = "mode"];
      Specified by:
      getMode in interface Navigation.SetModeRequestOrBuilder
      Returns:
      The mode.
    • setMode

      .viam.service.navigation.v1.Mode mode = 2 [json_name = "mode"];
      Parameters:
      value - The enum numeric value on the wire for mode to set.
      Returns:
      This builder for chaining.
    • clearMode

      .viam.service.navigation.v1.Mode mode = 2 [json_name = "mode"];
      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 Navigation.SetModeRequestOrBuilder
      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 Navigation.SetModeRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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