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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependsOn
(Iterable<String> values) repeated string depends_on = 5 [json_name = "dependsOn"];
addAllServiceConfigs
(Iterable<? extends Robot.ResourceLevelServiceConfig> values) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
addDependsOn
(String value) repeated string depends_on = 5 [json_name = "dependsOn"];
addDependsOnBytes
(com.google.protobuf.ByteString value) repeated string depends_on = 5 [json_name = "dependsOn"];
addServiceConfigs
(int index, Robot.ResourceLevelServiceConfig value) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
addServiceConfigs
(int index, Robot.ResourceLevelServiceConfig.Builder builderForValue) 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\""];
addServiceConfigs
(Robot.ResourceLevelServiceConfig.Builder builderForValue) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
clearApi()
string api = 9 [json_name = "api"];
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
repeated string depends_on = 5 [json_name = "dependsOn"];
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
string model = 6 [json_name = "model"];
string name = 1 [json_name = "name"];
deprecated; use apirepeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
deprecated; use apigetApi()
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"];
getModel()
string model = 6 [json_name = "model"];
com.google.protobuf.ByteString
string model = 6 [json_name = "model"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
deprecated; use apicom.google.protobuf.ByteString
deprecated; use apigetServiceConfigs
(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\""];
getType()
deprecated; use apicom.google.protobuf.ByteString
deprecated; use apiboolean
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
boolean
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
mergeAttributes
(com.google.protobuf.Struct value) .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
removeServiceConfigs
(int index) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
string api = 9 [json_name = "api"];
setApiBytes
(com.google.protobuf.ByteString value) string api = 9 [json_name = "api"];
setAttributes
(com.google.protobuf.Struct value) .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
setAttributes
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct attributes = 4 [json_name = "attributes"];
setDependsOn
(int index, String value) repeated string depends_on = 5 [json_name = "dependsOn"];
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
setLogConfiguration
(Robot.LogConfiguration.Builder builderForValue) .viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
string model = 6 [json_name = "model"];
setModelBytes
(com.google.protobuf.ByteString value) string model = 6 [json_name = "model"];
string name = 1 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
setNamespace
(String value) deprecated; use apisetNamespaceBytes
(com.google.protobuf.ByteString value) deprecated; use apisetServiceConfigs
(int index, Robot.ResourceLevelServiceConfig value) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
setServiceConfigs
(int index, Robot.ResourceLevelServiceConfig.Builder builderForValue) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
deprecated; use apisetTypeBytes
(com.google.protobuf.ByteString value) deprecated; use apiMethods 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
-
getName
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
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
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNamespace
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespace
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespaceBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Returns:
- This builder for chaining.
-
setNamespaceBytes
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getType
deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for type.
-
setType
deprecated; use api
string type = 3 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
deprecated; use api
string type = 3 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
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 interfaceRobot.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 interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The attributes.
-
setAttributes
.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
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
-
clearAttributes
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
-
getDependsOnList
repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOnList
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- A list containing the dependsOn.
-
getDependsOnCount
public int getDependsOnCount()repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOnCount
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The count of dependsOn.
-
getDependsOn
repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOn
in interfaceRobot.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 interfaceRobot.ServiceConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the dependsOn at the given index.
-
setDependsOn
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
repeated string depends_on = 5 [json_name = "dependsOn"];
- Parameters:
value
- The dependsOn to add.- Returns:
- This builder for chaining.
-
addAllDependsOn
repeated string depends_on = 5 [json_name = "dependsOn"];
- Parameters:
values
- The dependsOn to add.- Returns:
- This builder for chaining.
-
clearDependsOn
repeated string depends_on = 5 [json_name = "dependsOn"];
- Returns:
- This builder for chaining.
-
addDependsOnBytes
repeated string depends_on = 5 [json_name = "dependsOn"];
- Parameters:
value
- The bytes of the dependsOn to add.- Returns:
- This builder for chaining.
-
getModel
string model = 6 [json_name = "model"];
- Specified by:
getModel
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()string model = 6 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for model.
-
setModel
string model = 6 [json_name = "model"];
- Parameters:
value
- The model to set.- Returns:
- This builder for chaining.
-
clearModel
string model = 6 [json_name = "model"];
- Returns:
- This builder for chaining.
-
setModelBytes
string model = 6 [json_name = "model"];
- Parameters:
value
- The bytes for model to set.- Returns:
- This builder for chaining.
-
getApi
string api = 9 [json_name = "api"];
- Specified by:
getApi
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()string api = 9 [json_name = "api"];
- Specified by:
getApiBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for api.
-
setApi
string api = 9 [json_name = "api"];
- Parameters:
value
- The api to set.- Returns:
- This builder for chaining.
-
clearApi
string api = 9 [json_name = "api"];
- Returns:
- This builder for chaining.
-
setApiBytes
string api = 9 [json_name = "api"];
- Parameters:
value
- The bytes for api to set.- Returns:
- This builder for chaining.
-
getServiceConfigsList
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigsList
in interfaceRobot.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 interfaceRobot.ServiceConfigOrBuilder
-
getServiceConfigs
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigs
in interfaceRobot.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
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
-
removeServiceConfigs
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 interfaceRobot.ServiceConfigOrBuilder
- Returns:
- Whether the logConfiguration field is set.
-
getLogConfiguration
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
- Specified by:
getLogConfiguration
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The logConfiguration.
-
setLogConfiguration
.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
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
-
clearLogConfiguration
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
-