Package viam.app.v1

Interface Robot.ServiceConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Robot.ServiceConfig, Robot.ServiceConfig.Builder
Enclosing class:
Robot

public static interface Robot.ServiceConfigOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    string api = 9 [json_name = "api"];
    com.google.protobuf.ByteString
    string api = 9 [json_name = "api"];
    com.google.protobuf.Struct
    .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    getDependsOn(int index)
    repeated string depends_on = 5 [json_name = "dependsOn"];
    com.google.protobuf.ByteString
    getDependsOnBytes(int index)
    repeated string depends_on = 5 [json_name = "dependsOn"];
    int
    repeated string depends_on = 5 [json_name = "dependsOn"];
    repeated string depends_on = 5 [json_name = "dependsOn"];
    .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
    string model = 6 [json_name = "model"];
    com.google.protobuf.ByteString
    string model = 6 [json_name = "model"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    deprecated; use api
    com.google.protobuf.ByteString
    deprecated; use api
    getServiceConfigs(int index)
    repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    int
    repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    deprecated; use api
    com.google.protobuf.ByteString
    deprecated; use api
    boolean
    .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
    boolean
    .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      String getName()
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getNamespace

      String getNamespace()
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
       deprecated; use api
       
      string namespace = 2 [json_name = "namespace"];
      Returns:
      The bytes for namespace.
    • getType

      String getType()
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       deprecated; use api
       
      string type = 3 [json_name = "type"];
      Returns:
      The bytes for type.
    • hasAttributes

      boolean hasAttributes()
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
      Returns:
      Whether the attributes field is set.
    • getAttributes

      com.google.protobuf.Struct getAttributes()
      .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
      Returns:
      The attributes.
    • getDependsOnList

      List<String> getDependsOnList()
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Returns:
      A list containing the dependsOn.
    • getDependsOnCount

      int getDependsOnCount()
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Returns:
      The count of dependsOn.
    • getDependsOn

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

      com.google.protobuf.ByteString getDependsOnBytes(int index)
      repeated string depends_on = 5 [json_name = "dependsOn"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The dependsOn at the given index.
    • getModel

      String getModel()
      string model = 6 [json_name = "model"];
      Returns:
      The model.
    • getModelBytes

      com.google.protobuf.ByteString getModelBytes()
      string model = 6 [json_name = "model"];
      Returns:
      The bytes for model.
    • getApi

      String getApi()
      string api = 9 [json_name = "api"];
      Returns:
      The api.
    • getApiBytes

      com.google.protobuf.ByteString getApiBytes()
      string api = 9 [json_name = "api"];
      Returns:
      The bytes for api.
    • getServiceConfigsList

      List<Robot.ResourceLevelServiceConfig> getServiceConfigsList()
      repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
    • getServiceConfigs

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

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

      boolean hasLogConfiguration()
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
      Returns:
      Whether the logConfiguration field is set.
    • getLogConfiguration

      Robot.LogConfiguration getLogConfiguration()
      .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
      Returns:
      The logConfiguration.