Package viam.app.v1

Class Robot.RemoteConfig.Builder

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

public static final class Robot.RemoteConfig.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.RemoteConfig,Robot.RemoteConfig.Builder> implements Robot.RemoteConfigOrBuilder
 A RemoteConfig describes a remote robot that should be integrated.
 The Frame field defines how the "world" node of the remote robot should be reconciled with the "world" node of the
 the current robot. All components of the remote robot who have Parent as "world" will be attached to the parent defined
 in Frame, and with the given offset as well.
 
Protobuf type viam.app.v1.RemoteConfig
  • Method Details

    • getName

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

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

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

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

      public Robot.RemoteConfig.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.
    • getAddress

      public String getAddress()
      string address = 2 [json_name = "address"];
      Specified by:
      getAddress in interface Robot.RemoteConfigOrBuilder
      Returns:
      The address.
    • getAddressBytes

      public com.google.protobuf.ByteString getAddressBytes()
      string address = 2 [json_name = "address"];
      Specified by:
      getAddressBytes in interface Robot.RemoteConfigOrBuilder
      Returns:
      The bytes for address.
    • setAddress

      public Robot.RemoteConfig.Builder setAddress(String value)
      string address = 2 [json_name = "address"];
      Parameters:
      value - The address to set.
      Returns:
      This builder for chaining.
    • clearAddress

      public Robot.RemoteConfig.Builder clearAddress()
      string address = 2 [json_name = "address"];
      Returns:
      This builder for chaining.
    • setAddressBytes

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

      public boolean hasFrame()
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
      Specified by:
      hasFrame in interface Robot.RemoteConfigOrBuilder
      Returns:
      Whether the frame field is set.
    • getFrame

      public Robot.Frame getFrame()
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
      Specified by:
      getFrame in interface Robot.RemoteConfigOrBuilder
      Returns:
      The frame.
    • setFrame

      public Robot.RemoteConfig.Builder setFrame(Robot.Frame value)
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
    • setFrame

      public Robot.RemoteConfig.Builder setFrame(Robot.Frame.Builder builderForValue)
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
    • mergeFrame

      public Robot.RemoteConfig.Builder mergeFrame(Robot.Frame value)
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
    • clearFrame

      public Robot.RemoteConfig.Builder clearFrame()
      .viam.app.v1.Frame frame = 3 [json_name = "frame"];
    • hasAuth

      public boolean hasAuth()
      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
      Specified by:
      hasAuth in interface Robot.RemoteConfigOrBuilder
      Returns:
      Whether the auth field is set.
    • getAuth

      public Robot.RemoteAuth getAuth()
      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
      Specified by:
      getAuth in interface Robot.RemoteConfigOrBuilder
      Returns:
      The auth.
    • setAuth

      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
    • setAuth

      public Robot.RemoteConfig.Builder setAuth(Robot.RemoteAuth.Builder builderForValue)
      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
    • mergeAuth

      public Robot.RemoteConfig.Builder mergeAuth(Robot.RemoteAuth value)
      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
    • clearAuth

      public Robot.RemoteConfig.Builder clearAuth()
      .viam.app.v1.RemoteAuth auth = 4 [json_name = "auth"];
    • getManagedBy

      public String getManagedBy()
      string managed_by = 5 [json_name = "managedBy"];
      Specified by:
      getManagedBy in interface Robot.RemoteConfigOrBuilder
      Returns:
      The managedBy.
    • getManagedByBytes

      public com.google.protobuf.ByteString getManagedByBytes()
      string managed_by = 5 [json_name = "managedBy"];
      Specified by:
      getManagedByBytes in interface Robot.RemoteConfigOrBuilder
      Returns:
      The bytes for managedBy.
    • setManagedBy

      public Robot.RemoteConfig.Builder setManagedBy(String value)
      string managed_by = 5 [json_name = "managedBy"];
      Parameters:
      value - The managedBy to set.
      Returns:
      This builder for chaining.
    • clearManagedBy

      public Robot.RemoteConfig.Builder clearManagedBy()
      string managed_by = 5 [json_name = "managedBy"];
      Returns:
      This builder for chaining.
    • setManagedByBytes

      public Robot.RemoteConfig.Builder setManagedByBytes(com.google.protobuf.ByteString value)
      string managed_by = 5 [json_name = "managedBy"];
      Parameters:
      value - The bytes for managedBy to set.
      Returns:
      This builder for chaining.
    • getInsecure

      public boolean getInsecure()
      bool insecure = 6 [json_name = "insecure"];
      Specified by:
      getInsecure in interface Robot.RemoteConfigOrBuilder
      Returns:
      The insecure.
    • setInsecure

      public Robot.RemoteConfig.Builder setInsecure(boolean value)
      bool insecure = 6 [json_name = "insecure"];
      Parameters:
      value - The insecure to set.
      Returns:
      This builder for chaining.
    • clearInsecure

      public Robot.RemoteConfig.Builder clearInsecure()
      bool insecure = 6 [json_name = "insecure"];
      Returns:
      This builder for chaining.
    • hasConnectionCheckInterval

      public boolean hasConnectionCheckInterval()
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
      Specified by:
      hasConnectionCheckInterval in interface Robot.RemoteConfigOrBuilder
      Returns:
      Whether the connectionCheckInterval field is set.
    • getConnectionCheckInterval

      public com.google.protobuf.Duration getConnectionCheckInterval()
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
      Specified by:
      getConnectionCheckInterval in interface Robot.RemoteConfigOrBuilder
      Returns:
      The connectionCheckInterval.
    • setConnectionCheckInterval

      public Robot.RemoteConfig.Builder setConnectionCheckInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
    • setConnectionCheckInterval

      public Robot.RemoteConfig.Builder setConnectionCheckInterval(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
    • mergeConnectionCheckInterval

      public Robot.RemoteConfig.Builder mergeConnectionCheckInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
    • clearConnectionCheckInterval

      public Robot.RemoteConfig.Builder clearConnectionCheckInterval()
      .google.protobuf.Duration connection_check_interval = 7 [json_name = "connectionCheckInterval"];
    • hasReconnectInterval

      public boolean hasReconnectInterval()
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
      Specified by:
      hasReconnectInterval in interface Robot.RemoteConfigOrBuilder
      Returns:
      Whether the reconnectInterval field is set.
    • getReconnectInterval

      public com.google.protobuf.Duration getReconnectInterval()
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
      Specified by:
      getReconnectInterval in interface Robot.RemoteConfigOrBuilder
      Returns:
      The reconnectInterval.
    • setReconnectInterval

      public Robot.RemoteConfig.Builder setReconnectInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
    • setReconnectInterval

      public Robot.RemoteConfig.Builder setReconnectInterval(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
    • mergeReconnectInterval

      public Robot.RemoteConfig.Builder mergeReconnectInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
    • clearReconnectInterval

      public Robot.RemoteConfig.Builder clearReconnectInterval()
      .google.protobuf.Duration reconnect_interval = 8 [json_name = "reconnectInterval"];
    • getServiceConfigsList

      public List<Robot.ResourceLevelServiceConfig> getServiceConfigsList()
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
      Specified by:
      getServiceConfigsList in interface Robot.RemoteConfigOrBuilder
    • getServiceConfigsCount

      public int getServiceConfigsCount()
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
      Specified by:
      getServiceConfigsCount in interface Robot.RemoteConfigOrBuilder
    • getServiceConfigs

      public Robot.ResourceLevelServiceConfig getServiceConfigs(int index)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
      Specified by:
      getServiceConfigs in interface Robot.RemoteConfigOrBuilder
    • setServiceConfigs

      public Robot.RemoteConfig.Builder setServiceConfigs(int index, Robot.ResourceLevelServiceConfig value)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • setServiceConfigs

      public Robot.RemoteConfig.Builder setServiceConfigs(int index, Robot.ResourceLevelServiceConfig.Builder builderForValue)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • addServiceConfigs

      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • addServiceConfigs

      public Robot.RemoteConfig.Builder addServiceConfigs(int index, Robot.ResourceLevelServiceConfig value)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • addServiceConfigs

      public Robot.RemoteConfig.Builder addServiceConfigs(Robot.ResourceLevelServiceConfig.Builder builderForValue)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • addServiceConfigs

      public Robot.RemoteConfig.Builder addServiceConfigs(int index, Robot.ResourceLevelServiceConfig.Builder builderForValue)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • addAllServiceConfigs

      public Robot.RemoteConfig.Builder addAllServiceConfigs(Iterable<? extends Robot.ResourceLevelServiceConfig> values)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • clearServiceConfigs

      public Robot.RemoteConfig.Builder clearServiceConfigs()
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • removeServiceConfigs

      public Robot.RemoteConfig.Builder removeServiceConfigs(int index)
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 9 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • getSecret

      public String getSecret()
       Secret is a helper for a robot location secret.
       
      string secret = 10 [json_name = "secret"];
      Specified by:
      getSecret in interface Robot.RemoteConfigOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      public com.google.protobuf.ByteString getSecretBytes()
       Secret is a helper for a robot location secret.
       
      string secret = 10 [json_name = "secret"];
      Specified by:
      getSecretBytes in interface Robot.RemoteConfigOrBuilder
      Returns:
      The bytes for secret.
    • setSecret

      public Robot.RemoteConfig.Builder setSecret(String value)
       Secret is a helper for a robot location secret.
       
      string secret = 10 [json_name = "secret"];
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      public Robot.RemoteConfig.Builder clearSecret()
       Secret is a helper for a robot location secret.
       
      string secret = 10 [json_name = "secret"];
      Returns:
      This builder for chaining.
    • setSecretBytes

      public Robot.RemoteConfig.Builder setSecretBytes(com.google.protobuf.ByteString value)
       Secret is a helper for a robot location secret.
       
      string secret = 10 [json_name = "secret"];
      Parameters:
      value - The bytes for secret to set.
      Returns:
      This builder for chaining.