Package viam.app.v1

Class Robot.ServiceConfig.Builder

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

public static final class Robot.ServiceConfig.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ServiceConfig,Robot.ServiceConfig.Builder> implements Robot.ServiceConfigOrBuilder
Protobuf type viam.app.v1.ServiceConfig
  • Method Details

    • getName

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

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

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

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

      public Robot.ServiceConfig.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.
    • getNamespace

      public String getNamespace()
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Specified by:
      getNamespace in interface Robot.ServiceConfigOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface Robot.ServiceConfigOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public Robot.ServiceConfig.Builder setNamespace(String value)
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public Robot.ServiceConfig.Builder clearNamespace()
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public Robot.ServiceConfig.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Specified by:
      getType in interface Robot.ServiceConfigOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Specified by:
      getTypeBytes in interface Robot.ServiceConfigOrBuilder
      Returns:
      The bytes for type.
    • setType

      public Robot.ServiceConfig.Builder setType(String value)
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Robot.ServiceConfig.Builder clearType()
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public Robot.ServiceConfig.Builder setTypeBytes(com.google.protobuf.ByteString value)
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasAttributes

      public boolean hasAttributes()
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
      Specified by:
      hasAttributes in interface Robot.ServiceConfigOrBuilder
      Returns:
      Whether the attributes field is set.
    • getAttributes

      public com.google.protobuf.Struct getAttributes()
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributes in interface Robot.ServiceConfigOrBuilder
      Returns:
      The attributes.
    • setAttributes

      public Robot.ServiceConfig.Builder setAttributes(com.google.protobuf.Struct value)
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    • setAttributes

      public Robot.ServiceConfig.Builder setAttributes(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    • mergeAttributes

      public Robot.ServiceConfig.Builder mergeAttributes(com.google.protobuf.Struct value)
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    • clearAttributes

      public Robot.ServiceConfig.Builder clearAttributes()
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    • getDependsOnList

      public List<String> getDependsOnList()
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Specified by:
      getDependsOnList in interface Robot.ServiceConfigOrBuilder
      Returns:
      A list containing the dependsOn.
    • getDependsOnCount

      public int getDependsOnCount()
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Specified by:
      getDependsOnCount in interface Robot.ServiceConfigOrBuilder
      Returns:
      The count of dependsOn.
    • getDependsOn

      public String getDependsOn(int index)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Specified by:
      getDependsOn in interface Robot.ServiceConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dependsOn at the given index.
    • getDependsOnBytes

      public com.google.protobuf.ByteString getDependsOnBytes(int index)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Specified by:
      getDependsOnBytes in interface Robot.ServiceConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dependsOn at the given index.
    • setDependsOn

      public Robot.ServiceConfig.Builder setDependsOn(int index, String value)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Parameters:
      index - The index to set the value at.
      value - The dependsOn to set.
      Returns:
      This builder for chaining.
    • addDependsOn

      public Robot.ServiceConfig.Builder addDependsOn(String value)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Parameters:
      value - The dependsOn to add.
      Returns:
      This builder for chaining.
    • addAllDependsOn

      public Robot.ServiceConfig.Builder addAllDependsOn(Iterable<String> values)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Parameters:
      values - The dependsOn to add.
      Returns:
      This builder for chaining.
    • clearDependsOn

      public Robot.ServiceConfig.Builder clearDependsOn()
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Returns:
      This builder for chaining.
    • addDependsOnBytes

      public Robot.ServiceConfig.Builder addDependsOnBytes(com.google.protobuf.ByteString value)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Parameters:
      value - The bytes of the dependsOn to add.
      Returns:
      This builder for chaining.
    • getModel

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

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

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

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

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

      public String getApi()
      string api = 9 [json_name = "api"];
      Specified by:
      getApi in interface Robot.ServiceConfigOrBuilder
      Returns:
      The api.
    • getApiBytes

      public com.google.protobuf.ByteString getApiBytes()
      string api = 9 [json_name = "api"];
      Specified by:
      getApiBytes in interface Robot.ServiceConfigOrBuilder
      Returns:
      The bytes for api.
    • setApi

      public Robot.ServiceConfig.Builder setApi(String value)
      string api = 9 [json_name = "api"];
      Parameters:
      value - The api to set.
      Returns:
      This builder for chaining.
    • clearApi

      public Robot.ServiceConfig.Builder clearApi()
      string api = 9 [json_name = "api"];
      Returns:
      This builder for chaining.
    • setApiBytes

      public Robot.ServiceConfig.Builder setApiBytes(com.google.protobuf.ByteString value)
      string api = 9 [json_name = "api"];
      Parameters:
      value - The bytes for api to set.
      Returns:
      This builder for chaining.
    • getServiceConfigsList

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasLogConfiguration()
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
      Specified by:
      hasLogConfiguration in interface Robot.ServiceConfigOrBuilder
      Returns:
      Whether the logConfiguration field is set.
    • getLogConfiguration

      public Robot.LogConfiguration getLogConfiguration()
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
      Specified by:
      getLogConfiguration in interface Robot.ServiceConfigOrBuilder
      Returns:
      The logConfiguration.
    • setLogConfiguration

      public Robot.ServiceConfig.Builder setLogConfiguration(Robot.LogConfiguration value)
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
    • setLogConfiguration

      public Robot.ServiceConfig.Builder setLogConfiguration(Robot.LogConfiguration.Builder builderForValue)
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
    • mergeLogConfiguration

      public Robot.ServiceConfig.Builder mergeLogConfiguration(Robot.LogConfiguration value)
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
    • clearLogConfiguration

      public Robot.ServiceConfig.Builder clearLogConfiguration()
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];