Class Robot.Tunnel.Builder

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

public static final class Robot.Tunnel.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Tunnel,Robot.Tunnel.Builder> implements Robot.TunnelOrBuilder
Protobuf type viam.robot.v1.Tunnel
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    uint32 port = 1 [json_name = "port"];
    com.google.protobuf.Duration
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    int
    uint32 port = 1 [json_name = "port"];
    boolean
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    mergeConnectionTimeout(com.google.protobuf.Duration value)
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    setConnectionTimeout(com.google.protobuf.Duration value)
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    setConnectionTimeout(com.google.protobuf.Duration.Builder builderForValue)
    .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    setPort(int value)
    uint32 port = 1 [json_name = "port"];

    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

    • getPort

      public int getPort()
      uint32 port = 1 [json_name = "port"];
      Specified by:
      getPort in interface Robot.TunnelOrBuilder
      Returns:
      The port.
    • setPort

      public Robot.Tunnel.Builder setPort(int value)
      uint32 port = 1 [json_name = "port"];
      Parameters:
      value - The port to set.
      Returns:
      This builder for chaining.
    • clearPort

      public Robot.Tunnel.Builder clearPort()
      uint32 port = 1 [json_name = "port"];
      Returns:
      This builder for chaining.
    • hasConnectionTimeout

      public boolean hasConnectionTimeout()
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
      Specified by:
      hasConnectionTimeout in interface Robot.TunnelOrBuilder
      Returns:
      Whether the connectionTimeout field is set.
    • getConnectionTimeout

      public com.google.protobuf.Duration getConnectionTimeout()
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
      Specified by:
      getConnectionTimeout in interface Robot.TunnelOrBuilder
      Returns:
      The connectionTimeout.
    • setConnectionTimeout

      public Robot.Tunnel.Builder setConnectionTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    • setConnectionTimeout

      public Robot.Tunnel.Builder setConnectionTimeout(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    • mergeConnectionTimeout

      public Robot.Tunnel.Builder mergeConnectionTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];
    • clearConnectionTimeout

      public Robot.Tunnel.Builder clearConnectionTimeout()
      .google.protobuf.Duration connection_timeout = 2 [json_name = "connectionTimeout"];